Configuring BGP Configuring BGP Neighbors and Peer Groups Command or Action Purpose • 0 - no encryption/plaintext • 7 - proprietary encryption type Type 7 is used only for storing the password in the device configuration. The actual value that gets used at the time of BGP session establishment is the MD5 hash of the plaintext password. • string - the password string Step 17 neighbor {ip-address | peer-group-name} route-map map-name {in | out} (Optional) Applies a route map to incoming or outgoing routes. Step 18 neighbor {ip-address | peer-group-name} send-community (Optional) Specifies that the COMMUNITIES attribute be sent to the neighbor at this IP address.
Step 19 neighbor {ip-address | peer-group-name} timers keepalive holdtime (Optional) Sets timers for the neighbor or peer group. • The keepalive interval is the time within which keepalive messages are sent to peers. The range is 1 to 4294967295 seconds; the default is 60. • The holdtime is the interval after which a peer is declared inactive after not receiving a keepalive message from it. The range is 1 to 4294967295 seconds; the default is 180. Step 20 neighbor {ip-address | peer-group-name} weight weight (Optional) Specifies a weight for all routes from a neighbor.
Step 21 neighbor {ip-address | peer-group-name} distribute-list {access-list-number | name} {in | out} (Optional) Filter BGP routing updates to or from neighbors, as specified in an access list. Step 22 neighbor {ip-address | peer-group-name} filter-list access-list-number {in | out | weight weight} (Optional) Establish a BGP filter. Step 23 neighbor {ip-address | peer-group-name} version value (Optional) Specifies the BGP version to use when communicating with a neighbor. Step 24 neighbor {ip-address | peer-group-name} soft-reconfiguration inbound (Optional) Configures the software to start storing received updates. Step 25 end Example: Returns to privileged EXEC mode. Configuring BGP 30