User's Manual
474
63.3.3 Apply route-MAP on interface
To enable PBR on interface,following the step bellow:
Command Function
interface
interface_name Enter interface configurtion mode.
ip policy route-map
route-map_name Apply PBR on interface.
63.3.4 Debug PBR
To debug PBR,following the step bellow:
Command Function
debug ip policy
To debug PBR.
63.4 PBR configution example
router configure
!
interface FastEthernet0/0
ip address 10.1.1.3 255.255.255.0
no ip directed-broadcast
ip policy route-map pbr
!
interface FastEthernet0/0.13
ip address 13.1.1.3 255.255.255.0
no ip directed-broadcast
encapsulation dot1Q 13
bandwidth 100000
delay 1
!
interface FastEthernet0/0.14
ip address 14.1.1.3 255.255.255.0
no ip directed-broadcast
encapsulation dot1Q 14
!
interface Serial0/0
ip address 11.1.1.1
no ip directed-broadcast
!
ip access-list standard net1
permit 10.1.1.2 255.255.255.255
!
ip access-list standard net2
permit 10.1.1.4 255.255.255.255
!
ip access-list standard net3
permit 10.1.1.21 255.255.255.255
!
route-map pbr 10 permit
match ip address net1
set ip next-hop 13.1.1.99
!
route-map pbr 20 permit