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