
57
Cisco 10008 Router PRE4 Installation and Configuration Guide
OL-13840-01
show pxf cpu pbr action
Examples
The following example shows the PBR route maps configured in the PXF:
Router#
show pxf cpu pbr action foo
Show PBR Action:
----------------------------------------------------------------------
Policy number: 1
route-map foo, permit, sequence 10
map number = 0
action index = 0
primary action : SET_ROUTE
secondary action : - none -
mac-rewr index = 0x0000 0015
vcci = 0x09D4, qos group = 0, tos prec = 0
tt_pkt_count = 0 tt_byte_count = 0
Adjacency data 0x20D29968
XCM adjacency from 0x70000120(RP)
0xA0000120(FP) index 0x24:
Cisco 10000 Series Router (PRE3 and PRE4)
The following configuration example shows a PBR configuration in which traffic classification is based
on the IP access list named pbr_length. The route map permits traffic based on the specified matching
criteria and sets the next hop address of each packet.
ip access-list extended pbr_length
permit tcp any any
!
route-map pbr_length permit 10
match ip address pbr_length
match length 100 200
set ip next-hop 2.0.95.5 !
route-map pbr_length permit 20
match ip address pbr_length
match length 200 300
set ip next-hop 2.0.95.5 !
route-map pbr_length permit 30
match length 300 400
set ip next-hop 2.0.95.5 !
The following sample output from the
show pxf cpu pbr
command shows the type of information that
displays based on the above PBR configuration:
Router#
show pxf cpu pbr action pbr_length
Show PBR Action:
----------------------------------------------------------------------
Policy number: 3
route-map pbr_length, permit, sequence 10
map number = 0
action index = 64
map vcci out = 0x0
tt_pkt_count = 0 tt_byte_count = 0
primary action : NULL_ACTION
secondary action : - none -
mac-rewr index = 0x0000 0000
vcci = 0x0000, qos group = 0, tos prec = 0
......................................................................
route-map pbr_length, permit, sequence 20