home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

service portmonitor session <id> erspan identifier

Defines the ERSPAN identifier for a port monitoring session.

set service portmonitor session id erspan identifier erspan-id
delete service portmonitor session id erspan identifier erspan-id
show service portmonitor session id erspan identifier erspan-id
id
The number of a session. The maximum number of sessions on the router is eight. Enter an integer from 1 to 31.
erspan-id
The ERSPAN identifier. Enter an integer from 1 to 1023.

Configuration mode


service {
    portmonitor {
        session id {
            erspan {
                identifier erspan-id
            }
        }
    }
}

Port mirroring is enabled when the session type and the destination interface for the session are configured. For ERSPAN sessions, the ERSPAN header type and identifier must also be configured.

Use the set form of the command to define the ERSPAN identifier.

Use the delete form of the command to delete the ERSPAN identifier.

Use the show form of the command to show the ERSPAN identifier for a port monitoring session.