●试题一下面是某交换机的部分配置信息,解释(n)处标有下划线的部分含义。SwitchASwitchAenableSwitchA#SwitchA#config terminal (1)SwitchA(config)#SwitchA(config)#ip address 192.168.1.1 255.255.255.0……SwitchA(config)#interface fastethernet0/1SwitchA(config-if)#speed 100 (2)……SwitchA#vlan databaseSwitchA(vlan)#vtp server (3)SwitchA(vlan)#vlan 2SwitchA(vlan)#vlan 3 name vlan3 (4)SwitchB#config terminalSwitchB#vlan databaseSwitchB(vlan)#vlan client (5)SwitchB(config)#interface f0/9SwitchB(config-if)#switchport mode accessSwitchB(config)# switchport access vlan 2 (6)……SwitchA(config)#interface f0/23SwitchA(config-if)#switchport mode trunk (7)SwitchA(config-if)#spanning-tree vlan1 port-priortiy 10SwitchA(config-if)#spanning-tree vlan2 port-priortiy 10SwitchA(config-if)#exitSwitchA(config)#interface f0/24SwitchA(config-if)#spanning-tree vlan3 port-priortiy 10SwitchA(config-if)#spanning-tree vlan4 port-priortiy 10SwitchA(config-if)#endSwitchA(config)#interface f0/23SwitchA(config-if)#spanning-tree vlan2 cost 30 (8)SwitchA(config-if)#endSwitchA#!!
●试题一
下面是某交换机的部分配置信息,解释(n)处标有下划线的部分含义。
SwitchA>
SwitchA>enable
SwitchA#
SwitchA#config terminal (1)
SwitchA(config)#
SwitchA(config)#ip address 192.168.1.1 255.255.255.0
……
SwitchA(config)#interface fastethernet0/1
SwitchA(config-if)#speed 100 (2)
……
SwitchA#vlan database
SwitchA(vlan)#vtp server (3)
SwitchA(vlan)#vlan 2
SwitchA(vlan)#vlan 3 name vlan3 (4)
SwitchB#config terminal
SwitchB#vlan database
SwitchB(vlan)#vlan client (5)
SwitchB(config)#interface f0/9
SwitchB(config-if)#switchport mode access
SwitchB(config)# switchport access vlan 2 (6)
……
SwitchA(config)#interface f0/23
SwitchA(config-if)#switchport mode trunk (7)
SwitchA(config-if)#spanning-tree vlan1 port-priortiy 10
SwitchA(config-if)#spanning-tree vlan2 port-priortiy 10
SwitchA(config-if)#exit
SwitchA(config)#interface f0/24
SwitchA(config-if)#spanning-tree vlan3 port-priortiy 10
SwitchA(config-if)#spanning-tree vlan4 port-priortiy 10
SwitchA(config-if)#end
SwitchA(config)#interface f0/23
SwitchA(config-if)#spanning-tree vlan2 cost 30 (8)
SwitchA(config-if)#end
SwitchA#
!
!