This command attaches an IP/MAC ACL (Access Control List) to a selected monitor session. This command configures a probe port and a monitored port for monitor session (port monitoring).
An IP/MAC ACL can be attached to a session by giving the access list number/name.
Use the filter parameter to filter a specified access group either by IP address or MAC address.
The port mirroring commands add a mirrored port (source port) to a session identified with session-id. The session-id parameter is an integer value used to identify the session. The maximum number of sessions which can be configured is L7_MIRRORING_MAX_SESSIONS.
Remote port mirroring is configured by giving the RSPAN VLAN ID. At the source switch the destination is configured as RSPAN VLAN and at the destination switch the source is configured as RSPAN VLAN.
Note
Source and destination cannot be configured as remote on the same device.Note
IP/MAC ACL can be attached to a session by giving the access list number/name. On the platforms that do not support both IP and MAC ACLs to be assigned on the same Monitor session, an error message is thrown when user tries to configure ACLs of both types.Default | None |
Format | monitor session session-id filter {ip access-group acl-id/aclname | mac access-group acl-name} |
Mode | Global Config |