Cisco Systems A9014CFD manual Managing and Displaying Ethernet CFM Information

Models: A9014CFD

1 884
Download 884 pages 9.83 Kb
Page 200
Image 200

Chapter 10 Configuring Ethernet OAM

 

Command

Purpose

Step 18

 

 

ethernet cfm lck start interface interface-id

(Optional) Apply the LCK condition to an interface.

 

direction {up down} [drop l2-bpdu]

interface interface-id—Specify the interface to be put

 

 

 

 

in LCK condition.

 

 

direction inward—The LCK is in the direction toward

 

 

the relay; that is, within the switch.

 

 

direction outward—The LCK is in the direction of

 

 

the wire.

 

 

(Optional) drop l2-bpduspecifies that all Layer 2

 

 

BPDUs except CFM frames, all data frames, and all

 

 

Layer 3 control traffic are dropped for that MEP. If not

 

 

entered, only data frames and Layer 3 control frames

 

 

are dropped.

Step 19

 

 

show ethernet cfm smep [interface interface-id]

Verify the configuration.

Step 20

 

 

show ethernet cfm error

Display received ETH-LCK frames.

Step 21

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To remove the LCK condition from MEP, enter the ethernet cfm lck stop mpid local-mpiddomain domain-namevlan vlan-idprivileged EXEC command. To put an interface out of LCK condition, enter the ethernet cfm lck start interface interface-iddirection {inward outward} privileged EXEC command.

This is an example of the output from the show ethernet cfm smep command when ethernet LCK has been enabled:

Switch# show ethernet cfm smep SMEP Settings:

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

Interface: GigabitEthernet0/3

LCK-Status: Enabled

LCK Period: 60000 (ms)

Level to transmit LCK: Default

AIS-Status: Enabled

AIS Period: 60000 (ms)

Level to transmit AIS: Default

Defect Condition: AIS

Managing and Displaying Ethernet CFM Information

Use the following commands in the privileged EXEC mode to clear Ethernet CFM information.

Table 1

Clearing CFM Information

 

 

 

 

 

 

 

 

Command

 

Purpose

 

 

 

 

 

 

clear ethernet cfm ais domain domain-name

Clear MEPs with matching domain and VLAN ID out of AIS defect

 

 

mpid id {vlan vlan-id port}

condition.

 

 

 

 

 

 

clear ethernet cfm ais link-status interface

Clear a SMEP out of AIS defect condition.

 

 

interface-id

 

 

 

 

 

 

 

 

clear ethernet cfm error

Clear all CFM error conditions, including AIS.

 

 

 

 

 

 

 

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

 

10-30

 

 

 

OL-23826-09

 

 

 

 

 

 

Page 200
Image 200
Cisco Systems A9014CFD manual Managing and Displaying Ethernet CFM Information