- 积分
- 451
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|

楼主 |
发表于 2016-10-18 21:02:08
|
显示全部楼层
SWA
en
conf t
spanning-tree vlan 11-13,21-23 root primary
vlan 21
name Marketing
ex
vlan 22
name Sales
ex
vlan 23
name Engineering
ex
int range fa 0/3 - 4
shut
no switchport mode access
no switchport access vlan 98
channel-group 1 mode active
channel-protocol lacp
no shut
ex
int port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
ex
end
copy run start
SWB
en
conf t
spanning-tree mode rapid-pvst
vtp mode transparent
ip default-gateway 192.168.1.1
vlan 21
name Marketing
ex
vlan 22
name Sales
ex
vlan 23
name Engineering
ex
vlan 99
name trunknative
ex
int vlan 1
ip add 192.168.1.11 255.255.255.0
no shut
ex
int range fa 0/9 - 10
switchport mode access
switchport access vlan 21
spanning-tree portfast
no shut
ex
int range fa 0/13 - 14
switchport mode access
switchport access vlan 22
spanning-tree portfast
no shut
ex
int range fa 0/15 - 16
switchport mode access
switchport access vlan 23
spanning-tree portfast
no shut
ex
int range fa 0/3 - 4
shut
channel-group 1 mode passive
channel-protocol lacp
no shut
ex
int port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
ex
end
copy run start
|
5#
2016-10-18 21:02:08
回复(0)
收起回复
|