ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1915
COMMAND MODE
Route Map
COMMAND USAGE
Lower metric values indicate a higher priority.
This command can modify the current metric for a route using the “+”
or “-” keywords.
The metric applies to external routers in the inter-autonomous system.
To specify the metric for the local AS, use the set local-preference
command.
This path metric is normally only compared with neighbors in the local
AS. To extend the comparison to paths advertised from neighbors in
different autonomous systems, use the bgp always-compare-med
command.
EXAMPLE
Console(config)#route-map RD permit 16
Console(config-route-map)#match peer 192.168.0.99
Console(config-route-map)#set metric +1
Console(config-route-map)#
set origin This command sets the BGP origin code for the routing protocol which
generated this message. Use the no form to remove this entry from a
route map.
SYNTAX
set origin {egp | igp | incomplete}
no set origin
egp – Exterior gateway protocols.
igp – Interior gateway protocols.
incomplete – Route origin unknown.
DEFAULT SETTING
As indicated in main IP routing table
COMMAND MODE
Route Map
COMMAND USAGE
EGP is an inter-domain routing protocol which has been superceded by
BGP. IGP indicates any intra-domain routing protocol such as RIP or OSPF.