显示ip route vrf

Syntax

显示ip route vrf[vsx-peer]

描述

Shows route information for specified VRF.

Command context

Operator (>)或经理(#)

Parameters

vrf-name

Required: string VRF name for the VRF.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

权威

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

Example

switch#显示ip route vrf greenDisplaying ipv4 routes selected for forwarding '[x/y]' denotes [distance/metric] 10.0.0.0/24, vrf green via 20.0.0.1[vrf red], [1/0], static 30.0.0.0/24, vrf green via 1/1/2, [0/0], connected 30.0.0.2/32, vrf green via 1/1/2, [0/0], local 60.0.0.0/24, vrf green via 1/1/1[vrf red], [1/0], static