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.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...