View BGP Configuration

View information about the BGP configuration.

Procedure

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

    show ip bgp conf [vrf WORD<1–16>] [vrfids WORD<0–512>]

Example

================================================================================
                        BGP Configuration - VRF vrf1

================================================================================

                                     BGP version - 4
                                        local-as - 22610
                                      Identifier - 27.82.217.1
                                      BGP on/off - ON
                                       as-4-byte - disable
                                          as-dot - disable
                                     aggregation - enable
                                  always-cmp-med - disable
                               auto-peer-restart - enable
                                    auto-summary - enable
                        comp-bestpath-med-confed - disable
                        default-local-preference - 100
                                  default-metric - -1
                               deterministic-med - disable
                                  flap-dampening - disable
                                    debug-screen - Off
                                    global-debug - none
                           ibgp-report-import-rt - enable
                            ignore-illegal-rtrid - enable
                            max-equalcost-routes - 1
                            no-med-path-is-worst - enable
                                   route-refresh - disable
                                  orig-def-route - disable
                               orig-v6-def-route - disable
                                     quick-start - disable
                                 synchronization - enable

--More-- (q = quit)

Variable Definitions

The following table defines parameters for the show ip bgp conf command.

Variable

Value

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).