What is the function of the default-ip-address command for BFD on S series switches

25

For S series switches (except S1700): When using BFD to detect the physical status of a link, you may not specify the peer IP address (In some situations, the peer such as an Eth-Trunk member interface is not assigned an IP address). In this case, you need to bind a BFD session to a multicast IP address so that BFD control packets can be sent to the peer device.
In either of the following situations, change the default multicast IP address:
- On the live network, other protocols except BFD use the multicast IP address.
- Multiple BFD sessions exist on a path. For example, because Layer 3 interfaces are connected through Layer 2 switching devices that support BFD, configure different default multicast IP addresses for the devices where different BFD sessions are established.
You can run the default-ip-address ip-address command to configure the default multicast IP address for BFD.
[HUAWEI] bfd
[HUAWEI-bfd] default-ip-address 224.0.0.150

Other related questions:
What is the function of the default multicast address of BFD on an AR
When BFD is used to detect the physical status of a link, you may not specify the remote IP address. In some situations, the remote end such as the Eth-Trunk member link is not assigned an IP address. A BFD session needs to be bound to a multicast IP address and the AR needs to send BFD control packets to the multicast IP address. In the following situations, you must change the default multicast IP address: - On the network, other protocols use the multicast IP address. - Multiple BFD sessions exist on the BFD detection path. For example, when Layer 3 interfaces are connected through Layer 2 switching devices that support BFD, you must configure different default multicast IP addresses for the devices where different BFD sessions are established. You can run the default-ip-address ip-address command to configure the default multicast IP address for the BFD session. [Huawei] bfd [Huawei-bfd] default-ip-address 224.0.0.150 //Set the default multicast address bound to the BFD session to 224.0.0.150.

How to configure reserved IP addresses on S series switches
For S series switches excluding the S1700, some IP addresses of the network segment of an IP address pool may be occupied by servers or other hosts during network planning. Some clients have special requirements and can only be configured with some IP addresses; or to reserve some IP addresses that are not assigned dynamically. In this scenario, exclude these IP addresses in the IP address pool to prevent IP address conflicts caused by dynamically allocation of a DHCP server. Assume that IP addresses from 10.10.10.11 to 10.10.10.20 cannot be dynamically allocated. The configuration on S series switches excluding the S1700 is as follows: - Interface-based [HUAWEI] dhcp enable [HUAWEI] interface vlanif 100 //Enter the view of the interface connected to the DHCP client. [HUAWEI-Vlanif100] ip address 10.10.10.10 24 [HUAWEI-Vlanif100] dhcp select interface [HUAWEI-Vlanif100] dhcp server excluded-ip-address 10.10.10.11 10.10.10.20 - Global [HUAWEI] dhcp enable [HUAWEI] interface vlanif 100 //Enter the view of the interface connected to the DHCP client. [HUAWEI-Vlanif100] ip address 10.10.10.10 24 [HUAWEI-Vlanif100] dhcp select global [HUAWEI-Vlanif100] quit [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] network 10.10.10.0 mask 24 [HUAWEI-ip-pool-global1] excluded-ip-address 10.10.10.11 10.10.10.20

Method to check IP addresses allocation on S series switches
For S series switches excluding the S1700, run the following commands as required to check IP addresses allocation: - If IP addresses are assigned based on the interface address pool, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If IP addresses are assigned based on the global address pool, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. Note: - Specify all to check allocation of all the IP addresses. - Specify conflict to check conflicting IP addresses. - Specify expired to check expired IP addresses that are in idle state. - Specify used to check used IP addresses. - Specify start-ip-address [ end-ip-address ] to check allocation of an IP address or some IP addresses.

How to configure the BFD echo function for S series switches
You can configure BFD echo on S series switches (except S1700 switches) to achieve rapid detection of link failures. The networking is shown as follows: SwitchA(10.1.1.5/24)---(10.1.1.6/24)SwitchB Switch A and Switch B are directly connected through a link. SwitchA supports BFD, while SwitchB does not. Perform the following configuration: [SwitchA] bfd //Enable BFD. [SwitchA-bfd] quit [SwitchA] bfd atob bind peer-ip 10.1.1.6 interface vlanif13 source-ip 10.1.1.5 one-arm-echo //Create a BFD echo session. [SwitchA-bfd-session-atob] discriminator local 1 //Configure the BFD echo session identifier. [SwitchA-bfd-session-atob] commit

Function of the bpdu enable command on S series switch
On an S series switch, except S1700, the bpdu enable command sends BPDUs to the CPU for processing. S series switches: In the versions earlier than V100R006, BPDUs are discarded by default. In V100R006 and later versions, BPDUs are sent to the CPU by default. E series switches: BPDUs are sent to the CPU by default. Run the display bpdu mac-address command to check which packets are determined as BPDUs. The bpdu mac-address command configures packets as BPDUs.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top