Use this procedure to configure a router as a BGP router, including BGP peer profiles, node selectors, and service IPs.
Procedure
|
1. |
Enter the global configuration mode.
Example:
[cluster1/data] lbs# config
|
|
2. |
Configure the BGP router by specifying the ASN (Autonomous System Number) of BGP neighbor.
Example:
lbs(config)# router bgp 65000
|
|
3. |
Configure the BGP peer profile by specifying the profile name.
Example:
lbs(config-router-bgp-65000)# bgp-peer-profile bgp-prof1
|
|
4. |
Specify the node selector using key-value pairs.
Example:
lbs(config-bgp-peer-profile-bgp-prof1)# node-selector key feature value bgp
|
|
5. |
Configure the service name and IP address.
Example:
lbs(config-bgp-peer-profile-bgp-prof1)# service name web-service ip 192.168.1.1
|
|
6. |
Specify the peer name, AS number, and peer IP.
Example:
lbs(config-bgp-peer-profile-bgp-prof1)# peer-name peer_name
lbs(config-bgp-peer-profile-bgp-prof1)# peer-as AS peer-ip IP_address
|
|
7. |
Save and commit the configuration.
Example:
lbs(config-bgp-peer-profile-bgp-prof1)# end
|