Enabling ip routing – Cisco 15327 User Manual

Page 161

Advertising
background image

11-3

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 11 Configuring Networking Protocols

BGP

BGP

To configure the Border Gateway Protocol (BGP), perform the following procedure, beginning in global
configuration mode:

Enabling IP Routing

Beginning in privileged EXEC mode, follow this procedure to enable IP routing:

Note

By default, IP routing is already enabled.

Command

Purpose

Step 1

Router(config)# router ospf

process-ID

Defines OSPF as the IP routing protocol.

The process ID identifies a unique OSPF router
process. This number is internal to the ML-Series
card only; the process ID here does not have to
match the process IDs on other routers.

Step 2

Router(config-router)# network

net-address wildcard-mask area area-ID

Assigns an interface to a specific area.

The net-address is the address of directly
connected networks or subnets.

The wildcard-mask is an inverse mask that
compares a given address with interface
addressing to determine whether OSPF uses this
interface.

The area parameter identifies the interface as
belonging to an area.

The area-ID specifies the area associated with
the network address.

Step 3

Router(config-router)# end

Returns to privileged EXEC mode.

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.

Advertising