Chapter 10 Configuring Ethernet OAM

 

Command

Purpose

 

 

 

Step 12 ethernet cfm mep domain domain-namempid

Configure the interface as a port MEP for the domain.

 

identifier port

domain domain-name—Specify the name of the

 

 

 

 

created domain.

 

 

mpid identifier—Enter a maintenance end point

 

 

identifier. The identifier must be unique for each

 

 

VLAN (service instance). The range is 1 to 8191.

Step 13

 

 

end

Return to privileged EXEC mode.

Step 14

 

 

show ethernet cfm maintenance-points remote

Verify the configuration.

 

static

 

Step 15

 

 

show ethernet cfm errors [configuration]

Enter this command after you enable CFM crosscheck to

 

 

display the results of the crosscheck operation. Enter the

 

 

configuration keyword to display the configuration error

 

 

list.

Step 16

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

Note Use the no form of each command to remove a configuration or to return to the default settings.

This is a sample configuration for a port MEP:

Router(config)# ethernet cfm domain abc level 3

Router(config-ecfm)# service PORTMEP port

Router(config-ecfm-srv)# mep mpid 222

Router(config-ecfm-srv)# continuity-check

Router(config-ecfm-srv)#continuity-check static rmep

Router(config-ecfm-srv)# exit

Router(config-ecfm)# exit

Router(config)# interface gigabitethernet 0/1

Router(config-if)#ethernet cfm mep domain abc mpid 111 port

Router(config-if)# end

Configuring SNMP Traps

To configure traps for Ethernet CFM, complete the following steps:

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

snmp-server enable traps ethernet cfm cc [mep-up]

(Optional) Enable Ethernet CFM continuity check traps.

 

[mep-down] [config] [loop] [cross-connect]

 

Step 3

 

 

snmp-server enable traps ethernet cfm crosscheck

(Optional) Enable Ethernet CFM crosscheck traps.

 

[mep-unknown][mep-missing][service-up]

 

Step 4

 

 

end

Return to privileged EXEC mode.

Step 5

 

 

show running-config

Verify your entries.

Step 6

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

10-15

 

 

 

 

 

Page 185
Image 185
Cisco Systems A9014CFD manual Configuring Snmp Traps, 10-15