Configuration Guide ERSPAN Configuration
Ruijie (config-mon-erspan-src)#
shutdown
Ruijie (config-mon-erspan-src)# no
shutdown
Disable the ERSPAN mirroring.
Enable the ERSPAN mirroring.
Ruijie (config-mon-erspan-src)#
source {interface single_interface }
[rx | tx | both]}
Associate the source port of the ERSPAN
mirroring and select the mirrored direction.
Ruijie
(config-mon-erspan-src)#destinatio
n ip address ip_address
Configure the destination IP address of
ERSPAN flow, which must be interface
address on the destination device.
Ruijie (config-mon-erspan-src)#
original ip address ip_address
Configure the ERSPAN encapsulated
source IP address.
Ruijie (config-mon-erspan-src)# ip ttl
ttl_value
(Optional) Configure the TTL value of the
encapsulated IP packet’s header.
Ruijie (config-mon-erspan-src)# ip
dscp dscp_value
(Optional) Configure the DSCP field value
of the encapsulated IP packet’s header.
Displaying ERSPAN Sessions
Ruijie(config)# show monitor
Shows the mirroring configuration.
Examples:
Ruijie# show monitor
sess-num: 1
span-type: ERSPAN_SOURCE
src-intf:
GigabitEthernet 0/4 frame-type Both status: Active
dest-intf:
GigabitEthernet 0/6
span-type erspan-source
origin ip address 10.1.1.2
destination ip address 12.1.1.2
ip ttl 64
ip dscp 0