[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Neighbor Discovery

To configure Neighbor Discovery:

  1. Access an IPv6 interface.
    host1(config)#interface fastEthernet 3/0
    host1(config-if)#
  2. Configure the current IPv6 interface to send neighbor solicitations and to respond with neighbor advertisements.
    host1(config)#ipv6 nd

    Note: This command is redundant when configuring Neighbor Discovery over Ethernet, because router advertisements are automatically sent on Ethernet interfaces. However, unless explicitly enabled, IPv6 router advertisements are not sent on other types of interfaces.

  3. (Optional) Configure the interface to retry sending neighbor solicitations using a specified interval.
    host1(config-if)#ipv6 nd ns-interval 500
  4. (Optional) Configure the interface to assume that a neighbor is reachable for a specified time after a reachable confirmation event.
    host1(config-if)#ipv6 nd reachable-time 30000
  5. (Optional) Configure the interface to suppress router advertisements, as well as replies to router solicitations.
    host1(config-if)#ipv6 nd suppress-ra
  6. (Optional) Configure the interface to suppresses the source link-layer option in IPv6 router advertisement transmissions. This action forces neighbors to solicit the router link layer explicitly, and may prove necessary when enabling inbound load sharing across multiple link-layer addresses.
    host1(config-if)#ipv6 nd suppress-ra-source-link-layer
  7. (Optional) Configure the interface to send router advertisements at a specified interval.
    host1(config-if)#ipv6 nd ra-interval 500
  8. (Optional) Configure the router advertisement lifetime in seconds.
    host1(config-if)#ipv6 nd ra-lifetime 900
  9. (Optional) Configure the router advertisement to list a specified prefix, for a valid lifetime and preferred lifetime. The following example also advertises the prefix as reachable on link and that the router can use it as part of the stateless address configuration.
    host1(config-if)#ipv6 nd prefix-advertisement 2002:1::/64 60000 45000 onlink autoconfig
  10. (Optional) Configure the router advertisement to contain the “managed address configuration” flag.
    host1(config-if)#ipv6 nd managed-config-flag
  11. (Optional) Configure the router advertisement to contain the “other stateful configuration” flag.
    host1(config-if)#ipv6 nd other-config-flag
  12. (Optional) Enable active solicitations.
    host1(config-if)#ipv6 nd active-solicitations

[Contents] [Prev] [Next] [Index] [Report an Error]