Eth-Trunk配置

SW3:

sysn HJ_SW3
int eth-trunk 1
 mode lacp-static
  trunkport e0/0/4
  trunkport e0/0/5

SW6:

sysn JR_SW6
 int eth-trunk 1
  mode lacp-static
   trunkport e0/0/1
   trunkport e0/0/3

SW1:

sysn HX_SW1
 int eth-trunk 2
  mode lacp-static
  trunkport g0/0/2 to g0/0/3

SW2:

sysn HX_SW2
 int eth-trunk 2
  mode lacp-static
  trunkport g0/0/1
  trunkport g0/0/2

Vlan Trunk配置

管理VLAN:999

SW5:

sysn JR_SW5
vlan batch 2 to 5 999 200  # MSTP 要求相同的vlan到生成树实例映射的配置,所有交换机vlan要同步
int e0/0/2
 port link-type access
 port default vlan 2
int e0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 999

SW6:

vlan batch 2 to 5 999 200 # MSTP 要求相同的vlan到生成树实例映射的配置,所有交换机vlan要同步
int e0/0/2
 port link-type access
 port d vlan 3
 #
int eth-trunk 1
 p l t
 p t a v 3 999 

SW3:

vlan batch 2 to 5 999 200
int e0/0/3
 port link-type trunk
 port trunk allow vlan 2 999
int eth-trunk 1
 port link-t trunk
 port trunk allow vlan 3 999
 #
port-g g e0/0/1 e0/0/2
 p l t
 p t a v 2 to 5 999
 #
 # vlan修剪 p t a v 2 3 999
 #

SW7:

 sysn JR_SW7
 vlan batch 2 to 5 999 200
 int e0/0/2
  p l a
  p d v 4
 int e0/0/3
  p l a
  p d v 5
 int e0/0/1
  p l t
  p t a v 4 5 999

SW4:

sysn HJ_SW4
vlan batch 2 to 5 999 200
int e0/0/3
 p l t
 p t a v 4 5 999
port-g g e0/0/1 e0/0/2
 p l t 
 p t a v 2 to 5 999
 #
 # vlan修剪 p t a v 4 5 999
 #

SW8:

sysn SW8
vlan batch 2 to 5 999 200
int e0/0/3 
 p l a
 p d v 200
int e0/0/4
 p l a
 p d v 200
port-g g e0/0/1 e0/0/2
 p link-ty tr
 port tr al vl 2 to 5 200 999
 #
 # vlan修剪 p t a v 200 999
 #

SW1:

vlan batch 2 to 5 999 200
 int g0/0/5
  port link-ty tr
  port tr al vlan 200 999
  #
 int g0/0/1
  p l t
  p t a v 2 3 999
 int g0/0/4
  p l t
  p t a v 4 5 999
  #
 int eth-tr 2
  p l t
  port tr al vlan 2 3 4 5 999 200
  #
 # 上连路由器
 vlan 800
 int g0/0/6
  p l a
  p dd v 800

SW2:

vlan b 2 to 5 999 200
int g0/0/4
 p l t
 p t a v 4 5 999
int g0/0/5
 p l t
 p t a v 2 3 999
int eth-trunk 2
 p l t 
 p t a v 2 3 4 5 999 200
int g0/0/3
 p l t
 p t a v 200 999
 #
# 上连路由器
vlan 801
int g0/0/6
 port link-ty access
 port default vlan 801

注意:(1)Trunk口VLAN修剪

(2)MSTP 要求相同的vlan到生成树实例映射的配置,所有交换机vlan要同步 vlan b 2 to 5 999 200

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。