domain-name

Configures the Domain name search label advertised in RAs

Supported in the following platforms:

Syntax

domain-name <WORD> {lifetime [<4-3600>|expired|infinite]}

Parameters

domain-name <WORD> {lifetime [<4-3600>|expired|infinite]}
domain-name <WORD> Configures the Domain name search label advertised in RAs
Enter a FQDN (fully qualified domain name), which is an unambiguous domain name available in a router advertisement resource. To distinguish an FQDN from a regular domain name, a trailing period is added. For example, somehost.example.com.
  • <WORD> – Specify the Domain name search label. A maximum of four (4) entries can be made per policy.
lifetime [<4-3600>| expired|infinite] Optional. Configures the Domain name search label's lifetime
  • <4-3600> – Configures a lifetime in seconds. Specify a value form 4 - 3600 seconds. The default is 600 seconds.
  • expired – Advertises that this Domain name search label's lifetime has expired and should not be used
  • infinite – Advertises that this Domain name search label's lifetime is infinite

Examples

nx9500-6C8809(config-ipv6-radv-policy-test)#domain-name TechPubs lifetime infinite
nx9500-6C8809(config-ipv6-radv-policy-test)#show context
ipv6-router-advertisement-policy test
 advertise mtu
 advertise hop-limit
 check-ra-consistency
 dns-server 2002::2 lifetime 3000
 domain-name TechPubs lifetime infinite
nx9500-6C8809(config-ipv6-radv-policy-test)#

Related Commands

no (ipv6-ra-policy-config-commands) Removes the Domain name settings advertised in RAs. Once removed these values are not advertised in RAs.