Configuring a loopback interface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a loopback interface and enter loopback interface view.

interface loopback interface-number

By default, no loopback interfaces exist.

3. Associate the loopback interface with a VPN instance.

ip binding vpn-instance vpn-instance-name

By default, the interface is associated with no VPN instance.

4. Configure an IP address for the loopback interface.

ip address ip-address { mask | mask-length }

By default, no IP address is configured for the loopback interface.