Example PBR Configuration
1. Configure an ACL and specify the match criteria.
2. Configure a route map.
3. Apply the ACL to the route map.
4. Set the next hop IP addresses.
5. Apply the route map to an IP interface that has a VLAN configured.
6. Verify PBR configuration.
448
G8264 Application Guide for ENOS 8.4
Note: Use only the ISCLI to configure PBR. Configurations using the BBI are not
supported.
Following is an example of configuring PBR to match packets with a destination
network address of 3.0.0.0. The PBR is applied to ingress packets on the IP interface
11. The next hop IP address is configured as 5.5.5.5 or 10.10.10.10.
RS G8264(config)# accesscontrol list 100 action permit
RS G8264(config)# accesscontrol list 100 ipv4 destinationipaddress
3.0.0.0 255.0.0.0
RS G8264(config)# routemap 126
RS G8264(configroutemap)# accesslist 1 matchaccesscontrol 100
RS G8264(configroutemap)# set ip nexthop 5.5.5.5 10.10.10.10
RS G8264(configroutemap)# exit
RS G8264(config)# interface ip 11
RS G8264(configipif)# ip policy routemap 126
RS G8264(configipif)# exit
RS G8264(config)# exit
RS G8264# show ip policy
IP Interface Route map
11 126
RS G8264# show routemap 126
126: PBR, enabled
Match clauses:
alist 1: accesscontrol list 100, enabled
Set clauses:
ip nexthop 5.5.5.5 10.10.10.10, alist all
Policy routing matches: 0 packets