device# configure terminal device(config)# protocol cfm device(config-cfm)# domain name md1 id 1 level 4 device(config-cfm-md-md1)# ma-name ma1 id 1 vlan-id 30 priority 4 device(config-cfm-md-ma-ma1)#
This command changes the Maintenance Domain (MD) mode to the specific MA mode.
device# configure terminal device(config)# protocol cfm device(config-cfm)# domain name md1 id 1 level 4 device(config-cfm-md-md1)# ma-name ma1 id 1 vlan-id 30 priority 3 device(config-cfm-md-ma-ma1)# ccm-interval 10-second device(config-cfm-md-ma-ma1)#
The id field specifies the short MAID format that is carried in the CCM frame. The default time interval is 10 seconds.
device# configure terminal device(config)# protocol cfm device(config-cfm)# domain name md1 id 1 level 4 device(config-cfm-md-md1)# ma-name ma1 id 1 vlan-id 30 priority 3 device(config-cfm-md-ma-ma1)# mep 1 down ethernet 1/2 device(config-cfm-md-ma-mep-1)#
device# configure terminal device(config)# protocol cfm device(config-cfm)# domain name md1 id 1clevel 4 device(config-cfm-md-md1)# ma-name ma1 id 1 vlan-id 30 priority 3 device(config-cfm-md-ma-ma1)# mep 1 down ethernet 1/2 device(config-cfm-md-ma-mep-1)# remote-mep 2 device(config-cfm-md-ma-mep-1)#
device# configure terminal device(config)# protocol cfm device(config-cfm)# domain name md1 id 1 level 4 device(config-cfm-md-md1)#ma-name ma1 id 1 vlan-id 30 pri 7 device(config-cfm-md-ma-ma1)#mip-policy explicit device(config-cfm-md-ma-ma1)#
A MIP can be created on a port and VLAN, only when explicit or default policy is defined for them. For a specific port and VLAN, a MIP is created at the lowest level. Additionally, the level created should be the immediate higher level than the MEP level defined for this port and VLAN.