Configuration Guide ERSPAN Configuration
In case of bidirectional monitoring of multiple ports, you only need to monitor
one flow direction of packets.
You can monitor the incoming and outgoing packets on the STP-enabled port in
the block state.
The source port and the destination port can belong to the same VLAN or
different VLANs.
Ruijie(config-mon-erspan-src)#
source {interface single_interface}
[rx | tx | both]}
Show the mirrored source port.
Enabling the ERSPAN Session
By default, the ERSPAN mirroring is enanled. To enable the ERSPAN session, run
the following commands:
Ruijie (config-mon-erspan-src)#
shutdown
Ruijie (config-mon-erspan-src)# no
shutdown
Disable the ERSPAN mirroring.
Enable the ERSPAN mirroring.
Configuring the Encapsulated Source IP Address
The encapsulated source IP address is used for the source IP address of
GRE-encapsulated packets.
Ruijie(config-mon-erspan-src)#
origin ip address ip-address
Configure the encapsulated source IP
address.