Viewing the RA configuration
Syntax:
show ipv6 nd ra
show ipv6 nd ra [prefix [vlan <vid>]]
Without the optional keywords, this command displays the global and per-VLAN RA neighbor discovery configuration on a specific routing switch. This indicates the per-VLAN content of RAs transmitted from the routing switch.
prefix
: Displays the prefixes,
valid lifetime, and onlink/auto values advertised by the routing switch
on all VLANs configured for RA operation.
prefix vlan <vid>
: Displays values for each prefix configured using ipv6 nd ra prefix
on the specified VLAN; see Configuring the global unicast prefix and lifetime for hosts on a VLAN.
IPv6 Prefix
: Displays values
for specific prefixes configured for RAs on a VLAN by the ipv6 nd ra prefix
command, plus Default
(to apply to any global unicast prefixes on the same VLAN(s) that
have not been specifically configured by ipv6 nd ra prefix
).
Valid Lifetime
: The valid
lifetime configured for the indicated prefix.
Preferred Lifetime
: The preferred
lifetime configured for the indicated prefix.
On–link Flag
: Indicates
whether the prefix is advertised as on-link. Default: On; On-link
enabled.
Autonomous Flag
: Indicates
whether address autoconfiguration is turned on. Default: On; Autoconfiguration
enabled.
Advertise Flag
: Indicates
whether advertisement for the subject prefix is turned on. Default:
On.
General output listing the per-VLAN RA configuration on a routing switch
Switch(config)# show ipv6 nd ra IPv6 Router Advertisement Configuration Global RA Suppress : No Global Hop Limit : 10 IPv6 Unicast Routing : Enabled VLAN Suppress Interval Lifetime Mngd Other RCH Time NS Intrvl Hop ID RA Min/Max (sec) Flag Flag (ms) (ms) Limit ––––– –––––––– –––––––– –––––––– –––– ––––– –––––––– –––––––– ––––– 1 Yes 200/600 1800 No No 0 0 10 22 No 200/600 1800 No No 0 0 10 30 Yes 200/600 1000 No No 0 0 4
Output for VLANs where specific prefixes have been configured for RAs
Switch(config)# show ipv6 nd ra prefix IPv6 Neighbor Discovery Prefix Information VLAN Name : VLAN30 IPv6 Prefix Valid Lifetime Onlink/Auto ––––––––––––––––––––––––––––––––– ––––––––––––––––––– ––––––––––– Default Infinite On/On 2001:db8:f:1b::/64 12/31/2010 00:00:01 Off/On 2001:db8:f:1d::/64 12/31/2010 00:00:01 On/On
Detailed prefix configuration data for a specific VLAN
Switch(config)# show ipv6 nd ra prefix vlan 30 IPv6 Neighbor Discovery Prefix Information VLAN Name : VLAN30 IPv6 Prefix : Default Valid Lifetime : Infinite Preferred Lifetime : Infinite On–link Flag : On Autonomous Flag : On Advertise Flag : On IPv6 Prefix : 2001:db8:f:1b::/64 Valid Lifetime : 11/31/2014 00:00:01 Preferred Lifetime : 11/01/2014 00:00:01 On–link Flag : Off Autonomous Flag : On Advertise Flag : On IPv6 Prefix : 2001:db8:f:1d::/64 Valid Lifetime : 11/31/2014 00:00:01 Preferred Lifetime : 11/01/2014 00:00:01 On–link Flag : On Autonomous Flag : On Advertise Flag : On