Configuration Commands

Port-based port mirroring

The following table describes the port-based Port Mirroring Configuration commands.

Table 171 Port Mirroring Configuration commands

Command

Description

 

 

port-mirroring monitor-port

Adds the port to be mirrored. This command also allows you to enter

<port number> mirroring-port

the direction of the traffic. It is necessary to specify the direction

<port number> {inoutboth}

because:

 

 

If the source port of the frame matches the mirrored port and the

 

mirrored direction is ingress or both (ingress and egress), the frame

 

is sent to the mirrored port.

 

If the destination port of the frame matches the mirrored port and

 

the mirrored direction is egress or both, the frame is sent to the

 

monitoring port.

 

Command mode: Global configuration

 

 

no port-mirroring monitor-port

Removes the mirrored port.

<port number> mirroring-port

Command mode: Global configuration

<port number>

 

 

 

no port-mirroring monitor-port

Deletes this monitor port.

<port number>

Command mode: Global configuration

 

 

 

show port-mirroring

Displays the current settings of the monitoring port.

 

Command mode: All except User EXEC

 

 

Uplink Failure Detection configuration

Uplink Failure Detection (UFD) supports network fault tolerance in network adapter teams. Use these commands to configure a Failure Detection Pair of one Links to Monitor (LtM) group and one Links to Disable (LtD) group. When UFD is enabled and a Failure Detection Pair is configured, the switch automatically disables ports in the LtD if it detects a failure in the LtM. The failure conditions which are monitored in the LtM group include port link state moving to down, or port state moving to Blocking if Spanning Tree Protocol is enabled.

The following table describes the Uplink Failure Detection (UFD) Configuration commands. Table 172 Uplink Failure Detection Configuration commands

Command

Description

 

 

ufd enable

Globally turns Uplink Failure Detection ON.

 

Command mode: Global configuration

 

 

no ufd enable

Globally turns Uplink Failure Detection OFF.

 

Command mode: Global configuration

 

 

show ufd

Displays the current Uplink Failure Detection configuration parameters.

 

Command mode: All

 

 

182