show erspan
Displays the ERSPAN profiles.
Parameters
Modes
Global configuration mode
The
show erspan command displays the following information:
| Output field | Description |
|---|---|
| Profile | The profile number. |
| Type | The type of profile (ERSPAN). |
| Mirror destination | Indicates whether the mirror destination is reachable or unreachable. |
| Destination IP | The IP address of the destination host. |
| Destination MAC | The MAC address of the destination host. |
| Source IP | The IP address of the source router. |
| Source MAC | The MAC address of the source router. |
| Ports monitored | The ports that are being monitored. |
| HW destination id for each device | The hardware destination ID for each device being monitored. The ID is in the form stack_id/device:dest_id. |
Examples
The following example displays all of the ERSPAN profiles. In this example, ERSPAN mirroring has been enabled for profile 1, but has not yet been enabled for profile 2.
device(config)# show erspan Profile 1 Type ERSPAN Mirror destination Not reachable. Destination IP 1.1.1.1 Destination MAC 0000.5e00.5300 Source IP 2.2.2.2 Source MAC 0000.5300.5312 Outgoing port INVALID Ports monitored: Input monitoring : (U1/M1) 1 Output monitoring : (U1/M1) 1 HW destination id for each device: stack_id/device:dest_id Profile 2 Type ERSPAN Mirror destination Not reachable. Destination IP 3.3.3.3 Destination MAC 0000.5e00.5300 Source IP 2.2.2.2 Source MAC 0000.5300.5312 Ports monitored: HW destination id for each device: stack_id/device:dest_id
History
| Release version | Command history |
|---|---|
| 08.0.40 | This command was introduced. |