IPv6 router advertisement commands

router-advertisement

Syntax

[no] router-advertisement

Context

config>service>vprn

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures router advertisement properties. By default, it is disabled for all IPv6 enabled interfaces.

The no form of this command disables all IPv6 interface. However, the no interface interface-name command disables a specific interface.

Default

disabled

interface

Syntax

[no] interface ip-int-name

Context

config>service>vprn>router-advertisement

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures router advertisement properties on a specific interface. The interface must already exist in the config>router>interface context.

Parameters

ip-int-name

Specifies the interface name. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

current-hop-limit

Syntax

current-hop-limit number

no current-hop-limit

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the current hop limit in the router advertisement messages. It informs the nodes on the subnet about the hop-limit when originating IPv6 packets.

Default

64

Parameters

number

Specifies the hop limit. A value of zero means there is an unspecified number of hops.

Values

0 to 255

managed-configuration

Syntax

[no] managed-configuration

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command sets the managed address configuration flag. This flag indicates that DHCPv6 is available for address configuration, in addition to any address autoconfigured using stateless address autoconfiguration.

Default

no managed-configuration

max-advertisement-interval

Syntax

[no] max-advertisement-interval seconds

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the maximum interval between sending router advertisement messages.

Default

600

Parameters

seconds

Specifies the maximum interval in seconds between sending router advertisement messages.

Values

4 to 1800

min-advertisement-interval

Syntax

[no] min-advertisement-interval seconds

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the minimum interval between sending ICMPv6 neighbor discovery router advertisement messages.

Default

200

Parameters

seconds

Specifies the minimum interval in seconds between sending ICMPv6 neighbor discovery router advertisement messages.

Values

3 to 1350

mtu

Syntax

[no] mtu mtu-bytes

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the MTU for the nodes to use when sending packets on the link.

Default

no mtu

Parameters

mtu-bytes

Specifies the MTU for the nodes to use when sending packets on the link.

Values

1280 to 9212

other-stateful-configuration

Syntax

[no] other-stateful-configuration

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command sets the "Other configuration" flag. This flag indicates that DHCPv6lite is available for autoconfiguration of other (non-address) information, such as DNS-related information or information about other servers in the network.

Default

no other-stateful-configuration

prefix

Syntax

[no] prefix [ipv6-prefix/prefix-length]

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures an IPv6 prefix in the router advertisement messages. To support multiple IPv6 prefixes, use multiple prefix statements. No prefix is advertised until explicitly configured using prefix statements.

Parameters

ip-prefix/prefix-length

Specifies the IP prefix.

Values

ipv4-prefix:

a.b.c.d (host bits must be 0)

ipv4-prefix-length:

0 to 32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x:

[0 to FFFF]H

d:

[0 to 255]D

ipv6-prefix-length:

0 to 128

autonomous

Syntax

[no] autonomous

Context

config>service>vprn>router-advert>if>prefix

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command specifies whether the prefix can be used for stateless address autoconfiguration.

Default

autonomous

on-link

Syntax

[no] on-link

Context

config>service>vprn>router-advert>if>prefix

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command specifies whether the prefix can be used for on-link determination.

Default

on-link

preferred-lifetime

Syntax

[no] preferred-lifetime {seconds | infinite}

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the time that this prefix will continue to be preferred. The address generated from a deprecated prefix should not be used as a source address in new communications, but packets received on such an interface are processed as expected.

Default

604800

Parameters

seconds

Specifies the length of time, in seconds, that this prefix will be preferred.

infinite

Specifies that the prefix is always preferred. The highest value represents infinity.

Values

1 to 4294967294

valid-lifetime

Syntax

valid-lifetime {seconds | infinite}

Context

config>service>vprn>router-advert>if

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command specifies the time that the prefix is valid for the purpose of on-link determination. A value of all one bits (0xffffffff) represents infinity. The address generated from an invalidated prefix should not appear as the destination or source address of a packet.

Default

2592000

Parameters

seconds

Specifies the remaining time, in seconds, that this prefix will be valid.

infinite

Specifies that the prefix will always be valid. The highest value represents infinity.

Values

1 to 4294967294

reachable-time

Syntax

reachable-time milli-seconds

no reachable-time

Context

config>service>vprn>router-advert

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures how long this router should be considered reachable by other nodes on the link after receiving a reachability confirmation.

Default

no reachable-time

Parameters

milli-seconds

Specifies the length of time the router should be considered reachable.

Values

0 to 3600000

retransmit-time

Syntax

retransmit-timer milli-seconds

no retransmit-timer

Context

config>service>vprn>router-advert

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures the retransmission frequency of neighbor solicitation messages.

Default

no retransmit-time

Parameters

milli-seconds

Specifies how often the retransmission should occur.

Values

0 to 1800000

router-lifetime

Syntax

router-lifetime seconds

no router-lifetime

Context

config>service>vprn>router-advert

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command sets the router lifetime.

Default

1800

Parameters

seconds

Specifies the length of time, in seconds (relative to the time the packet is sent), that the prefix is valid for route determination. 0 means that the router is not a default router on this link.

Values

0, 4 to 9000