BGP commands can be sorted into the following categories, each of which has a different scope; that is, each configures parameters within a different area of applicability. Individual command descriptions in this chapter and in Configuring BGP-MPLS Applications, provide more information about command behavior.
Table 6: Commands Affecting BGP Globally
Table 7: Commands Affecting All Address Families in a VRF
|
distance bgp |
synchronization |
Table 8: Commands Affecting the Current Address Family
- host1(config-router)#neighbor 10.1.3.4 remote-as
1234
- host1(config-router)#neighbor 10.2.3.4 ebgp-multihop
5
- host1(config-router)#address-family ipv4 multicast
- host1(config-router-af)#neighbor 10.2.3.4
ebgp-multihop ?
- % Invalid input detected at '^' marker.
- host1(config-router-af)#exit-address-family
Table 9: Commands Affecting All Address Families for the Specified Peer or Peer Group
- host1(config-router)#neighbor 1.1.3.4 remote-as
1234
- host1(config-router)#neighbor 1.2.3.4 route-map
ucast-map in
- host1(config-router)#address-family ipv4 multicast
- host1(config-router-af)#neighbor 1.2.3.4 activate
- host1(config-router-af)#neighbor 1.2.3.4 route-map
mcast-map in
- host1(config-router-af)#exit-address-family
Table 10: Commands Affecting Only the Current Address Family for the Specified Peer or Peer Group