Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

neighbor remote-as — router, BGP

Synopsis

neighbor {address | peer-group} remote-as as-number
no neighbor {address | peer-group} remote-as as-number

Configures

The remote AS number of a BGP neighbor

Default

None

Description

This command specifies a neighbor’s AS number. This number is used to determine whether the neighbor is an internal or external BGP router. If the neighbor’s AS number is the same as the AS number in the current BGP configuration, the neighbor is an internal BGP router; likewise, if the AS numbers are different, the neighbor is an external BGP router.

address or peer-group

The address or peer group of the neighbor.

as-number

The AS number of the neighbor router (or the routers in the peer group).

Example

In this example, the neighbor (10.200.200.3) is an internal BGP router because its AS number is the same as the local AS number:

router bgp 100
  neighbor 10.200.200.3 remote-as 100

In the following example, the neighbor (10.200.200.4) is an external BGP router:

router bgp 100
  neighbor 10.200.200.4 remote-as 200
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata