Configuring BFD MAD
Before you configure BFD MAD, choose a BFD MAD link scheme as described in "BFD MAD."
As a best practice, connect the BFD MAD links after you finish the BFD MAD configuration.
Configuring BFD MAD that uses common Ethernet ports
Configure BFD MAD on a VLAN interface if you use common Ethernet ports for BFD MAD.
When you configure BFD MAD settings, follow these restrictions and guidelines:
Category | Restrictions and guidelines |
---|---|
BFD MAD VLAN |
|
BFD MAD VLAN and feature compatibility | Do not use the BFD MAD VLAN for any purpose other than configuring BFD MAD.
|
MAD IP address |
|
To configure BFD MAD that uses common Ethernet ports:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Assign a domain ID to the IRF fabric. | irf domain domain-id | By default, the domain ID of an IRF fabric is 0. |
3. Create a VLAN dedicated to BFD MAD. | vlan vlan-id | The default VLAN on the device is VLAN 1. |
4. Return to system view. | quit | N/A |
5. Enter interface view or interface range view. |
| To assign a range of ports to the BFD MAD VLAN, enter interface range view. To assign one port to the BFD MAD VLAN, enter Ethernet interface view. |
6. Assign the port or the range of ports to the BFD MAD VLAN. |
| The link type of BFD MAD ports can be access, trunk, or hybrid. The default link type of a port is access. |
7. Return to system view. | quit | N/A |
8. Create the VLAN interface and enter VLAN interface view. | interface vlan-interface vlan-interface-id | N/A |
9. Enable BFD MAD. | mad bfd enable | By default, BFD MAD is disabled. |
10. Assign a MAD IP address to a member device on the VLAN interface. | mad ip address ip-address { mask | mask-length } member member-id | By default, no MAD IP addresses are configured on any VLAN interfaces. Repeat this step to assign a MAD IP address to each member device on the VLAN interface. |
Configuring BFD MAD that uses management Ethernet ports
When you configure BFD MAD that uses management Ethernet ports, follow these restrictions and guidelines:
Category | Restrictions and guidelines |
---|---|
Management Ethernet ports for BFD MAD | Connect a management Ethernet port on each IRF member device to the common Ethernet ports on the intermediate device. |
BFD MAD VLAN |
|
MAD IP address |
|
To configure BFD MAD that uses management Ethernet ports:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Assign a domain ID to the IRF fabric. | irf domain domain-id | By default, the domain ID of an IRF fabric is 0. |
3. Enter management Ethernet interface view. | interface m-gigabitethernet interface-number | Of all management Ethernet ports on an IRF fabric, only the master's management Ethernet port is accessible. |
4. Enable BFD MAD. | mad bfd enable | By default, BFD MAD is disabled. |
5. Assign a MAD IP address to each member device. | mad ip address ip-address { mask | mask-length } member member-id | By default, no MAD IP addresses are configured. |