force-switch

Forces the blocking of a specified link for Ethernet Ring Protection (ERP).

Syntax

force-switch { vlan vlan_id ethernet slot/port | port-channel number }
no force-switch { vlanvlan_id ethernet slot/port | port-channel number }

Command Default

This feature is not configured by default.

Parameters

vlan vlan_id
Specifies a VLAN. Range is from 1 through 4090.
ethernet slot/port
Specifies an Ethernet interface.
port-channel number
Specifies a port-channel.

Modes

ERP configuration mode

Usage Guidelines

An operator can use the forced switch (FS) mechanism when no errors, a single error, or multiple errors are present in the topology. You can enter this command multiple times. You need to explicitly specify the VLAN and Ethernet slot and port.

Use the no form of this command to remove the configuration.

Examples

The following example configures FS for a specified interface.

device# configure terminal
device(config)# erp 100
device(config-erp-100)# force-switch vlan 100 ethernet 0/10
device(config-erp-100)#