show pbr

Syntax

show pbr {interface|vrf|summary}

Description

Shows a detailed view of Policy Based Routing (PBR) in the system.

Command context

Operator (>) or Manager (#)

Parameters

Specifies name of a VRF.

Specifies an interface. Format:member/slot/port.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

当没有一个显示PBR汇总信息ctive next-hop in the system:

switch#show pbr summaryVRF Port Policy PBR Seq Type Nexthop -------------------------------------------------------------------- No active PBR nexthop found --------------------------------------------------------------------

Showing PBR summary information when there are active next-hops in the system:

switch#show pbr summaryVRF Port Policy PBR Seq Type Nexthop -------------------------------------------------------------------- default 1/1/1 policy_1 pbr_1 10 nexthop 1.1.1.1 (active) 1/1/2 policy_2 pbr_2 20 nexthop 5.5.5.5 (active) --------------------------------------------------------------------