monitor-profile

Configures a monitor port profile.
Syntax
monitor-profile profile-number type erspan
no monitor-profile profile-number
Command Default

ERSPAN is not configured.

Parameters
profile-number
Specifies the profile number to configure. If the profile is new, assigns this number to the profile. Valid values are from 1 through 4.
type erspan
Specifies the type of profile. The only supported profile is erspan.
Modes

Global configuration mode

Usage Guidelines

The source IP can be any port on the router. The destination IP is the port on the destination host.

The no form of the command deletes the ERSPAN profile.

Examples

The following example configures an ERSPAN profile. This profile sends mirrored traffic from a port on switch 2.2.2.2 to the host 1.1.1.1.

device(config)# monitor-profile 1 type erspan
device(config-monitor-profile 1)# source-ip 2.2.2.2
device(config-monitor-profile 1)# destination-ip 1.1.1.1
device(config-monitor-profile 1)# exit

The following example modifies the destination host in an ERSPAN profile.

device(config)# monitor-profile 1 type erspan
device(config-monitor-profile 1)# no destination-ip 1.1.1.1
device(config-monitor-profile 1)# destination-ip 3.3.3.3
device(config-monitor-profile 1)# exit

The following example deletes an ERSPAN profile.

device(config)# no monitor-profile 1
History
Release version Command history
08.0.40 This command was introduced.