User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 222
5.2.14.2. port-monitor session source
This command configures the source interface for a selected monitor session. 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.
A VLAN can be configured as the source to a session (all member ports of that VLAN are monitored). Remote
port mirroring is configured by adding the RSPAN VLAN ID. At the source switch, the destination is configured as
the RSPAN VLAN and at the destination switch, the source is configured as the RSPAN VLAN.
Note: The source and destination cannot be configured as remote on the same device. On LY4R, one port cannot
join more than one port-monitor session regardless of source port or destination port due to the HW limitation.
Format port-monitor session <1-4> source {interface {<port-list> | <slot/port> | cpu | port-channel {<1-64> |
<chId-list>}} [{rx | tx}] | remote vlan <1-4093>| vlan <1-4093>}
no port-monitor [session <1-4> [source {interface {<port-list> | <slot/port> | cpu | port-channel
{<1-64> | <chId-list>}} | remote vlan | vlan}]]
Type
Direction in which source port configured for port mirroring. Types are tx for
transmitted packets and rx for receiving packets.
IP ACL
The IP access-list id or name attached to the port mirroring session.
MAC ACL
The MAC access-list id or name attached to the port mirroring session.
Parameter
Definition
<1-4>
The session ID, which can be 1, 2, 3, or 4.
<port-list>
The physical-port IDs in range from 1 to 48. Use '-' to specify a range, or ',' to
separate physical port IDs in a list. Spaces and zeros are not permitted.
<slot/port>
The interface number.
port-channel <1-64>
The port-channel interface number. The range of the port-channel ID is from
1 to 64.
port-channel <chId-list>
The channel IDs in range <1-64>. Use '-' to specify a range, or ',' to separate
physical-port IDs in a list. Spaces and zeros are not permitted.
rx | tx
Option rx is used to monitor only ingress packets.
Option tx is used to monitor only egress packets. If no option is specified, both
ingress and egress packets, RX and TX, are monitored.
remote vlan <1-4093>
The VLAN ID to be monitored on the remote switch. The range is 1 to 4093.
vlan <1-4093>
The VLAN ID to be monitored. The range is 1 to 4093.