Pbr Configuration Examples; Configuring Local Pbr Based On Packet Type - HP MSR2000 series Configuration Manual

Hide thumbs Also See for MSR2000 series:
Table of Contents

Advertisement

Task
Display VLAN QoS policy
information.
Display information about global
QoS policies.

PBR configuration examples

Configuring local PBR based on packet type

Network requirements
As shown in
1.1.2.2 and other packets are forwarded according to the routing table.
Switch A is directly connected to Switch B and Switch C. Switch B and Switch C are unreachable to each
other.
Figure 123 Network diagram
Configuration procedure
Configure Switch A:
1.
# Define ACL 3101 to match TCP packets.
<SwitchA> system-view
[SwitchA] acl number 3101
[SwitchA-acl-adv-3101] rule permit tcp
[SwitchA-acl-adv-3101] quit
# Configure Node 5 of policy aaa to forward TCP packets to next hop 1.1.2.2.
[SwitchA] policy-based-route aaa permit node 5
[SwitchA-pbr-aaa-5] if-match acl 3101
[SwitchA-pbr-aaa-5] apply ip-address next-hop 1.1.2.2
[SwitchA-pbr-aaa-5] quit
# Apply policy aaa to Switch A.
[SwitchA] ip local policy-based-route aaa
# Configure the IP addresses of VLAN-interface 10 and VLAN-interface 20.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ip address 1.1.2.1 255.255.255.0
[SwitchA-Vlan-interface10] quit
[SwitchA] interface vlan-interface 20
Figure
123, configure PBR on Switch A, so that all TCP packets are forwarded to next hop
Command
display qos vlan-policy { name policy-name | vlan
vlan-id } [ slot slot-number ] [ inbound | outbound ]
[ | { begin | exclude | include } regular-expression ]
display qos policy global [ slot slot-number ]
[ inbound | outbound ] [ | { begin | exclude |
include } regular-expression ]
383
Remarks
Available in
any view
Available in
user view

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000 seriesMsr4000 series

Table of Contents