Viewing BGP network configurations

Display information about BGP network configurations.

Procedure

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

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

Variable Definitions

The following table defines parameters for the show ip bgp networks 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–512>

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