R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

479
<RouterC> system-view
[RouterC] ipv6
[RouterC] interface serial 2/2/1
[RouterC-Serial2/2/1] ipv6 address 2::2 64
4. Verify the configuration:
# Telnet to Router B (1::2/64) from Router A. The operation succeeds.
# Telnet to Router C (2::2/64) from Router A. The operation fails.
# Ping Router C (2::2/64) from Router A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results indicate that all TCP packets of Router
A are forwarded through Serial 2/2/0, and other packets are forwarded through Serial 2/2/1.
The IPv6 local PBR configuration is effective.
Configuring IPv6 interface PBR based on packet type
Network requirements
As shown in Figure 2, configure IPv6 interface PBR on Router A to forward all TCP packets received on
GigabitEthernet 2/1/1 through Serial 2/2/0. Router A forwards other IPv6 packets according to the
routing table.
Figure 2 Network diagram
Configuration procedure
1. Configure Router A:
# Configure RIPng.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ripng 1
[RouterA-ripng-1] quit