Configuration Guide Vol. 2


23.2.2 Configuring CFM (multi-domain)

This section describes the procedure for configuring multiple domains by using switch A in the following figure as an example.

Figure 23-31: Sample CFM configuration (multi-domain)

[Figure Data]

<Structure of this section>

(1) Configuring MA for Multiple Domains and Per Domain

Points to note

When there are multiple domains, configure the lowest-level domain first. When you configure an MA, the domain level, MA identification number, domain name, and MA name settings of the switch must match those of the partner switch. If these settings are different, the Switch and the partner switch are not regarded as one MA.

For the primary VLAN of the MA, set the VLAN that receives CFM PDUs from the Switch MEP.

If the primary-vlan parameter is not set, the VLAN with the smallest VLAN ID of the VLANs set by using the vlan-group parameter is selected to be the primary VLAN.

Command examples

  1. (config)# ethernet cfm domain level 1 direction-up

    (config-ether-cfm)# domain name str operator_1

    Sets the initial state of the domain level 1 and the MEP as an up MEP, switches to configuration Ethernet CFM mode, and sets the domain name.

  2. (config-ether-cfm)# ma 1 name str ma1_vlan100

    (config-ether-cfm)# ma 1 vlan-group 10,20,100 primary-vlan 100

    (config-ether-cfm)# exit

    Sets the MA name, the VLANs belonging to the MA, and the primary VLAN in MA1.

  3. (config)# ethernet cfm domain level 2

    (config-ether-cfm)# domain name str operator_2

    (config-ether-cfm)# ma 2 name str ma2_vlan200

    (config-ether-cfm)# ma 2 vlan-group 30,40,200 primary-vlan 200

    (config-ether-cfm)# exit

    Sets the initial state of domain level 2 and the MEP as a down MEP.

    The sequence then sets the MA name, the VLANs belonging to the MA, and the primary VLAN in MA2.

(2) Configuring MEP and MIP

Points to note

Set no more MEPs and MIPs than the number defined in the capacity limits.

Because you can use the MEPs and MIPs you specified, you need to enable the CFM functionality of the switch.

Command examples

  1. (config)# interface gigabitethernet 1/0/1

    (config-if)# ethernet cfm mep level 1 ma 1 mep-id 101

    (config-if)# ethernet cfm mip level 2

    (config-if)# exit

    (config)# interface gigabitethernet 1/0/2

    (config-if)# ethernet cfm mip level 1

    (config-if)# exit

    Sets MEP that belongs to the domain-level 1,MA1 on port 1/0/1. Also, configures a MIP in domain level 2, Configures domain-level 1 MIP for ports 1/0/2.

  2. (config)# ethernet cfm enable

    Initiates operation of the CFM functionality on the Switch.

(3) Stopping CFM on a port

Points to note

This setting is required if you want to temporarily stop the CFM functionality on a port.

Command examples

  1. (config)# interface gigabitethernet 1/0/1

    (config-if)# no ethernet cfm enable

    (config-if)# exit

    Stops CFM of PORT1/0/1.

(4) CC Setting

Points to note

The CC functionality starts operation as soon as the ethernet cfm cc enable command is set.

Command examples

  1. (config)# ethernet cfm cc level 1 ma 1 interval 10s

    (config)# ethernet cfm cc level 1 ma 1 enable

    Initiates operation of the CC functionality in MA1 of domain level 1 with the CCM sending interval set to 10 seconds.