You access MD configuration from global configuration mode. The are two CFM MD default configuration modes and a named MD configuration mode.
Mode | Description |
---|---|
Global MD and VLAN MD Service Default Configuration Mode | Global MD default configuration values are used when global default parameters have not been administratively modified in higher precedence configuration modes. Global MD default configuration mode is the lowest precedence configuration mode. |
VLAN MD service default configuration values are applied to the specified VLAN service. CFM monitors a network service. CFM currently supports VLAN monitoring. Any MD default parameters configured in MD VLAN service default mode take precedence over global MD default mode configuration for the specified VLAN service. | |
In global MD and VLAN service default modes you can configure: ID permission – See Setting SenderID TLV Permission MIP creation – See Enabling Maintenance Intermediate-Points (MIP) MD level – See Setting the MD Level Use the cfm default-md default command to enter global MD default configuration mode. Use the cfm default-md vid command, specifying the VLAN service to be monitored, to enter MD VLAN service default configuration mode. |
|
Named MD Configuration Mode | Configuration entered in a named MD configuration mode takes precedence over global MD default configuration and MD VLAN service defaults. Use the cfm md command, using one of four MD naming conventions, specify an MD name to enter named MD configuration mode. See MD Naming Conventions for MD naming options. |
This example shows how to enter the system level default MD configuration command mode. Note that the command prompt changes to indicate that you have moved to Default Maintenance Domain mode for configuring default maintenance domain values.
System(rw-config)->cfm default-md default System(su-config-cfm-default-md-def)->
This example enters default configuration mode for VLAN 20. Note that the command prompt changes to indicate that you have moved to Default Maintenance Domain mode for configuring VLAN 20.
System(rw-config)->cfm default-md vid 20 System(su-config-cfm-default-md.20)->
This example shows how to enter configuration command mode for the myMD1 maintenance domain. This maintenance domain instance is assigned index 1.
System(rw-config)->cfm md string-name myMD1 System(rw-config-cfm-md.1)->