Configuring BGP
Command
Step 11
neighbor {ip-address | peer-group-name}
local-as number
Step 12
neighbor {ip-address | peer-group-name}
advertisement-interval seconds
Step 13
neighbor {ip-address | peer-group-name}
maximum-prefix maximum [threshold]
Step 14
neighbor {ip-address | peer-group-name}
next-hop-self
Step 15
neighbor {ip-address | peer-group-name}
password string
Step 16
neighbor {ip-address | peer-group-name}
route-map map-name {in | out}
Step 17
neighbor {ip-address | peer-group-name}
send-community
Step 18
neighbor {ip-address | peer-group-name} timers
keepalive holdtime
Step 19
neighbor {ip-address | peer-group-name} weight
weight
Step 20
neighbor {ip-address | peer-group-name}
distribute-list {access-list-number | name} {in |
out}
Step 21
neighbor {ip-address | peer-group-name}
filter-list access-list-number {in | out | weight
weight}
Step 22
neighbor {ip-address | peer-group-name}
version value
Step 23
neighbor {ip-address | peer-group-name}
soft-reconfiguration inbound
Step 24
end
Step 25
show ip bgp neighbors
Step 26
copy running-config startup-config
To disable an existing BGP neighbor or neighbor peer group, use the neighbor shutdown router
configuration command. To enable a previously existing neighbor or neighbor peer group that had been
disabled, use the no neighbor shutdown router configuration command.
Cisco ME 3800X and 3600X Switch Software Configuration Guide
29-56
Purpose
(Optional) Specify an AS number to use as the local AS. The
range is 1 to 65535.
(Optional) Set the minimum interval between sending BGP
routing updates.
(Optional) Control how many prefixes can be received from a
neighbor. The range is 1 to 4294967295. The threshold
(optional) is the percentage of maximum at which a warning
message is generated. The default is 75 percent.
(Optional) Disable next-hop processing on the BGP updates to a
neighbor.
(Optional) Set MD5 authentication on a TCP connection to a
BGP peer. The same password must be configured on both BGP
peers, or the connection between them is not made.
(Optional) Apply a route map to incoming or outgoing routes.
(Optional) Specify that the COMMUNITIES attribute be sent to
the neighbor at this IP address.
(Optional) Set 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.
(Optional) Specify a weight for all routes from a neighbor.
(Optional) Filter BGP routing updates to or from neighbors, as
specified in an access list.
(Optional) Establish a BGP filter.
(Optional) Specify the BGP version to use when communicating
with a neighbor.
(Optional) Configure the software to start storing received
updates.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Chapter 29
Configuring IP Unicast Routing
OL-23400-01