Example Pbr Configuration - Lenovo RackSwitch G8264 Application Manual

For lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

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)# access­control list 100 action permit
RS G8264(config)# access­control list 100 ipv4 destination­ip­address 
3.0.0.0 255.0.0.0
RS G8264(config)# route­map 126
RS G8264(config­route­map)# access­list 1 match­access­control 100
RS G8264(config­route­map)# set ip next­hop 5.5.5.5 10.10.10.10
RS G8264(config­route­map)# exit
RS G8264(config)# interface ip 11
RS G8264(config­ip­if)# ip policy route­map 126
RS G8264(config­ip­if)# exit
RS G8264(config)# exit
RS G8264# show ip policy
IP Interface      Route map
11                    126
RS G8264# show route­map 126
126:  PBR, enabled
  Match clauses:
    alist    1: access­control list 100, enabled
  Set clauses:
    ip next­hop 5.5.5.5 10.10.10.10, alist all
  Policy routing matches: 0 packets

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents