Redistributing the loopback interface route

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP view.

bgp as-number

N/A

3. Enter BGP-VPN instance view.

ip vpn-instance vpn-instance-name

N/A

4. Enter BGP-VPN IPv4 unicast address family view.

address-family ipv4 [ unicast ]

N/A

5. Redistribute direct routes into BGP (including the loopback interface route).

import-route direct

By default, no direct routes are redistributed into BGP.