设备1和2两个端口,请问有什么技术类似于monitor-link,实现两个端口互相检测,monitor-link只能实现1检测2,反向不能检测
(0)
您好,参考
如图2所示,区域A和区域B分别使用VLAN 10和VLAN 11,出于可靠性考虑,接入设备Device A和Device B都提供两条链路分别双上行到汇聚设备Device C和Device D。现要求如下:
· Device A和Device B设备通过配置Smart Link来实现链路备份。
· 当Device A到Device C和Device D的两条上行链路都正常时,区域A的数据流量优先通过Device A—>Device C的路径转发。当该链路出现故障时,Smart Link功能会将故障链路上的流量快速切换到Device A—>Device D的链路上。当链路故障恢复时,Smart Link功能又会将数据流量及时切换回原来的转发路径。
· 当Device B到Device C和Device D的两条上行链路都正常时,区域B的数据流量优先通过Device B—>Device D的路径转发。当该链路出现故障时,Smart Link功能会将故障链路上的流量快速切换到Device B—>Device C的链路上。当链路故障恢复时,Smart Link功能又会将数据流量及时切换回原来的转发路径。
· 通过配置Smart Link和Monitor Link联动,确保Device C和Device D的上行接口出现故障时能够快速感知并将下行接口的状态变为Down,触发Smart Link进行链路切换,从而最大可能地避免区域A和区域B与外部通信中断。
图2 Smart Link+Monitor Link组配置组网图
设备 | 接口 | VLAN | 设备 | 接口 | VLAN |
Device A | GE3/0/1 | 10 | Device D | GE3/0/1 | 11 |
| GE3/0/2 | 10 |
| GE3/0/2 | 10、11 |
| GE3/0/3 | 10 |
| GE3/0/3 | 10 |
Device B | GE3/0/1 | 11 | Device E | GE3/0/1 | 10、11 |
| GE3/0/2 | 11 |
| GE3/0/2 | 10、11 |
| GE3/0/3 | 11 |
| GE3/0/3 | 10、11 |
Device C | GE3/0/1 | 10 |
|
|
|
| GE3/0/2 | 10、11 |
|
|
|
| GE3/0/3 | 11 |
|
|
|
为了实现Device A和Device B的链路备份,需在Device A和Device B上分别创建一个Smart Link组,区域A和区域B的VLAN分别为这两个Smart Link组的保护VLAN。
为了实现链路故障恢复时,区域A和区域B的数据流量仍能切换回各自原来的路径转发,需要为两个Smart Link组都配置角色抢占模式。
为了避免当Smart Link组中的主从链路切换时,由于上游设备上的MAC地址转发表项和ARP/ND表项没有及时更新,而导致下行数据流量发生中断,需要在Device A和Device B上配置发送Flush报文功能,Device C和Device D的下行端口都需要使能接收Flush报文功能。
本举例是在S7600-X-CMW710-R7150版本上进行配置和验证的。
· 如果欲配置某端口为Smart Link组的成员端口(主端口或从端口),请先手工关闭该端口,并待Smart Link组配置完成后再开启该端口,以避免形成环路,导致广播风暴。
· 在配置Smart Link组的成员端口之前,请确认端口未启用STP或者RRPP功能。
· 上游设备上配置的接收处理Flush报文的控制VLAN和在Smart Link设备上配置的发送控制VLAN需要相同。
· 不同的Smart Link组需要配置不同的控制VLAN。Smart Link组的控制VLAN应同时为该Smart Link组的保护VLAN,且不要将已配置为控制VLAN的VLAN删除,否则会影响Flush报文的发送。
· 一个接口只能属于一个Monitor Link组。
· 请勿通过shutdown或undo shutdown命令手动开启或关闭接口来改变Monitor Link组中下行接口的状态。
# 配置端口GigabitEthernet 3/0/1、GigabitEthernet 3/0/2端口为Trunk口,允许VLAN 10流量通过,并关闭STP。
<DeviceA> system-view
[DeviceA] vlan 10 to 11
[DeviceA] interface GigabitEthernet 3/0/1
[DeviceA-GigabitEthernet3/0/1] port link-type trunk
[DeviceA-GigabitEthernet3/0/1] port trunk permit vlan 10
[DeviceA-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet3/0/1] undo stp enable
[DeviceA-GigabitEthernet3/0/1] shutdown
[DeviceA-GigabitEthernet3/0/1] quit
[DeviceA] interface GigabitEthernet 3/0/2
[DeviceA-GigabitEthernet3/0/2] port link-type trunk
[DeviceA-GigabitEthernet3/0/2] port trunk permit vlan 10
[DeviceA-GigabitEthernet3/0/2] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet3/0/2] undo stp enable
[DeviceA-GigabitEthernet3/0/2] shutdown
[DeviceA-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/3为Access口,分别允许VLAN 10流量通过。
[DeviceA] interface GigabitEthernet 3/0/3
[DeviceA-GigabitEthernet3/0/3] port access vlan 10
[DeviceA-GigabitEthernet3/0/3] undo shutdown
[DeviceA-GigabitEthernet3/0/3] quit
# 配置实例1绑定VLAN 10。
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 10
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 创建Smart Link组1,并配置保护MST 1所绑定的VLAN 10。
[DeviceA] smart-link group 1
[DeviceA-smlk-group1] protected-vlan reference-instance 1
# 配置端口GigabitEthernet 3/0/1为主端口,GigabitEthernet 3/0/2为从端口。
[DeviceA-smlk-group1] port GigabitEthernet 3/0/1 primary
[DeviceA-smlk-group1] port GigabitEthernet 3/0/2 secondary
# 使能发送Flush报文。
[DeviceA-smlk-group1] flush enable control-vlan 10
# 配置抢占模式,配置延时抢占时间为10秒。
[DeviceA-smlk-group1] preemption mode role
[DeviceA-smlk-group1] preemption delay 10
[DeviceA-smlk-group1] quit
# 开启端口。
[DeviceA] interface GigabitEthernet 3/0/1
[DeviceA-GigabitEthernet3/0/1] undo shutdown
[DeviceA-GigabitEthernet3/0/1] quit
[DeviceA] interface GigabitEthernet 3/0/2
[DeviceA-GigabitEthernet3/0/2] undo shutdown
[DeviceA-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/1、GigabitEthernet 3/0/2为Trunk口,允许VLAN 11流量通过,并使能Flush报文接收。
<DeviceB> system-view
[DeviceB] vlan 10 to 11
[DeviceB] interface GigabitEthernet 3/0/1
[DeviceB-GigabitEthernet3/0/1] port link-type trunk
[DeviceB-GigabitEthernet3/0/1] port trunk permit vlan 11
[DeviceB-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet3/0/1] undo stp enable
[DeviceB-GigabitEthernet3/0/1] shutdown
[DeviceB-GigabitEthernet3/0/1] quit
[DeviceB] interface GigabitEthernet 3/0/2
[DeviceB-GigabitEthernet3/0/2] port link-type trunk
[DeviceB-GigabitEthernet3/0/2] port trunk permit vlan 11
[DeviceB-GigabitEthernet3/0/2] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet3/0/2] undo stp enable
[DeviceB-GigabitEthernet3/0/2] shutdown
[DeviceB-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/3为Access口,分别允许VLAN 11流量通过。
[DeviceB] interface GigabitEthernet 3/0/3
[DeviceB-GigabitEthernet3/0/3] port access vlan 11
[DeviceB-GigabitEthernet3/0/3] undo shutdown
[DeviceB-GigabitEthernet3/0/3] quit
# 配置实例1绑定VLAN 11。
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 11
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 创建Smart Link组1,并配置保护MST 1所绑定的VLAN 11。
[DeviceB] smart-link group 1
[DeviceB-smlk-group1] protected-vlan reference-instance 1
# 配置端口GigabitEthernet 3/0/1为主端口,GigabitEthernet 3/0/2为从端口。
[DeviceB-smlk-group1] port GigabitEthernet 3/0/1 primary
[DeviceB-smlk-group1] port GigabitEthernet 3/0/2 secondary
# 使能发送Flush报文。
[DeviceB-smlk-group1] flush enable control-vlan 10
# 配置抢占模式,配置延时抢占时间为10秒。
[DeviceB-smlk-group1] preemption mode role
[DeviceB-smlk-group1] preemption delay 10
[DeviceB-smlk-group1] quit
# 开启端口。
[DeviceB] interface GigabitEthernet 3/0/1
[DeviceB-GigabitEthernet3/0/1] undo shutdown
[DeviceB-GigabitEthernet3/0/1] quit
[DeviceB] interface GigabitEthernet 3/0/2
[DeviceB-GigabitEthernet3/0/2] undo shutdown
[DeviceB-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/1为Trunk口,允许VLAN 10流量通过,并使能Flush报文接收。
<DeviceC> system-view
[DeviceC] vlan 10 to 11
[DeviceC] interface GigabitEthernet 3/0/1
[DeviceC-GigabitEthernet3/0/1] port link-type trunk
[DeviceC-GigabitEthernet3/0/1] port trunk permit vlan 10
[DeviceC-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet3/0/1] smart-link flush enable control-vlan 10
[DeviceC-GigabitEthernet3/0/1] undo shutdown
[DeviceC-GigabitEthernet3/0/1] quit
# 配置端口GigabitEthernet 3/0/2为Trunk口,允许VLAN 10、VLAN11流量通过,并使能Flush报文接收。
[DeviceC] interface GigabitEthernet 3/0/2
[DeviceC-GigabitEthernet3/0/2] port link-type trunk
[DeviceC-GigabitEthernet3/0/2] port trunk permit vlan 10 11
[DeviceC-GigabitEthernet3/0/2] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet3/0/2] smart-link flush enable control-vlan 10 11
[DeviceC-GigabitEthernet3/0/2] undo shutdown
[DeviceC-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/3为Trunk口,允许VLAN 11流量通过,并使能Flush报文接收。
[DeviceC] interface GigabitEthernet 3/0/3
[DeviceC-GigabitEthernet3/0/3] port link-type trunk
[DeviceC-GigabitEthernet3/0/3] port trunk permit vlan 11
[DeviceC-GigabitEthernet3/0/3] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet3/0/3] smart-link flush enable control-vlan 11
[DeviceC-GigabitEthernet3/0/3] undo shutdown
[DeviceC-GigabitEthernet3/0/3] quit
# 创建Monitor Link组1。
[DeviceC] monitor-link group 1
# GigabitEthernet 3/0/2配置为上行接口,GigabitEthernet 3/0/1配置为下行接口。
[DeviceC-mtlk-group1] port GigabitEthernet 3/0/2 uplink
[DeviceC-mtlk-group1] port GigabitEthernet 3/0/1 downlink
# 创建Monitor Link组2。
[DeviceC] monitor-link group 2
# GigabitEthernet 3/0/2配置为上行接口,GigabitEthernet 3/0/3配置为下行接口。
[DeviceC-mtlk-group2] port GigabitEthernet 3/0/2 uplink
[DeviceC-mtlk-group2] port GigabitEthernet 3/0/3 downlink
# 配置端口GigabitEthernet 3/0/1为Trunk口,允许VLAN 11流量通过,并使能Flush报文接收。
<DeviceD> system-view
[DeviceD] vlan 10 to 11
[DeviceD] interface GigabitEthernet 3/0/1
[DeviceD-GigabitEthernet3/0/1] port link-type trunk
[DeviceD-GigabitEthernet3/0/1] port trunk permit vlan 11
[DeviceD-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet3/0/1] smart-link flush enable control-vlan 11
[DeviceD-GigabitEthernet3/0/1] undo shutdown
[DeviceD-GigabitEthernet3/0/1] quit
# 配置端口GigabitEthernet 3/0/2为Trunk口,允许VLAN 10、VLAN11流量通过,并使能Flush报文接收。
[DeviceD] interface GigabitEthernet 3/0/2
[DeviceD-GigabitEthernet3/0/2] port link-type trunk
[DeviceD-GigabitEthernet3/0/2] port trunk permit vlan 10 11
[DeviceD-GigabitEthernet3/0/2] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet3/0/2] smart-link flush enable control-vlan 10 11
[DeviceD-GigabitEthernet3/0/2] undo shutdown
[DeviceD-GigabitEthernet3/0/2] quit
# 配置端口GigabitEthernet 3/0/3为Trunk口,允许VLAN 10流量通过,并使能Flush报文接收。
[DeviceD] interface GigabitEthernet 3/0/3
[DeviceD-GigabitEthernet3/0/3] port link-type trunk
[DeviceD-GigabitEthernet3/0/3] port trunk permit vlan 10
[DeviceD-GigabitEthernet3/0/3] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet3/0/3] smart-link flush enable control-vlan 10
[DeviceD-GigabitEthernet3/0/3] undo shutdown
[DeviceD-GigabitEthernet3/0/3] quit
# 创建Monitor Link组1。
[DeviceD] monitor-link group 1
# GigabitEthernet 3/0/2配置为上行接口,GigabitEthernet 3/0/1配置为下行接口。
[DeviceD-mtlk-group1] port GigabitEthernet 3/0/2 uplink
[DeviceD-mtlk-group1] port GigabitEthernet 3/0/1 downlink
# 创建Monitor Link组2。
[DeviceD] monitor-link group 2
# GigabitEthernet 3/0/2配置为上行接口,GigabitEthernet 3/0/3配置为下行接口。
[DeviceD-mtlk-group2] port GigabitEthernet 3/0/2 uplink
[DeviceD-mtlk-group2] port GigabitEthernet 3/0/3 downlink
# 配置端口GigabitEthernet 3/0/1、GigabitEthernet 3/0/2、GigabitEthernet 3/0/3为Trunk口,允许VLAN 10、VLAN 11的流量通过;GigabitEthernet 3/0/1、GigabitEthernet 3/0/2使能Flush报文接收。
<DeviceE> system-view
[DeviceE] vlan 10 to 11
[DeviceE] interface GigabitEthernet 3/0/1
[DeviceE-GigabitEthernet3/0/1] port link-type trunk
[DeviceE-GigabitEthernet3/0/1] port trunk permit vlan 10 11
[DeviceE-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet3/0/1] smart-link flush enable control-vlan 10 11
[DeviceE-GigabitEthernet3/0/1] undo shutdown
[DeviceE-GigabitEthernet3/0/1] quit
[DeviceE] interface GigabitEthernet 3/0/2
[DeviceE-GigabitEthernet3/0/2] port link-type trunk
[DeviceE-GigabitEthernet3/0/2] port trunk permit vlan 10 11
[DeviceE-GigabitEthernet3/0/2] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet3/0/2] smart-link flush enable control-vlan 10 11
[DeviceE-GigabitEthernet3/0/2] undo shutdown
[DeviceE-GigabitEthernet3/0/2] quit
[DeviceE] interface GigabitEthernet 3/0/3
[DeviceE-GigabitEthernet3/0/3] port link-type trunk
[DeviceE-GigabitEthernet3/0/3] port trunk permit vlan 10 11
[DeviceE-GigabitEthernet3/0/3] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet3/0/3] undo shutdown
[DeviceE-GigabitEthernet3/0/3] quit
(1) 当Device A和Device B正常工作时,查看Smart Link的配置
# 查看Device A上的Smart Link配置。
[DeviceA] display smart-link group all
Smart link group 1 information:
Device ID : 0000-fc00-2500
Preemption mode : ROLE
Preemption delay: 10(s)
Control VLAN : 10
Protected VLAN : Reference Instance 1
Member Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GE3/0/1 PRIMARY ACTIVE 1 19:37:49 2014/12/29
GE3/0/2 SECONDARY STANDBY 3 17:43:06 2014/12/29
# 查看Device B上的Smart Link配置。
[DeviceB] display smart-link group all
Smart link group 1 information:
Device ID : 0000-fc00-2500
Preemption mode : ROLE
Preemption delay: 10(s)
Control VLAN : 11
Protected VLAN : Reference Instance 2
Member Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GE3/0/1 PRIMARY ACTIVE 2 16:22:40 2014/12/29
GE3/0/2 SECONDARY STANDBY 0 NA
上述信息表示,在Device A设备的Smart Link组1中,Device A的GigabitEthernet 3/0/1是主端口,负责转发VLAN实例1的流量;在Device B设备的Smart Link组1中,Device A的GigabitEthernet 3/0/1是主端口,负责转发VLAN实例2的流量。
(2) 当Device C和Device D正常工作时,查看Monitor Link的配置
# 查看Device C上的Monitor Link配置。
[DeviceC] display monitor-link group all
Monitor link group 1 information:
Group status : UP
Downlink up-delay: 0(s)
Last-up-time : 10:07:26 2014/10/23
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK UP
GE3/0/1 DOWNLINK UP
Monitor link group 2 information:
Group status : UP
Downlink up-delay: 0(s)
Last-up-time : 10:07:26 2014/10/23
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK UP
GE3/0/3 DOWNLINK UP
# 查看Device D上的Monitor Link配置。
[DeviceD] display monitor-link group all
Monitor link group 1 information:
Group status : UP
Downlink up-delay: 0(s)
Last-up-time : 19:49:33 2014/12/29
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK UP
GE3/0/1 DOWNLINK UP
Monitor link group 1 information:
Group status : UP
Downlink up-delay: 0(s)
Last-up-time : 19:49:33 2014/12/29
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK UP
GE3/0/3 DOWNLINK UP
上述信息表示,Device A设备的Monitor Link 1和Monitor Link 2中,GigabitEthernet 3/0/2为上行接口; Device B设备的Monitor Link 1和Monitor Link 2中,GigabitEthernet 3/0/2为上行接口。
(3) 当Device A或Device B的GigabitEthernet 3/0/1接口Down时,查看Smart Link的配置
# 查看Device A上的Smart Link配置。
[DeviceA] display smart-link group all
Smart link group 1 information:
Device ID : 0000-fc00-2500
Preemption mode : ROLE
Preemption delay: 10(s)
Control VLAN : 10
Protected VLAN : Reference Instance 1
Member Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GE3/0/1 SECONDAR DOWN 1 NA
GE3/0/2 PRIMARY ACTIVE 3 17:43:06 2014/12/29
# 查看Device B上的Smart Link配置。
[DeviceB] display smart-link group all
Smart link group 1 information:
Device ID : 0000-fc00-2500
Preemption mode : ROLE
Preemption delay: 10(s)
Control VLAN : 11
Protected VLAN : Reference Instance 2
Member Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GE3/0/1 SECONDAR DOWN 1 NA
GE3/0/2 PRIMARY ACTIVE 3 17:43:06 2014/12/29
上述信息表示,Device A的GigabitEthernet 3/0/1接口Down时,在Smart Link组1中, GigabitEthernet 3/0/2成为主端口,负责转发VLAN实例1的流量;Device B的GigabitEthernet 3/0/1接口Down时,在Smart Link组1中, GigabitEthernet 3/0/2成为主端口,负责转发VLAN实例1的流量。
# 通过使用display smart-link flush命令可以查看Device C上收到的Flush报文信息。
[DeviceC] display smart-link flush
Received flush packets : 1
Receiving interface of the last flush packet : GigabitEthernet3/0/1
Receiving time of the last flush packet : 07:57:22 2014/10/23
Device ID of the last flush packet : 0000-fc00-2500
Control VLAN of the last flush packet : 10
# 通过使用display smart-link flush命令可以查看Device D上收到的Flush报文信息。
[DeviceD] display smart-link flush
Received flush packets : 1
Receiving interface of the last flush packet : GigabitEthernet3/0/1
Receiving time of the last flush packet : 07:57:22 2014/10/23
Device ID of the last flush packet : 0000-fc00-2500
Control VLAN of the last flush packet : 11
(4) 当Device C或Device D的上行接口Down时,查看Monitor Link的配置
# 查看Device C上的Monitor Link配置。
[DeviceC] display monitor-link group all
Monitor link group 1 information:
Group status : DOWN
Downlink up-delay: 0(s)
Last-up-time : 10:07:26 2014/10/23
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK DOWN
GE3/0/1 DOWNLINK DOWN
Monitor link group 2 information:
Group status : DOWN
Downlink up-delay: 0(s)
Last-up-time : 10:07:26 2007/10/23
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK DOWN
GE3/0/3 DOWNLINK DOWN
# 查看Device D上的Monitor Link配置。
[DeviceD] display monitor-link group all
Monitor link group 1 information:
Group status : DOWN
Downlink up-delay: 0(s)
Last-up-time : 19:49:33 2014/12/29
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK DOWN
GE3/0/1 DOWNLINK DOWN
Monitor link group 1 information:
Group status : UP
Downlink up-delay: 0(s)
Last-up-time : 19:49:33 2014/12/29
Last-down-time : -
Member Role Status
--------------------------------------------
GE3/0/2 UPLINK DOWN
GE3/0/3 DOWNLINK DOWN
上述信息表示,Device A或Device B设备的GigabitEthernet 3/0/2Down时,Monitor Link 1和Monitor Link 2的状态变为Down,下行设备会将流量切换到另一条链路进行转发。
· Device A:
#
vlan 1
#
vlan 10
#
stp region-configuration
instance 1 vlan 10
active region-configuration
#
smart-link group 1
preemption mode role
flush enable control-vlan 10
protected-vlan reference-instance 1
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10
undo stp enable
port smart-link group 1 primary
#
interface GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10
undo stp enable
port smart-link group 1 secondary
#
interface GigabitEthernet3/0/3
port link-mode bridge
port access vlan 10
#
· Device B:
#
vlan 1
#
vlan 11
#
stp region-configuration
instance 1 vlan 11
active region-configuration
#
smart-link group 1
preemption mode role
flush enable control-vlan 11
protected-vlan reference-instance 1
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 11
undo stp enable
port smart-link group 1 primary
#
interface GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 11
undo stp enable
port smart-link group 1 secondary
#
interface GigabitEthernet3/0/3
port link-mode bridge
port access vlan 11
#
· Device C:
#
vlan 1
#
vlan 10 to 11
#
monitor-link group 1
monitor-link group 2
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10
smart-link flush enable control-vlan 10
port monitor-link group 1 downlink
#
interface GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 to 11
smart-link flush enable control-vlan 10 to 11
port monitor-link group 1 uplink
port monitor-link group 2 uplink
#
interface GigabitEthernet3/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 11
smart-link flush enable control-vlan 11
port monitor-link group 2 downlink
#
· Device D:
#
vlan 1
#
vlan 10 to 11
#
monitor-link group 1
monitor-link group 2
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 11
smart-link flush enable control-vlan 11
port monitor-link group 1 downlink
#
interface GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 to 11
smart-link flush enable control-vlan 10 to 11
port monitor-link group 1 uplink
port monitor-link group 2 uplink
#
interface GigabitEthernet3/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10
smart-link flush enable control-vlan 10
port monitor-link group 2 downlink
#
· Device E:
#
vlan 1
#
vlan 10 to 11
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 to 11
smart-link flush enable control-vlan 10 to 11
#
interface GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 to 11
smart-link flush enable control-vlan 10 to 11
#
interface GigabitEthernet3/0/3
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 to 11
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论