dhcp profile
To specify a DHCP profile for the Dynamic Host Configuration Protocol (DHCP) IPv4 and IPv6 component and to enter the profile mode, use the profile command in DHCP IPv4 or DHCP IPv6 configuration submode. To disable a profile and exit the profile mode, use the no form of this command.
dhcp { ipv4 | | ipv6 } profile profile_name cnbng
Syntax Description
profile_name |
Specifies the name of the profile that uniquely identifies the proxy or server. |
cnbng |
Creates a cloud native BNG (cnBNG) profile. |
Command Default
None
Command Modes
DHCP IPv4 configuration
DHCP IPv6 configuration
Command History
Release |
Modification |
---|---|
Release 7.4.2 |
Support for the DHCP IPv4 and DHCP IPv6 cnbng profile was added for cnBNG. |
Usage Guidelines
The profile-name and the class-name should be unique per base profile.
Task ID
Task ID |
Operations |
---|---|
ip-services |
read, write |
Examples
This example shows how to create a DHCPv4 cnBNG profile:
Router(config)#dhcp ipv4
Router(config-dhcpv4)#profile cnbng_1 cnbng
Router(config-dhcpv4-cnbng-profile)#exit
Router(config-dhcpv4)#interface bundle-Ether 1.1 cnbng profile cnbng_1
Router(config-dhcpv4)#interface bundle-Ether 2.1 cnbng profile cnbng_1
Router(config-dhcpv4)#commit
This example shows how to create a DHCPv6 cnBNG profile:
Router(config)#dhcp ipv6
Router(config-dhcpv4)#profile cnbng_1 cnbng
Router(config-dhcpv4-cnbng-profile)#exit
Router(config-dhcpv4)#interface bundle-Ether 1.1 cnbng profile cnbng_1
Router(config-dhcpv4)#interface bundle-Ether 2.1 cnbng profile cnbng_1
Router(config-dhcpv4)#commit