Shutting down the virtual interface is useful when you do not
want to shut down the entire virtual BGF. You can shut down the virtual
interface two ways—forced or graceful:
Forced—The virtual interface immediately removes
all calls and disconnects from the physical interface.
Graceful—The virtual interface goes out of service
by entering a draining mode and waiting for all terminations to be
subtracted before going out of service. During the draining, terminations
associated with the virtual interface accept only subtract commands
from the gateway controller.
Forcing the Shutdown of a Virtual Interface
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 1]
user@host#set service-state out-of-service-forced
Performing a Graceful Shutdown of a Virtual Interface
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:
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: