48
Configuration restrictions and guidelines
When you enable BFD for an aggregation group, follow these restrictions and guidelines:
•
Make sure the source and destination IP addresses are consistent at the two ends of an
aggregate link. For example, if you execute
link-aggregation bfd ipv4 source
1.1.1.1
destination
2.2.2.2 on the local end, execute
link-aggregation bfd ipv4 source
2.2.2.2
destination
1.1.1.1 on the peer end.
•
The BFD parameters configured on an aggregate interface take effect on all BFD sessions in
the aggregation group. BFD sessions for link aggregation do not support the echo packet mode
and the Demand mode.
•
As a best practice, do not configure other protocols to collaborate with BFD on a BFD-enabled
aggregate interface.
Configuration procedure
To enable BFD for an aggregation group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter aggregate interface
view.
interface bridge-aggregation
interface-number
N/A
3.
Enable BFD for the
aggregation group.
link-aggregation bfd ipv4 source
ip-address
destination ip-address
By default, BFD is disabled
for an aggregation group.
Shutting down an aggregate interface
Make sure no member port in an aggregation group is configured with the
loopback
command when
you shut down the aggregate interface. Similarly, a port configured with the
loopback
command
cannot be assigned to an aggregate interface already shut down. For more information about the
loopback
command, see
Layer 2—LAN Switching Command Reference
.
Shutting down or bringing up an aggregate interface affects the aggregation state and link state of
ports in the corresponding aggregation group in the following ways:
•
When an aggregate interface is shut down, all Selected ports in the corresponding aggregation
group become unselected and their link state becomes down.
•
When an aggregate interface is brought up, the aggregation state of ports in the corresponding
aggregation group is recalculated.
To shut down an aggregate interface:
Step
Command
1.
Enter system view.
system-view
2.
Enter aggregate interface view.
interface bridge-aggregation interface-number
3.
Shut down the aggregate interface.
shutdown
Restoring the default settings for an aggregate interface
You can return all configurations on an aggregate interface to default settings.
To restore the default settings for an aggregate interface: