< Home

Setting the Loopback Address of the Sham Link

The end address of a sham link is the IP address (with the 32-bit mask) of a loopback interface. The loopback interface must be bound to the VPN instance. The end addresses of sham links of the same OSPF process can be the same. The end addresses of sham links of different OSPF processes must be different.

Context

Perform the following steps on the PEs of the two ends of the sham link:

Procedure

  1. Access the system view.

    system-view

  2. Create a loopback interface and access the loopback interface view.

    interface loopback interface-number

    A sham link of each VPN instance must have an end interface address that is an address of the loopback interface. The address has a 32-bit mask. Multiple sham links of an OSPF process can share the same address. The end addresses of two sham links of different OSPF processes must be different.

  3. Bind the loopback interface to a VPN instance.

    ip binding vpn-instance vpn-instance-name

  4. Set an IP address for the loopback interface.

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

    The IP address of the loopback interface should have a 32-bit mask, that is, 255.255.255.255.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >