Procedure

To configure route replication:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter VPN instance view.

ip vpn-instance vpn-instance-name

N/A

3. Enter IPv4 VPN view.

address-family ipv4

N/A

4. Enable the VPN instance to replicate routes from the public network or other VPN instances.

route-replicate from { public | vpn-instance vpn-instance-name } protocol bgp as-number [ route-policy route-policy-name ]

route-replicate from { public | vpn-instance vpn-instance-name } protocol { direct | static | { isis | ospf | rip } process-id } [ advertise ] [ route-policy route-policy-name ]

By default, a VPN instance cannot replicate routes from the public network or other VPN instances.