38-61
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter38 Configuring IP Unicast Routing
Configuring BGP
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.
Configuring Aggregate Addresses
Classless interdomain routing (CIDR) enables you to create aggregate routes (or supernets) to minimize
the size of routing tables. You can configure aggregate routes in BGP either by redistributing an
aggregate route into BGP or by creating an aggregate entry in the BGP routing table. An aggregate
address is added to the BGP table when there is at least one more specific entry in the BGP table.
Beginning in privileged EXEC mode, use these commands to create an aggregate address in the routing
table:
Step23 neighbor {ip-address | peer-group-name}
soft-reconfiguration inbound
(Optional) Configure the software to start storing received
updates.
Step24 end Return to privileged EXEC mode.
Step25 show ip bgp neighbors Verify the configuration.
Step26 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 router bgp autonomous-system Enter BGP router configuration mode.
Step3 aggregate-address address mask Create an aggregate entry in the BGP routing table. The aggregate
route is advertised as coming from the AS, and the atomic aggregate
attribute is set to indicate that information might be missing.
Step4 aggregate-address address mask as-set (Optional) Generate AS set path information. This command
creates an aggregate entry following the same rules as the previous
command, but the advertised path will be an AS_SET consisting of
all elements contained in all paths. Do not use this keyword when
aggregating many paths because this route must be continually
withdrawn and updated.
Step5 aggregate-address address-mask
summary-only
(Optional) Advertise summary addresses only.
Step6 aggregate-address address mask
suppress-map map-name
(Optional) Suppress selected, more specific routes.
Step7 aggregate-address address mask
advertise-map map-name
(Optional) Generate an aggregate based on conditions specified by
the route map.
Step8 aggregate-address address mask
attribute-map map-name
(Optional) Generate an aggregate with attributes specified in the
route map.
Step9 end Return to privileged EXEC mode.
Step10 show ip bgp neighbors [advertised-routes] Verify the configuration.
Step11 copy running-config startup-config (Optional) Save your entries in the configuration file.