cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1952
Views
0
Helpful
1
Replies

Ethernet OAM CFM to take interface down

novanova99
Level 1
Level 1

Hi,

I'd like to use CFM to take a link down when the remote side is not responding any more as the link is disrupted.

Platform is CRS-1 w. IOS-XR 4.1:

Here my configuration:

ethernet cfm

domain md0 level 4 id string crs_196_P2

  service ma0 down-meps

   continuity-check interval 100ms loss-threshold 3

   efd

  !

interface TenGigE0/2/0/2

description ->t1600_195_P3, xe-1/0/2

mtu 4474

service-policy output VF-QOS

ipv4 address 172.20.23.1 255.255.255.252

load-interval 30

ethernet cfm

  mep domain md0 service isis-eoam mep-id 1

  !

!

!

I get an error message that there is an MAID mismatch and the link is being taken down:

sh eth cfm lo meps

Defects (from at least one peer MEP):

A - AIS received                I - Wrong interval

R - Remote Defect received      V - Wrong level

L - Loop (our MAC received)     T - Timed out

C - Config (our ID received)    M - Missing (cross-check)

X - Cross-connect (wrong MAID)  U - Unexpected (cross-check)

P - Peer port down

Domain md0 (level 4), Service ma0

   ID Interface (State)        Dir MEPs/Err RD Defects AIS

----- ------------------------ --- -------- -- ------- ---

    1 Te0/2/0/2 (Down)         Dn     1/1   Y  X

When I do a debug ethernet cfm packets I see the following messages that do not indicate an error to me:

LC/0/2/CPU0:Jul  7 23:55:26.424 : cfmd[138]: PKT-RX: IFH TenGigE0/2/0/2 ingress: CCM packet received at level 4 for domain md0, service ma0: length 75, source MAC 28c0.da4e.9900, destination MAC 0180.c200.0034: Packet processed successfully

LC/0/2/CPU0:Jul  7 23:55:26.480 : cfmd[138]: PKT-TX: IFH TenGigE0/2/0/2 egress: CCM packet sent at level 4 for domain md0, service ma0: length 98, source MAC 0007.0e50.95c5, destination MAC 0180.c200.0034

LC/0/2/CPU0:Jul  7 23:55:26.524 : cfmd[138]: PKT-RX: IFH TenGigE0/2/0/2 ingress: CCM packet received at level 4 for domain md0, service ma0: length 75, source MAC 28c0.da4e.9900, destination MAC 0180.c200.0034: Packet processed successfully

From the documentation I see that the MAID is made up of the MDID and the SMAN, but from the debug above they do seem to match.

Any ideas on what I am missing here?

TIA

1 Reply 1

yashfaqu
Level 1
Level 1

Wrong Section, You should be asking it in IOS-XR section.