Configuring User Access to the Public Network or L3VPN
Context
The configuration of the L3VE interface for connecting
users to the public network or MPLS L3VPN varies with the networking
environment. Perform the following steps based on actual needs.
Procedure
Configuring a user to access the public network
Run system-view
The system view is displayed.
Run interface virtual-ethernetve-number.subnumber
The L3VE sub-interface view is displayed.
Run dot1q termination vidvlan-id
Or run qinq terminationpe-vidpe-vidce-vidce-vid
A VLAN ID is configured for the L3VE sub-interface.
Run ip addressip-address { mask | mask-length }
An IP address is configured for the L3VE sub-interface.
Configuring a user to access the MPLS L3VPN network
Run system-view
The system view is displayed.
Run interface virtual-ethernetve-number.subnumber
The L3VE sub-interface view is displayed.
Run dot1q termination vidvlan-id
Or run qinq terminationpe-vidpe-vidce-vidce-vid
A VLAN ID is configured for the L3VE sub-interface.
Run ip binding vpn-instancevpn-instance-name
The L3VE sub-interface is associated with a VPN instance.
Run ip addressip-address { mask | mask-length }
An IP address is configured for the L3VE sub-interface. The
IP address is a private network address of the MPLS L3VPN.