Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
ethernet
cfm
domain
domain-name
level
level-id
Device(config)# ethernet cfm domain Customer level 7
|
Defines a CFM maintenance domain at a particular maintenance level and enters Ethernet CFM configuration mode.
|
Step 4 |
service
short-ma-name evc
evc-name vlan
vlanid direction
down
Device(config-ecfm)# service s41 evc 41 vlan 41 direction down
|
Configures a maintenance association within a maintenance domain and enters Ethernet connectivity fault management (CFM) service
configuration mode.
Note
|
The direction down is used only for Down or Outward-facing MEPs. For Up MEPs or Inward-facing MEPs, do not specify direction down .
|
|
Step 5 |
continuity-check
Device(config-ecfm-srv)# continuity-check
|
Enables the transmission of continuity check messages (CCMs).
|
Step 6 |
continuity-check [interval
cc-interval]
Device(config-ecfm-srv)# continuity-check interval 10s
|
Configures the time period between CCMs transmission. The default interval is 10 seconds.
|
Step 7 |
exit
Device(config-ecfm-srv)# exit
|
Returns to Ethernet connectivity fault management configuration mode.
|
Step 8 |
mep
archive-hold-time
minutes
Device(config-ecfm)# mep archive-hold-time 60
|
Sets the amount of time that data from a missing MEP is kept in the continuity check database or that entries are held in
the error database before they are purged.
|
Step 9 |
exit
Device(config-ecfm)# exit
|
Returns to global configuration mode.
|
Step 10 |
ethernet
cfm
global
Device(config)# ethernet cfm global
|
Enables CFM processing globally on the device.
|
Step 11 |
etheret cfm ieee
Router(config)# ethernef cfm ieee
|
Enables CFM IEEE version of CFM.
This command is automatically issued when the ethernet cfm global command is issued.
|
Step 12 |
ethernet
cfm
traceroute
cache
Device(config)# ethernet cfm traceroute cache
|
Enables caching of CFM data learned through traceroute messages.
|
Step 13 |
ethernet
cfm
traceroute
cache
size
entries
Device(config)# ethernet cfm traceroute cache size 200
|
Sets the maximum size for the CFM traceroute cache table.
|
Step 14 |
ethernet
cfm
traceroute
cache
hold-time
minutes
Device(config)# ethernet cfm traceroute cache hold-time 60
|
Sets the amount of time that CFM traceroute cache entries are retained.
|
Step 15 |
snmp-server
enable
traps
ethernet
cfm
cc
[mep-up ] [mep-down ] [config ] [loop ] [cross-connect ]
Device(config)# snmp-server enable traps ethernet cfm cc mep-up mep-down config loop cross-connect
|
Enables SNMP trap generation for Ethernet CFM continuity check events.
|
Step 16 |
snmp-server
enable
traps
ethernet
cfm
crosscheck
[mep-unknown | mep-missing | service-up ]
Device(config)# snmp-server enable traps ethernet cfm crosscheck mep-unknown mep-missing service-up
|
Enables SNMP trap generation for Ethernet CFM continuity check events in relation to the cross-check operation between statically
configured MEPS and those learned via CCMs.
|
Step 17 |
end
|
Returns to privileged EXEC mode.
|
Step 18 |
interface
type
number
Device(config)# interface gigabitethernet0/0/1
|
Specifies an interface and enters interface configuration mode.
|
Step 19 |
service
instance
id
ethernet [evc-name]
Device(config-if)# service instance 333 ethernet evc1
|
Configures an Ethernet service instance on an interface and enters Ethernet service configuration mode.
|
Step 20 |
encapsulation
encapsulation-type
Device(config-if-srv)# encapsulation dot1q 5
|
Sets the encapsulation method used by the interface.
|
Step 21 |
bridge-domain
bridge-id
Device(config-if-srv)# bridge-domain 100
|
Binds a service instance to a bridge domain instance.
|
Step 22 |
cfm
mep
domain
domain-name
mpid
id
Device(config-if-srv)# cfm mep domain cust1 mpid 1 unicast 00f6.6321.6d95
|
Configures the MEP in unicast mode.
|
Step 23 |
end
Device(config-if-srv)# end
|
Returns to privileged EXEC mode.
|