User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
26-1
Chapter 26 PBR Configuration
26.1 Introduction to PBR
PBRPolicy-Based Routingis a method which determines the next-hop of the data
packets by policy messages such as source address, destination address, IP priority, TOS
value, IP protocol, source port No, destination port No, etc.
26.2 PBR Configuration
1. Configure a class-map
2. Set match standard of the class-map
3. Configure a policy-map
4. Configure a policy map corresponding to a class map
5. Configure nexthop IPv4 address
6. Configure the port binding policy map
7. Configure the VLAN binding policy map
1. Configure a class-map
Command
Explanation
Global Configuration Mode
class-map <class-map-name>
no class-map <class-map-name>
Set up or delete a class-map.
2. Set match standard of the class-map
Command
Explanation
Class-map Configuration Mode
match ip {access-group <acl-index-or-
name>}
no match ip {access-group}
Set the match standard of the class-map
3. Configure a policy-map
Command
Explanation
Global Configuration Mode