Shutting down the virtual interface is useful when you do not want to shut down the entire VPG. You can shut down the virtual interface two ways—forced or graceful:
To perform a forced shutdown of a virtual interface, enter set service-state out-of-service-forced at the [edit services pgcp virtual-interface interface-number] hierarchy level. For example:
- [edit services pgcp virtual-interface v1]
- user@host#set service-state out-of-service-forced
To perform a graceful shutdown of a virtual interface, enter set service-state out-of-service-graceful at the [edit services pgcp virtual-interface interface-number] hierarchy level. For example:
- [edit services pgcp virtual-interface v1]
- user@host#set service-state out-of-service-graceful
To cause the virtual interface 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 virtual interface is in service, it is connected to the physical interface and accepts all voice calls. For example:
- [edit services pgcp virtual-interface v1]
- user@host#set service-state in-service