You can set the service state of a VPG or a virtual interface. You can set the service state to in-service, or you can perform a forced or graceful shutdown of the VPG or virtual interface.
Configuring the service state of a virtual interface is useful when you do not want to shut down the entire VPG.
To set the service state of a VPG, enter the set service-state statement at the [edit services pgcp gateway gateway-name] hierarchy level:
-
service-state (in-service
| out-of-service-forced | out-of-service-graceful);
To cause the VPG to be operational and available for traffic, set the service state to in-service. When the VPG is in service, it attempts to connect to the PGC and accepts all PGCP commands from the PGC.
There are two ways to shut down the VPG—forced or graceful:
To set the service state of a virtual interface, enter the set service-state statement at the [edit services pgcp gateway gateway-name virtual-interface] hierarchy level:
-
service-state (in-service
| out-of-service-forced | out-of-service-graceful);
To cause the virtual interface to be operational and available for traffic, set the service state to in-service. When the virtual interface is in service, it is connected to the physical interface and accepts all voice calls.
There are two ways to shut down the virtual interface—forced or graceful: