![Cisco Nexus 3548 series Command Reference Manual Download Page 285](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162285.webp)
265
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
neighbor
neighbor
To configure a Border Gateway Protocol (BGP) neighbor (router or VRF) and enter the neighbor
configuration mode, use the
neighbor
command. To remove an entry, use the
no
form of this command.
neighbor
{
ip-addr
|
ip-prefix
/
length
} [
remote-as
{
as-num
[.
as-num
]}
no neighbor
{
ip-addr
|
ip-prefix
/
length
} [
remote-as
{
as-num
[.
as-num
]}]
Syntax Description
Command Default
None
Command Modes
Neighbor address-family configuration mode
Router bgp configuration mode
Command History
Usage Guidelines
Use the
neighbor
command to enter the BGP neighbor configuration mode. When you enter the
neighbor
command, the prompt changes to switch(config-router-neighbor)#.
From the BGP neighbor configuration mode, you can perform the following actions:
•
address-family
—Configure an address-family (router, neighbor, vrf). See the
address-family
(BGP)
command for information.
•
description
description
—Describes the neighbor. You can enter up to 80 characters including
spaces.
•
disable-connected-check
—Disables the connection verification for the directly connected peer.
Use the
disable-connected-check
command is to disable a check for an eBGP peer that is directly
connected to the local router. BGP triggers a connection check automatically for all eBGP peers that
are known to be single hop away, unless you disable this check with the
disable-connected-check
ip-addr
IP address of the neighbor in this format: A.B.C.D.
ip-prefix
/
length
IP prefix and the length of the IP prefix. The format is x.x.x.x/
length
.
The
length
range is from 1 to 32.
remote-as
(Optional) Specifies the autonomous system (AS) number of the
neighbor.
as-num
Number of an AS that identifies the router to other BGP routers and
tags the routing information passed along. The range is from 1 to
65535.
.
as-num
(Optional) Number of an AS that identifies the router to other BGP
routers and tags the routing information passed along. The range is
from 1 to 65535.
Release
Modification
5.0(3)A1(1)
This command was introduced.