10-4
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
Basic IP Routing Protocol Configuration
BGP
To configure the BGP protocol, perform the following procedure, beginning in global configuration 
mode:
Enabling IP Routing 
By default, IP routing is enabled. Beginning in privileged EXEC mode, follow these steps to enable IP 
routing:
Use the no ip routing global configuration command to disable routing.
This example shows how to enable IP routing using RIP as the routing protocol:
Router# configure terminal 
Router(config)# ip routing 
Router(config)# router rip 
Router(config-router)# network 10.0.0.0 
Router(config-router)# end 
Command Purpose
Step 1
Router(config)# router bgp 
autonomous-system-number
Defines BGP as the IP routing protocol.
The autonomous system number is the autonomous 
system to which this ML-Series card belongs.
Step 2
Router(config-router) # network 
net-number
Defines the directly connected networks that run 
BGP.
The network number is the number of the network 
that is advertised by this ML-Series card.
Step 3
Router(config-router)# exit
Returns to global configuration mode.
Command Purpose
Step 1
Router# configure terminal
Enters global configuration mode.
Step 2
Router(config)# ip routing 
Enables IP routing (default).
Step 3
Router(config)# router 
ip_routing_protocol
 
Specifies an IP routing protocol. This step might include 
other commands, such as specifying the networks to route 
with the network (RIP) router configuration command. For 
information about specific protocols, refer to sections later 
in this chapter and to the Cisco IOS IP and IP Routing 
Configuration Guide.
Step 4
Router(config-router)# end 
Returns to privileged EXEC mode.
Step 5
Router(config)# show running-config
Verifies your entries.
Step 6
Router(config)# copy running-config 
startup-config 
(Optional) Saves your entries in the configuration file.