BNG DHCP Commands
dns-server (BNG)
Examples
This is an example of setting the DNS server name using the dns-server command:
RP/0/RSP0/CPU0:router(config)# dhcp ipv6 pool pool1
RP/0/RSP0/CPU0:router(config-dhcpv6-pool)# dns-server 10:10::10
This is an example of setting the DNS address - 2001:db8:1203::1 and 2001:db8:1204::1 - using the dns-server
command in the DHCP IPv6 server profile configuration mode:
RP/0/RSP0/CPU0:router(config)# dhcp ipv6
RP/0/RSP0/CPU0:router(config-dhcpv6)# profile my_profile server
RP/0/RSP0/CPU0:router(config-dhcpv6-server-profile)# dns-server 2001:db8:1203::1 and
2001:db8:1204::1
This is an example of setting the DNS address - 2001:db8:1203::1 and 2001:db8:1204::1 - using the dns-server
command in the DHCP IPv6 server profile class configuration mode:
RP/0/RSP0/CPU0:router(config)# dhcp ipv6
RP/0/RSP0/CPU0:router(config-dhcpv6)# profile my_profile server
RP/0/RSP0/CPU0:router(config-dhcpv6-server-profile)# class proxy-red
RP/0/RSP0/CPU0:router(config-dhcpv6-server-profile-class)# dns-server 2001:db8:1203::1 and
2001:db8:1204::1
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference, Release
5.2.x
153