Users Guide

Table Of Contents
LOCAL_PREFERENCE ROUTER-BGP LOCAL_PREF 0
4294967295 100使 default local preference value
BGP 使 show running-configuration LOCAL_PREF 使
1. CONFIGURATION
route-map map-name {permit | deny | sequence-number}
2. ROUTE-MAP LOCAL_PREF CONFIGURATION
set local-preference value
exit
3. ROUTER-BGP
router bgp as-number
4. ROUTER-BGP
neighbor {ip-address}
5. ROUTER-BGP-NEIGHBOR-AF
route-map map-name {in | out)
6. ROUTER-BGP
template template-name
7. CONFIG-ROUTER-TEMPLATE-AF
route-map map-name {in | out}
OS10(config)# route-map bgproutemap 1
OS10(conf-route-map)# set local-preference 500
OS10(conf-route-map)# exit
OS10(config)# router bgp 10
OS10(conf-router-bgp-10)# neighbor 10.1.1.4
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# route-map bgproutemap in
OS10 configure terminal
OS10(config)# route-map bgproutemap 1
OS10(conf-route-map)# set local-preference 500
OS10(conf-route-map)# exit
OS10(config)# router bgp 64601
OS10(conf-router-bgp-64601)# template bgppg
OS10(conf-router-template)# address-family ipv4 unicast
OS10(conf-router-bgp-template-af)# route-map bgproutemap in
OS10(conf-route-map)# do show route-map
route-map bgproutemap, permit, sequence 1
Match clauses:
Set clauses:
local-preference 500
metric 400
origin incomplete
3 521