The bind route-policy command associates a business group with a routing policy.
The undo bind route-policy command deletes the preceding configuration.
bind route-policy route-policy-name match rank rank & <1-8>
undo bind route-policy route-policy-name [ match rank rank & <1-8> ]
| Parameter | Description | Value |
|---|---|---|
| route-policy-name | Specifies the name of a routing rule. |
The value is a string of 1 to 40 case-sensitive characters and can contain a space. |
| rank | Specifies the ranking of a device in a business group. |
The value is an integer ranging from 1 to 8. |
This command controls whether a routing policy takes effect. For example, in a scenario where you run the bind route-policy test match rank 1 command in business group 1, if the device ranks the first in the business group, routing policy test takes effect; if the device does not rank the first in the business group, routing policy test does not take effect.
In a DCN east-west traffic protection scenario, to ensure that the eastbound and westbound traffic is transmitted along the same path, you need to run this command to enable only the master device to advertise routes.