EasyManua.ls Logo

Cisco ONS 15454 - Border Gateway Protocol and Classless Interdomain Routing; Configuring BGP; Verifying the BGP Configuration

Cisco ONS 15454
232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10-28
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Chapter 10 Configuring Networking Protocols
Configuring IP Routing
Hellos sent/received: 273/136
Updates sent/received: 5/2
Queries sent/received: 0/0
Replies sent/received: 0/0
Acks sent/received: 1/2
Input queue high water mark 1, 0 drops
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
Border Gateway Protocol and Classless Interdomain Routing
Border Gateway Protocol (BGP) is an Exterior Gateway Protocol (EGP) that allows you to set up an
interdomain routing system to automatically guarantee the loop-free exchange of routing information
between autonomous systems. In BGP, each route consists of a network number, a list of autonomous
systems that information has passed through (called the autonomous system path), and a list of other path
attributes.
Layer 3 switching supports BGP version 4, including CIDR. CIDR lets you reduce the size of your
routing tables by creating aggregate routes resulting in supernets. CIDR eliminates the concept of
network classes within BGP and supports the advertising of IP prefixes. CIDR routes can be carried by
OSPF, EIGRP, and RIP.
Configuring BGP
To configure BGP routing, perform the following steps, beginning in global configuration mode:
The following example shows how to configure BGP routing:
Router(config)# ip routing
Router(config)# router bgp 30
Router(config-router)# network 192.168.1.1
Router(config-router)# neighbor 192.168.2.1
Router(config-router)# end
For more information about configuring BGP routing, refer to the “Configuring BGP” chapter in the
Cisco IOS IP and IP Routing Configuration Guide.
Verifying the BGP Configuration
Table 10-6 on page 10-29 lists some common EXEC commands used to view the BGP configuration.
Command Purpose
Step 1
Router(config)# ip routing
Enables IP routing (default.)
Step 2
Router(config)# router bgp
autonomous-system
Defines BGP as the routing protocol and starts
the BGP routing process.
Step 3
Router(config-router)# network
network-number
[mask
network-mask
] [route-map
route-map-name
]
Flags a network as local to this autonomous
system and enters it in the BGP table.
Step 4
Router(config-router)# end
Returns to privileged EXEC mode.

Table of Contents

Other manuals for Cisco ONS 15454

Related product manuals