Cisco Cisco IOS Software Release 12.2(14)S

Page de 16
BGP Link Bandwidth
  How to Configure BGP Link Bandwidth
4
Cisco IOS Release 12.2(2)T, 12.2(14)S, 12.2(11)T, and 12.0(24)S
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables higher privilege levels, such as privileged EXEC 
mode. 
Enter your password if prompted.
Step 2
configure {terminal | memory | network}
 
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
router bgp as-number 
Example:
Router(config)# router bgp 50000 
Enters router configuration mode to create or configure a 
BGP routing process. 
Step 4
address-family ipv4 [mdt | multicast | tunnel | 
unicast [vrf vrf-name] | vrf vrf-name] | ipv6 
[multicast | unicast] | vpnv4 [unicast] 
Example:
Router(config-router)# address-family ipv4 
Places the router in address family configuration mode.
The BGP Link Bandwidth feature is supported only 
under the IPv4 and VPNv4 address families. 
Step 5
bgp dmzlink-bw 
Example:
Router(config-router-af)# bgp dmzlink-bw
Configures BGP to distribute traffic proportionally to the 
bandwidth of the link. 
This command must be entered on each router that 
contains an external interface that is to be used for 
multipath load balancing. 
Step 6
neighbor ip-address dmzlink-bw 
Example:
Router(config-router-af)# neighbor 172.16.1.1 
dmzlink-bw
Configures BGP to include the link bandwidth attribute for 
routes learned from the external interface specified IP address. 
This command must be configured for each eBGP link 
that is to be configured as a multipath. Enabling this 
command allows the bandwidth of the external link to 
be propagated through the link bandwidth extended 
community. 
Step 7
neighbor ip-address send-community [both | 
extended | standard]
Example:
Router(config-router-af)# neighbor 10.10.10.1 
send-community extended 
(Optional) Enables community and/or extended community 
exchange with the specified neighbor. 
This command must be configured for iBGP peers to 
which the link bandwidth extended community 
attribute is to be propagated. 
Step 8
end
Example:
Router(config-router-af)# end 
Exits address family configuration mode, and enters Privileged 
EXEC mode.