Using Access Control Lists (ACLs)
The following command enables PBR by globally applying the route map to all interfaces.
HP9300(config)# ip policy
Alternatively, you can enable PBR on specific interfaces, as shown in the following example. The commands in this example configure IP addresses in the source
HP9300(config)# interface ve 2
Setting the Output Interface to the Null Interface
The following commands configure a PBR to send all traffic from 192.168.1.204/32 to the null interface, thus dropping the traffic instead of forwarding it.
HP9300(config)#
The following commands configure an entry in a route map called
HP9300(config)#
The following command enables PBR by globally applying the route map to all interfaces.
HP9300(config)# ip policy
Alternatively, you can enable the PBR on specific interfaces, as shown in the following example. The commands in this example configure IP addresses in the source
HP9300(config)# interface ethernet 3/11
3 - 29