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> } }
Argument  | Description  | |
Parameter  | 
  | APS instance number 1–6  | 
  | Source determines which port traffic goes into  | |
  | Traffic goes into both ports, and sink selects based on local defects and APS PDUs received from the far end.  | |
  | Traffic goes into both ports, and sink selects exclusively based on local defects.  | |
  | Choose whether this end transmits APS PDUs. Only used for 1+1, unidirectional.  | |
  | Source MAC address used in L-APS PDUs. Must be a unicast address. Format is XX: XX: XX: XX: XX: XX  | |
  | Set the MD/MEG level used in L-APS PDUs (0–7)  | |
  | Do not insert a VLAN tag in the L-APS PDUs or Insert the VLAN ID used in the L-APS PDUs  | |
  | Choose a PCP to be used in the 802.1Q tag (0–7)  | |
  | 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 timer value measured in milliseconds. Must be in multiples of 100 ms. The valid range is 0–10000.  | |
  | Enable or disable this APS instance  | |
  | The Port to which this flow is attached  | |
  | 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.  | |
