destination interface
Syntax
destination interface {<INTERFACE-ID>|<LAG-NAME>}
no destination interface
Description
Configures the specified interface as the destination of the mirrored traffic.
The
no
form of this command immediately disables the mirroring session and removes the specified destination interface from the configuration.
Command context
config-mirror-<SESSION-ID>
Parameters
<INTERFACE-ID>
Specifies a interface. Format:
member/slot/port
.<LAG-NAME>
Specifies a LAG (link aggregation group) identifier.
Authority
Administrators or local user group members with execution rights for this command.
Usage
Only one destination is allowed per session.
Supported mirror destinations: Layer 2 or Layer 3 Ethernet ports, LAGs, tunnel, or CPU as a Mirror Destination. A port that is already a member of a LAG is not a valid mirror destination.
Configuring a different destination interface in an enabled mirroring session causes all mirrored traffic to use the new destination interface. This action might cause a temporary suspension of mirrored source traffic during the reconfiguration.
Examples
Configuring a mirroring session and adding an interface as a destination:
switch(config)# mirror session 1 switch(config-mirror-1)# destination interface 1/1/1
Replacing the existing destination with different interface:
switch(config-mirror-1)# destination interface 1/1/12
Removing a destination:
switch(config-mirror-1)# no destination interface