Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
5.2.13.2 monitor session
This command configures a probe port and a monitored port for monitor session (port monitoring). Use
the source interface <slot/port> parameter to specify the interface to monitor. Use rx to monitor only
ingress packets, or use tx to monitor only egress packets. If you do not specify an {rx | tx} option, the
destination port monitors both ingress and egress packets. Use the destination interface <slot/port> to
specify the interface to receive the monitored traffic.
Syntax
monitor session <session-id> {source {interface {<slot/port> | port-channel <portchannel-id>} | vlan
<vlan-id> | remote vlan <vlan-id>} [{rx | tx}] | destination {interface <slot/port> | remote vlan <vlan-id>
reflector-port <slot/port>} | filter {ip access-group <acl-id/name> | mac access-group acl-name}}
no monitor session <session-id> { source { interface {<slot/port> | port-channel <portchannel-id>} |
| remote vlan} | destination {interface | remote vlan}}
<slot/port> - Interface number.
<portchannel-id> - Port-channel interface number. The range of port-channel ID is 1 to 64.
<vlan-id> - VLAN ID
tx/rx – Use to monitor ingress packets or egress packets.
no - This command removes the probe port or the mirrored port from a monitor session (port
monitoring).
Default Setting
None
Command Mode
Global Config
This command removes all configured probe ports and mirrored port.
Syntax
no monitor
Default Setting
None
Command Mode
Global Config