The bind bgp peer command associates a business group with a BGP peer.
The undo bind bgp peer command deletes the preceding configuration.
bind bgp peer peer-ip [ vpn-instance vpn-instance-name ]
undo bind bgp peer peer-ip [ vpn-instance vpn-instance-name ]
| Parameter | Description | Value |
|---|---|---|
| peer-ip | Specifies the IP address of a BGP peer. |
The value is in dotted decimal notation. |
| vpn-instance vpn-instance-name | Specifies the name of a VPN instance. If a BGP peer belongs to a virtual system, you must specify the vpn-instance parameter. |
The value is a string of 1 to 31 case-sensitive characters and can contain a space. |
Application scenario
Precautions
After the undo bind bgp peer command is run, the MED value of the route becomes normal.
To enable the HRP function, ensure that the business group is not associated with any BGP peer.
The configuration of this command cannot be backed up in a cluster. Therefore, you need to configure this command in each cluster member.
This command does not check the validity of a BGP peer. Ensure that the BGP peer involved already exists.