The configuration of an L3VE interface that accesses the public network or MPLS L3VPN varies with the networking environments.
Procedure
- Configuring a user to access the public network
- Run system-view
The system view is displayed.
- Run interface virtual-ethernet interface-number interface-number
The L3VE sub-interface view is displayed.
- Run vlan-type dot1q vlan-id
The VLAN ID of the L3VE sub-interface is configured.
- Run ip address ip-address { mask | mask-length }
An IP address is configured for the L3VE interface.
The IP address is a public network IP address.
- Configure a routing protocol on the NPEs to exchange routes with the CE device on the MPLS L2VPN network.
For more information, refer to the NetEngine 8000 F Configuration Guide - IP Routing.
- (Optional) Run mpls l2vpn l3ve delay-up time
A delay is configured for the L3VE interface to go Up after a faulty L2VPN service recovers.
- Run commit
The configuration is committed.
- Configuring a user to access the MPLS L3VPN network
- Run system-view
The system view is displayed.
- Run interface virtual-ethernet interface-number interface-number
The L3VE interface view is displayed.
- Run vlan-type dot1q vlan-id
The VLAN ID of the L3VE sub-interface is configured.
- Run ip binding vpn-instance vpn-instance-name
The L3VE interface is associated with a VPN instance.
- Run ip address ip-address { mask | mask-length }
An IP address is configured for the L3VE interface.
The IP address is a private network address of MPLS L3VPN.
- (Optional) Run mpls l2vpn l3ve delay-up time
A delay is configured for the L3VE interface to go Up after a faulty L2VPN service recovers.
- Run commit
The configuration is committed.