Step 1 |
configure
terminal
|
Enter global
configuration mode.
|
Step 2 |
ethernet
cfm
global
|
Globally enable
Ethernet CFM on the router.
|
Step 3 |
ethernet
cfm
traceroute
cache
[size
entries
|
hold-time
minutes ]
|
(Optional)
Configure the CFM traceroute cache. You can set a maximum cache size or hold
time.
- (Optional)
For
size , enter the
cache size in number of entry lines. The range is from 1 to 4095; the default
is 100 lines.
- (Optional)
For
hold-time ,
enter the maximum cache hold time in minutes. The range is from 1 to 65535; the
default is 100 minutes.
|
Step 4 |
ethernet
cfm
mip
auto-create
level
level-id
vlan
vlan-id
|
(Optional)
Configure the router to automatically create MIPs for VLAN IDS that are not
associated with specific maintenance associations at the specified level. The
level range is 0 to 7.
Note
|
Configure
MIP auto-creation only for VLANs that MIPs should monitor. Configuring for all
VLANs can be CPU and memory-intensive.
|
|
Step 5 |
ethernet
cfm
mip
filter
|
(Optional)
Enable MIP filtering, which means that all CFM frames at a lower level are
dropped. The default is disabled.
|
Step 6 |
ethernet
cfm
domain
domain-name
level
level-id
|
Define a CFM
domain, set the domain level, and enter ethernet-cfm configuration mode for the
domain. The maintenance level number range is 0 to 7.
|
Step 7 |
id {mac-address domain_number
|
dns
name |
null }
|
(Optional)
Assign a maintenance domain identifier.
-
mac-address
domain_number — Enter the MAC address and a domain number. The number can
be from 0 to 65535.
- dns
name
—Enter a DNS name string. The name can be a maximum of 43 characters.
- null —Assign no domain name.
|
Step 8 |
service
{ma-name
| ma-number | vpn-id vpn } {vlan
vlan-id
[direction
down ] |
port }
|
Define a
customer service maintenance association (MA) name or number or VPN ID to be
associated with the domain, a VLAN ID or port MEP, and enter
ethernet-cfm-service configuration mode.
-
ma-name —a string of no more than 100 characters that
identifies the MAID.
-
ma-number —a value from 0 to 65535.
-
vpn-id
vpn —enter a VPN ID as the
ma-name .
- vlan
vlan-id —VLAN range is from 1 to 4094. You cannot use the
same VLAN ID for more than one domain at the same level.
- (Optional)
direction
down —specify the service direction as down.
- port —Configure port MEP, a down MEP that is
untagged and not associated with a VLAN.
|
Step 9 |
continuity-check
|
Enable
sending and receiving of continuity check messages.
|
Step 10 |
continuity-check
interval
value
|
(Optional)
Set the interval at which continuity check messages are sent. The available
values are 100 ms, 1 second, 10 seconds, 1 minute and 10 minutes. The default
is 10 seconds.
Note
|
Because
faster CCM rates are more CPU-intensive, we do not recommend configuring a
large number of MEPs running at 100 ms intervals.
|
|
Step 11 |
continuity-check
loss-threshold
threshold-value
|
(Optional)
Set the number of continuity check messages to be missed before declaring that
an MEP is down. The range is 2 to 255; the default is 3.
|
Step 12 |
maximum
meps
value
|
(Optional)
Configure the maximum number of MEPs allowed across the network. The range is
from 1 to 65535. The default is 100.
|
Step 13 |
sender-id
chassis
none
|
(Optional)
Include the sender ID TLVs, attributes containing type, length, and values for
neighbor devices.
- chassis —Send the chassis ID (host name).
- none —Do not include information in the sender ID.
|
Step 14 |
mip
auto-create [lower-mep-only |
none ]
|
(Optional)
Configure auto creation of MIPs for the service.
-
lower-mep-only
—Create a MIP only if there is a MEP for the service in
another domain at the next lower active level.
- none
—No MIP auto-create.
|
Step 15 |
exit
|
Return to
ethernet-cfm configuration mode.
|
Step 16 |
mip
auto-create
[lower-mep-only]
|
(Optional)
Configure auto creation of MIPs for the domain.
- lower-mep-only —Create a MIP only if
there is a MEP for the service in another domain at the next lower active
level.
|
Step 17 |
mep
archive-hold-time
minutes
|
(Optional)
Set the number of minutes that data from a missing maintenance end point is
kept before it is purged. The range is 1 to 65535; the default is 100 minutes.
|
Step 18 |
exit
|
Return to
global configuration mode.
|
Step 19 |
interface
interface-id
|
Specify an
interface to configure, and enter interface configuration mode.
|
Step 20 |
service
instance
number
ethernet
name
|
Specify the
service instance number and the name of the EVC.
|
Step 21 |
cfm
mip
level
level-id
|
(Optional)
Configure a customer level or service-provider level maintenance intermediate
point (MIP) for the interface. The MIP level range is 0 to 7.
Note
|
This step
is not required if you have entered the
ethernet
cfm
mip
auto-create
global configuration command or the
mip
auto-create ethernet-cfm or ethernet-cfm-srv
configuration mode.
|
|
Step 22 |
cfm
mep
domain
domain-name
mpid
identifier
|
Configure
maintenance end points for the domain, and enter Ethernet cfm mep mode.
- 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 23 |
cos
value
|
(Optional)
Specify the class of service (CoS) value to be sent with the messages. The
range is 0 to 7.
|
Step 24 |
end
|
Return to
privileged EXEC mode.
|
Step 25 |
show
ethernet
cfm
maintenance-points
{local
|
remote }
|
Verify the
configuration.
|
Step 26 |
show
ethernet
cfm
errors
[configuration]
|
(Optional)
Display the configuration error list.
|
Step 27 |
copy
running-config
startup-config
|
(Optional)
Save your entries in the configuration file.
|