866
Configuring IP Unicast Routing
Configuring BGP
BEFORE YOU BEGIN
Enable BGP routing as described in the
Enabling BGP Routing, page 850
DETAILED STEPS
To delete an aggregate entry, use the
no aggregate-address
address mask
router configuration command. To return
options to the default values, use the command with keywords.
EXAMPLE
In the following example, an aggregate BGP address is created in router configuration mode. The path advertised for this
route will be an AS_SET consisting of all elements contained in all paths that are being summarized.
Switch(config)#
router bgp 50000
Switch(config-router)#
aggregate-address 10.0.0.0 255.0.0.0 as-set
In the following example, a route map called MAP-ONE is created to match on an AS-path access list. The path
advertised for this route will be an AS_SET consisting of elements contained in paths that are matched in the route map.
Switch(config)#
ip as-path access-list 1 deny ^1234_
Switch(config)#
ip as-path access-list 1 permit .*
Switch(config)#
!
Switch(config)#
route-map MAP-ONE
Switch(config-route-map)#
match ip as-path 1
Switch(config-route-map)#
exit
Switch(config)#
router bgp 50000
Switch(config-router)#
address-family ipv4
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
router bgp
autonomous-system
Enter BGP router configuration mode.
3.
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.
4.
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.
5.
aggregate-address
address-mask
summary-only
(Optional) Advertise summary addresses only.
6.
aggregate-address
address mask
suppress-map
map-name
(Optional) Suppress selected, more specific routes.
7.
aggregate-address
address mask
advertise-map
map-name
(Optional) Generate an aggregate based on conditions
specified by the route map.
8.
aggregate-address
address mask
attribute-map
map-name
(Optional) Generate an aggregate with attributes specified
in the route map.
9.
end
Return to privileged EXEC mode.
10.
show ip bgp neighbors
[
advertised-routes
]
Verify the configuration.
11.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...