CFM Configuration over EFP Interface with Cross Connect Feature

Ethernet Connectivity Fault Management (CFM) is an end-to-end per-service-instance Ethernet layer OAM protocol that includes proactive connectivity monitoring, fault verification, and fault isolation. Currently, Ethernet CFM supports Up facing and Down facing Maintenance Endpoints (MEPs).

For information on Ethernet Connectivity Fault Management, see http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srethcfm.html.

The CFM over EFP Interface with xconnect feature allows you to:

  • Forward continuity check messages (CCM) towards the core over cross connect pseudowires.

  • Receive CFM messages from the core.

  • Forward CFM messages to the access side (after Continuity Check Database [CCDB] based on maintenance point [MP] filtering rules).

Restrictions for CFM Configuration over EFP Interface with Cross Connect Feature

RSP2 Module

  • Configuration of CCM sampling rate for the offloaded sessions using offload sampling command is not supported.

  • Parsing multiple organizational-specific Type Length Value (TLV) is not supported.

  • Priority-tagged encapsulation type is not supported.

  • Error-objects are seen on active and standby RSP after reboot when CFM is globally disabled and MIP filter is enabled.

  • CFM Traceroute with (forwarding database) FDB only option is not supported on Up MEP.

  • CFM CC/Ping/Traceroute for Down MEP, CFM Ping/Traceroute for Up MEP use the bypass EAID, so these packets cannot be mirrored in the egress direction. Only Up MEP CFM CC can be mirrored.

  • CFM Traceroute to expired RMEPs are flooded only to port where it was last learned. CFM Traceroute for new RMEPs are not initiated on their own. However ping to both expired and new RMEPs are flooded to all EFPs in the BD.

RSP3 Module

  • L2VPN VC statistics are not supported on the RSP3 module.

Configuring CFM over EFP with Cross Connect

The sections below describe how to configure CFM on EFP interfaces.

Configuring CFM over EFP Interface with Cross Connect—Basic Configuration

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. pseudowire-class [pw-class-name]
  4. encapsulation mpls
  5. exit
  6. interface interface-id
  7. service instance number ethernet [name]
  8. encapsulation dot1q { any | vlan-id [vlan-id [-vlan-id]]} second-dot1q {any | vlan-id [vlan-id [-vlan-id]]}
  9. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] |mpls [manual]} |pw-class pw-class-name} [sequencing {transmit | receive | both}]
  10. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]
  11. end

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

pseudowire-class [pw-class-name]

Example:


Router(config)# pseudowire-class vlan-xconnect

Specifies the name of a Layer 2 pseudowire class and enter pseudowire class configuration mode.

Step 4

encapsulation mpls

Example:


Router(config-if)# encapsulation mpls

Specifies that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method for tunneling Layer 2 traffic over the pseudowire.

Step 5

exit

Example:


Router(config-if)# exit

Exits the pseudowire class configuration mode.

Step 6

interface interface-id

Example:

Router(config)# interface gigabitethernet0/0/1

Enter interface configuration mode. Valid interfaces are physical ports.

Step 7

service instance number ethernet [name]

Example:

Router(config-if)# service instance 1 Ethernet

Configure an EFP (service instance) and enter service instance configuration) mode.

  • The number is the EFP identifier, an integer from 1 to 4000.

  • (Optional) ethernet name is the name of a previously configured EVC. You do not need to use an EVC name in a service instance.

Step 8

encapsulation dot1q { any | vlan-id [vlan-id [-vlan-id]]} second-dot1q {any | vlan-id [vlan-id [-vlan-id]]}

Example:


Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 9

xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] |mpls [manual]} |pw-class pw-class-name} [sequencing {transmit | receive | both}]

Example:

Router(config-if-srv)# xconnect 10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 10

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:


Router(config-if-srv)# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Step 11

end

Example:

Router(config-if-srv)# end

Return to privileged EXEC mode.

Example for Configuring CFM over EFP Interface with Cross Connect—Basic Configuration


PE3# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE3(config)# ethernet cfm domain L6 level 6
PE3(config-ecfm)# service s256 evc 256
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)# end

PE3(config)# interface ten 2/0/0
PE3(config-if)# no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)# end
PE3#
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)# interface ten 2/0/0
PE3(config-if)# no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)# end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Single Tag VLAN Cross Connect

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface gigabitethernet slot/subslot/port
  4. service instance id Ethernet [service-name]
  5. encapsulation dot1q {any | vlan-id [vlan-id[-vlan-id]]}
  6. 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 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]
  7. 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}]
  8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

interface gigabitethernet slot/subslot/port

Example:


Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4

service instance id Ethernet [service-name]

Example:


Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5

encapsulation dot1q {any | vlan-id [vlan-id[-vlan-id]]}

Example:


Router(config-if-srv)# encapsulation dot1q 100 

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6

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 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 dot1q single symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7

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}]

Example:


Router(config)# xconnect 10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 8

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

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 Cross Connect—Single Tag VLAN Cross Connect


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 ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Double Tag VLAN Cross Connect

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface gigabitethernet slot/subslot/port
  4. service instance id Ethernet [service-name]
  5. encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} second-dot1q {any | vlan-id[vlan-id[-vlan-id]]}
  6. 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 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]
  7. 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}]
  8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

interface gigabitethernet slot/subslot/port

Example:


Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port —Specifies the location of the interface.

Step 4

service instance id Ethernet [service-name]

Example:


Router(config-if)# service instance 100 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} second-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:


Router(config-if-srv)# encapsulation dot1q 100 second-dot1q 200

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6

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 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 dot1q double symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7

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}]

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.

Step 8

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:


Router# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Example for Configuring CFM over EFP Interface with Cross Connect—Double Tag VLAN Cross Connect


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 ten 2/0/0
PE3(config-if)# no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256 second-dot1q 257
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Selective QinQ Cross Connect

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface gigabitethernet slot/subslot/port
  4. service instance id Ethernet [service-name] service instance id Ethernet [service-name]
  5. encapsulation dot1q {any|vlan-id [vlan-id [-vlan-id]]} second-dot1q {any |vlan-id [vlan-id [-vlan-id]]}
  6. 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}]
  7. cfm mep domain domain-name [up|down] mpid mpid-value [cos cos-value]

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

interface gigabitethernet slot/subslot/port

Example:


Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4

service instance id Ethernet [service-name] service instance id Ethernet [service-name]

Example:


Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5

encapsulation dot1q {any|vlan-id [vlan-id [-vlan-id]]} second-dot1q {any |vlan-id [vlan-id [-vlan-id]]}

Example:


Router(config-if-srv)# encapsulation default

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6

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}]

Example:


Router(config)# xconnect 10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 7

cfm mep domain domain-name [up|down] mpid mpid-value [cos cos-value]

Example:


Router# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Example for Configuring CFM over EFP Interface with Cross Connect—Selective QinQ Cross Connect


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 ten 2/0/0
PE3(config-if)# no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256 second-dot1q 257 cos 7
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Port-Based Cross Connect Tunnel

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface gigabitethernet slot/subslot/port
  4. service instance id Ethernet [service-name]
  5. encapsulation dot1q {any | vlan-id [vlan-id[-vlan-id]]} second-dot1q {any |vlan-id[vlan-id[-vlan-id]]}
  6. 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}]
  7. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

interface gigabitethernet slot/subslot/port

Example:


Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4

service instance id Ethernet [service-name]

Example:


Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5

encapsulation dot1q {any | vlan-id [vlan-id[-vlan-id]]} second-dot1q {any |vlan-id[vlan-id[-vlan-id]]}

Example:


Router(config-if-srv)# encapsulation dot1q 10-20, 30, 50-60

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6

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}]

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.

Step 7

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

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 Cross Connect—Port-Based Cross Connect 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 ten 2/0/0
PE3(config-if)# no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)# end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Port Channel-Based Cross Connect Tunnel

Enables privileged EXEC mode.

  • Enter your password if prompted.

  1. configure terminal

    
    Router# configure terminal
    

Enters global configuration mode.

  1. interface gigabitethernet slot/subslot/port

    
    Router(config)# interface Port-channel 1
    

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

  1. service instance id Ethernet [service-name]

    
    Router(config-if)# service instance 101 ethernet
    

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

  1. encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} second-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

    
    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.

  1. 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 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]

    
    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.

  1. 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}]

    
    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.

  1. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

    
    Router# cfm mep up mpid 100 domain Core
    

Configures a maintenance endpoint (MEP) for a domain.

SUMMARY STEPS

  1. enable

DETAILED STEPS

Command or Action Purpose

enable

Example:


Router# enable

Example for Configuring CFM over EFP Interface with Cross Connect—Port Channel-Based Cross Connect 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
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)# end

Configuring CFM over EFP Interface with xconnect—Port Channel-Based xconnect Tunnel

Use the following commands at the customer facing port:

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface gigabitethernet slot/subslot/port
  4. service instance id Ethernet [service-name]
  5. encapsulation untagged dot1q {any | vlan-id [vlan-id [vlan-id]]} second-dot1q {any | vlan-id [vlan-id [vlan-id]]}
  6. 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 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]
  7. 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}]
  8. cfm mep domain domain-name [up|down] mpid mpid-value [cos cos-value]

DETAILED STEPS

  Command or Action Purpose
Step 1

enable

Example:


Router# enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

Example:


Router# configure terminal

Enters global configuration mode.

Step 3

interface gigabitethernet slot/subslot/port

Example:


Router(config)# interface Port-channel 1

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4

service instance id Ethernet [service-name]

Example:


Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5

encapsulation untagged dot1q {any | vlan-id [vlan-id [vlan-id]]} second-dot1q {any | vlan-id [vlan-id [vlan-id]]}

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.

Step 6

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 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.

Step 7

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}]

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.

Step 8

cfm mep domain domain-name [up|down] mpid mpid-value [cos cos-value]

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
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)# encapsulation dot1q 256
PE3(config-if-srv)# xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)# cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)# end

Verifiying CFM over EFP

  • Use the show ethernet cfm ma remote commands to verify the CFM over EVC configuration. This command shows the basic configuration information for CFM.

    
    Router-30-PE1# show ethernet cfm ma local
    
    Local MEPs:
    --------------------------------------------------------------------------------
    MPID Domain Name                                 Lvl   MacAddress     Type  CC
         Domain Id                                   Dir   Port           Id
         MA Name                                           SrvcInst
         EVC name
    --------------------------------------------------------------------------------
    1    L6                                          6     000a.f393.56d0 XCON  Y
         L6                                          Down    Te2/0/0        N/A
         bbb                                               1
         bbb
    3    L5                                          5     0007.8478.4410 XCON  Y
         L5                                          Up    Te2/0/0        N/A
         bbb                                               1
         bbb
    
    Total Local MEPs: 2
    
    Local MIPs:
    * = MIP Manually Configured
    --------------------------------------------------------------------------------
     Level Port           MacAddress     SrvcInst   Type    Id
    --------------------------------------------------------------------------------
     7     Te2/0/0        0007.8478.4410 1          XCON    N/A
    
    Total Local MIPs: 1
    
  • Use the show ethernet cfm ma remote to verify the MEP configuration:

    
    Router-30-PE1# show ethernet cfm ma remote
    
    --------------------------------------------------------------------------------
    MPID  Domain Name                                 MacAddress          IfSt  PtSt
     Lvl  Domain ID                                   Ingress
     RDI  MA Name                                     Type Id             SrvcInst
          EVC Name                                                        Age
    --------------------------------------------------------------------------------
    4     L5                                          000a.f393.56d0      Up    Up
     5    L5                                          Te2/0/0:(2.2.2.2, 1)
     -    bbb                                         XCON N/A            1
          bbb                                                             9s
    2     L6                                          000a.f393.56d0      Up    Up
     6    L6                                          Te2/0/0:(2.2.2.2, 1)
     -    bbb                                         XCON N/A            1
          bbb                                                             1s
    
    Total Remote MEPs: 2
    
  • Use the show ethernet cfm mpdb command to verify the catalouge of CC with MIP in intermediate routers.

    
    PE2# show ethernet cfm mpdb
    
    * = Can Ping/Traceroute to MEP
    --------------------------------------------------------------------------------
    MPID  Domain Name                                 MacAddress          Version
    Lvl   Domain ID                                   Ingress
    Expd  MA Name                                     Type Id             SrvcInst
          EVC Name                                                        Age
    --------------------------------------------------------------------------------
    600 * L6                                          0021.d8ca.d7d0      IEEE-CFM
    6     L6                                          Te2/1:(2.2.2.2, 1)
    -     s1                                          XCON N/A            1
          1                                                               2s
    700   L7                                          001f.cab7.fd01      IEEE-CFM
    7     L7                                          Te2/1:(2.2.2.2, 1)
    -     s1                                          XCON N/A            1
          1                                                               3s
    
    Total Remote MEPs: 2
    
  • Use the show mpls l2 transport vc 1 detail commaned to show detailed configuration information:

    
    PE1# show mpls l2 vc 1 detail
    
    Local interface: Te8/0/1 up, line protocol up, Eth VLAN 200 up
      Interworking type is Ethernet
      Destination address: 3.3.3.3, VC ID: 1, VC status: up
        Output interface: Te8/0/0, imposed label stack {21}
        Preferred path: not configured
        Default path: active
        Next hop: 20.1.1.2
      Create time: 21:13:27, last status change time: 02:55:33
      Signaling protocol: LDP, peer 3.3.3.3:0 up
        Targeted Hello: 2.2.2.2(LDP Id) -> 3.3.3.3, LDP is UP
        Status TLV support (local/remote)   : enabled/supported
          LDP route watch                   : enabled
          Label/status state machine        : established, LruRru
          Last local dataplane   status rcvd: No fault
          Last local SSS circuit status rcvd: No fault
          Last local SSS circuit status sent: No fault
          Last local  LDP TLV    status sent: No fault
          Last remote LDP TLV    status rcvd: No fault
          Last remote LDP ADJ    status rcvd: No fault
        MPLS VC labels: local 21, remote 21
        Group ID: local 0, remote 0
        MTU: local 1500, remote 1500
        Remote interface description:
      Sequencing: receive disabled, send disabled
      Control Word: On (configured: autosense)
      VC statistics:
        transit packet totals: receive 37, send 1067452272
        transit byte totals:   receive 4181, send 72586757556
        transit packet drops:  receive 0, seq error 0, send 0
    
  • Use show mpls forwarding-table command to verify the cross connect VC:

    
    PE1# show mpls forwarding-table 
    
    Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
    Label      Label      or Tunnel Id     Switched      interface
    17         Pop Label  3.3.3.3/32       23038746624   Te8/0/0    20.1.1.2
    21         No Label   l2ckt(1)         4181          Te8/0/1    point2point
    
  • Use show ethernet cfm error command to view the error report:

    
    PE2# show ethernet cfm error
    
    --------------------------------------------------------------------------------
    MPID Domain Id                                   Mac Address     Type   Id  Lvl
         MAName                                      Reason                 Age
    --------------------------------------------------------------------------------
      -  L3                                          001d.45fe.ca81  BD-V   200  3
         s2                                          Receive AIS            8s
    PE2#
    

Troubleshooting CFM Features

Provides troubleshooting solutions for the CFM features.

Table 1. Troubleshooting Scenarios for CFM Features

Problem

Solution

When you configure CFM, the message “Match registers are not available” is displayed.

Use the show platform mrm info command on the SP console to verify the match registers. Based on the derived output, perform these tasks:

  1. Check if the line card supports the CFM feature.

  2. Enable CFM across the system to allow co-existence with other protocols.

  3. Ensure that no CFM traffic is present in any supervisor or ports.

  4. Configure STP mode to Multiple Spanning Tree (MST) and re-enable CFM or disable CFM completely.

For more information on match registers, see Ethernet Connectivity Fault Management at http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srethcfm.html.

CFM uses two match registers to identify the control packet type and each VLAN spanning tree also uses a match register to identify its control packet type. For both protocols to work on the same system, each line card should support three match registers, and at least one supporting only a 44 bit MAC match.

CFM configuration errors

CFM configuration error occurs when when a MEP receives a continuity check with an overlapping MPID. To verify the source of the error, use the command show ethernet cfm errors configuration or show ethernet cfm errors .

CFM ping and traceroute result is "not found"

Complete these steps:

  1. Use show run | i ethernet cfm to view all CFM global configurations.

  2. Use show ethernet cfm statistics to view local MEPs and their CCM statistics

  3. Use show ethernet cfm peer meps command to View CFM CCM received from Peer MEPs.

  4. Use trace ethernet cfm command to start a CFM trace.

CFM connectivity is down and issues at the maintenance domain levels

Use the ping ethernet {mac-address | mpid id | multicast} domain domain-name { vlan vlan-id | port | evc evc-name} or the traceroute ethernet {mac-address | mpid id } domain domain-name { vlan vlan-id | port | evc evc-name} commands to verify ethernet CFM connectivity. Share the output with TAC for further investigation.

Note 

CFM multicast ping with packet size greater than 1460 is not supported.

Loop trap error

Use the show ethernet cfm error command to check for Loop Trap errors as shown here:


CE(config-if)#do sh ethernet cfm err
-------------------------------------------------------------------------------
Level Vlan MPID Remote MAC     Reason               Service ID
-------------------------------------------------------------------------------
5     711  550  1001.1001.1001 Loop Trap Error      OUT
PE#sh ethernet cfm err
-------------------------------------------------------------------------------
Level Vlan MPID Remote MAC     Reason               Service ID
-------------------------------------------------------------------------------
5     711  550  1001.1001.1001 Loop Trap Error      OUT

Module has insufficient match registers

Complete these steps:

  1. Verify and confirm if a unsupported line card is inserted into the router.

  2. If yes, perform an OIR of the unsupported line card.

CFM is deactivated

Complete these steps:

  1. Check if all the line cards have free match reagisters.

  2. Check if CFM is activated on supervisor cards. CFM is not supported on supervisor cards that has two match registers. In this scenario, CFM is automatically disabled on the SUP ports and enabled on the remaining line cards.

ethernet cfm logging

In a scale scenario, you configure either the console logging rate-limiting using logging rate-limit or using logging buffered instead of using logging console . The suggested rate-limit is around 30 messages per second.