C
M
OMMAND
Route Map
C
U
OMMAND
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
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
command.
E
XAMPLE
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)#
This command sets the BGP origin code for the routing protocol which
set origin
generated this message. Use the no form to remove this entry from a
route map.
S
YNTAX
set origin {egp | igp | incomplete}
no set origin
egp – Exterior gateway protocols.
igp – Interior gateway protocols.
incomplete – Route origin unknown.
D
S
EFAULT
ETTING
As indicated in main IP routing table
C
M
OMMAND
Route Map
C
U
OMMAND
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.
ODE
SAGE
ODE
SAGE
– 1915 –
| IP Routing Commands
C
51
HAPTER
Policy-based Routing for BGP
set local-preference
bgp always-compare-med