我pv6 nd route

我pv6 nd route/[no-advertise | lifetime {| infinite} | preference {low | medium | high}]

no ipv6 nd route/[no-advertise | lifetime {| infinite} | preference {low | medium | high}]

Description

Configures the routing switch to include the routing information in the RAs transmitted on the interface. The routing switch includes the route information in the RA packets only if the configured routes are present in the routing table. After receiving the RA packets carrying the route information, the IPv6 host updates its routing table. The hosts lookup their routing table and selects the best possible route to forward packets.

Thenoform of this command removes the settings for including the routing information in the RA packets.

Parameter

Description

/

Specifies the IPv6 route prefix to advertise in RA. Format: X:X::X:X/M

no-advertise

Specifies to not advertise the route information.

lifetime {| infinite}

Specifies the duration in seconds that the route is valid for the route determination. If this parameter is configured with0, the route becomes invalid.

Default:1800. Range:0-4294967295.

preference {low | medium | high}

Specifies the preference for the hosts to choose the router associated with the route over other routers when multiple identical route prefixes from different routers are received.

Default:medium

Examples

Configuring routing information on interface1/1/1.

switch(config)#我nt 1/1/1switch(config-if)#我pv6 nd route 1::1/64 lifetime 200 preference high

Command History

Release

Modification

10.10

Command introduced

Command Information

Platforms

Command context

Authority

All platforms

config-if

Administrators or local user group members with execution rights for this command.