show ip route vrf

Syntax

 show ip route vrf <vrf-name> [vsx-peer]

Description

Shows route information for specified VRF.

Command context

Operator (>) or Manager (#)

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.

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.

Example

switch# show ip route vrf green
		 
	Displaying 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