3.5 APS Configuration

Use this command to create and configure an Automatic Protection Switching (APS) Instance.

Command Syntax:

aps <inst>
mode { 1-for-1 | bidirectional-1-plus-1 | unidirectional-1-plus-1 [ tx-aps ] }
smac <mac>
level <level>
vlan { untagged | <vid> [ pcp <pcp> ] }
revertive 
wait-to-restore <wtr>
hold-off-time <hold_off>
admin-state { enable | disable }
protect interface <port_type> <port>
working interface <port_type> <port>
protect sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
working sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
Table 3-29. Command Description

Argument

Description

Parameter

<inst>

APS instance number 1–6

1-for-1

Source determines which port traffic goes into

bidirectional-1-plus-1

Traffic goes into both ports, and sink selects based on local defects and APS PDUs received from the far end.

unidirectional-1-plus-1

Traffic goes into both ports, and sink selects exclusively based on local defects.

tx-aps

Choose whether this end transmits APS PDUs. Only used for 1+1, unidirectional.

<mac>

Source MAC address used in L-APS PDUs. Must be a unicast address. Format is XX: XX: XX: XX: XX: XX

<level>

Set the MD/MEG level used in L-APS PDUs (0–7)

untagged | <vid>

Do not insert a VLAN tag in the L-APS PDUs or Insert the VLAN ID used in the L-APS PDUs

<pcp>

Choose a PCP to be used in the 802.1Q tag (0–7)

<wtr>

Wait-To-Restore (WTR) tells how many seconds to wait before restoring to the working port after a fault condition has cleared. The valid range is 1–720.

<hold_off>

Hold-off timer value measured in milliseconds. Must be in multiples of 100 ms. The valid range is 0–10000.

enable | disable

Enable or disable this APS instance

<port_type> <port>

The Port to which this flow is attached

link | { mep domain <md_name> service <ma_name> mep-id <mepid>

The protect interface link state is used as signal-fail trigger, or a MEP installed on the protect interface is used as signal-fail trigger. Specify MEP's domain name, MEP's service name within the domain and MEP's ID.

Default

None

Mode

APS mode

Usage

Configure APS parameters. To delete the specific APS instance, use the 'no' version of the command, or use the parameter 'all' to delete all APS instances.

Example

Example 1:

Create APS instance 1, set the mode to bidirectional-1-plus-1, and attach to port 2.

(config)# aps 1
(config-aps)# mode bidirectional-1-plus-1
(config-aps)# protect interface GigabitEthernet 1/2