The ipv6 nd vlink-direct-route advertise command advertises Neighbor Discovery Protocol (NDP) Vlink direct routes on the public network.
The undo ipv6 nd vlink-direct-route advertise command restores the default setting.
By default, NDP Vlink direct routes are not advertised on the public network.
ipv6 nd vlink-direct-route advertise [ route-policy route-policy-name ]
undo ipv6 nd vlink-direct-route advertise
| Parameter | Description | Value |
|---|---|---|
| route-policy route-policy-name | Specifies the name of a routing policy that is used to filter NDP Vlink direct routes on the public network. | The name must be unique, which is a string of 1 to 40 case-sensitive characters. |
Usage Scenario
IP packets are forwarded based on a specified physical interface, but cannot be forwarded based on a VLANIF interface because a VLANIF interface is a logical interface with several physical interfaces as its member interfaces. If packets reach a VLANIF interface, the device obtains information about the physical interfaces using NDP and generates relevant routing entries. The routes recorded by the routing entries are called NDP Vlink direct routes.
In most cases, NDP Vlink direct routes are used only to guide local traffic forwarding and are not advertised, In this manner, the scale and stability of the routing table can be controlled.
If NDP Vlink direct routes to a few VLAN users of a VLAN have to be advertised, you can configure the ipv6 nd vlink-direct-route advertise command, with the parameter route-policy route-policy-name specified. This configuration ensures that only filtered NDP Vlink direct routes are advertised, the scale of the routing table is controlled, and the security of other sites in the VLAN is guaranteed.
Configuration Impact
After the parameter route-policy route-policy-name is specified in the ipv6 nd vlink-direct-route advertise command, only filtered NDP Vlink direct routes are advertised.
Follow-up Procedure
Advertised NDP Vlink direct routes also need to be imported to the routing table of each dynamic routing protocol on the router. In this manner, the NDP Vlink direct routes can be advertised by each dynamic routing protocol module.
Precautions
The parameter route-policy route-policy-name must be specified by using the route-policy command. If the parameter is not specified, NDP Vlink direct routes cannot be filtered.