Packet Type-Based Interface Pbr Configuration Example - HP 5500 EI series Configuration Manual

Hide thumbs Also See for 5500 EI series:
Table of Contents

Advertisement

Packet type-based interface PBR configuration example

Network requirements
As shown in
to the next hop 1.1.2.2. Router A forwards other packets according to the routing table.
Figure 78 Network diagram
Router B
S2/0
1.1.2.2/24
1.1.2.1/24
Router A
Host A
10.110.0.20/24
Gateway: 10.110.0.10
Configuration procedure
1.
Configure Router A:
# Configure the IP addresses of the serial interfaces.
<RouterA> system-view
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ip address 1.1.2.1 24
[RouterA-Serial2/0] quit
[RouterA] interface serial 2/1
[RouterA-Serial2/1] ip address 1.1.3.1 24
[RouterA-Serial2/1] quit
# Configure ACL 3101 to match TCP packets.
[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 to next hop 1.1.2.2.
[RouterA] policy-based-route aaa permit node 5
[RouterA-pbr-aaa-5] if-match acl 3101
[RouterA-pbr-aaa-5] apply next-hop 1.1.2.2
[RouterA-pbr-aaa-5] quit
# Configure interface PBR by applying policy aaa to Ethernet 1/1.
Figure
78, configure PBR on Router A to forward all TCP packets received on Ethernet 1/1
Router C
S2/1
1.1.3.2/24
S2/0
S2/1
1.1.3.1/24
Eth1/1
10.110.0.10/24
Subnet
10.110.0.0/24
Host B
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 si series

Table of Contents