beautypg.com

H3C Technologies H3C S12500-X Series Switches User Manual

Page 379

background image

365

430B

Packet type-based IPv6 interface PBR configuration example

692B

Network requirements

As shown in

1247H

Figure 87

, configure IPv6 PBR on Switch A to forward all TCP packets received on

VLAN-interface 11 to the next hop 1::2. Switch A forwards other IPv6 packets according to the routing

table.

Figure 87 Network diagram

693B

Configuration procedure

1.

Configure Switch A:
# Create VLAN 10 and VLAN 20.

system-view

[SwitchA] vlan 10

[SwitchA-vlan10] quit

[SwitchA] vlan 20

[SwitchA-vlan20] quit

# Configure RIPng.

[SwitchA] ripng 1

[SwitchA-ripng-1] quit

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] ipv6 address 1::1 64

[SwitchA-Vlan-interface10] ripng 1 enable

[SwitchA-Vlan-interface10] quit

[SwitchA] interface vlan-interface 20

[SwitchA-Vlan-interface20] ipv6 address 2::1 64

[SwitchA-Vlan-interface20] ripng 1 enable

[SwitchA-Vlan-interface20] quit

This manual is related to the following products: