网络技术

单选题一台Catalyst 6500的VTP域名是pku,在该交换机上建立ID号为222,名为lib222的VLAN,并删除ID号为133,名为phy133的VLAN,正确的配置命令是(    )。

A. Switch-6500 > (enable) set vtp domain pku
Switch-6500 > (enable)set vtp mode transparent
Switch-6500 > (enable)set vlan 222 name lib222
Switch-6500 > (enable)delete vlan 133
B. Switch-6500 > (enable)set vtp domain pku
Switch-6500 > (enable)set vtp mode server
Switch-6500 > (enable)set vlan 222 lib222
Switch-6500 > (enable)clear vlan 133
C. Switch-6500 > (enable) set vtp domain pku
Switch-6500 > (enable)set vtp mode server
Switch-6500 > (enable)set vlan 222 name lib222
Switch-6500 > (enable)clear vlan 133
D. Switch-6500 > (enable) set vtp domain pku
Switch-6500 > (enable)set vtp mode client
Switch-6500 > (enable)set vlan 222 name lib222
Switch-6500 > (enable)clear vlan phy133

参考答案:C进入在线模考
VTP(VLAN Trunking Protocol,VLAN中继协议)有三种工作模式:服务器模式(VTP Server),客户机模式(VTP CIient),透明模式(VTP Transparent)。其中:
VTP Server模式提供VTP消息,包括VLAN ID和名字信息,学习相同域名的VTP消息,转发相同域名的VTP消息,可以添加、删除和更改VLAN信息并写入NVRAM。
VTP CIient模式可以请求VTP消息,学习相同域名的VTP消息,转发相同域名的VTP消息,但不能添加、删除和更改VLAN信息。
VTP Transparent模式相当于是一个独立的交换机,它不参与VTP工作,不从VTP Server学习VLAN的配置信息,只是拥有本设备上自己维护的VLAN信息。VTP Transparent模式可以建立、删除和修改本机上的VLAN信息。
设置VTP域名的语句是:set vtp domain域名
设置VTP工作模式语句是:set vtp mode工作模式名称
建立VLAN语句是:set vlan VLANID name VLAN名称
删除VLAN语句是:clear vlan VLANID

你可能感兴趣的试题

1有3台Ciseo 6500交换机SW1~SW3,其生成树优先级分别为0、16384和32768,现要求将SW3作为根交换机,下列对交换机优先级的配置,正确的是(    )。

A. Switch-SW1-6500 > (enable) set spantree priority 12288
Switch-SW3-6500 > (enable) set spantree priority 4096
A. Switch-SW1-6500 > (enable) set spantree priority 12288
Switch-SW3-6500 > (enable) set spantree priority 4096
B. Switch-SW1-6500 > (enable) spanning-tree vlan 3 priority 12288
Switch-SW3-6500 > (enable) spanning-tree vlan 3 priority 4096
B. Switch-SW1-6500 > (enable) spanning-tree vlan 3 priority 12288
Switch-SW3-6500 > (enable) spanning-tree vlan 3 priority 4096
C. Switch-SW1-6500 > (enable) set spantree priority 4096
Switch-SW3-6500 > (enable) set spantree priority 40960
C. Switch-SW1-6500 > (enable) set spantree priority 4096
Switch-SW3-6500 > (enable) set spantree priority 40960
D. Switch-SW1-6500 > (enable) spantree priority 16384
Switch-SW3-6500 > (enable) spantree priority 16384
D. Switch-SW1-6500 > (enable) spantree priority 16384
Switch-SW3-6500 > (enable) spantree priority 16384

2下列是一台Ciseo三层交换机的部分路由表,表中的路由信息完全正确的是(    )。

A. Gateway of last resort is 162.105.1.145 to network 0.0.0.0
O 222.29.2.0/24 [ 110/3 ] via 162.105.1.145,00 : 13:43, Vlan1
O 222.29.32.0/24 [ 110/3 ] via 162.105.1.145,00:13:43, Vlan1
O * E 20.0.0.0/0 [110/1] via 202.112.41.6,00 :15 :10, Vlan1
C 222.105.157.0/24 is directly eonneeted,Vlan157
C 222.105.156.0/24 is directly connected, Vlan30
S 222.105.239.0/25 [1/0] via 202.112.41.6
S 222.105.125.128/26 [1/0] via 202.112.7.1
B. Gateway of last resort is 162.105.1.145 to network 0.0.0.0
O 222.29.2.0/24 [110/3] via 162.105.1.145,00:13:43,Vlan1
O 222.29.32.0/24 [110/3] via 162.105.1.145,00:13:43,Vlan1
O * E 20.0.0.0/0 [110/1] via 162.105.1.145,00 : 15 : 1O,Vlan1
C 162.105.157.0/24 is directly eonnected,Vlan157
C 162.105.156.0/24 is directly eonneeted,Vlan30
S 162.105.239.0/25 [1/0] via vlan157
S 162.105.125.128/26 [1/0] via vlan1
C. Gateway of last resort is 162.105.1.145 to network 0. O.0.0
O 222.29.2.0/24 [115/3] vial 62.105.1.145,00 : 13:43, Vlan1
O 222.29.32.0/24 [115/3] via 162.105.1.145,00:13:43,Vlan1
O * E 20.0.0.0/0 [115/1] via 162.105.1.145,00:15:10,Vlan1
C 162.105.157.0/24 is directly connected, GigbpsEthernet 0/1
C 162.105.156.0/24 is directly connected, GigbpsEthemet 0/2
S 162.105.239.0/25 [1/0] via 202.112.41.6
S 162.105.125.128/26 [1/0] via 202.112.7.1
D. Gateway of last resort is 162.105.1.145 to network O.0.0.0
O 222.29.2.0/24 [110/3] via 162.105. i.145,00 : 13:43, Vlan1
O 222.29.32.0/24 [110/3] via 162.105.1.145,00 : 13:43,V1an1
O * E 20.0.0.0/0 [110/1] via 162.105.1.145,00:15:10,V1an1
C 162.105.157.0/24 is directly eonneeted,Vlan157
C 162.105.156.0/24 is directly eonnected,Vlan30
S 162.105.239.0/25 [1/0] via 202.112.41.6
S 162.105.125.128/26 [1/0] via 202.112.7.1

3在一台Cisco路由器的g3/1端口封禁ICMP协议,只允许137.189.11.0/24和211.68.69.0/26子网的ICMP数据包通过路由器,正确的access—list配置是(    )。

A. Router(config) #access-list 98 permit icmp 137.189.11.00. O. O.255 any
Router(config) #access-list 98 permit icmp 211.68.69.00.0.0.63 any
Router(config) #access-list 98 deny iemp any any
Router(config)#aeeess-list 98 permit ip any any
Router(config) #interface g3/1
Router(config-if) #ip access-group 98 in
Router(config-if) #ip access-group 98 out
B. Router(config) #access-list 198 permit icmp 137.189.11.00.0.0.255 any
Router(config) #access-list 198 permit icmp 211.68.69.00.0.0.192 any
Router( config)#access-list 198 deny icmp any any
Router(config) #access-list 198 permit ip any any
Router(config) #interface g3/1
Router(config-if)#ip access-group 198 in
Router( config-if)#ip access-group 198 out
C. Router(config) #access-list 999 permit icmp 137.189.11.00.0.0.255 any
Router(config) #access-list 999 permit icmp 211.68.69.00.0.0.63 any
Router( config)#access-list 999 permit ip any any
Router( config)#access-list 999 deny icmp any any
Router(config) #interface g3/1
Router( config-if)#ip access-group 999 in
Router(config-if) #ip access-group 999 out
D. Router (config) #access-list 199 permit icmp 137.189.11.00.0.0.255 any
Router(corrfig) #access-list 199 permit icmp 211.68.69.00.0.0.63any
Router(config)#access-list 199 deny icmp any any
Router( config)#access-list 199 permit ip any any
Router(config) #interface g3/1
Router(config-if)#ip access-group 199 in
Router(config-if)#ip access-group 199 out