The role command configures the role of a PW APS instance in an E-PW APS scenario.
The undo role command restores the default role of a PW APS instance.
By default, the role of a PW APS instance is PW APS.
Usage Scenario
A PW APS instance plays one of the following roles: PW APS, master (in E-PW APS), and slave (in E-PW APS). PW APS is the default role. In E-PW APS networking, two PW APS instances with the master and slave roles respectively are configured on each PE to which a CE is dual-homed. E-PW APS determines whether to implement protection switching based on the PW status of the master PW APS instance. To specify the master or slave role for a PW APS instance in an E-PW APS scenario, run the role command.
Prerequisites
A PW APS instance has been created using the pw-aps command.
Configuration Impact
In E-PW APS networking, after roles are specified for PW APS instances, the E-PW APS status is determined by the master PW APS instance.
Follow-up Procedure
Run the remote-aps command to configure the remote number of each PW APS instance.
Configure the attributes of the master PW APS instance as needed, such as its description, operating mode, WTR time, manual operation, and switching delay time.Precautions
Only the NetEngine 8000 F1A supports this command.