source-ip

Sets the source IP address of an ERSPAN mirror.
Syntax
source-ip ip-addr
no source-ip ip-addr
Command Default

A source IP is not configured for the ERSPAN profile.

Parameters
ip-addr
Specifies the IP address in the format A.B.C.D.
Modes

Monitor profile mode

Usage Guidelines

The source IP address can be any IP on the router.

The no form of the command removes the IP address from the monitor profile.

Examples

The following example sets the source IP address in ERSPAN profile 3.

device(config)# monitor-profile 3 type ERSPAN
device(config-monitor-profile 3)# source-ip 2.2.2.2
device(config-monitor-profile 3)# exit
History
Release version Command history
08.0.40 This command was introduced.