Ipv6 Pbr Configuration Examples; Configuring Ipv6 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

IPv6 PBR configuration examples

Configuring IPv6 local PBR based on packet type

Network requirements
As shown in
packets through Serial 2/2/0. Router A forwards other IPv6 packets according to the routing table.
Figure 113 Network diagram
Configuration procedure
Configure Router A:
1.
# Configure ACL 3001 to match TCP packets.
<RouterA> system-view
[RouterA] ipv6
[RouterA] acl ipv6 number 3001
[RouterA-acl6-adv-3001] rule permit tcp
[RouterA-acl6-adv-3001] quit
# Configure Node 5 of policy aaa, so that TCP packets are forwarded through Serial 2/2/0.
[RouterA] ipv6 policy-based-route aaa permit node 5
[RouterA-pbr6-aaa-5] if-match acl6 3001
[RouterA-pbr6-aaa-5] apply output-interface serial 2/2/0
[RouterA-pbr6-aaa-5] quit
# Configure IPv6 local PBR by applying policy aaa on Router A.
[RouterA] ipv6 local policy-based-route aaa
# Configure the IPv6 addresses for the serial ports.
[RouterA] interface serial 2/2/0
[RouterA-Serial2/2/0] ipv6 address 1::1 64
[RouterA-Serial2/2/0] quit
[RouterA] interface serial 2/2/1
[RouterA-Serial2/2/1] ipv6 address 2::1 64
Configure Router B:
2.
# Configure the IPv6 address for the serial port.
<RouterB> system-view
[RouterB] ipv6
[RouterB] interface serial 2/2/0
[RouterB-Serial2/2/0] ipv6 address 1::2 64
Configure Router C:
3.
# Configure the IPv6 address for the serial port.
<RouterC> system-view
[RouterC] ipv6
Figure
113, configure IPv6 local PBR on Router A to forward all locally generated TCP
398

Advertisement

Table of Contents
loading

Table of Contents