填空题

如图1所示,一台Cisco 3500系列交换机上连接2台计算机,他们分别划分在VLAN10(ID号为 10)和VLAN11(ID号为11)中。交换机千兆以太网端口(g0/1)连接一台路由器,使2个VLAN之间能够通信,交换机管理地址为 167.11.45.2/24,缺省路由地址为 167.11.45.1/24。
请阅读以下交换机的配置信息,并补充[6]~[10]空白处的配置命令或参数。按题目要求完成交换机的配置。(注:填写答案时,配置语句的关键字要求拼写完整)
Switch-3548>enable
Password:*********
Switch-3548#
Switch-3548#configure terminal
Switch-3548(config)#hostname Switch-lib
Switch-lib(config)#
Switch-lib(config)#interface vlan 1
Switch-lib(config-if)#no shutdown
Switch-lib(config-if)#ip address ?[46] ? ? ? ? ? ? ? ? ? 配置交换机的管理地址
Switch-lib(config-if)#exit
Switch-lib(config)#ip default-gateway 167.11.45.1
Switch-lib(config)#vtp domain lib
Switch-lib(config)#vtp mode transparent
Switch-lib(config)#exit
Switch-lib#vlan data
Switch-lib(vlan)#vlan ?[47] ? ? ? ? ? ? ? ? ? ? ? ? ?建立VLAN10
? ? ? ? …… ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 建立VLAN11(省略)
? ? ? ? Switch-lib(vlan)#exit
? ? ? ? Switch-lib#configure terminal
? ? ? ? Switch-lib(config)#interface f0/1
? ? ? ? Switch-lib(config-if)#no shutdown
Switch-lib(config-if)#switchport ?[48] ? ? ? ? 为端口f0/1分配VLAN
? ? ? ? Switch-lib(config-if)#exit
? ? ? ? Switch-lib(config)#interface f0/6
? ? ? ? …… ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?为端口f0/6分配VLAN(省略)
? ? ? ? Switch-lib(config-if)#exit
? ? ? ? Switch-lib(config)#interface g0/1
? ? ? ? Switch-lib(config-if)#switchport ?[49] ? ? ? ? ? ?设置VLAN trunk 模式
? ? ? ? Switch-lib(config-if)#switchport trunk encapsulation dotlq
? ? ? ? Switch-lib(config-if)#switchport trunk ?[50] ? ? ? 配置允许中继的VLAN
? ? ? ? Switch-lib(config-if)#exit
? ? ? ? Switch-lib(config)#exit
? ? ? ? Switch-lib#

50()

【参考答案】

allowed vlan A0,AA或allowed vlan A0-AA
热门 试题

填空题
45()
填空题
60()