Packet Type-Based Ipv6 Interface Pbr Configuration Example - HP VSR1000 Configuration Manual

Virtual services router
Table of Contents

Advertisement

Verifying the configuration
# Telnet to Router B on Router A. The operation succeeds.
# Telnet to Router C on Router A. The operation fails.
# Ping Router C from Router A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results show that all TCP packets sent from Router A
are forwarded to the next hop 1::2, and other packets are forwarded through GigabitEthernet 2/0. The
IPv6 local PBR configuration is effective.

Packet type-based IPv6 interface PBR configuration example

Network requirements
As shown in
GigabitEthernet 3/0 to the next hop 1::2. Router A forwards other IPv6 packets according to the routing
table.
Figure 98 Network diagram
Router B
GE1/0
1::2/64
GE1/0
1::1/64
Router A
Host A
10::3/64
Gateway: 10::2/64
Configuration procedure
1.
Configure Router A:
# Configure RIPng.
<RouterA> system-view
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ipv6 address 1::1 64
[RouterA-GigabitEthernet1/0] ripng 1 enable
[RouterA-GigabitEthernet1/0] quit
Figure
98, configure IPv6 PBR on Router A to forward all TCP packets received on
Router C
GE2/0
2::2/64
GE2/0
2::1/64
GE3/0
10::2/64
Subnet
10::1/64
429

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents