Courseiva
BGPRouter Config

neighbor [ip] description [text]

Documents a BGP neighbor with a descriptive label visible in show commands.

Definition: neighbor [ip] description [text] is a Cisco IOS router config command. Adds a human-readable description to a BGP neighbor entry. Useful for documentation — the description appears in show commands to identify what the peer is.

Syntax·Router Config
neighbor <ip-address> description <text>

When to Use This Command

  • Identifying ISP peers with carrier name and circuit ID.
  • Labeling iBGP peers with their hostname or role.
  • Adding change-management context to production router configs.
  • Making large BGP configs readable when auditing configurations.

Command Examples

Add description to an ISP eBGP peer

R1(config)# router bgp 65001 R1(config-router)# neighbor 203.0.113.1 description ISP-Acme-Circuit-A123
R1(config-router)#

No output. The description string is stored with the neighbor entry.

View description in neighbor summary

R1# show ip bgp neighbors 203.0.113.1 | include Description
Description: ISP-Acme-Circuit-A123

The description appears in 'show ip bgp neighbors' output. It has no effect on BGP operation.

Understanding the Output

No operational effect — purely informational. Visible in 'show ip bgp neighbors [ip]' under the Description field and in 'show running-config'. Best practice on all BGP peers in production environments.

CCNA Exam Tips

1.

CCNA exam tip: The description command exists for interfaces AND BGP neighbors — same concept, different context.

2.

CCNA exam tip: Descriptions appear in show commands but have zero impact on BGP behavior.

3.

CCNA exam tip: Good exam configs include descriptions; a question may ask you to 'identify the ISP peer' — look for the description.

Common Mistakes

Mistake 1: Confusing 'neighbor description' with the interface 'description' command — the syntax is identical but context differs.

Mistake 2: Leaving descriptions blank in production — not a technical mistake but poor operational practice.

Mistake 3: Using the description as a substitute for documentation — it supplements config management, not replaces it.

neighbor [ip] description [text] vs neighbor [ip] remote-as [asn]

Both commands are configured under the BGP router configuration mode using the neighbor keyword, but they serve fundamentally different purposes: neighbor remote-as defines the AS number to establish the peering session, whereas neighbor description is merely a label for administrative identification. They are commonly grouped together because they are often applied sequentially to the same neighbor statement.

Aspectneighbor [ip] description [text]neighbor [ip] remote-as [asn]
ScopeAssigns a text label to a neighborConfigures the remote AS number to form a BGP session
MandatoryOptionalRequired for BGP peering to be established
Session ImpactNo impact on BGP session stateDetermines whether an iBGP or eBGP session is formed
PersistencePersists in configuration but not in the BGP tablePersists and is used in the BGP process to initiate TCP connections
VerificationShows in show ip bgp neighbors outputShows in show ip bgp neighbors and show running-config | section router bgp

Use neighbor [ip] description [text] when you want to add a human-readable note to a BGP neighbor entry for operational documentation (e.g., 'Provider_A_primary').

Use neighbor [ip] remote-as [asn] when you need to define a BGP peer and specify its autonomous system number to enable the BGP session.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with practice questions covering all CCNA 200-301 exam domains.

Practice CCNA 200-301 Questions