Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide
54
ethernet cfm md <
md-index
> format
<dns|mac|string> name <
md-name
>
level <0-7>
Creates an MD (Maintenance Domain) with the specified
name and level number.
md-name
: Enters a domain name, MAC address or a
descriptive name for the MD.
C
13
ethernet cfm management-address-
domain ip [<
ip-addr
>]
Sets the Switch to carry the host name and management
IP address for the VLAN to which an MEP belongs or the
specified IP address in CFM packets.
This helps you to easily identify a remote MEP by its host
name and management IP address showed in the link
trace database and MEP-CCM database.
C
13
interface port-channel <port-list>
Enters config-interface mode for configuring the specified
port(s).
C
13
ethernet cfm virtual-mac <
mac-
addr
>
Assigns a virtual MAC address(es) to the specified
port(s) so that each specified port can have its own MAC
address for CFM.
You cannot use the
copy running-config
interface port-channel
command to copy the
virtual MAC address from the specified port to other
ports.
C
13
no ethernet cfm virtual-mac
Removes the virtual MAC address(es) and sets the
port(s) to use the default system MAC address.
C
13
no ethernet cfm
Disables CFM on the Switch.
C
13
no ethernet cfm md <
md-index
>
Deletes the specified MD.
C
13
no ethernet cfm ma <
ma-index
> md
<md-index>
Deletes an MA from the specified MD.
C
13
no ethernet cfm management-address-
domain
Sets the Switch to not carry the host name and
management IP address in CFM packets.
C
13
show ethernet cfm linktrace
Displays the CFM link trace database information.
E
13
show ethernet cfm local
Displays the detailed settings of the configured MD(s)
and MA(s).
E
13
show ethernet cfm local stack
Displays a list of all maintenance points, such as MIP
and MEP.
E
13
show ethernet cfm local stack mep
Displays a list of the MEP(s).
E
13
show ethernet cfm local stack mep
<
mep-id
> ma <
ma-index
> md <
md-
index
>
Displays the specified MEP’s general, fault notification
generator, continuity-check, loopback and link trace
information.
E
13
show ethernet cfm local stack mep
<
mep-id
> ma <
ma-index
> md <
md-
index
> mep-ccmdb [remote-mep <
mep-
id
>]
Displays the specified MEP’s MEP-CCM database
information. Each MEP maintains an MEP CCM
database which stores information about remote MEPs in
the MA when receiving CCMs.
E
13
show ethernet cfm local stack mip
Displays a list of the MIP(s).
E
13
show ethernet cfm local stack mip
mip-ccmdb
Displays the MIP-CCM database.
E
13
show ethernet cfm remote
Displays a list of MA(s), MEP(s) and the remote MEP(s)
under the configured MD(s).
E
13
show ethernet cfm virtual-mac
Displays all virtual MAC addresses.
E
13
show ethernet cfm virtual-mac port
<port-list>
Displays the MAC address(es) of the specified port(s).
E
13
Table 29
CFM Command Summary (continued)
COMMAND
DESCRIPTION
M
P