399
Ethernet subinterface, both the default PW data encapsulation type and default access mode are
VLAN.
The PW data encapsulation type and AC access mode determine how the VLAN tag is processed by
a PE. Therefore, the PW data encapsulation types and AC access modes on the local PE and the
peer PE must match.
To configure the interface with Ethernet or VLAN encapsulation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
(Optional.) Specify the default
next hop IP address or MAC
address.
default-nexthop
{
ip
ip-address
|
mac
{
mac-address
|
broadcast
} }
Required for MPLS L2VPN
interworking.
By default, no default next hop
is specified.
Configuring the interface with PPP encapsulation
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
{
serial
|
pos
}
number
N/A
3.
Configure the link layer
protocol.
link-protocol
ppp
By default, the link layer
protocol is PPP.
4.
(Optional.) Configure IPCP
negotiation without an IP
address or specify the IPCP
proxy IP address.
•
To configure IPCP negotiation
without an IP address:
ppp ipcp ignore local-ip
•
To specify the IPCP proxy IP
address:
ppp ipcp proxy
ip-address
By default, IPCP negotiation
without an IP address is not
supported and no IPCP proxy
address is specified.
Configuring the interface with HDLC encapsulation
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
{
serial
|
pos
}
number
N/A
3.
Configure the link layer
protocol.
link-protocol
hdlc
By default, the link layer
protocol is PPP.
Configuring a cross-connect
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a cross-connect
group and enter
cross-connect group view.
xconnect-group
group-name
By default, no cross-connect
groups exist.
3.
(Optional.) Configure a
description for the
cross-connect group.
description
text
By default, no description is
configured for the cross-connect
group.