Step 1
|
enable
|
Enables
privileged EXEC mode.
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3
|
class-map
class-name
Device(config)# class-map class1
|
Specifies
the user-defined name of the traffic class and enters class map configuration
mode.
|
Step 4
|
match
fr-dlci
dlci-number
Device(config-cmap)# match fr-dlci 50
|
Specifies
the number of the Data-Link Connection Identifier (DLCI) associated with the
packet as a match criterion in the class map.
|
Step 5
|
policy-map
dlci
dlci-number
Device(config-cmap)# policy-map dlci 50
|
Specifies
the type of policy map as DLCI and enters policy map configuration mode.
|
Step 6
|
class
class-name
Device(config-pmap)# class class1
|
Specifies
the name of a predefined traffic class, which was configured with the
class-map
command, used to classify traffic to the traffic policy and enters policy-map
class configuration mode.
|
Step 7
|
set ip precedence
tunnel
precedence-value
Device(config-pmap-c)# set ip precedence tunnel 2
|
Sets the
precedence value in the header of the L2TPv3 tunneled packet for tunnel
marking.
|
Step 8
|
interface
serial
slot / subslot / port
[.
subinterface ]
Device(config-pmap-c)# interface serial3/1/0
|
Specifies a
serial interface and enters interface configuration mode.
|
Step 9
|
no
ip
address [ip-address
mask ] [secondary ]
Device(config-if)# no ip address
|
|
Step 10
|
encapsulation
frame-relay
[cisco |
ietf ]
Device(config-if)# encapsulation frame-relay ietf
|
Specifies
Frame Relay encapsulation for the interface.
- You can specify different
types of encapsulations.
- You can set one interface
to Cisco encapsulation and the other interface to IETF encapsulation.
|
Step 11
|
no
keepalive
Device(config-if)# no keepalive
|
Disables the
keepalive configuration.
|
Step 12
|
service-policy
input
policy-name
Device(config-if)# service-policy input policy1
|
Attaches a
traffic policy to the interface.
|
Step 13
|
end
|
Exits
connect configuration mode and returns to privileged EXEC mode.
|
Step 14
|
pseudowire-class
[pw-class-name ]
Device(config)# pseudowire-class l2tpv3
|
Specifies
the name of a Layer 2 pseudowire class and enters pseudowire class
configuration mode.
|
Step 15
|
encapsulation l2tpv3
Device(config-pw)# encapsulation l2tpv3
|
Specifies
the tunneling encapsulation as L2TPv3.
|
Step 16
|
ip local
interface
loopback
loopback id
Device(config-pw)# ip local interface Loopback0
|
Specifies
the local loopback interface.
|
Step 17
|
connect
connection-name
interface
dlci
l2transport
Device(config-pw)# connect fr1 serial5/0 1000 l2transport
|
Defines
connections between Frame Relay Permanent Virtual Circuits (PVCs) and enters
connect configuration mode.
- Using the
l2transport
keyword specifies that the PVC is not a locally switched PVC, but is tunneled
over the backbone network.
- The
connection-name argument is a text string that you
provide.
- The
interface
argument is the interface on which a PVC connection is defined.
- The
dlci
argument is the DLCI number of the PVC that is connected.
|
Step 18
|
xconnect
peer-router-id
vcid
encapsulation
l2tpv3
pw-class
l2tpv3
Device(config-xconnect-conn-config)# xconnect 198.51.100.2 123 encapsulation l2tpv3 pw-class l2tpv3
|
Creates the
VC to transport the Layer 2 packets.
- In a DLCI-to-DLCI
connection type, Frame Relay over L2TPv3 uses the
xconnect
command in connect configuration mode.
|
Step 19
|
end
Device(config-xconnect-conn-config)# end
|
Exits
connect configuration mode and returns to privileged EXEC mode.
|