设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1975|回复: 1
收起左侧

[求助] 300-115交换题库的LACP为什么有VLAN99

[复制链接]
发表于 2015-2-14 19:37:57 | 显示全部楼层 |阅读模式
3鸿鹄币
They have just added a new switch (SwitchB) to the existing network as shown in the topology diagram.
RouterA is currently configured correctly and is providing the routing function for devices on SwitchA and SwitchB. SwitchA is currently configured correctly, but will need to be modified to support the addition of SwitchB. SwitchB has a
minimal configuration. You have been tasked with competing the needed configuring of SwitchA and SwitchB. SwitchA and SwitchB use Cisco as the enable password.

Configuration Requirements for SwitchA
- The VTP and STP configuration modes on SwitchA should not be modified.
– SwitchA needs to be the root switch for vlans 11, 12, 13, 21, 22 and 23. All
other vlans should be left are their default values.

Configuration Requirements for SwitchB
- Vlan 21, Name: Marketing, will support two servers attached to fa0/9 and fa0/10
– Vlan 22, Name: Sales, will support two servers attached to fa0/13 and fa0/14
– Vlan 23, Name: Engineering, will support two servers attached to fa0/15 and fa0/16
– Access ports that connect to server should transition immediately to forwarding state upon detecting the connection of a device.
– SwitchB VTP mode needs to be the same as SwitchA.
– SwitchB must operate in the same spanning tree mode as SwitchA.
– No routing is to be configured on SwitchB.
– Only the SVI vlan 1 is to be configured and it is to use address 192.168.1.11/24.

Inter-switch Connectivity Configuration Requirements:
- For operational and security reasons trunking should be unconditional and
Vlans 1, 21, 22 and 23 should tagged when traversing the trunk link.
– The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum use of their bandwidth for all vlans. This mode should be done with a non-proprietary protocol, with SwitchA controlling activation.
– Propagation of unnecessary broadcasts should be limited using manual pruning on this trunk link.

==================我整理了一下题库给的答案=================
SWITCH A
vlan 21
name Marketing
vlan 22
name Sales
vlan 23
name Engineering

spanning-tree vlan11-1321-23  root primary  (按题目要求SWITCH Aroot)
interface range FastEthernet0/3-4
no switchport mode access
no switchport access vlan 98 (为什么突然有个vlan98?)
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99 (为什么会有vlan 99变成native vlan?)
switchport trunk allowed vlan 1,21-23  
channel-group 1 mode active
channel-protocol lacp
no shutdown
exit

interfaceport-channel 1
switchport mode trunk
switchport trunk native vlan 99 (为什么会有vlan 99变成native vlan?)
switchport trunk allowed vlan 1,21-23  
end
copy run start

==============GFX================
vlan 21
name Marketing
vlan 22
name Sales
vlan 23
name Engineering
配置相应的口到各个VLAN
interface range FastEthernet0/9-10
switchport access vlan 21
switchport mode access
spanning-tree portfast !
no shutdown
interfaceFastEthernet0/13-14
switchport access vlan 22
switchport mode access
spanning-tree portfast
no shutdown
interfaceFastEthernet0/15-16
switchport access vlan 23
switchport mode access
spanning-tree portfast
no shutdown
exit

下面这段不明白,是题目要求吗?为什么要设置这些命令
SW-B(config)#vtpmode transparent
SW-B(config)#spanning-treemode rapid-pvst
题目貌似要和A一样的VTP 模式,是不是先查看A,再设置??
SW-B(config)#ipdefault-gateway 192.168.1.1
SW-B(config)#interfacevlan 1
SW-B(config-if)#ipaddress 192.168.1.11 255.255.255.0  
SW-B(config-if)#noshutdown
SW-B(config-if)#exit

配置中间trunk通道, EthenChannel
interface range FastEthernet0/3-4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,21-23  (只允许这些vlan通过)
channel-group 1 mode passive  (SwitchA controlling activation)
          channel-protocol lacp   (a non-propretary protocol 非私有协议)
          no shutdown

interface port-channel1
        switchport mode trunk
        switchport trunk native vlan 99 (为什么会有vlan 99变成native vlan?)
switchport trunk allowed vlan 1,21-23
        end


=====================FGX=============
几个大的模块我明白,要设置vlan名字,相应的端口,要portfast
设置中间的3-4接口
A要做VLAN的root
SVI VLAN 1的IP

最麻烦是不清楚为什么有个native vlan 99还有个vlan98?
大家考过的,或者明白的请来告诉我一下,谢谢各位。



最佳答案

查看完整内容

可以理解为 把本征vlan设置为Vlan99 而名字是后加的。意思就是告诉你,在这个环境中,本征Vlan是vlan99,而不再是vlan1了。vlan1 在这里只是一个存在的普通vlan罢了。 Vlan98也是这太交换机上已经被配置的一个vlan。我记得题目不让动已经存在的vlan,所以就那么放着吧.
发表于 2015-2-14 19:37:58 | 显示全部楼层
可以理解为 把本征vlan设置为Vlan99  而名字是后加的。意思就是告诉你,在这个环境中,本征Vlan是vlan99,而不再是vlan1了。vlan1 在这里只是一个存在的普通vlan罢了。
Vlan98也是这太交换机上已经被配置的一个vlan。我记得题目不让动已经存在的vlan,所以就那么放着吧.
沙发 2015-2-14 19:37:58 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-5-4 21:59 , Processed in 0.096821 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表