admin-state
To configure the transport administration state on a DWDM port, use the admin-state command in DWDM configuration mode. To return the administration state from a DWDM port to the default, use the no form of this command.
admin-state {in-service | maintenance | out-of-service}
Syntax Description
in-service |
Places the DWDM port in In Service (IS) state, to support all normal operation. |
maintenance |
Places the DWDM port in Out of Service Maintenance (OOS-MT) state to perform configuration, while the laser and G.709 framer remain up. |
out-of-service |
Places the DWDM port in Out of Service (OOS) state. The laser is turned off and all traffic flow is stopped. This is the default. |
Command Default
Out-of-service is the default transport administration state.
Command Modes
DWDM configuration
Command History
Release |
Modification |
---|---|
Release 3.9.0 |
This command was introduced. It replaced the laser and shutdown (DWDM) commands. |
Release 3.9.1 |
The maintenance keyword was added. |
Usage Guidelines
When you configure admin-state maintenance , the DWDM port is placed in OOS-MT state and any configuration of maintenance disable for the port can be overridden. The laser for the port and the G.709 framing remains enabled, and Fast Re-Route (FRR) is triggered. This form of the command is usually used in FRR context for traffic to move over backup path while maintenance is going on.
When you configure admin-state out-of-service , the DWDM port is placed in OOS state. The laser is turned off, traffic flow is stopped, and proactive protection is disabled. However, configuration changes can still be made on the port.
Task ID
Task ID |
Operations |
---|---|
dwdm |
read, write |
Examples
The following example shows how to turn on the laser and place a DWDM port in In Service (IS) state:
Note |
This is a required configuration beginning in Cisco IOS XR Software Release 3.9.0 and later releases. The DWDM cards will not operate without this configuration. |
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# controller dwdm 0/1/0/1
RP/0/RP0/CPU0:router(config-dwdm)# admin-state in-service
RP/0/RP0/CPU0:router(config-dwdm)# commit
The following example shows how to stop all operation on a DWDM port:
RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# controller dwdm 0/1/0/1
RP/0/RP0/CPU0:router(config-dwdm)# admin-state out-of-service
The following example shows how to enable the out-of-service maintenance transport administration state on a DWDM port:
RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# controller dwdm 0/1/0/1
RP/0/RP0/CPU0:router(config-dwdm)# admin-state maintenance