The class submode is present in both DHCP IPv6 proxy profile configuration and DHCP IPv6 server profile
configuration submodes. A class is associated with a match criterion, which is used to determine if the class
is applied to a subscriber or not. The class name needs to be unique for the system.
The address-pool, dns-server, domain-name, and prefix-pool keywords appear only in the DHCP IPv6
server profile configuration mode. However, the helper-address keywords appears in both DHCP IPv4
proxy profile configuration and DHCP IPv6 proxy profile configuration modes.
Note
Task ID
OperationTask ID
read, writeip-services
Examples
This example shows how to create a class in the DHCP IPv4 proxy profile configuration mode:
RP/0/RSP0/CPU0:router(config)# dhcp ipv4
RP/0/RSP0/CPU0:router(config-dhcpv4)# profile dhcp_profile proxy
RP/0/RSP0/CPU0:router(config-dhcpv4-proxy-profile)# class blue
This example shows how to create a class in the DHCP IPv6 proxy profile configuration mode:
RP/0/RSP0/CPU0:router(config)# dhcp ipv6
RP/0/RSP0/CPU0:router(config-dhcpv6)# profile dhcp_profile1 proxy
RP/0/RSP0/CPU0:router(config-dhcpv4-proxy-profile)# class blue
This example shows how to create a class in the DHCP IPv6 server profile configuration mode:
RP/0/RSP0/CPU0:router(config)# dhcp ipv4
RP/0/RSP0/CPU0:router(config-dhcpv6)# profile dhcp_profile2 server
RP/0/RSP0/CPU0:router(config-dhcpv4-server-profile)# class red
Related Commands
DescriptionCommand
This topic describes the class-map type control subscriber
command.
class-map type control subscriber, on page 120
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference,
Release 5.2.x
146
BNG DHCP Commands
class