Administrator Guide

Layer 3 Routing Commands 1594
Policy routing matches: 5387983 packets, 344831232 bytes
route-map simplest permit 20
Match clauses:
ip address (access-lists) : 1
Set clauses:
ip default next-hop 4.4.4.4
ip precedence 4
Policy routing matches: 0 packets, 0 bytes
route-map simplest permit 30
Match clauses:
Set clauses:
interface null0
Policy routing matches: 0 packets, 0 bytes
console (config-if-Te1/0/2)# no ip policy simplest
console (config-if-Te1/0/2)# exit
console (config)# exit
console # show route-map simplest
route-map simplest permit 10
Match clauses:
ip address (access-lists) : 1
Set clauses:
ip next-hop 3.3.3.3
ip precedence 3
Policy routing matches: 0 packets, 0 bytes
route-map simplest permit 20
Match clauses:
ip address (access-lists) : 1
Set clauses:
ip default next-hop 4.4.4.4
ip precedence 4
Policy routing matches: 0 packets, 0 bytes
route-map simplest permit 30
Match clauses:
Set clauses:
interface null0
Policy routing matches: 0 packets, 0 bytes
console #show ip policy
Interface Route-Map
------------ -----------------------------------------
console #
console(route-map)#show route-map
route-map "d3" permit 10
Match clauses:
ip address prefix-list a1
as-path 1
community s1 exact-match
Set clauses:
metric 23
local-preference 34
as-path prepend 2 3 4 5 6
comm-list d1 delete
2CSNXXX_SWUM204.book Page 1594 Monday, January 25, 2016 1:25 PM