service portmonitor session <id> erspan identifier
Defines the ERSPAN identifier for a port monitoring session.
- 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.