赞
踩
VLAN:
virtual Local Area Network,虚拟局域网。主要作用是划分广播域,避免数据在数据链路层无限广播。
链路聚合:
Eth-Trunk,主要作用是通过多个物理接口捆绑成为一个逻辑接口,可以在不进行硬件升级的条件下,达到增加链路带宽。
划分VLAN,运用链路聚合使VLAN与VLAN之间正常访问。
vlan batch 10 20
- interface Eth-Trunk 1
- port link-type trunk
- port trunk allow-pass vlan 10 20
- interface GigabitEthernet0/0/1
- port link-type access
- port default vlan 10
- interface GigabitEthernet0/0/2
- port link-type access
- port default vlan 20
vlan batch 10 20 30
- interface Eth-Trunk 1
- port link-type trunk
- port trunk allow-pass vlan 10 20
- interface Eth-Trunk 2
- port link-type trunk
- port trunk allow-pass vlan 20 30
- interface GigabitEthernet0/0/1
- port link-type access
- port default vlan 30
- interface GigabitEthernet0/0/2
- port link-type access
- port default vlan 10
vlan batch 20 30
- interface Eth-Trunk 2
- port link-type trunk
- port trunk allow-pass vlan 20 30
- interface GigabitEthernet0/0/1
- port link-type access
- port default vlan 20
- interface GigabitEthernet0/0/2
- port link-type access
- port default vlan 30
display vlan
display eth-trunk 1
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。