Configuring ipv6 interface pbr, Displaying and maintaining ipv6 pbr configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 413

Advertising
background image

397

Configuring IPv6 interface PBR

Interface PBR applies only to packets forwarded through an interface. Only one policy can be referenced

by an interface for IPv6 interface PBR.
If the specified policy does not exist, the IPv6 interface PBR configuration succeeds, but it takes effect only
when the policy is created.
To configure IPv6 interface PBR on an EC or EF card, for example, LSR1GP48LEC1 or LSR1GP48LEF1,

you must configure the acl ipv6 enable command in system view first. For more information about the acl

ipv6 enable command, see ACL and QoS Command Reference. For more information about EC and EF

cards, see Fundamentals Configuration Guide.
To configure IPv6 interface PBR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure IPv6 interface PBR.

ipv6 policy-based-route
policy-name

Not configured by default.

Displaying and maintaining IPv6 PBR configuration

Task Command

Remarks

Display the IPv6 PBR routing
information.

display ipv6 policy-based-route [ | { begin |
exclude | include } regular-expression ]

Available in any
view.

Display the specified IPv6 PBR routing
information (in standalone mode).

display ipv6 policy-based-route setup
{ policy-name | interface interface-type

interface-number [ slot slot-number ] | local
[ slot slot-number ] } [ | { begin | exclude |

include } regular-expression ]

Available in any
view.

Display the specified IPv6 PBR routing
information (in IRF mode).

display ipv6 policy-based-route setup
{ policy-name | interface interface-type

interface-number [ chassis chassis-number slot
slot-number ] | local [ chassis chassis-number

slot slot-number ] } [ | { begin | exclude |

include } regular-expression ]

Available in any
view.

Display IPv6 PBR statistics (in
standalone mode).

display ipv6 policy-based-route statistics
{ interface interface-type interface-number |

local } [ slot slot-number ] [ | { begin | exclude
| include } regular-expression ]

Available in any
view.

Display IPv6 PBR statistics (in IRF mode).

display ipv6 policy-based-route statistics
{ interface interface-type interface-number |

local } [ chassis chassis-number slot

slot-number ] [ | { begin | exclude | include }
regular-expression ]

Available in any
view.

Advertising