H3C Technologies H3C SR8800 User Manual
Page 408
392
[RouterA-pbr-aaa-5] quit
# Apply policy aaa on GigabitEthernet 3/1/1.
[RouterA] interface GigabitEthernet 3/1/1
[RouterA-GigabitEthernet3/1/1] ipv6 address 10::2 64
[RouterA-GigabitEthernet3/1/1] undo ipv6 nd ra halt
[RouterA-GigabitEthernet3/1/1] ripng 1 enable
[RouterA-GigabitEthernet3/1/1] ipv6 policy-based-route aaa
[RouterA-GigabitEthernet3/1/1] quit
2.
Configure Router B:
# Configure RIPng.
[RouterB] ipv6
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface Serial 3/1/9/2:0
[RouterB-Serial3/1/9/2:0] ipv6 address 1::2 64
[RouterB-Serial3/1/9/2:0] ripng 1 enable
[RouterB-Serial3/1/9/2:0] quit
3.
Configure Router C:
# Configure RIPng.
[RouterC] ipv6
[RouterC] ripng 1
[RouterC-ripng-1] quit
[RouterC] interface Serial 3/1/9/1:0
[RouterC-Serial3/1/9/1:0] ipv6 address 2::2 64
[RouterC-Serial3/1/9/1:0] ripng 1 enable
[RouterC-Serial3/1/9/1:0] quit
4.
Verify the configuration:
Enable IPv6 on Host A and configure the IPv6 address of Host A as 10::3.
C:\>ipv6 install
Installing...
Succeeded.
C:\>ipv6 adu 4/10::3
On Host A, telnet to Router B (1::2) that is directly connected to Router A. The operation succeeds.
On Host A, telnet to Router C (2::2) that is directly connected to Router A. The operation fails.
Ping Router C from Host A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results show that all TCP packets received on
interface GigabitEthernet 3/1/1 of Router A are forwarded via next hop 1::2, and other packets
received on Router C are forwarded via next hop 2::2. The PBR configuration is effective.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module