IPv6 Routing Commands

Use these commands to configure IPv6 on the system and on the interfaces.

This section describes the IPv6 commands you use to configure IPv6 on the system and on the interfaces. This section also describes IPv6 management commands and show commands.

ipv6 hop-limit

M4250

M4350

This command defines the unicast hop count used in ipv6 packets originated by the node. The value is also included in router advertisements. Valid values for hops are 1-255 inclusive. The default “not configured” means that a value of zero is sent in router advertisements and a value of 64 is sent in packets originated by the node. Note that this is not the same as configuring a value of 64.

Default not configured
Format ipv6 hop-limit hops
Mode Global Config

no ipv6 hop-limit

This command returns the unicast hop count to the default.

Format no ipv6 hop-limit
Mode Global Config

ipv6 unicast-routing

M4250

M4350

Use this command to enable the forwarding of IPv6 unicast datagrams.

Default disabled
Format ipv6 unicast-routing
Mode Global Config

no ipv6 unicast-routing

Use this command to disable the forwarding of IPv6 unicast datagrams.

Format no ipv6 unicast-routing
Mode Global Config

ipv6 enable

M4250

M4350

Use this command to enable IPv6 routing on an interface or range of interfaces, including loopback interfaces, that have not been configured with an explicit IPv6 address. When you use this command, the interface is automatically configured with a link-local address. You do not need to use this command if you configured an IPv6 global address on the interface.

Default disabled
Format ipv6 enable
Mode Interface Config

no ipv6 enable

Use this command to disable IPv6 routing on an interface.

Format no ipv6 enable
Mode Interface Config

ipv6 address

M4250

M4350

Use this command to configure an IPv6 address on an interface or range of interfaces, including loopback interfaces, and to enable IPv6 processing on the interfaces. You can assign multiple globally reachable addresses to an interface by using this command. You do not need to assign a link-local address by using this command since one is automatically created. The prefix field consists of the bits of the address to be configured. The prefix_length parameter designates how many of the high-order contiguous bits of the address make up the prefix.

You can express IPv6 addresses in eight blocks. Also of note is that instead of a period, a colon now separates each block. For simplification, leading zeros of each 16 bit block can be omitted. One sequence of 16 bit blocks containing only zeros can be replaced with a double colon “::”, but not more than one at a time (otherwise it is no longer a unique representation).

  • Dropping zeros: 3ffe:ffff:100:f101:0:0:0:1 becomes 3ffe:ffff:100:f101::1
  • Local host: 0000:0000:0000:0000:0000:0000:0000:0001 becomes ::1
  • Any host: 0000:0000:0000:0000:0000:0000:0000:0000 becomes ::

The hexadecimal letters in the IPv6 addresses are not case-sensitive. An example of an IPv6 prefix and prefix length is 3ffe:1::1234/64.

The optional eui-64 keyword designates that IPv6 processing on the interface is enabled using an EUI-64 interface ID in the low order 64 bits of the address. If you use this option, the value of prefix_length must be 64 bits. The optional link-local keyword designates that IPv6 processing on the interface is enabled using the link-local address.

Format ipv6 address prefix/prefix_length [eui64 | link-local]
Mode Interface Config

no ipv6 address

Use this command to remove all IPv6 addresses on an interface or specified IPv6 address. The prefix parameter consists of the bits of the address to be configured. The prefix_length parameter designates how many of the high-order contiguous bits of the address comprise the prefix.

The optional eui-64 keyword designates that IPv6 processing on the interface is enabled using an EUI-64 interface ID in the low order 64 bits of the address. If you use this option, the value of prefix_length must be 64 bits. The optional link-local keyword designates that IPv6 processing on the interface is enabled using the link-local address.

If you do not enter any parameters, the command deletes all the IPv6 addresses on an interface.

Format no ipv6 address [prefix/prefix_length [eui64 | link-local]]
Mode Interface Config

ipv6 address autoconfig

M4250

M4350

Use this command to allow an in-band interface to acquire an IPv6 address through IPv6 Neighbor Discovery Protocol (NDP) and through the use of Router Advertisement messages.

Default disabled
Format ipv6 address autoconfig
Mode Interface Config

no ipv6 address autoconfig

This command resets the IPv6 autoconfiguration status on an interface to the default value.

Format no ipv6 address autoconfig
Mode Interface Config

ipv6 address dhcp

M4250

M4350

This command enables the DHCPv6 client on an in-band interface so that it can acquire network information, such as the IPv6 address, from a network DHCP server.

Default disabled
Format ipv6 address dhcp
Mode Interface Config

no ipv6 address dhcp

This command releases a leased address and disables DHCPv6 on an interface.

Format no ipv6 address dhcp
Mode Interface Config

ipv6 route (M4250 series switch)

M4250

Use this command to configure an IPv6 static route. The ipv6-prefix is the IPv6 network that is the destination of the static route. The prefix-length is the length of the IPv6 prefix—a decimal value (usually 0-64) that shows how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark must precede the prefix-length. The next-hop-address is the IPv6 address of the next hop that can be used to reach the specified network. Specifying Null0 as nexthop parameter adds a static reject route.

The preference parameter is a value that the switch uses to compare this route with routes from other route sources that have the same destination. The range for preference is 1–255, and the default value is 1.

The track parameter is a value that the switch uses for association with a track object. The range for track-number is 1–128.

You can specify a slot/port or vlan-id interface to identify direct static routes from point-to-point and broadcast interfaces.

The argument slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The interface must be specified when using a link-local address as the next hop. A route with a preference of 255 cannot be used to forward traffic.

Default disabled
Format ipv6 route ipv6-prefix/prefix-length {next-hop-address | Null0 | interface {slot/port | vlan vlan-id} next-hop-address} [preference] [track track-number]
Mode Global Config

no ipv6 route (M4250 series switch)

Use this command to delete an IPv6 static route. Use the command without the optional parameters to delete all static routes to the specified destination. Use the preference parameter to revert the preference of a route to the default preference.

Format no ipv6 route ipv6-prefix/prefix-length [{next-hop-address | Null0 | interface {slot/port| vlan vlan-id} next-hop-address} [preference] [track track-number]]
Mode Global Config

ipv6 route (M4350 series switch)

M4350

Use this command to configure an IPv6 static route. The ipv6-prefix is the IPv6 network that is the destination of the static route. The prefix-length is the length of the IPv6 prefix—a decimal value (usually 0-64) that shows how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark must precede the prefix-length. The next-hop-address is the IPv6 address of the next hop that can be used to reach the specified network. Specifying Null0 as nexthop parameter adds a static reject route.

The preference parameter is a value that the switch uses to compare this route with routes from other route sources that have the same destination. The range for preference is 1–255, and the default value is 1.

The track parameter is a value that the switch uses for association with a track object. The range for track-number is 1–128.

You can specify a unit/slot/port or vlan-id interface to identify direct static routes from point-to-point and broadcast interfaces.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The interface must be specified when using a link-local address as the next hop. A route with a preference of 255 cannot be used to forward traffic.

Default disabled
Format ipv6 route ipv6-prefix/prefix-length {next-hop-address | Null0 | interface {unit/slot/port | vlan vlan-id} next-hop-address} [preference] [track track-number]
Mode Global Config

no ipv6 route (M4350 series switch)

Use this command to delete an IPv6 static route. Use the command without the optional parameters to delete all static routes to the specified destination. Use the preference parameter to revert the preference of a route to the default preference.

Format no ipv6 route ipv6-prefix/prefix-length [{next-hop-address | Null0 | interface {unit/slot/port| vlan vlan-id} next-hop-address} [preference] [track track-number]]
Mode Global Config

ipv6 route distance

M4250

M4350

This command sets the default distance (preference) for IPv6 static routes. Lower route distance values are preferred when determining the best route. The ipv6 route distance command lets you optionally set the distance (preference) of an individual static route. The default distance is used when no distance is specified in this command. The preference can be a number in the range 1–255.

Changing the default distance does not update the distance of existing static routes, even if they were assigned the original default distance. The new default distance will only be applied to static routes created after entering the ipv6 route distance command.

Default 1
Format ipv6 route distance preference
Mode Global Config

no ipv6 route distance

This command resets the default static route preference value in the router to the original default preference. Lower route preference values are preferred when determining the best route.

Format no ipv6 route distance
Mode Global Config

ipv6 route net-prototype

M4250

M4350

This command adds net prototype IPv6 routes to the hardware.

Use the prefix/prefix-length argument to specify the destination network and mask for the route.

Use the next-hop-address argument to specify the next-hop IP address, which must belong to an active routing interface but it does not need to be resolved. The routes are added starting from the specified prefix and prefix-length.

Use the num-routes argument to specify the number of routes that you want to add to the hardware.

Format ipv6 route net-prototype prefix/prefix-length next-hop-address num-routes
Mode Global Config

no ipv6 route net-prototype

This command removes all net prototype IPv6 routes from the hardware.

Format no ipv6 route net-prototype
Mode Global Config

ipv6 mtu (M4250 series switch)

M4250

This command sets the maximum transmission unit (MTU) size, in bytes, of IPv6 packets on an interface or range of interfaces. This command replaces the default or link MTU with a new MTU value. The size variable is a number in the range from 1280 to the maximum MTU that the interface is capable of minus 18. For an M4250 series switch, the range is from 1280–12270.

Default 0 or link speed (MTU value (1500))
Format ipv6 mtu size
Mode Interface Config

no ipv6 mtu (M4250 series switch)

This command resets maximum transmission unit value to default value.

Format no ipv6 mtu
Mode Interface Config

ipv6 mtu (M4350 series switch)

M4350

This command sets the maximum transmission unit (MTU) size, in bytes, of IPv6 packets on an interface or range of interfaces. This command replaces the default or link MTU with a new MTU value. The size variable is a number in the range from 1280 to the maximum MTU that the interface is capable of minus 18. For an M4350 series switch, the range is from 1280–12266.

Default 0 or link speed (MTU value (1500))
Format ipv6 mtu size
Mode Interface Config

no ipv6 mtu (M4350 series switch)

This command resets maximum transmission unit value to default value.

Format no ipv6 mtu
Mode Interface Config

ipv6 nd dad attempts

M4250

M4350

This command sets the number of duplicate address detection probes transmitted on an interface or range of interfaces. The purpose of these transmissions is neighbor discovery (ND). Duplicate address detection verifies that an IPv6 address on an interface is unique. The number variable is a number in the range 0–600.

Default 1
Format ipv6 nd dad attempts number
Mode Interface Config

no ipv6 nd dad attempts

This command resets the number of duplicate address detection value to default value.

Format no ipv6 nd dad attempts
Mode Interface Config

ipv6 nd managed-config-flag

M4250

M4350

This command sets the managed address configuration flag in router advertisements on the interface or range of interfaces. The purpose of these advertisements is neighbor discovery (ND). When the value is true, end nodes use DHCPv6. When the value is false, end nodes automatically configure addresses.

Default false
Format ipv6 nd managed-config-flag
Mode Interface Config

no ipv6 nd managed-config-flag

This command resets the “managed address configuration” flag in router advertisements to the default value.

Format no ipv6 nd managed-config-flag
Mode Interface Config

ipv6 nd mtu (M4250 series switch)

M4250

This command sets the MTU value for IPv6 router advertisements on an interface. The purpose of these advertisements is neighbor discovery (ND). The size argument is a number in the range from 1280 to the maximum MTU that the interface is capable of minus 18. For an M4250 series switch, the range is from 1280–12270.

Default 0
Format ipv6 nd mtu size
Mode Interface Config

no ipv6 nd mtu (M4250 series switch)

This command resets the MTU value for IPv6 router advertisements on an interface to 0.

Format no ipv6 nd mtu
Mode Interface Config

ipv6 nd mtu (M4350 series switch)

M4350

This command sets the MTU value for IPv6 router advertisements on an interface. The purpose of these advertisements is neighbor discovery (ND). The size argument is a number in the range from 1280 to the maximum MTU that the interface is capable of minus 18. For an M4350 series switch, the range is from 1280–12266.

Default 0
Format ipv6 nd mtu size
Mode Interface Config

no ipv6 nd mtu (M4350 series switch)

This command resets the MTU value for IPv6 router advertisements on an interface to 0.

Format no ipv6 nd mtu
Mode Interface Config

ipv6 nd ns-interval

M4250

M4350

This command sets the interval between router advertisements for advertised neighbor solicitations, in milliseconds. An advertised value of 0 means the interval is unspecified. This command can configure a single interface or a range of interfaces. The milliseconds variable is a period in milliseconds in the range of 1000–4294967295.

Default 0
Format ipv6 nd ns-interval {milliseconds | 0}
Mode Interface Config

no ipv6 nd ns-interval

This command resets the neighbor solicit retransmission interval of the specified interface to the default value.

Format no ipv6 nd ns-interval
Mode Interface Config

ipv6 nd other-config-flag

M4250

M4350

This command sets the “other stateful configuration” flag in router advertisements sent from the interface. The purpose of these advertisements is neighbor discovery (ND).

Default false
Format ipv6 nd other-config-flag
Mode Interface Config

no ipv6 nd other-config-flag

This command resets the “other stateful configuration” flag back to its default value in router advertisements sent from the interface.

Format no ipv6 nd other-config-flag
Mode Interface Config

ipv6 nd ra-interval-max

M4250

M4350

This command sets the transmission interval between router advertisements on the interface or range of interfaces. The purpose of these advertisements is neighbor discovery (ND). The seconds variable is a number in the range 4–1800 seconds.

Default 600
Format ipv6 nd ra-interval-max seconds
Mode Interface Config

no ipv6 nd ra-interval-max

This command sets router advertisement interval to the default.

Format no ipv6 nd ra-interval-max
Mode Interface Config

ipv6 nd ra-lifetime

M4250

M4350

This command sets the value, in seconds, that is placed in the Router Lifetime field of the router advertisements sent from the interface or range of interfaces. The purpose of these advertisements is neighbor discovery (ND). The lifetime variable can be zero, or it must be an integer between the value of the router advertisement transmission interval and 9000. A value of zero means this router is not to be used as the default router.

Default 1800
Format ipv6 nd ra-lifetime lifetime
Mode Interface Config

no ipv6 nd ra-lifetime

This command resets router lifetime to the default value.

Format no ipv6 nd ra-lifetime
Mode Interface Config

ipv6 nd raguard attach-policy

M4250

M4350

This command enables the IPv6 RA guard host mode on the configured interface. All router advertisement (RAs) and router redirect packets for neighbor discovery (ND) that are received on this interface are dropped.

Format ipv6 nd raguard attach-policy
Mode Interface Config

no ipv6 nd raguard attach-policy

This command disables the IPv6 RA guard host mode on the configured interface.

Format no ipv6 nd raguard attach-policy
Mode Interface Config

ipv6 nd ra hop-limit unspecified

M4250

M4350

This command configures the switch to send router advertisements on an interface with an unspecified (0) Current Hop Limit value. The purpose of these advertisements is neighbor discovery (ND), and they inform the hosts on that link to ignore the Hop Limit from the switch.

Default Disable
Format ipv6 nd ra hop-limit unspecified
Mode Interface Config

no ipv6 nd ra hop-limit unspecified

This command configures the router to send Router Advertisements on an interface with the global configured Hop Limit value.

Format no ipv6 nd ra hop-limit unspecified
Mode Interface Config

ipv6 nd reachable-time

M4250

M4350

This command sets the router advertisement time to consider a neighbor reachable after neighbor discovery (ND) confirmation. Reachable time is specified in milliseconds in a range from 0–4294967295 milliseconds. A value of zero means that the time is unspecified by the switch.

Default 0
Format ipv6 nd reachable-time milliseconds
Mode Interface Config

no ipv6 nd reachable-time

This command means reachable time is unspecified for the switch.

Format no ipv6 nd reachable-time
Mode Interface Config

ipv6 nd router-preference

M4250

M4350

Use this command to configure default router preferences that the interface advertises in router advertisement messages. The purpose of these advertisements is neighbor discovery (ND).

Default medium
Format ipv6 nd router-preference {low | medium | high}
Mode Interface Config

no ipv6 nd router-preference

This command resets the router preference advertised by the interface to the default value.

Format no ipv6 nd router-preference
Mode Interface Config

ipv6 nd suppress-ra

M4250

M4350

This command suppresses router advertisement transmission on an interface or range of interfaces. The purpose of these advertisements is neighbor discovery (ND).

Default disabled
Format ipv6 nd suppress-ra
Mode Interface Config

no ipv6 nd suppress-ra

This command enables router transmission on an interface.

Format no ipv6 nd suppress-ra
Mode Interface Config

ipv6 nd prefix

M4250

M4350

Use the ipv6 nd prefix command to configure parameters associated with prefixes the router advertises in its router advertisements. The purpose of these advertisements is neighbor discovery (ND). The first optional parameter is the valid lifetime of the switch, in seconds in the range of 0–4294967295 seconds. You can specify a value or indicate that the lifetime value is infinite. The second optional parameter is the preferred lifetime of the switch in seconds in the range of 0–4294967295 seconds.

This command can be used to configure a single interface or a range of interfaces.

The router advertises its global IPv6 prefixes in its router advertisements (RAs). An RA only includes the prefixes of the IPv6 addresses configured on the interface where the RA is transmitted. Addresses are configured using the ipv6 address interface configuration command. Each prefix advertisement includes information about the prefix, such as its lifetime values and whether hosts should use the prefix for on-link determination or address auto-configuration. Use the ipv6 nd prefix command to configure these values.

The ipv6 nd prefix command allows you to preconfigure RA prefix values before you configure the associated interface address. In order for the prefix to be included in RAs, you must configure an address that matches the prefix using the ipv6 address command. Prefixes specified using ipv6 nd prefix without associated interface address will not be included in RAs and will not be committed to the device configuration.

Default

valid-lifetime—2592000

preferred-lifetime—604800

autoconfig—enabled

on-link—enabled

Format ipv6 nd prefix prefix/prefix_length [{seconds | infinite} {seconds | infinite}] [no-autoconfig] [off-link]
Mode Interface Config

no ipv6 nd prefix

This command sets prefix configuration to default values.

Format no ipv6 nd prefix prefix/prefix_length
Mode Interface Config

ipv6 neighbor

M4250

M4350

This command configures a static IPv6 neighbor with a specific IPv6 address and MAC address on a routing or host interface.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format ipv6 neighbor ipv6address {unit/slot/port | vlan vlan-id} macaddr
Mode Global Config
Parameter Definition
ipv6address The IPv6 address of the neighbor.
unit/slot/port The interface.
vlan-id The VLAN for the interface.
macaddr The MAC address for the neighbor.

no ipv6 neighbor

This command removes a static IPv6 neighbor for a specific IPv6 address on a routing or host interface.

Format no ipv6 neighbor ipv6address {unit/slot/port | vlan vlan-id}
Mode Global Config

ipv6 neighbors dynamicrenew

M4250

M4350

This command automatically renews the IPv6 neighbor entries. The command enables the periodic neighbor unreachability detection (NUD) on the existing IPv6 neighbor entries based on the activity of the entries in the hardware. Every 40 seconds, a set of 300 entries are triggered for NUD, irrespective of their usage in the hardware.

Default Disabled
Format ipv6 neighbors dynamicrenew
Mode Global Config

no ipv6 neighbors dynamicrenew

This command disables automatic renewing of IPv6 neighbor entries, causing only those entries that are actively used in the hardware to be triggered for NUD at the end of a stale time-out of 1200 seconds.

Format no ipv6 neighbors dynamicrenew
Mode Global Config

ipv6 nud

M4250

M4350

This command configures a Neighbor Unreachability Detection (NUD) option. NUD verifies that communication with a neighbor exists.

Format ipv6 nud {backoff-multiple | max-multicast-solicits | max-unicast-solicits}
Mode Global Config
Term Definition
backoff-multiple Sets the exponential backoff multiple to calculate time outs in NS transmissions during NUD. The value ranges from 1 to 5. 1 is the default. The next timeout value is limited to a maximum value of 60 seconds if the value with exponential backoff calculation is greater than 60 seconds.
max-multicast-solicits Sets the maximum number of multicast solicits sent during Neighbor Unreachability Detection. The value ranges from 3 to 255. 3 is the default.
max-unicast-solicits Sets the maximum number of unicast solicits sent during Neighbor Unreachability Detection. The value ranges from 3 to 10. 3 is the default.

no ipv6 nud

This command disables the Neighbor Unreachability Detection (NUD) option.

Format no ipv6 nud {backoff-multiple | max-multicast-solicits | max-unicast-solicits}
Mode Global Config

ipv6 unreachables

M4250

M4350

Use this command to enable the generation of ICMPv6 Destination Unreachable messages on the interface or range of interfaces. By default, the generation of ICMPv6 Destination Unreachable messages is enabled.

Default enable
Format ipv6 unreachables
Mode Interface Config

no ipv6 unreachables

Use this command to prevent the generation of ICMPv6 Destination Unreachable messages.

Format no ipv6 unreachables
Mode Interface Config

ipv6 unresolved-traffic

M4250

M4350

Use this command to control the rate at which IPv6 data packets come into the CPU. By default, rate limiting is disabled. When enabled, the rate, expressed by the seconds variable, can range from 5 to 1024 packets per second.

Default enable
Format ipv6 unresolved-traffic rate-limit seconds
Mode Global Config

no ipv6 unresolved-traffic

Use this command to disable the rate limiting.

Format no ipv6 unresolved-traffic rate-limit
Mode Global Config

ipv6 icmp error-interval

M4250

M4350

Use this command to limit the rate at which ICMPv6 error messages are sent. The rate limit is configured as a token bucket, with two configurable parameters, burst-size and burst-interval.

The burst-interval specifies how often the token bucket is initialized with burst-size tokens. burst-interval is from 0 to 2147483647 milliseconds (msec).

The burst-size is the number of ICMPv6 error messages that can be sent during one burst-interval. The range is from 1 to 200 messages.

To disable ICMP rate limiting, set the burst-interval argument to zero (0).

Default

burst-interval of 1000 msec.

burst-size of 100 messages

Format ipv6 icmp error-interval burst-interval [burst-size]
Mode Global Config

no ipv6 icmp error-interval

Use this command to return the burst interval and burst size to their default values.

Format no ipv6 icmp error-interval
Mode Global Config

show ipv6 brief

M4250

M4350

Use this command to display the IPv6 status of the forwarding mode and IPv6 unicast routing mode.

Format show ipv6 brief
Mode Privileged EXEC
Term Definition
IPv6 Forwarding Mode Shows whether the IPv6 forwarding mode is enabled.
IPv6 Unicast Routing Mode Shows whether the IPv6 unicast routing mode is enabled.
IPv6 Hop Limit Shows the unicast hop count used in IPv6 packets originated by the node. For more information, see ipv6 hop-limit.
ICMPv6 Rate Limit Error Interval Shows how often the token bucket is initialized with burst-size tokens. For more information, see ipv6 icmp error-interval.
ICMPv6 Rate Limit Burst Size Shows the number of ICMPv6 error messages that can be sent during one burst-interval. For more information, see ipv6 icmp error-interval.
Maximum Routes Shows the maximum IPv6 route table size.
IPv6 Unresolved Data Rate Limit Shows the rate in packets-per-second for the number of IPv6 data packets trapped to CPU when the packet fails to be forwarded in the hardware due to unresolved hardware address of the destined IPv6 node.
IPv6 Neighbors Dynamic Renew Shows the dynamic renewal mode for the periodic NUD (neighbor unreachability detection) run on the existing IPv6 neighbor entries based on the activity of the entries in the hardware.
IPv6 NUD Maximum Unicast Solicits Shows the maximum number of unicast Neighbor Solicitations sent during NUD (neighbor unreachability detection) before switching to multicast Neighbor Solicitations.
IPv6 NUD Maximum Multicast Solicits Shows the maximum number of multicast Neighbor Solicitations sent during NUD (neighbor unreachability detection) when in UNREACHABLE state.
IPv6 NUD Exponential Backoff Multiple Shows the exponential backoff multiple to be used in the calculation of the next timeout value for Neighbor Solicitation transmission during NUD (neighbor unreachability detection) following the exponential backoff algorithm.

Command example:

CODE
(NETGEAR Switch) #show ipv6 brief

IPv6 Unicast Routing Mode...................... Disable
IPv6 Hop Limit................................. 0
ICMPv6 Rate Limit Error Interval............... 1000 msec
ICMPv6 Rate Limit Burst Size................... 100 messages
Maximum Routes................................. 4096

IPv6 Unresolved Data Rate Limit................ 1024 pps
IPv6 Neighbors Dynamic Renew................... Disable
IPv6 NUD Maximum Unicast Solicits.............. 3
IPv6 NUD Maximum Multicast Solicits............ 3
IPv6 NUD Exponential Backoff Multiple.......... 1

show ipv6 interface (M4250 series switch)

M4250

Use this command to show the usability status of IPv6 interfaces and whether ICMPv6 Destination Unreachable messages may be sent.

The argument slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The loopback keyword with the number variable specifies the loopback interface directly and is a number in the range 0–7.

Format show ipv6 interface [brief | slot/port | vlan vlan-id | loopback number]
Mode Privileged EXEC

If you use the brief parameter, the following information displays for all configured IPv6 interfaces.

Term Definition
Interface The interface in slot/port format.
IPv6 Operational Mode Shows whether the mode is enabled or disabled.
IPv6 Address/Length Shows the IPv6 address and length on interfaces with IPv6 enabled.
Method

Indicates how each IP address was assigned. The field contains one of the following values:

  • DHCP. The address is leased from a DHCP server.
  • Manual. The address is manually configured.

Global addresses with no annotation are assumed to be manually configured.

If you specify an interface, the following information also displays.

Term Definition
Routing Mode Shows whether IPv6 routing is enabled or disabled.
IPv6 Enable Mode Shows whether IPv6 is enabled on the interface.
Administrative Mode Shows whether the interface administrative mode is enabled or disabled.
Bandwidth Shows bandwidth of the interface.
Interface Maximum Transmission Unit The MTU size, in bytes.
Router Duplicate Address Detection Transmits The number of consecutive duplicate address detection probes to transmit.
Address Autoconfigure Mode Shows whether the autoconfigure mode is enabled or disabled.
Address DHCP Mode Shows whether the DHCPv6 client is enabled on the interface.
IPv6 Hop Limit Unspecified Indicates if the router is configured on this interface to send Router Advertisements with unspecified (0) as the Current Hop Limit value.
Router Advertisement NS Interval The interval, in milliseconds, between router advertisements for advertised neighbor solicitations.
Router Advertisement Lifetime Shows the router lifetime value of the interface in router advertisements.
Router Advertisement Reachable Time The amount of time, in milliseconds, to consider a neighbor reachable after neighbor discovery confirmation.
Router Advertisement Interval The frequency, in seconds, that router advertisements are sent.
Router Advertisement Managed Config Flag Shows whether the managed configuration flag is set (enabled) for router advertisements on this interface.
Router Advertisement Other Config Flag Shows whether the other configuration flag is set (enabled) for router advertisements on this interface.
Router Advertisement Router Preference Shows the router preference.
Router Advertisement Suppress Flag Shows whether router advertisements are suppressed (enabled) or sent (disabled).
IPv6 Destination Unreachables Shows whether ICMPv6 Destination Unreachable messages may be sent (enabled) or not (disabled). For more information, see ipv6 unreachables.
ICMPv6 Redirect Specifies if ICMPv6 redirect messages are sent back to the sender by the Router in the redirect scenario is enabled on this interface.

If an IPv6 prefix is configured on the interface, the following information also displays.

Term Definition
IPv6 Prefix is The IPv6 prefix for the specified interface.
Preferred Lifetime The amount of time the advertised prefix is a preferred prefix.
Valid Lifetime The amount of time the advertised prefix is valid.
Onlink Flag Shows whether the onlink flag is set (enabled) in the prefix.
Autonomous Flag Shows whether the autonomous address-configuration flag (autoconfig) is set (enabled) in the prefix.

Command example:

CODE
(NETGEAR Switch) #show ipv6 interface brief

           Oper.
Interface  Mode     IPv6 Address/Length
---------- -------- ---------------------------------
0/33     Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2033::211:88FF:FE2A:3E3C/64
0/17     Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2017::A42A:26DB:1049:43DD/128                      [DHCP]
0/4 Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2001::211:88FF:FE2A:3E3C/64                        [AUTO]
0/2      Disabled FE80::211:88FF:FE2A:3E3C/128                         [TENT]

Command example:

CODE
(NETGEAR Switch) #show ipv6 interface 0/4

IPv6 is enabled
IPv6 Prefix is ................................ fe80::210:18ff:fe00:1105/128
                                                2001::1/64
Routing Mode................................... Enabled
IPv6 Enable Mode............................... Enabled
Administrative Mode............................ Enabled
IPv6 Operational Mode.......................... Enabled
Bandwidth...................................... 10000  kbps
Interface Maximum Transmit Unit................ 1500
Router Duplicate Address Detection Transmits... 1
Address DHCP Mode.............................. Disabled
IPv6 Hop Limit Unspecified..................... Enabled
Router Advertisement NS Interval............... 0
Router Advertisement Lifetime.................. 1800
Router Advertisement Reachable Time............ 0
Router Advertisement Interval.................. 600
Router Advertisement Managed Config Flag....... Disabled
Router Advertisement Other Config Flag......... Disabled
Router Advertisement Router Preference......... medium
Router Advertisement Suppress Flag............. Disabled
IPv6 Destination Unreachables.................. Enabled
ICMPv6 Redirects............................... Enabled

Prefix 2001::1/64
Preferred Lifetime............................. 604800
Valid Lifetime................................. 2592000
Onlink Flag.................................... Enabled
Autonomous Flag................................ Enabled

show ipv6 interface (M4350 series switch)

M4350

Use this command to show the usability status of IPv6 interfaces and whether ICMPv6 Destination Unreachable messages may be sent.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The loopback keyword with the number variable specifies the loopback interface directly and is a number in the range 0–7.

Format show ipv6 interface [brief | unit/slot/port | vlan vlan-id | loopback number]
Mode Privileged EXEC

If you use the brief parameter, the following information displays for all configured IPv6 interfaces.

Term Definition
Interface The interface in the unit/slot/port format.
IPv6 Operational Mode Shows whether the mode is enabled or disabled.
IPv6 Address/Length Shows the IPv6 address and length on interfaces with IPv6 enabled.
Method

Indicates how each IP address was assigned. The field contains one of the following values:

  • DHCP. The address is leased from a DHCP server.
  • Manual. The address is manually configured.

Global addresses with no annotation are assumed to be manually configured.

If you specify an interface, the following information also displays.

Term Definition
Routing Mode Shows whether IPv6 routing is enabled or disabled.
IPv6 Enable Mode Shows whether IPv6 is enabled on the interface.
Administrative Mode Shows whether the interface administrative mode is enabled or disabled.
Bandwidth Shows bandwidth of the interface.
Interface Maximum Transmission Unit The MTU size, in bytes.
Router Duplicate Address Detection Transmits The number of consecutive duplicate address detection probes to transmit.
Address Autoconfigure Mode Shows whether the autoconfigure mode is enabled or disabled.
Address DHCP Mode Shows whether the DHCPv6 client is enabled on the interface.
IPv6 Hop Limit Unspecified Indicates if the router is configured on this interface to send Router Advertisements with unspecified (0) as the Current Hop Limit value.
Router Advertisement NS Interval The interval, in milliseconds, between router advertisements for advertised neighbor solicitations.
Router Advertisement Lifetime Shows the router lifetime value of the interface in router advertisements.
Router Advertisement Reachable Time The amount of time, in milliseconds, to consider a neighbor reachable after neighbor discovery confirmation.
Router Advertisement Interval The frequency, in seconds, that router advertisements are sent.
Router Advertisement Managed Config Flag Shows whether the managed configuration flag is set (enabled) for router advertisements on this interface.
Router Advertisement Other Config Flag Shows whether the other configuration flag is set (enabled) for router advertisements on this interface.
Router Advertisement Router Preference Shows the router preference.
Router Advertisement Suppress Flag Shows whether router advertisements are suppressed (enabled) or sent (disabled).
IPv6 Destination Unreachables Shows whether ICMPv6 Destination Unreachable messages may be sent (enabled) or not (disabled). For more information, see ipv6 unreachables.
ICMPv6 Redirect Specifies if ICMPv6 redirect messages are sent back to the sender by the Router in the redirect scenario is enabled on this interface.

If an IPv6 prefix is configured on the interface, the following information also displays.

Term Definition
IPv6 Prefix is The IPv6 prefix for the specified interface.
Preferred Lifetime The amount of time the advertised prefix is a preferred prefix.
Valid Lifetime The amount of time the advertised prefix is valid.
Onlink Flag Shows whether the onlink flag is set (enabled) in the prefix.
Autonomous Flag Shows whether the autonomous address-configuration flag (autoconfig) is set (enabled) in the prefix.

Command example:

CODE
(NETGEAR Switch) #show ipv6 interface brief

           Oper.
Interface  Mode     IPv6 Address/Length
---------- -------- ---------------------------------
1/0/33     Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2033::211:88FF:FE2A:3E3C/64
2/0/17     Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2017::A42A:26DB:1049:43DD/128                      [DHCP]
0/4/1      Enabled  FE80::211:88FF:FE2A:3E3C/128
                    2001::211:88FF:FE2A:3E3C/64                        [AUTO]
0/4/2      Disabled FE80::211:88FF:FE2A:3E3C/128                       [TENT]

Command example:

CODE
(NETGEAR Switch) #show ipv6 interface 0/4/1

IPv6 is enabled
IPv6 Prefix is ................................ fe80::210:18ff:fe00:1105/128
                                                2001::1/64
Routing Mode................................... Enabled
IPv6 Enable Mode............................... Enabled
Administrative Mode............................ Enabled
IPv6 Operational Mode.......................... Enabled
Bandwidth...................................... 10000  kbps
Interface Maximum Transmit Unit................ 1500
Router Duplicate Address Detection Transmits... 1
Address DHCP Mode.............................. Disabled
IPv6 Hop Limit Unspecified..................... Enabled
Router Advertisement NS Interval............... 0
Router Advertisement Lifetime.................. 1800
Router Advertisement Reachable Time............ 0
Router Advertisement Interval.................. 600
Router Advertisement Managed Config Flag....... Disabled
Router Advertisement Other Config Flag......... Disabled
Router Advertisement Router Preference......... medium
Router Advertisement Suppress Flag............. Disabled
IPv6 Destination Unreachables.................. Enabled
ICMPv6 Redirects............................... Enabled

Prefix 2001::1/64
Preferred Lifetime............................. 604800
Valid Lifetime................................. 2592000
Onlink Flag.................................... Enabled
Autonomous Flag................................ Enabled

show ipv6 interface vlan

M4250

M4350

Use the show ipv6 interface vlan in Privileged EXEC mode to show the usability status of IPv6 VLAN interfaces.

Format show ipv6 interface vlan vlan-id [prefix]
Mode

Privileged EXEC

User EXEC

Parameter Description
vlan-id Valid VLAN ID
prefix Display IPv6 Interface Prefix Information

show ipv6 nd raguard policy

M4250

M4350

This command shows the status of the IPv6 RA guard host mode on the switch. The output lists the ports and interfaces on which IPv6 RA guard host mode is enabled and the associated device roles.

Format show ipv6 nd raguard policy
Modes EXEC

Command example:

CODE
(NETGEAR Switch) # show ipv6 nd raguard policy

           Configured Interfaces

           Interface        Role
           ---------------  -------
           Gi1/0/1          Host

show ipv6 neighbors (M4250 series switch)

M4250

Use this command to display information about the IPv6 neighbors.

The argument slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ipv6 neighbor [ipv6-address | interface {slot/port | vlan vlan-id}]
Mode Privileged EXEC
Term Definition
Interface The interface in slot/port format.
IPv6 Address IPV6 address of neighbor or interface.
MAC Address Link-layer Address.
IsRtr Shows whether the neighbor is a router. If the value is TRUE, the neighbor is known to be a router, and FALSE otherwise. A value of FALSE might mean that routers are not always known to be routers.
Neighbor State State of neighbor cache entry. Possible values are Incomplete, Reachable, Stale, Delay, Probe, and Unknown.
Last Updated The time in seconds that has elapsed since an entry was added to the cache.
Type The type of neighbor entry. The type is Static if the entry is manually configured and Dynamic if dynamically resolved.

show ipv6 neighbors (M4350 series switch)

M4350

Use this command to display information about the IPv6 neighbors.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ipv6 neighbor [ipv6-address | interface {unit/slot/port | vlan vlan-id}]
Mode Privileged EXEC
Term Definition
Interface The interface in unit/slot/port format.
IPv6 Address IPV6 address of neighbor or interface.
MAC Address Link-layer Address.
IsRtr Shows whether the neighbor is a router. If the value is TRUE, the neighbor is known to be a router, and FALSE otherwise. A value of FALSE might mean that routers are not always known to be routers.
Neighbor State State of neighbor cache entry. Possible values are Incomplete, Reachable, Stale, Delay, Probe, and Unknown.
Last Updated The time in seconds that has elapsed since an entry was added to the cache.
Type The type of neighbor entry. The type is Static if the entry is manually configured and Dynamic if dynamically resolved.

clear ipv6 neighbors

M4250

M4350

Use this command to clear all entries in the IPv6 neighbor table or an entry on a specific interface. Use the optional unit/slot/port parameter to specify an interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format clear ipv6 neighbors [unit/slot/port]
Mode Privileged EXEC

show ipv6 route (M4250 series switch)

M4250

This command displays the IPv6 routing table. The ipv6-address specifies a specific IPv6 address for which the best-matching route is displayed. The ipv6-prefix/ipv6-prefix-length specifies a specific IPv6 network for which the matching route is displayed.

The argument slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The ospf, connected or static keyword specifies the protocol that installed the routes.

The all keyword specifies that all routes including best and non-best routes are displayed. Otherwise, only the best routes are displayed.

Note: If you use the connected keyword, the all option is not available because there are no best or “nonbest” connected routes.
Format show ipv6 route [ipv6-address [static | connected] | {{ipv6-prefix/ipv6-prefix-length | slot/port | vlan vlan-id} [static | connected] | [static | connected] | summary} [all] | all]
Modes

Privileged EXEC

User EXEC

Term Definition
Route Codes The key for the routing protocol codes that might appear in the routing table output.

The show ipv6 route command displays the routing tables in the following format:

CODE
Codes: C - connected, S - static

The columns for the routing table display the following information.

Term Definition
Code The code for the routing protocol that created this routing entry.
Default Gateway The IPv6 address of the default gateway. When the system does not have a more specific route to a packet's destination, it sends the packet to the default gateway.
IPv6-Prefix/IPv6-Prefix-Length The IPv6-Prefix and prefix-length of the destination IPv6 network corresponding to this route.
Preference/Metric The administrative distance (preference) and cost (metric) associated with this route. An example of this output is [1/0], where 1 is the preference and 0 is the metric.
Tag The decimal value of the tag associated with a redistributed route, if it is not 0.
Next-Hop The outgoing router IPv6 address to use when forwarding traffic to the next router (if any) in the path toward the destination.
Route-Timestamp

The last updated time for dynamic routes. The format of Route-Timestamp is:

Days:Hours:Minutes if days > = 1

Hours:Minutes:Seconds if days < 1

Interface The outgoing router interface to use when forwarding traffic to the next destination. For reject routes, the next hop interface is the Null0 interface.
T A flag appended to an IPv6 route to indicate that it is an ECMP route, but only one of its next hops has been installed in the forwarding table. The forwarding table may limit the number of ECMP routes or the number of ECMP groups. When an ECMP route cannot be installed because such a limit is reached, the route is installed with a single next hop. Such truncated routes are identified by a T after the interface name.

To administratively control the traffic destined to a particular network and prevent it from being forwarded through the switch, you can configure a static reject route on the switch. Such traffic would be discarded and an ICMP destination unreachable message is sent back to the source. This configuration is typically used for preventing routing loops.

Command example:

CODE
(NETGEAR Switch) #show ipv6 route

IPv6 Routing Table - 3 entries
Codes: C - connected, S - static

S    2001::/64 [10/0] directly connected,   Null0
C    2003::/64 [0/0]
      via ::,   0/11
S    2005::/64 [1/0]
      via 2003::2,   0/11
C 5001::/64 [0/0]
 via ::,   0/5

Command example:

The following example displays a truncated route:

CODE
(NETGEAR Switch) #show ipv6 route

IPv6 Routing Table - 2 entries
Codes: C - connected, S - static, 6To4 - 6to4 Route

C    2001:db9:1::/64 [0/0]
      via ::,   0/1

show ipv6 route (M4350 series switch)

M4350

This command displays the IPv6 routing table. The ipv6-address specifies a specific IPv6 address for which the best-matching route is displayed. The ipv6-prefix/ipv6-prefix-length specifies a specific IPv6 network for which the matching route is displayed.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

The ospf, connected or static keyword specifies the protocol that installed the routes.

The all keyword specifies that all routes including best and non-best routes are displayed. Otherwise, only the best routes are displayed.

Note: If you use the connected keyword, the all option is not available because there are no best or “nonbest” connected routes.
Format show ipv6 route [ipv6-address [ospf | static | connected] | {{ipv6-prefix/ipv6-prefix-length | unit/slot/port | vlan vlan-id} [ospf | static | connected] | [ospf | static | connected] | summary} [all] | all]
Modes

Privileged EXEC

User EXEC

Term Definition
Route Codes The key for the routing protocol codes that might appear in the routing table output.

The show ipv6 route command displays the routing tables in the following format:

CODE
Codes: C - connected, S - static

The columns for the routing table display the following information.

Term Definition
Code The code for the routing protocol that created this routing entry.
Default Gateway The IPv6 address of the default gateway. When the system does not have a more specific route to a packet's destination, it sends the packet to the default gateway.
IPv6-Prefix/IPv6-Prefix-Length The IPv6-Prefix and prefix-length of the destination IPv6 network corresponding to this route.
Preference/Metric The administrative distance (preference) and cost (metric) associated with this route. An example of this output is [1/0], where 1 is the preference and 0 is the metric.
Tag The decimal value of the tag associated with a redistributed route, if it is not 0.
Next-Hop The outgoing router IPv6 address to use when forwarding traffic to the next router (if any) in the path toward the destination.
Route-Timestamp

The last updated time for dynamic routes. The format of Route-Timestamp is:

Days:Hours:Minutes if days > = 1

Hours:Minutes:Seconds if days < 1

Interface The outgoing router interface to use when forwarding traffic to the next destination. For reject routes, the next hop interface is the Null0 interface.
T A flag appended to an IPv6 route to indicate that it is an ECMP route, but only one of its next hops has been installed in the forwarding table. The forwarding table may limit the number of ECMP routes or the number of ECMP groups. When an ECMP route cannot be installed because such a limit is reached, the route is installed with a single next hop. Such truncated routes are identified by a T after the interface name.

To administratively control the traffic destined to a particular network and prevent it from being forwarded through the switch, you can configure a static reject route on the switch. Such traffic would be discarded and an ICMP destination unreachable message is sent back to the source. This configuration is typically used for preventing routing loops.

Command example:

CODE
(NETGEAR Switch) #show ipv6 route

IPv6 Routing Table - 3 entries
Codes: C - connected, S - static

S    2001::/64 [10/0] directly connected,   Null0
C    2003::/64 [0/0]
      via ::,   0/11
S    2005::/64 [1/0]
      via 2003::2,   0/11
C 5001::/64 [0/0]
 via ::,   0/5

Command example:

The following example displays a truncated route:

CODE
(NETGEAR Switch) #show ipv6 route

IPv6 Routing Table - 2 entries
Codes: C - connected, S - static, 6To4 - 6to4 Route

C    2001:db9:1::/64 [0/0]
      via ::,   0/1

show ipv6 route ecmp-groups

M4250

M4350

This command reports all current ECMP groups in the IPv6 routing table. An ECMP group is a set of two or more next hops used in one or more routes. The groups are numbered arbitrarily from 1 to n. The output indicates the number of next hops in the group and the number of routes that use the set of next hops. The output lists the IPv6 address and outgoing interface of each next hop in each group.

Format show ipv6 route ecmp-groups
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show ipv6 route ecmp-groups
ECMP Group 1 with 2 next hops (used by 1 route)
        2001:DB8:1::1 on interface 2/1
  2001:DB8:2::14 on interface 2/2
ECMP Group 2 with 3 next hops (used by 1 route)
  2001:DB8:4::15 on interface 2/32
  2001:DB8:7::12 on interface 2/33
  2001:DB8:9::45 on interface 2/34

show ipv6 route hw-failure

M4250

M4350

This command displays the routes that were not added to the hardware because of hash errors or because the table was full.

Format show ipv6 route hw-failure
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show ipv6 route hw-failure
IPv6 Routing Table - 4 entries
Codes: C - connected, S - static, 6To4 - 6to4 Route, K - kernel
P - Net Prototype
P    3001::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1  hw-failure
P    3001:0:0:1::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1  hw-failure
P    3001:0:0:2::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1  hw-failure
P    3001:0:0:3::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1  hw-failure

show ipv6 route kernel

M4250

M4350

This command displays kernel routes, if any exist. The optional all keyword displays the best and “nonbest” kernel routes.

Format show ipv6 route kernel [all]
Mode Privileged EXEC

show ipv6 route 6to4

M4250

M4350

This command displays IPv6-over-IPv4 tunnels that are manually configured in the switch.

Format show ipv6 route 6to4
Mode Privileged EXEC

show ipv6 route net-prototype

M4250

M4350

This command displays the net prototype routes. The output displays the net prototype routes with a P.

Format show ipv6 route net-prototype
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show ipv6 route net-prototype
IPv6 Routing Table - 2 entries
Codes: C - connected, S - static, 6To4 - 6to4 Route, K - kernel
       P - Net Prototype
P    3001::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1
P    3001:0:0:1::/64 [0/1]
      via 2001::4,   00h:00m:04s,  0/1

show ipv6 route preferences

M4250

M4350

Use this command to show the preference value associated with the type of route. Lower numbers have a greater preference. A route with a preference of 255 cannot be used to forward traffic.

Format show ipv6 route preferences
Mode Privileged EXEC
Term Definition
Local Preference of directly-connected routes.
Static Preference of static routes.

show ipv6 route summary

M4250

M4350

This command displays a summary of the state of the routing table. With the optional all keyword, some statistics, such as the number of routes from each source, include counts for alternate routes. An alternate route is a route that is not the most preferred route to its destination and therefore is not installed in the forwarding table. To include only the number of best routes, do not use the optional all keyword.

Format show ipv6 route summary [all]
Modes

Privileged EXEC

User EXEC

Term Definition
Connected Routes Total number of connected routes in the routing table.
Static Routes Total number of static routes in the routing table.
Reject Routes Total number of reject routes installed by all protocols.
Net Prototype Routes The total number of net prototype routes.
Number of Prefixes Summarizes the number of routes with prefixes of different lengths.
Total Routes The total number of routes in the routing table.
Best Routes The number of best routes currently in the routing table. This number only counts the best route to each destination.
Alternate Routes The number of alternate routes currently in the routing table. An alternate route is a route that was not selected as the best route to its destination.
Route Adds The number of routes that have been added to the routing table.
Route Modifies The number of routes that have been changed after they were initially added to the routing table.
Route Deletes The number of routes that have been deleted from the routing table.
Unresolved Route Adds The number of route adds that failed because none of the route’s next hops were on a local subnet. Note that static routes can fail to be added to the routing table at startup because the routing interfaces are not yet up. This counter gets incremented in this case. The static routes are added to the routing table when the routing interfaces come up.
Invalid Route Adds The number of routes that failed to be added to the routing table because the route was invalid. A log message is written for each of these failures.
Failed Route Adds The number of routes that failed to be added to the routing table because of a resource limitation in the routing table.
Hardware Failed Route Adds The number of routes that failed to be inserted into the hardware because of a hash error or a table-full condition.
Reserved Locals The number of routing table entries reserved for a local subnet on a routing interface that is down. Space for local routes is always reserved so that local routes can be installed when a routing interface bounces.
Unique Next Hops The number of distinct next hops used among all routes currently in the routing table. These include local interfaces for local routes and neighbors for indirect routes.
Unique Next Hops High Water The highest count of unique next hops since counters were last cleared.
Next Hop Groups The current number of next hop groups in use by one or more routes. Each next hop group includes one or more next hops.
Next Hop Groups High Water The highest count of next hop groups since counters were last cleared.
ECMP Groups The number of next hop groups with multiple next hops.
ECMP Routes The number of routes with multiple next hops currently in the routing table.
Truncated ECMP Routes The number of ECMP routes that are currently installed in the forwarding table with just one next hop. The forwarding table may limit the number of ECMP routes or the number of ECMP groups. When an ECMP route cannot be installed because such a limit is reached, the route is installed with a single next hop.
ECMP Retries The number of ECMP routes that have been installed in the forwarding table after initially being installed with a single next hop.
Routes with n Next Hops The current number of routes with each number of next hops.

Command example:

CODE
(NETGEAR Switch) #show ipv6 route summary

Connected Routes............................... 4
Static Routes.................................. 0
6To4 Routes.................................... 0
Reject Routes.................................. 0
Total routes................................... 17

Best Routes (High)............................. 17 (17)
Alternate Routes............................... 0
Route Adds..................................... 44
Route Deletes.................................. 27
Unresolved Route Adds.......................... 0
Invalid Route Adds............................. 0
Failed Route Adds.............................. 0
Reserved Locals................................ 0

Unique Next Hops (High)........................ 8 (8)
Next Hop Groups (High)......................... 8 (8)
ECMP Groups (High)............................. 3 (3)
ECMP Routes.................................... 12
Truncated ECMP Routes.......................... 0
ECMP Retries................................... 0
Routes with 1 Next Hop......................... 5
Routes with 2 Next Hops........................ 1
Routes with 3 Next Hops........................ 1
Routes with 4 Next Hops........................ 10

  Number of Prefixes:
    /64: 17

clear ipv6 route counters

M4250

M4350

The command resets to zero the IPv6 routing table counters reported in the command show ipv6 route summary. The command only resets event counters. Counters that report the current state of the routing table, such as the number of routes of each type, are not reset.

Format clear ipv6 route counters
Mode Privileged EXEC

clear ipv6 snooping counters

M4250

M4350

This command clears the counters that are associated with the IPv6 RA guard host mode.

Format clear ipv6 snooping counters
Modes

EXEC

Global Config

Command example:

CODE
(NETGEAR Switch) # clear ipv6 snooping counters

show ipv6 snooping counters

M4250

M4350

This command displays the counters that are associated with the IPv6 RA guard host mode. The output displays the number of router advertisements and router redirect packets that are dropped globally because of the IPv6 RA guard host mode.

Format show ipv6 snooping counters
Modes

EXEC

Global Config

Command example:

CODE
(NETGEAR Switch) # show ipv6 snooping counters

IPv6 Dropped Messages
RA (Router Advertisement - ICMP type 134):  431
REDIR (Router Redirect - ICMP type 137):   6599
RA             Redir
-------        -------
0               0

show ipv6 vlan

M4250

M4350

This command displays IPv6 VLAN routing interface addresses.

Format show ipv6 vlan
Modes

Privileged EXEC

User EXEC

Term Definition
MAC Address used by Routing VLANs Shows the MAC address.

The rest of the output for this command is displayed in a table with the following column headings.

Column Headings Definition
VLAN ID The VLAN ID of a configured VLAN.
Logical Interface The interface that is associated with the VLAN ID.
IPv6 Address/Prefix Length The IPv6 prefix and prefix length associated with the VLAN ID.

show ipv6 traffic

M4250

M4350

Use this command to show traffic and statistics for IPv6 and ICMPv6. Specify a logical or loopback interface to view information about traffic on a specific interface.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

If you do not specify an interface, the command displays information about traffic on all interfaces.

Format show ipv6 traffic [unit/slot/port | vlan vlan-id | loopback loopback-id]
Mode Privileged EXEC
Term Definition
Total Datagrams Received Total number of input datagrams received by the interface, including those received in error.
Received Datagrams Locally Delivered Total number of datagrams successfully delivered to IPv6 user-protocols (including ICMP). This counter increments at the interface to which these datagrams were addressed, which might not necessarily be the input interface for some of the datagrams.
Received Datagrams Discarded Due To Header Errors Number of input datagrams discarded due to errors in their IPv6 headers, including version number mismatch, other format errors, hop count exceeded, errors discovered in processing their IPv6 options, etc.
Received Datagrams Discarded Due To MTU Number of input datagrams that could not be forwarded because their size exceeded the link MTU of outgoing interface.
Received Datagrams Discarded Due To No Route Number of input datagrams discarded because no route could be found to transmit them to their destination.
Received Datagrams With Unknown Protocol Number of locally-addressed datagrams received successfully but discarded because of an unknown or unsupported protocol. This counter increments at the interface to which these datagrams were addressed, which might not be necessarily the input interface for some of the datagrams.
Received Datagrams Discarded Due To Invalid Address Number of input datagrams discarded because the IPv6 address in their IPv6 header's destination field was not a valid address to be received at this entity. This count includes invalid addresses (for example, ::0) and unsupported addresses (for example, addresses with unallocated prefixes). For entities which are not IPv6 routers and therefore do not forward datagrams, this counter includes datagrams discarded because the destination address was not a local address.
Received Datagrams Discarded Due To Truncated Data Number of input datagrams discarded because datagram frame didn't carry enough data.
Received Datagrams Discarded Other Number of input IPv6 datagrams for which no problems were encountered to prevent their continued processing, but which were discarded (e.g., for lack of buffer space). Note that this counter does not include datagrams discarded while awaiting re-assembly.
Received Datagrams Reassembly Required Number of IPv6 fragments received which needed to be reassembled at this interface. Note that this counter increments at the interface to which these fragments were addressed, which might not be necessarily the input interface for some of the fragments.
Datagrams Successfully Reassembled Number of IPv6 datagrams successfully reassembled. Note that this counter increments at the interface to which these datagrams were addressed, which might not be necessarily the input interface for some of the fragments.
Datagrams Failed To Reassemble Number of failures detected by the IPv6 reassembly algorithm (for whatever reason: timed out, errors, etc.). Note that this is not necessarily a count of discarded IPv6 fragments since some algorithms (notably the algorithm in by combining them as they are received. This counter increments at the interface to which these fragments were addressed, which might not be necessarily the input interface for some of the fragments.
Datagrams Forwarded Number of output datagrams which this entity received and forwarded to their final destinations. In entities which do not act as IPv6 routers, this counter will include only those packets which were Source-Routed via this entity, and the Source-Route processing was successful. Note that for a successfully forwarded datagram the counter of the outgoing interface increments.
Datagrams Locally Transmitted Total number of IPv6 datagrams which local IPv6 user-protocols (including ICMP) supplied to IPv6 in requests for transmission. Note that this counter does not include any datagrams counted in ipv6IfStatsOutForwDatagrams.
Datagrams Transmit Failed Number of output IPv6 datagrams for which no problem was encountered to prevent their transmission to their destination, but which were discarded (e.g., for lack of buffer space). Note that this counter would include datagrams counted in ipv6IfStatsOutForwDatagrams if any such packets met this (discretionary) discard criterion.
Fragments Created Number of output datagram fragments that have been generated as a result of fragmentation at this output interface.
Datagrams Successfully Fragmented Number of IPv6 datagrams that have been successfully fragmented at this output interface.
Datagrams Failed To Fragment Number of IPv6 datagrams that have been discarded because they needed to be fragmented at this output interface but could not be.
Fragments Created The number of fragments that were created.
Multicast Datagrams Received Number of multicast packets received by the interface.
Multicast Datagrams Transmitted Number of multicast packets transmitted by the interface.
Total ICMPv6 messages received Total number of ICMP messages received by the interface which includes all those counted by ipv6IfIcmpInErrors. Note that this interface is the interface to which the ICMP messages were addressed which may not be necessarily the input interface for the messages.
ICMPv6 Messages with errors Number of ICMP messages which the interface received but determined as having ICMP-specific errors (bad ICMP checksums, bad length, etc.).
ICMPv6 Destination Unreachable Messages Received Number of ICMP Destination Unreachable messages received by the interface.
ICMPv6 Messages Prohibited Administratively Received Number of ICMP destination unreachable/communication administratively prohibited messages received by the interface.
ICMPv6 Time Exceeded Messages Received Number of ICMP Time Exceeded messages received by the interface.
ICMPv6 Parameter Problem Messages Received Number of ICMP Parameter Problem messages received by the interface.
ICMPv6 Packet Too Big Messages Received Number of ICMP Packet Too Big messages received by the interface.
ICMPv6 Echo Request Messages Received Number of ICMP Echo (request) messages received by the interface.
ICMPv6 Echo Reply Messages Received Number of ICMP Echo Reply messages received by the interface.
ICMPv6 Router Solicit Messages Received Number of ICMP Router Solicit messages received by the interface.
ICMPv6 Router Advertisement Messages Received Number of ICMP Router Advertisement messages received by the interface.
ICMPv6 Neighbor Solicit Messages Received Number of ICMP Neighbor Solicit messages received by the interface.
ICMPv6 Neighbor Advertisement Messages Received Number of ICMP Neighbor Advertisement messages received by the interface.
ICMPv6 Redirect Messages Received Number of Redirect messages received by the interface.
ICMPv6 Group Membership Query Messages Received Number of ICMPv6 Group Membership Query messages received by the interface.
ICMPv6 Group Membership Response Messages Received Number of ICMPv6 Group Membership response messages received by the interface.
ICMPv6 Group Membership Reduction Messages Received Number of ICMPv6 Group Membership reduction messages received by the interface.
Total ICMPv6 Messages Transmitted Total number of ICMP messages which this interface attempted to send. Note that this counter includes all those counted by icmpOutErrors.
ICMPv6 Messages Not Transmitted Due To Error Number of ICMP messages which this interface did not send due to problems discovered within ICMP such as a lack of buffers. This value should not include errors discovered outside the ICMP layer such as the inability of IPv6 to route the resultant datagram. In some implementations there may be no types of error which contribute to this counter's value.
ICMPv6 Destination Unreachable Messages Transmitted Number of ICMP Destination Unreachable messages sent by the interface.
ICMPv6 Messages Prohibited Administratively Transmitted Number of ICMP destination unreachable/communication administratively prohibited messages sent.
ICMPv6 Time Exceeded Messages Transmitted Number of ICMP Time Exceeded messages sent by the interface.
ICMPv6 Parameter Problem Messages Transmitted Number of ICMP Parameter Problem messages sent by the interface.
ICMPv6 Packet Too Big Messages Transmitted Number of ICMP Packet Too Big messages sent by the interface.
ICMPv6 Echo Request Messages Transmitted Number of ICMP Echo (request) messages sent by the interface.ICMP echo messages sent.
ICMPv6 Echo Reply Messages Transmitted Number of ICMP Echo Reply messages sent by the interface.
ICMPv6 Router Solicit Messages Transmitted Number of ICMP Router Solicitation messages sent by the interface.
ICMPv6 Router Advertisement Messages Transmitted Number of ICMP Router Advertisement messages sent by the interface.
ICMPv6 Neighbor Solicit Messages Transmitted Number of ICMP Neighbor Solicitation messages sent by the interface.
ICMPv6 Neighbor Advertisement Messages Transmitted Number of ICMP Neighbor Advertisement messages sent by the interface.
ICMPv6 Redirect Messages Received Number of Redirect messages sent. For a host, this object will always be zero, since hosts do not send redirects.
ICMPv6 Group Membership Query Messages Transmitted Number of ICMPv6 Group Membership Query messages sent.
ICMPv6 Group Membership Response Messages Transmitted Number of ICMPv6 Group Membership Response messages sent.
ICMPv6 Group Membership Reduction Messages Transmitted Number of ICMPv6 Group Membership Reduction messages sent.
ICMPv6 Duplicate Address Detects Number of duplicate addresses detected by the interface.

show ipv6 protocols

M4350

This command lists a summary of the configuration and status for the active IPv6 routing protocols. The command lists routing protocols that are configured and enabled. If you select the optional ospf keyword, the command output is limited to that protocol.

Format show ipv6 protocols [ospf]
Mode Privileged EXEC
Parameter Description
Routing Protocol OSPFv3.
Router ID The router ID configured for OSPFv3.
OSPF Admin Mode Whether OSPF is enabled or disabled globally.
Maximum Paths The maximum number of next hops in an OSPF route.
Default Route Advertise Whether OSPF is configured to originate a default route.
Always Whether default advertisement depends on having a default route in the common routing table.
Metric The metric configured to be advertised with the default route.
Metric Type The metric type for the default route.

Command example:

CODE
(NETGEAR Switch) #show ipv6 protocols

Routing Protocol .............................. OSPFv3
Router ID ..................................... 1.1.1.1
OSPF Admin Mode ............................... Enable
Maximum Paths ................................. 4
Distance ...................................... Intra 110 Inter 110 Ext 110

Default Route Advertise ....................... Disabled
Always ........................................ FALSE
Metric ........................................ Not configured
Metric Type ................................... External Type 2

Number of Active Areas ........................ 0 (0 normal, 0 stub, 0 nssa)
ABR Status .................................... Disable
ASBR Status ................................... Disable

show ipv6 prefix-list

M4250

M4350

This command displays configuration and status for a specific IPv6 prefix list.

Format show ipv6 prefix-list {listname [ipv6-prefix/prefix-length [longer | first-match]] | listname seq 1-4294967294 | detail [listname]| summary [listname]}
Mode Privileged EXEC
Parameter Description
listname The name of the prefix list.
ipv6-prefix/prefix-length The IPv6 network number and length (in bits) of the network mask.
first-match Displays the entry of a prefix list that matches the specified network and length.
longer Displays all entries of a prefix list that are more specific than the specified network and length.
seq sequence-number The sequence number for the prefix list.
detail Displays detailed information about all prefix lists.
summary Displays summarized information about all prefix lists.

The command output includes the following information.

Field Description
Count The number of entries in the prefix list.
Range Entries The number of entries that match the input range.
Ref Count The number of entries that reference the prefix list.
Seq The sequence number of the entry in the prefix list.
Permit/Deny The permit or deny action that is taken.
Sequences The range of sequence numbers for the entries in the prefix list.
Hit Count The number of matches for the prefix list.

Command example:

CODE
(NETGEAR Switch)#show ipv6 prefix-list applelist
ipv6 prefix-list applelist:
count: 6, range entries: 3, sequences: 5 - 30, refcount: 31
seq 5 deny 5F00::/8 le 128
seq 10 deny ::/0
seq 15 deny ::/1
seq 20 deny ::/2
seq 25 deny ::/3 ge 4
seq 30 permit ::/0 le 128

Command example:

CODE
(NETGEAR Switch)#show ipv6 prefix-list summary applelist
ipv6 prefix-list applelist:
count: 6, range entries: 3, sequences: 5 - 30, refcount: 31

Command example:

CODE
(NETGEAR Switch)#show ipv6 prefix-list detail applelist
ipv6 prefix-list applelist:
count: 6, range entries: 3, sequences: 5 - 30, refcount: 31
seq 5 deny 5F00::/8 le 128 (hit count: 0, refcount: 1)
seq 10 deny ::/0 (hit count: 0, refcount: 1)
seq 15 deny ::/1 (hit count: 0, refcount: 1)
seq 20 deny ::/2 (hit count: 0, refcount: 1)
seq 25 deny ::/3 ge 4 (hit count: 0, refcount: 1)
seq 30 permit ::/0 le 128 (hit count: 240664, refcount: 0)

clear ipv6 statistics

M4250

M4350

Use this command to clear IPv6 statistics for all interfaces or for a specific interface, including loopback interfaces. IPv6 statistics display in the output of the show ipv6 traffic command. If you do not specify an interface, the counters for all IPv6 traffic statistics reset to zero.

Format clear ipv6 statistics [unit/slot/port | loopback loopback-id | vlan vlan-id]
Mode Privileged EXEC