Pbr Configuration Examples; Configuring Local Pbr Based On Packet Type - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

PBR configuration examples

Configuring local PBR based on packet type

Network requirements
As shown in
through Serial 2/2/0. Router A forwards other packets according to the routing table.
Figure 84 Network diagram
Configuration procedure
Configure Router A:
1.
# Configure ACL 3101 to match TCP packets.
<RouterA> system-view
[RouterA] acl number 3101
[RouterA-acl-adv-3101] rule permit tcp
[RouterA-acl-adv-3101] quit
# Configure Node 5 for policy aaa to forward TCP packets through Serial 2/2/0.
[RouterA] policy-based-route aaa permit node 5
[RouterA-pbr-aaa-5] if-match acl 3101
[RouterA-pbr-aaa-5] apply output-interface serial 2/2/0
[RouterA-pbr-aaa-5] quit
# Configure local PBR by applying policy aaa on Router A.
[RouterA] ip local policy-based-route aaa
# Configure the IP addresses of the serial interfaces.
[RouterA] interface serial 2/2/0
[RouterA-Serial2/2/0] ip address 1.1.2.1 255.255.255.0
[RouterA-Serial2/2/0] quit
[RouterA] interface serial 2/2/1
[RouterA-Serial2/2/1] ip address 1.1.3.1 255.255.255.0
Configure Router B:
2.
# Configure the IP address of the serial interface.
<RouterB> system-view
[RouterB] interface serial 2/2/0
[RouterB-Serial2/2/0] ip address 1.1.2.2 255.255.255.0
[RouterB-Serial2/2/0] quit
Configure Router C:
3.
# Configure the IP address of the serial interface.
<RouterC> system-view
[RouterC] interface serial 2/2/1
Figure
84, configure local PBR on Router A to forward all locally generated TCP packets
272

Advertisement

Table of Contents
loading

Table of Contents