Configuring Connectivity Fault Management

The following table lists S- K- and 7100-Series device default CFM configuration settings.

Click to expand in new window

Default Connectivity Fault Management Configuration Settings

Parameter Description Default Value
CFM global state The global state of CFM as configured in global configuration mode. Disabled
CFM logging filter The ability to limit the sending of CFM Syslog messages by MD, MA, and MEP. All Syslog messages are sent
ID permission The content sent in the SenderID TLV by maintenance points. None
MD level The maintenance domain level. 0
MHF creation Sets whether the creation of MIP half functions is allowed. None
CFM activation The activation of CFM configuratin changes in an MD, MA, MA component, or MEP configuration context. Not activated
CCM interval The interval between the transmission of continuity check messages (CCM). 1 second
VLAN association The VLAN the MA and MEP are associated with. 0
MEP state machine admin state The administrative state of the MEP state machine. Inactive
Minimum alarm defect reported The minimum defect that will cause a Syslog or trap to be sent. mac-rem-err-xcom
Alarm time The minimum time a defect must be present before an alarm is generated. 2.5 seconds
CCI enabled Determines whether continuity check messages (CCM) are enabled for generation and reception by a MEP. Disabled
MEP direction The direction a MEP faces which determines whether CFM PDUs are sent towards the link or bridge relay. Down
CCM 802.1p priority The 802.1p priority setting for CCMs and linktrace messages. 1
Remote MEP active Determines the remote MEP state for the MEP being configured. Disabled
Defect reset time The time a MEP defect must be absent before an alarm is reset. 2.5 seconds

CFM Global Configuration lists CFM global configuration commands. Global configuration commands provide access to the CFM global default MD and monitored VLAN service configuration modes and the MD configuration mode (for a specific MD), the global enabling of CFM, and CFM logging filter configuration. These commands are accessed in global configuration mode.

Click to expand in new window

CFM Global Configuration

Task Command
Access the CFM system default configuration mode. cfm default-md default
Access the default configuration mode for a monitored VLAN service. cfm default-md vid vlan-id
Globally enable CFM on the device. CFM is disabled by default cfm enable
Filter the sending of CFM Syslog messages by maintenance domains (MDs), maintenance associations (MAs), and maintenance end points (MEPs). All CFM Syslog messages are sent by default. cfm logging filter md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} [ma string-name name | vid-name vid-name | id-name id-name | index index} [mep mep-id]
Enter Maintenance Domain (MD) Configuration mode for a specific named MD. If the maintenance domain does not exist, this command will create it. cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name}
Optionally, configure a VLAN table to associate one or more CFM services with a primary CFM service cfm vlan-table primary-selector primary-selector selector-list selector-list [enable | disable]

CFM Global and Monitored VLAN Service Default Configuration lists CFM system MD and monitored VLAN service default configuration commands. Enter the appropriate default MD configuration mode using commands listed in CFM Global Configuration. In CFM system default configuration mode, entered default configuration is applied globally. In monitored VLAN service default configuration mode, entered default configuration is applied to the specified VLAN.

Click to expand in new window

CFM Global and Monitored VLAN Service Default Configuration

Task Command
Optionally, configure the ID permission setting, within the appropriate default configuration mode, for the content sent in the SenderID TLV by the maintenance points. Defaults to none.

The defer option is not supported in the global MD default command mode.

id-permission {chassis | manage | chassis-manage | none | defer}
Optionally, set the default maintenance domain level for the current default context. The MD level defaults to 0. level level
Optionally, set whether the creation of maintenance intermediate-point half function (MHF) is allowed for the current default context. Defaults to none. mhf-creation {default | explicit | none}

CFM Maintenance Domain (MD) Configuration describes how to configure a MD. All commands listed in this procedure are entered in the MD configuration mode. See CFM Global Configuration for the command to access the MD configuration mode.

Click to expand in new window

CFM Maintenance Domain (MD) Configuration

Step Task Command(s)
  1. 1.
Optionally, change the MD name for the current MD context. name {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name}
  1. 2.
Optionally, configure the ID permission setting for the content sent in the SenderID TLV by the maintenance points. Defaults to none. id-permission {chassis | manage | chassis-manage | none | defer}
  1. 3.
Optionally, set the maintenance domain level. The MD level defaults to 0. level level
  1. 4.
Optionally, set whether the creation of maintenance intermediate-point half function (MHF) is allowed. Defaults to none. mhf-creation {default | explicit | none | defer}
  1. 5.
Activate the CFM configuration for the named MD context. enable
  1. 6.
Optionally, enter Maintenance Association (MA) Configuration mode for the specified MA. ma {string-name name | vid-name vlan | id-name id}

CFM Maintenance Association (MA) Configuration describes how to configure an MA. All commands listed in this procedure are entered in the MA configuration mode. See CFM Maintenance Domain (MD) Configuration for the command to access the MA configuration mode.

Click to expand in new window

CFM Maintenance Association (MA) Configuration

Step Task Command(s)
  1. 1.
Specify the MEPs that are or will be present in the MA. mep-list mep-list [enable | disable]
  1. 2.
Optionally, set the interval between continuity check messages (CCM)s. Defaults to 1 seconds. ccm-interval {1sec | 10sec | 1min | 10min}
  1. 3.
Optionally, change the Maintenance Association name for the current MA context. name {string-name name | vid-name vid-name | id-name id-name}
  1. 4.
Optionally, enter MA component configuration mode for the MA. ma-comp
  1. 5.
Activate the CFM configuration for the current MA context. enable
  1. 6.
Optionally, enter Maintenance End-Point (MEP) Configuration mode for the specified end-point. mep mep-id

CFM Maintenance Association Component (MA-Comp) Configuration describes how to configure the MA components for the current MA context. All commands listed in this procedure are entered in the MA-Comp configuration mode. See CFM Maintenance Association (MA) Configuration for the command to access the MA-Comp configuration mode.

Click to expand in new window

CFM Maintenance Association Component (MA-Comp) Configuration

Step Task Command(s)
  1. 1.
Specify the VLAN the maintenance association is associated with vid vlan-id
  1. 2.
Optionally, configure the ID permission setting for the content sent in the SenderID TLV by the maintenance points for this MA context. Defaults to none. id-permission {chassis | manage | chassis-manage | none | defer}
  1. 3.
Optionally, set whether the creation of maintenance intermediate-point half function (MHF) is allowed. Defaults to none. mhf-creation {default | explicit | none}
  1. 4.
Activate the CFM configuration for the named MD context. enable

CFM Maintenance Association End-Point (MEP) Configuration describes how to configure a MEP for the current MA context. All commands listed in this procedure are entered in the MEP configuration mode. See CFM Maintenance Association (MA) Configuration for the command to access the MEP configuration mode.

Click to expand in new window

CFM Maintenance Association End-Point (MEP) Configuration

Step Task Command(s)
  1. 1.
Optionally, set the lowest priority defect that will generate a fault alarm syslog message. Default is mac-rem-err-xcon. alarm-defect-syslog {all-def | mac-rem-err-xcon | rem-err-xcon | err-xcon | xcon | no-xcon}
  1. 2.
Optionally, set the lowest priority defect that will generate a fault alarm trap message. Default is mac-rem-err-xcon. alarm-defect-trap {all-def | mac-rem-err-xcon | rem-err-xcon | err-xcon | xcon | no-xcon}
  1. 3.
Optionally, set the minimum time a defect must be present before an alarm is generated. Default is 2.5 seconds. alarm-time time
  1. 4.
Optionally, enable generation of continuity check messages. Default is disabled. cci-enabled
  1. 5.
Optionally, configure whether the MEP faces the bridge relay (up) or the bridge port (down). Default is down direction {down | up}
  1. 6.
Optionally, transmit CFM linktrace messages to the specified MEP or MAC address to help verify a path and identify where in a path a connectivity problem exists. tracelink {mep mep-id | mac mac-addr} [ttl time-to-live] [fdb-only]
  1. 7.
Optionally, transmit CFM loopback messages to the specified MEP or MAC address to verify an operational path exists to the MEP. loopback {mep mep-id | mac mac-addr} [messages num-messages] [priority priority] [data data]
  1. 8.
Configure the bridge port the MEP is attached to. port port
  1. 9.
Optionally, configure the 802.1 priority for continuity check messages and linktrace message sent by this MEP. Default is 1. priority priority
  1. 10.
Enable a remote MEP in the database for the current MEP. remote-mep remote-mep-id active
  1. 11.
Optionally, configure the time a MEP defect must be absent before an alarm is reset. Default is 2.5 seconds. reset-time time
  1. 12.
Activate the administrative state of the MEP (maintenance end point) state machine. Defaults to inactive. active
  1. 13.
Enable the CFM configuration for current MEP context. Defaults to disabled enable

CFM Management Commands describes how to manage CFM. CFM clear commands can be entered in any command mode.

Click to expand in new window

CFM Management Commands

Task Command(s)
To clear the CFM bridge MIP CCM database. clear cfm bridge mip-ccm
To clear the check continuity message database for a specified MEP or all end-points for the specified context. For a specified MD:

clear cfm ccm-database md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} [mep mep-id]

For the specified or all endpoints in the specified MA:

clear cfm ccm-database md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} [mep mep-id]

To clear the MEP counters for a specified MEP or all end-points for the specified context. For the specified or all end-points in the specified MD:

clear cfm counters md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} [mep mep-id]

For the specified or all endpoints in the specified MA:

clear cfm counters md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} [mep mep-id]

For the specified end-point:

clear cfm counters md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep mep-id

CFM Show Commands describes how to display CFM configuration and statistics. CFM show commands can be entered in any command mode.

Click to expand in new window

CFM Show Commands

Task Command(s)
To display CFM status and configuration for all CFM MDs, associations, and end-points. show cfm all
To display maintenance intermediate point (MIP) continuity check message database entries for MHFs that do not belong to a specific MD and MA. show cfm bridge mip-ccm [vid vlan-id]
To display the system level default MD or CFM service default values. show cfm default-md [default | vid vlan-id]
To display MD information for all or the specified MD. show cfm md [string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index]
To display configuration and status for a specified or all MAs for the specified MD. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma [string-name name | vid-name vlan | id-name id | index index]
To display the MA component configuration information. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} ma-comp
To display the MEP configuration information. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep [mep-id mep-id] [-verbose]
To display the error conditions in the MEP continuity check message database. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep [mep-id mep-id] ccm-errors [-verbose]
To display linktrace database information for all or the specified end-point. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep [mep-id mep-id] linktrace [-verbose]
to display the MA MEP list. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep-list
to display the MEP‘s remote MEP configuration information. show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep [mep-id mep-id] remote-mep [mep-id mep-id] [-verbose]
to display maintenance intermediate point (MIP) continuity check message information by MD, MA, or MEP. Display by MD:

show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} mip-ccm [vid vlan-id]

Display by MA:

show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mip-ccm [vid vlan-id]

Display by MEP:

show cfm md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep [mep-id mep-id] mip-ccm [vid vlan-id]

To display the stack table which contains maintenance point information for each maintenance point for the device (MEP and MIP). show cfm stack-table
To display the global CFM status for this device. show cfm status

Refer to the S-, K-, and 7100 Series CLI Reference Guide for more information about each command.