Chapter 58 commands for erspan, 1 monitor session, Chapter 58 commands for erspan -354 – PLANET WGSW-52040 User Manual

Page 814: Monitor session

Advertising
background image

58-354

Chapter 58 Commands for

ERSPAN

58.1 monitor session

Command:

monitor session <session> destination tunnel interface <interface-number> desmac < MAC address > desIP

< Dest IP address > scrIP < Source IP address

no monitor session <session> destination tunnel interface <interface-number>

Function:

Appoint the mirror destination, and the destination can be the physical port or the tunnel; the no command deletes it.

Parameters:

<session> is the value of session, it supports 1 to 4 currently;

<interface-number> is the mirror destination port;

<MAC address > is the MAC address of the equipment which is connected to the mirror destination port;

<Dest IP address > is the IP address of the tunnel that the tunnel destination is in;

<Source IP address > is the IP address of the tunnel that this equipment is in.

Command Mode:

Global Mode.

Default:

None.

Usage Guide:

The switch supports 4 mirror destination. It should be noted that the destination only can be the physical port or the

tunnel; it should not be the members of the port aggregation and the port throughput should greater than or equal to

the sum of the throughput of all source ports which is monitored by it. Cancel the mirror destination of one session,

the port and CPU mirror access will restore. It should be noted that flow mirror can restore after configuring the

destination port and configuring it anew. If the mirror destination is tunnel, this tunnel must be GRE tunnel. This

tunnel can be no configuration, then users should configure the information of tunnel as GRE packet header.

Example:

Switch(config)#monitor session 1 destination interface Ethernet1/2 tunnel destination-mac 00-00-00-00-01-01

destination-IP 1.0.0.2 source-IP 1.1.1.1

Advertising