Use the (device-config) or (profile-config) instance to configure BGP router related parameters.
<DEVICE>(config)#self
<DEVICE>(config-device-<MAC>)#router bgp <DEVICE>config-device <MAC>-router-bgp)#
<DEVICE>config-device <MAC>-router-bgp)#? Router BGP Mode commands: aggregate-address Configure aggregate address asn Configure local Autonomous System Number bgp Border Gateway Protocol bgp-route-limit Limit for number of routes handled by BGP process distance Configure administrative distance ip Internet Protocol (IP) network Configure a local network no Negate a command or set its defaults route-redistribute Redistribute information from another routing protocol timers Adjust routing timers clrscr Clears the display screen commit Commit all changes made in this session do Run commands from Exec mode end End current mode and change to EXEC mode exit End current mode and down to previous mode help Description of the interactive help system revert Revert changes service Service Commands show Show running system information write Write running configuration to memory or terminal <DEVICE>config-device <MAC>-router-bgp)#
When configured as a profile, the router settings are applied to all devices using the profile.
<DEVICE>(config)#profile <DEVICE-TYPE> <PROFILE-NAME>
<DEVICE>(config-profile-<PROFILE-NAME>)#router bgp <DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#
<DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#? Router BGP Mode commands: aggregate-address Configure aggregate address asn Configure local Autonomous System Number bgp Border Gateway Protocol bgp-route-limit Limit for number of routes handled by BGP process distance Configure administrative distance ip Internet Protocol (IP) network Configure a local network no Negate a command or set its defaults route-redistribute Redistribute information from another routing protocol timers Adjust routing timers clrscr Clears the display screen commit Commit all changes made in this session do Run commands from Exec mode end End current mode and change to EXEC mode exit End current mode and down to previous mode help Description of the interactive help system revert Revert changes service Service Commands show Show running system information write Write running configuration to memory or terminal <DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#
Command | Description |
---|---|
aggregate (bgp-router-config) | Creates and configures an aggregate address entry in the BGP database |
asn (bgp-router-config) | Configures this BGP router‘s ASN |
bgp (bgp-router-config) | Configures BGP router parameters |
bgp-route-limit (bgp-router-config) | Configures the BGP route limit parameters |
distance (bgp-router-config) | Configures administrative distance parameters |
ip (bgp-router-config) | Configures the BGP default gateway‘s priority |
network (bgp-router-config) | Configures the local network IP addresses and masks |
route-redistribute (bgp-router-config) | Enables redistribution of routes learnt from other routing protocols into BGP |
timers (bgp-router-config) | Enables adjustment of keepalive and holdtime intervals |
no (bgp-router-config) | Removes the BGP router settings |