Configuring Ethernet OAM
RP/0/RP0/CPU0:router(config-cfm-dmn-svc)# ais transmission interval 1m cos 7
RP/0/RP0/CPU0:routerconfigure
RP/0/RP0/CPU0:router(config)# ethernet cfm
RP/0/RP0/CPU0:router(config-cfm)# domain D1 level 1
RP/0/RP0/CPU0:router(config-cfm-dmn)# service Cross_Connect_1 xconnect group XG1 p2p
RP/0/RP0/CPU0:router(config-cfm-dmn-svc)# ais transmission interval 1m cos 7
Example 2
This example shows how to configure AIS logging for a Connectivity Fault Management (CFM) domain
service to indicate when AIS or LCK packets are received:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# ethernet cfm
RP/0/RP0/CPU0:router(config-cfm)# domain D1 level 1
RP/0/RP0/CPU0:router(config-cfm-dmn)# service S2 bridge group BG1 bridge-domain BD2
RP/0/RP0/CPU0:router(config-cfm-dmn-svc)# log ais
RP/0/RP0/CPU0:routerconfigure
RP/0/RP0/CPU0:router(config)# ethernet cfm
RP/0/RP0/CPU0:router(config-cfm)# domain D1 level 1
RP/0/RP0/CPU0:router(config-cfm-dmn)# service Cross_Connect_1 xconnect group XG1 p2p
RP/0/RP0/CPU0:router(config-cfm-dmn-svc)# log ais
This example shows how to configure AIS transmission on a CFM interface.
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface TenGigE 0/1/0/2
RP/0/RP0/CPU0:router(config-if)# ethernet cfm
RP/0/RP0/CPU0:router(config-if-cfm)# ais transmission up interval 1m cos 7
AIS for CFM Show Commands: Examples
This section includes the following examples:
show ethernet cfm interfaces ais Command: Example
This example shows how to display the information published in the Interface AIS table:
RP/0/RP0/CPU0:router# show ethernet cfm interfaces ais
Defects (from at least one peer MEP):
A - AIS received
R - Remote Defect received
L - Loop (our MAC received)
C - Config (our ID received)
X - Cross-connect (wrong MAID)
P - Peer port down
Interface (State)
------------------------ ---
TenGigE0/0/0/0 (Up)
TenGigE0/0/0/0 (Up)
TenGigE0/0/0/1 (Dn)
TenGigE0/0/0/2 (Up)
AIS
Dir
Dn
Up
Up
Dn
Interface and Hardware Component Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.1.x
I - Wrong interval
V - Wrong Level
T - Timed out (archived)
M - Missing (cross-check)
U - Unexpected (cross-check)
D - Local port down
Trigger
---------
Via
---------------------------
L Defects
Levels
L Int Last started
- -------
-------
- --- ------------ --------
5 RPC
6
7 1s
0 M
2,3
5 1s
D
7 60s 01:02:44 ago
0 RX
1!
Configuration Examples for Ethernet CFM
Transmission
Packets
01:32:56 ago
5576
00:16:23 ago
983
3764
73