Viewing BGP redistributed routes

Display information about BGP redistributed routes.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display information about BGP redistributed routes:

    show ip bgp redistributed-routes [<prefix/len>] [vrf WORD<1–16>] [vrfids WORD<0–512>]

Variable Definitions

The following table defines parameters for the show ip bgp redistributed-routes command.

Variable

Value

<prefix/len>

Shows paths with this prefix. The prefix is the IP address and exact mask length (must be an integer value from 0–32).

vrf WORD<1–16>

Specifies a VRF instance by name (the string length ranges from 1–16 characters).

vrfids WORD<0–255>

Specifies a range of VRFs by ID number (the ID ranges from 0–255).

Job aid

Use the data in the following table to understand the show ip bgp redistributed-routes command output.

Table 1. show ip bgp redistributed-routes field descriptions

Field

Description

SRC-VRF

Indicates the redistribution source VRF instance.

SRC

Indicates the redistribution source: RIP, Local, Static, or OSPF.

MET

Indicates the metric value.

MET-TYPE

Indicates the redistribution metric type.

ENABLE

Indicates whether the redistribution policy is enabled (T) true or disabled (F) false.

RPOLICY

The route policy currently assigned to the redistribution.