Redistributing the loopback interface address

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP instance view.

bgp as-number [ instance instance-name ] [ multi-session-thread ]

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.