
ZXR10 8900 Series User Manual (Basic Configuration Volume)
with ERSPAN head and mirrored to interface gei_1/1 of Switch2.
Configurations are as follows:
Configuration of Switch1:
ZXR10(config)#interface gei_1/1 ZXR10(config-gei_1/1)#monitor session 1 source direction both ZXR10(config-gei_1/1)#switchport access vlan 2 ZXR10(config-gei_1/1)#exit ZXR10(config)#interface vlan 2 ZXR10(config-if-vlan2)#ip address 10.10.10.10 255.255.255.0 ZXR10(config-if-vlan2)#exit ZXR10(config-gei_1/2)#switchport access vlan 3 ZXR10(config-gei_1/2)#exit ZXR10(config)#interface vlan 3 ZXR10(config-if-vlan3)#ip address 20.20.20.10 255.255.255.0 ZXR10(config-if-vlan3)#exit ZXR10(config)#interface tunnel1 ZXR10(config-tunnel1)#tunnel mode gre ip ZXR10(config-tunnel1)#tunnel source ipv4 10.10.10.10 ZXR10(config-tunnel1)#tunnel destination ipv4 20.20.20.20 ZXR10(config-tunnel1)#monitor session 1 destination erspan flags enable tpid 0x8100 ttl 128 vlan-id 3 ZXR10(config-tunnel1)#exit
Configuration of Switch2:
ZXR10(config-gei_1/1)#switchport access vlan 3 ZXR10(config-gei_1/1)#exit ZXR10(config)#interface vlan 3 ZXR10(config-if-vlan3)#ip address 20.20.20.20 255.255.255.0 ZXR10(config-if-vlan3)#exit
Port Loop Detection
Configuration
Port Loop Detection Overview
With port loop detection function, the switch can detect whether
there is a loop on the port. If there is a loop, the switch will take
measures. This can avoid broadcast storm.
On ZXR10 8900 series switch, port loop detection function can
be configured to detect loop on a port or all ports. By default,
the detection function is disabled. The switch supports detection
function based on
VLAN
, that is, the switch can detect loop in the
VLAN that owns the same
PVID
with that on the port, as well as in
the VLAN that users designate. On a port, it is up to detect loops
in 8 VLANs at the same time.
A port sends a Layer 2 multicast message every 15 seconds. If
there is a loop on a port, the multicast message will go back to the
port through which the message is sent.
Configuring Port Loop Detection
To configure port loop detection function, perform the following
steps.
Step Command
Function
1
ZXR10(config)#
loop-detect interface
<
port_name
>{
e
nable
|
disable
}
This configures port loop
detection function on one port
or multiple ports
2
ZXR10(config)#
loop-detect interface
<
port_name
>
vlan
<
vlan_id
>{
enable
|
disable
}
This configures port loop
detection function in a VLAN
or multiple VLANs that a port
belongs to
3
ZXR10(config)#
loop-detect portstate
{
block
|
normal
|
protect
}<
port_name
>
This configures the state of
loop port
56
Confidential and Proprietary Information of ZTE CORPORATION