一、  组网需求:

设备Device C、设备Device E双上行到设备Device A

双上行链路进行灵活备份;

VLAN 1内发送和接收Flush报文。

二、  组网图:

3.jpg

三、  配置步骤:

1. 设备Device C上的配置

# 创建Smart Link组。

<DeviceC> system-view

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] quit

[DeviceC] smart-link group 1

# 配置保护所有引用实例所绑定的VLAN(当前设备的实例范围为016)。

[DeviceC-smlk-group1] protected-vlan reference-instance 0 to 16

# 配置端口GigabitEthernet1/0/1为主端口,端口GigabitEthernet1/0/2为副端口。

[DeviceC-smlk-group1] port gigabitethernet1/0/1 master

[DeviceC-smlk-group1] port gigabitethernet1/0/2 slave

# 开启发送Flush报文的功能。

[DeviceC-smlk-group1] flush enable

2. 设备Device E上的配置

# 创建Smart Link组。

<DeviceE> system-view

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] quit

[DeviceE] smart-link group 1

# 配置保护所有引用实例所绑定的VLAN(当前设备的实例范围为016)。

[DeviceE-smlk-group1] protected-vlan reference-instance 0 to 16

# 配置端口GigabitEthernet1/0/2为主端口,端口GigabitEthernet1/0/1为副端口。

[DeviceE-smlk-group1] port gigabitethernet1/0/2 master

[DeviceE-smlk-group1] port gigabitethernet1/0/1 slave

# 开启发送Flush报文的功能。

[DeviceE-smlk-group1] flush enable

3. 设备Device B上的配置

# 开启接收Flush报文的功能。

<DeviceB> system-view

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] smart-link flush enable

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] smart-link flush enable

[DeviceB-GigabitEthernet1/0/2] quit

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] smart-link flush enable

4. 设备Device D上的配置

# 开启接收Flush报文的功能。

<DeviceD> system-view

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] smart-link flush enable

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] smart-link flush enable

[DeviceD-GigabitEthernet1/0/2] quit

[DeviceD] interface gigabitethernet 1/0/3

[DeviceD-GigabitEthernet1/0/3] smart-link flush enable

5. 设备Device A上的配置

# 开启接收Flush报文的功能。

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] smart-link flush enable

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] smart-link flush enable

配置完毕后,用户可以使用display命令查看Smart Link的配置和报文统计情况。


 

设为首页 | 加入收藏 | 邮箱登陆    南京咚吆网络科技有限公司版权所有 Copyright © 2008-2014  ICP备案号:苏ICP备15018674号

地址: 江苏省南京市珠江路435号华海大厦709室   邮编: 210018   电话: 0771-2029366   传真: (86)25-83156290   邮箱: master@junovation.com