Purpose
Command or Action
Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv
submode.
encapsulation untagged dot1q {any | vlan-id [vlan-id [vlan-id]]} second-dot1q {any | vlan-id [vlan-id
[vlan-id
]]
}
Step 5
Example:
Router(config-if-srv)# encapsulation dot1q 20 second-dot1q 30
Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged
frames on an interface for the appropriate service instance.
rewrite ingress tag
{
push
{
dot1q vlan-id
|
dot1q vlan-id second-dot1q vlan-id
|
dot1ad vlan-id dot1q
vlan-id
} |
pop
{
1
|
2
} |
translate
{
1-to-1
{
dot1q vlan-id
|
dot1ad vlan-id
}|
2-to-1 dot1q vlan-id
|
dot1ad
Step 6
vlan-id
}|
1-to-2
{
dot1q vlan-id second-dot1q vlan-id
|
dot1ad vlan-id dot1q vlan-id
} |
2-to-2
{
dot1q
vlan-id second-dot1q vlan-id
| dot1ad
vlan-id dot1q vlan-id
}}[
symmetric
]
Example:
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric
Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.
xconnect peer-ip-address
vc-id {
encapsulation
{
l2tpv3
[
manual
] |
mpls
[manual]} |
pw-class
pw-class-name
}[
pw-class pw-class-name
] [
sequencing
{
transmit
|
receive
|
both
}]
Step 7
Example:
Router(config)# xconnect 1.1.1.1 100 pw-class vlan-xconnect
Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static
pseudowire.
cfm mep domain domain-name
[
up
|
down
]
mpid mpid-value
[
cos cos-value
]
Step 8
Example:
Router# cfm mep up mpid 100 domain Core
Configures a maintenance endpoint (MEP) for a domain.
Example for Configuring CFM over EFP Interface with xconnect
—
Port Channel-Based xconnect
Tunnel
PE3(config)# ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)# continuity-check
PE3(config-ecfm-srv)# end
PE3#
PE3(config)# int port-20
PE3(config-if)# no ip address
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
226
CFM Configuration over EFP Interface with Cross Connect Feature
Configuring CFM over EFP Interface with xconnect
—
Port Channel-Based xconnect Tunnel