将交换机端口模式设置为access模式的命令是:
A、switchport mode access
B、switchport interface access
C、switchport trunk access
D、switchport access interface
A、switchport mode access
B、switchport interface access
C、switchport trunk access
D、switchport access interface
第1题
以下是交换机Switch1 的部分配置。请解释配置命令。
1.配置 VLAN Trunk端口
……
Switch1(config)#interface f0/24 (进入端口 24配置模式)
Switch1(config-if)#switchport mode trunk (5) (2 分)
Switch1(config-if)# switchport trunk allowed vlan all (6) (2 分)
2.创建 VLAN
……
Switch2#vlan database
Switch2(vlan)#vlan 2 name vlan2 (7) (1 分)
3. 将端口加入到 VLAN中
Switch#config termilal
Enter configuration commands, one per line. End with CNTL/Z.
Switch1(config)#interface f0/9 (进入端口9 的配置模式)
Switch1(config-if)#switchport mode access (设置端口为静态 VLAN 访问模式)
Switch1(config-if)#switchport access vlan 2 (8) (1 分)
Switch1(config-if)#exit
Switch1(config)#exit
Switch1#show vlan (9) (1 分)
第2题
2950# show interface fastEthernet 0/1 switchport
Name:fa 0/1
Switchport: Enabled
AdminiStratire mode:trunk
Operational Mode:trunk
AdminiStrotire Trunking Encapsulation:ctotlq
Operational Trunking Encapsulation:dotlq
egotiation of Trunking:Disabled
Access Mode VLAN:0 ((Inactire))
Trunking Native Mode VLAN:1(default)
Trunking VLANs Enabled:ALL
Trunklng VLANs Actlve: 1,2
Pruning VLANs Enabled:2-1001
Priority for untagged frames:0
Override vlan tag priority:FALSE
Voice VLAN:nome
在这个例子中,端口fa 0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A.Desirable
B.No-Negotiate]
C.Auto negotiate
D.trunk
第3题
2950# show interface fastEthernet 0/1 switchport
Name:fa 0/1
Switchport: Enabled
AdminiStratire mode:trunk
Operational Mode:trunk
AdminiStrotire Trunking Encapsulation:ctotlq
Operational Trunking Encapsulation:dotlq
egotiation of Trunking:Disabled
Access Mode VLAN:0 ((Inactire))
Trunking Native Mode VLAN:1(default)
Trunking VLANs Enabled:ALL
Trunklng VLANs Actlve: 1,2
Pruning VLANs Enabled:2-1001
Priority for untagged frames:0
Override vlan tag priority:FALSE
Voice VLAN:nome
在这个例子中,端口fa 0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A.Desirable
B.No-Negotiate]
C.Auto negotiate
D.trunk
第4题
2950# show interface fastEthernet0/1 switchport
Name: fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
egotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,2
Pruning VLANs Enabled: 2-1001
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
在这个例子中,端口fa0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A. Desirable
B. No-Negotiate
C. Auto negotiate
D. trunk
(57)
A. VLAN0
B. VLAN1
C. VLAN2
D. VLAN3
第5题
2950# show interface fastEthernet0/1 switchport
Name: fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
egotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,2
Pruning VLANs Enabled: 2-1001
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
在这个例子中,端口fa0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A. Desirable
B. No-Negotiate
C. Auto negotiate
D. trunk
(57)
A. VLAN0
B. VLAN1
C. VLAN2
D. VLAN3
第6题
2950# show interface fastEthernet0/1 switchport
Name: fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
egotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,2
Pruning VLANs Enabled: 2-1001
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
在这个例子中,端口fa0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A. Desirable
B. No-Negotiate
C. Auto negotiate
D. trunk
(57)
A. VLAN0
B. VLAN1
C. VLAN2
D. VLAN3
第7题
2950# show interface fastEthernet0/1 switchport
Name: fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
egotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,2
Pruning VLANs Enabled: 2-1001
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
在这个例子中,端口fa0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A. Desirable
B. No-Negotiate
C. Auto negotiate
D. trunk
(57)
A. VLAN0
B. VLAN1
C. VLAN2
D. VLAN3
第8题
交换技术的出现有效地减轻了局域网之间信息流通出现的瓶颈问题,它通过经济地将网络分成小的冲突网域,为每个工作站提供了更高的带宽,其协议的透明性使得交换机在软件配置简单的情况下可以直接安装在多协议的网络中。
(1) 当第一次访问交换机时,应该采取什么方式连接交换机?如果希望通过远程拨号连接到路由器进行配置,那么如何做?
(2) 交换机通常有多种内存,其中用来保存IOS的是什么?
(3) 在登录交换机之后,默认进行的是什么模式?要进入特权模式要使用什么命令?
(4) 阅读以下的配置命令,解释①~③处的命令。
Switch (特权模式提示符)
Switch config terminal ①
Switch(config) enab.e password test ②
Switch(config) enable secret test2 ③
Switch(config) hostname CTtest: (设置主机名为CTtest)
Switch(config) end (退出特权模式)
经过这一配置之后,再进入特权模式是否要输入口令?如果是,口令是什么?
第9题
Switch02(config)interface f0/24 (进入端口1配置模式)
Switch02(config-if) (9)
Switch02(config-if) (10) (设置允许从该端口交换数据的VLAN)
第10题
Ml switch2>enable (进入特权模式)
Ml switch2 【11】 (设置VLAN配置子模式)
Ml_switch2(vlan) 【12】 (设置域名)
Ml_switch2(vlan)vtp domain vtp_serverl (启动修剪功能)
Ml_switch2(vlan) 【13】 (进入特权模式)
Ml_switch2(vlan)exit (退出VLAN配置模式)
Ml_switch2config Terminal; (进入配置子模式)
Ml _switch2(config) interface f0/25 (进入端口25配置模式)
Ml_switch2(config-if) 【14】 (设置当前端口为trunk模式)
Ml_switch2(config-if) 【15】 (允许从该接口交换数据的VLAN)
……
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!