You can shut down the VPG in two ways—forced or graceful:
To perform a forced shutdown of the VPG, enter set service-state out-of-service-forced at the [edit services pgcp gateway gateway-name] hierarchy level. For example:
- [edit services pgcp gateway vpg-1]
- user@host#set service-state out-of-service-forced
To perform a graceful shutdown of the VPG, enter set service-state out-of-service-graceful at the [edit services pgcp gateway gateway-name] hierarchy level. For example:
- [edit services pgcp gateway vpg-1]
- user@host#set service-state out-of-service-graceful
To cause the VPG to be operational again and available for traffic, set the service state to in-service with the set service-state in-service statement. When the VPG is in service, it attempts to connect to the PGC and accepts all PGCP commands from the PGC. For example:
- [edit services pgcp gateway vpg-1]
- user@host#set service-state in-service