[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring HDLC Layer 2 Services
The following commands configure an HDLC layer
2 circuit over MPLS between an E-series router and a remote PE device.
To configure an HDLC layer 2 circuit over MPLS:
- Configure a serial or POS interface on the ingress router.
- host1(config)#interface serial 3/1:2/1
or
- host1(config)#interface pos 4/0
- Use one of the following methods to create the HDLC layer
2 circuit over MPLS:
- Use the mpls-relay or route interface command without the relay-format ppp keywords. This command causes the router to signal VC-type HDLC on
the LDP session and use HDLC encapsulation. Use this command syntax
if the traffic carried on the serial or POS interface is any kind
of standard HDLC (including PPP) or Cisco HDLC.
- host1(config-if)#mpls-relay 2.2.2.1 1
or
- host1(config-if)#route interface tunnel mpls:tunnel-to-pe2
1
- Use the mpls-relay or route interface command with the relay-format ppp keywords.
This command causes the router to signal VC-type PPP on the LDP session
and use PPP encapsulation instead of the default VC-type HDLC signaling
and HDLC encapsulation. Use this command syntax if the traffic carried
on the serial or POS interface contains actual PPP packets.
- host1(config-if)#mpls-relay 2.2.2.1 1 relay-format
ppp
or
- host1(config-if)#route interface tunnel mpls:tunnel-to-pe2
1 relay-format ppp
- (Optional) Attach an MPLS policy to the HDLC layer 2 circuit
by using the mpls policy command.
- host1(config-if)#mpls policy input hdlc-policy
- Configure the serial or POS interface and MPLS on the
remote PE device.
The interfaces at either end of the HDLC layer
2 circuit can be different types and have different speeds. For example,
you can configure an HDLC layer 2 circuit between a serial interface
on a T1 circuit and a POS interface on an OC3 circuit.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]