ULPP双上行链路配置

 配置ULPP协议时先配置MSTP生成树协议

ULPP 可以通过配置来实现 VLAN 负载均衡。如图 所示,switchA 上配置了两个 ULPP 组:

组 1 中端口 E1/0/1 做为主端口,端口 E1/0/2 为副端口,

组 2 中端口 E1/0/2 为主端口,端 口 E1/0/1 为副端口,

组 1 和组 2 保护的 VLAN 分别为 1-100 和 101-200。

此时端口 E1/0/1 和端 口 E1/0/2 同时处于转发状态,主端口和副端口互为备份,分别转发不同范围 VLAN 的报文。

端口 E1/0/1 发生故障时,VLAN 1-200 的流量都会由端口 E1/0/2 进行转发。

此后当端口 E1/0/1 恢复正常时,端口 E1/0/2 继续转发 VLAN 101-200 的数据,VLAN 1-100 的数据切换到端口 E1/0/1 转发。

switchA 配置任务序列:

Switch(Config)#spanning-tree mst configuration

Switch(Config-Mstp-Region)#instance 1 vlan 1-100

Switch(Config-Mstp-Region)#instance 2 vlan 101-200

Switch(Config-Mstp-Region)#exit

Switch(Config)#ulpp group 1

Switch(ulpp-group-1)#protect vlan-reference-instance 1

Switch(ulpp-group-1)#preemption mode

Switch(ulpp-group-1)#exit

Switch(Config)#ulpp group 2

Switch(ulpp-group-2)#protect vlan-reference-instance 2

Switch(ulpp-group-2)#preemption mode

Switch(ulpp-group-2)#exit

Switch(Config)#interface ethernet 1/0/1

Switch(config-If-Ethernet1/0/1)#switchport mode trunk

Switch(config-If-Ethernet1/0/1)#ulpp group 1 master

Switch(config-If-Ethernet1/0/1)#ulpp group 2 slave

Switch(config-If-Ethernet1/0/1)#exit

Switch(Config)#interface Ethernet 1/0/2

Switch(config-If-Ethernet1/0/2)#switchport mode trunk

Switch(config-If-Ethernet1/0/2)# ulpp group 1 slave

Switch(config-If-Ethernet1/0/2)# ulpp group 2 master

switchB 配置任务序列:

Switch(Config)#interface ethernet 1/0/1

Switch(config-If-Ethernet1/0/1)#switchport mode trunk

Switch(config-If-Ethernet1/0/1)# ulpp flush enable mac

Switch(config-If-Ethernet1/0/1)#ulpp flush enable arp

switchC 配置任务序列:

Switch(Config)#interface ethernet 1/0/2

Switch(config-If-Ethernet1/0/2)# switchport mode trunk

Switch(config-If-Ethernet1/0/2)# ulpp flush enable mac

Switch(config-If-Ethernet1/0/2)# ulpp flush enable arp

  • 21
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值