Cisco Cisco Packet Data Interworking Function (PDIF)
DHCP Service Configuration Mode Commands
▀ dhcp ip vrf
▄ Command Line Interface Reference, StarOS Release 18
3486
dhcp ip vrf
Enables DHCP-over-MPLS support and associates the specific DHCP service with a pre-configured Virtual Routing
and Forwarding (VRF) Context instance for virtual routing and forwarding.
and Forwarding (VRF) Context instance for virtual routing and forwarding.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > DHCP Service Configuration
configure > context context_name > dhcp-service service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-dhcp-service)#
Syntax
dhcp ip vrf vrf_name
no dhc ip vrf
no
Removes/disassociates configured IP Virtual Routing and Forwarding (VRF) context instance.
vrf_name
Specifies the name of a pre-configured VRF context instance to be associated with a DHCP service.
vrf_name
is the name of a pre-configured VRF context configured in Context Configuration mode and
associated with the IP Pool used by the DHCP service.
Usage
Use this command to enable the DHCP-over-MPLS support and to associate/disassociate a pre-configured
VRF context to a DHCP service for this feature.
By default the VRF is NULL, which means that DHCP service is bound with binding address given by
VRF context to a DHCP service for this feature.
By default the VRF is NULL, which means that DHCP service is bound with binding address given by
bind
address
command only.
VRF is not a critical parameter for the DHCP Service but bind address is a critical parameter for DHCP
Service, and while starting DHCP Service, if this command is configured, then the bind address should be
present in that VRF, and If this command is not configured, bind address should be present in the context
where DHCP Service is configured.
For the DHCP over MPLS feature to work in StarOS 9.0 onward this command must be configured in the
DHCP service. Without this command the DHCP service using MPLS labels will not be started.
Service, and while starting DHCP Service, if this command is configured, then the bind address should be
present in that VRF, and If this command is not configured, bind address should be present in the context
where DHCP Service is configured.
For the DHCP over MPLS feature to work in StarOS 9.0 onward this command must be configured in the
DHCP service. Without this command the DHCP service using MPLS labels will not be started.
Caution:
As a part of this configuration the
mpls-label input
keyword in the
bind address
command is
also a critical parameter for the DHCP-Service. Any change in its value will result in DHCP-service restart and clearing
of the existing calls.
of the existing calls.
Example