HCIP-6.1 Vlan Trunk Eth-Trunk底层配置

数通

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

版权声明:本文为下一朵云发布文章,转载请附上原文出处链接和本声明。
本文链接:https://www.orcy.net.cn/3866.html

​ 广告:HCIE-Security认证课程辅导资料(付费)

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注