show monitor session

This command displays the Port monitoring information for a particular mirroring session.

Note:

The session-id parameter is an integer value used to identify the session. In the current version of the software, the session-id parameter is always one (1).

Format show monitor session {session-id | all}
Mode Privileged EXEC
Term Definition
Session ID An integer value used to identify the session. Its value can be anything between 1 and the maximum number of mirroring sessions allowed on the platform.
Admin Mode Indicates whether the Port Mirroring feature is enabled or disabled for the session identified with session-id. The possible values are Enabled and Disabled.
Probe Port Probe port (destination port) for the session identified with session-id. If probe port is not set then this field is blank.
Remove RSPAN Tag Remove RSPAN VLAN tag on the probe (destination) port. To configure this value probe port and remove RSPAN tag values should be specified simultaneously. If no probe port is configured for the session then this field is blank.
Mirrored Port(s) The port that is configured as a mirrored port (source port) for the session identified with session-id. If no source port is configured for the session, this field is blank.
Session Type The type of monitor session.
Source VLAN All member ports of this VLAN are mirrored. If the source VLAN is not configured, this field is blank.
Reflector Port This port carries all the mirrored traffic at the source switch.
Source RSPAN VLAN The source VLAN configured at the destination switch. If remote VLAN is not configured, this field is blank
Destination RSPAN VLAN The destination VLAN configured at the source switch. If remote VLAN is not configured, this field is blank
Source ERSPAN Flow ID The ID number used by the source session to identify the ERSPAN traffic.
Destination ERSPAN Flow ID The ID number used by the destination session to identify the ERSPAN traffic, must also be entered in the ERSPAN destination session configuration.
Source ERSPAN IP address The ERSPAN flow destination IP address , which must be an address on a local interface and match the address entered in the ERSPAN destination session configuration.
Destination ERSPAN IP address The ERSPAN flow destination IPv4 address , which must also be configured on an interface on the destination switch and be entered in the ERSPAN destination session configuration.
Destination ERSPAN Origin IP address The IPv4 address used as the source of the ERSPAN traffic.
Destination ERSPAN IP TTL The IPv4 TTL value of the packets in the ERSPAN traffic.
Destination ERSPAN IP DSCP The IP DSCP value of the packets in the ERSPAN traffic.
Destination ERSPAN IP Precedence The IP precedence value of the packets in the ERSPAN traffic.
IP ACL The IP access-list id or name attached to the port mirroring session.
MAC ACL The MAC access-list name attached to the port mirroring session.

Example: This example shows the command output when the session ID is specified.

(Switch)#show monitor session 1
Session ID..................................... 1
Session Type................................... ERSPAN Source
Admin Mode..................................... Enabled
Probe Port..................................... 1/0/8
Remove RSPAN Tag............................... False
Source VLAN....................................
Mirrored Port(s)...............................
Reflector Port.................................
Source RSPAN VLAN..............................
Destination RSPAN VLAN.........................
Source ERSPAN Flow ID.......................... 1023
Source ERSPAN IP Address....................... 255.255.255.255
Destination ERSPAN Flow ID.....................
Destination ERSPAN IP Address..................
Destination ERSPAN Origin IP...................
Destination ERSPAN IP TTL......................
Destination ERSPAN IP DSCP.....................
Destination ERSPAN IP Precedence...............
IP ACL.........................................
MAC ACL........................................ mymac

Example: This example shows the command output when all is specified.

(Routing)#show monitor session all

Session ID..................................... 1
Session Type................................... ERSPAN Destination
Admin Mode..................................... Enable
Probe Port..................................... 1/0/8
Remove RSPAN Tag............................... False
Source VLAN....................................
Mirrored Port(s)...............................
Reflector Port.................................
Source RSPAN VLAN..............................
Destination RSPAN VLAN.........................
Source ERSPAN Flow ID.......................... 1023
Source ERSPAN IP Address....................... 255.255.255.255
Destination ERSPAN Flow ID.....................
Destination ERSPAN IP Address..................
Destination ERSPAN Origin IP...................
Destination ERSPAN IP TTL......................
Destination ERSPAN IP DSCP.....................
Destination ERSPAN IP Precedence...............
IP ACL.........................................
MAC ACL........................................ mymac

Session ID..................................... 2
Session Type................................... Local
Admin Mode..................................... Disabled
Probe Port..................................... 1/0/2
Remove RSPAN Tag............................... False
Source VLAN....................................
Mirrored Port(s)............................... 1/0/1(Rx), 1/0/19(Rx,Tx), 1/0/20(Tx)
Reflector Port.................................
Source RSPAN VLAN..............................
Destination RSPAN VLAN.........................
Source ERSPAN Flow ID..........................
Source ERSPAN IP Address.......................
Destination ERSPAN Flow ID.....................
Destination ERSPAN IP Address..................
Destination ERSPAN Origin IP...................
Destination ERSPAN IP TTL......................
Destination ERSPAN IP DSCP.....................
Destination ERSPAN IP Precedence...............
IP ACL.........................................
MAC ACL........................................

Session ID..................................... 3
Session Type................................... RSPAN Source
Admin Mode..................................... Disabled
Probe Port.....................................
Remove RSPAN Tag...............................
Source VLAN....................................
Mirrored Port(s)............................... 0/5/1(Rx,Tx)
Reflector Port................................. 1/0/10
Source RSPAN VLAN..............................
Destination RSPAN VLAN......................... 2
Source ERSPAN Flow ID..........................
Source ERSPAN IP Address.......................
Destination ERSPAN Flow ID.....................
Destination ERSPAN IP Address..................
Destination ERSPAN Origin IP...................
Destination ERSPAN IP TTL......................
Destination ERSPAN IP DSCP.....................
Destination ERSPAN IP Precedence...............
IP ACL.........................................
MAC ACL........................................

Session ID..................................... 4
Session Type................................... RSPAN Destination
Admin Mode..................................... Disabled
Probe Port.....................................
Remove RSPAN Tag...............................
Source VLAN....................................
Mirrored Port(s)............................... 0/3/1(Rx,Tx)
Reflector Port................................. 1/0/3
Source RSPAN VLAN..............................
Destination RSPAN VLAN......................... 2
Source ERSPAN Flow ID..........................
Source ERSPAN IP Address.......................
Destination ERSPAN Flow ID.....................
Destination ERSPAN IP Address..................
Destination ERSPAN Origin IP...................
Destination ERSPAN IP TTL......................
Destination ERSPAN IP DSCP.....................
Destination ERSPAN IP Precedence...............
IP ACL......................................... ipacl
MAC ACL........................................ mmac

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail [email protected]

LANCOM Logo
OSZAR »