Ipv6 bgp basic configuration example, Displaying and maintaining ipv6 pbr, Ipv6 pbr configuration examples – H3C Technologies H3C S12500-X Series Switches User Manual
Page 377
363
125B
Displaying and maintaining IPv6 PBR
Execute display commands in any view and reset commands in user view.
Task Command
Display IPv6 PBR policy information.
display ipv6 policy-based-route [ policy policy-name ]
Display IPv6 PBR configuration.
display ipv6 policy-based-route setup
Display IPv6 local PBR configuration and
statistics (in standalone mode).
display ipv6 policy-based-route local [ slot slot-number ]
Display IPv6 local PBR configuration and
statistics (in IRF mode).
display ipv6 policy-based-route local [ chassis
chassis-number slot slot-number ]
Display IPv6 interface PBR configuration and
statistics (in standalone mode).
display ipv6 policy-based-route interface interface-type
interface-number [ slot slot-number ]
Display IPv6 interface PBR configuration and
statistics (in IRF mode).
display ipv6 policy-based-route interface interface-type
interface-number [ chassis chassis-number slot slot-number ]
Clear IPv6 PBR statistics.
reset ipv6 policy-based-route statistics [ policy policy-name ]
126B
IPv6 PBR configuration examples
429B
Packet type-based IPv6 local PBR configuration example
689B
Network requirements
As shown in
1246H
Figure 86
, configure IPv6 PBR on Switch A to forward all TCP packets to the next hop 1::2.
Switch A forwards other packets according to the routing table.
Figure 86 Network diagram
690B
Configuration procedure
1.
Configure Switch A:
# Create VLAN 10 and VLAN 20.
[SwitchA] vlan 10
[SwitchA-vlan10] quit
[SwitchA] vlan 20
[SwitchA-vlan20] quit
# Configure the IPv6 addresses of VLAN-interface 10 and VLAN-interface 20.
[SwitchA] interface vlan-interface 10