Chapter 38 Configuring IP Unicast Routing

 

 

 

Configuring BGP

 

 

 

 

 

 

 

 

 

Command

Purpose

 

 

Step 7

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Allow a BGP speaker (the local router) to send the

 

 

 

default-originate [route-map map-name]

default route 0.0.0.0 to a neighbor for use as a default route.

 

 

Step 8

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Specify that the COMMUNITIES attribute be sent to

 

 

 

send-community

the neighbor at this IP address.

 

 

Step 9

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Allow internal BGP sessions to use any operational

 

 

 

update-source interface

interface for TCP connections.

 

 

Step 10

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Allow BGP sessions, even when the neighbor is not

 

 

 

ebgp-multihop

on a directly connected segment. The multihop session is not

 

 

 

 

established if the only route to the multihop peer’s address is the

 

 

 

 

default route (0.0.0.0).

 

 

Step 11

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Specify an AS number to use as the local AS. The

 

 

 

local-as number

range is 1 to 65535.

 

 

Step 12

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Set the minimum interval between sending BGP

 

 

 

advertisement-interval seconds

routing updates.

 

 

Step 13

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Control how many prefixes can be received from a

 

 

 

maximum-prefixmaximum [threshold]

neighbor. The range is 1 to 4294967295. The threshold

 

 

 

 

(optional) is the percentage of maximum at which a warning

 

 

 

 

message is generated. The default is 75 percent.

 

 

Step 14

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Disable next-hop processing on the BGP updates to a

 

 

 

next-hop-self

neighbor.

 

 

Step 15

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Set MD5 authentication on a TCP connection to a

 

 

 

password string

BGP peer. The same password must be configured on both BGP

 

 

 

 

peers, or the connection between them is not made.

 

 

Step 16

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Apply a route map to incoming or outgoing routes.

 

 

 

route-map map-name{in out}

 

 

 

 

 

 

Step 17

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Specify that the COMMUNITIES attribute be sent to

 

 

 

send-community

the neighbor at this IP address.

 

 

Step 18

 

 

 

 

neighbor {ip-address peer-group-name}timers

(Optional) Set timers for the neighbor or peer group.

 

 

 

keepalive holdtime

The keepalive interval is the time within which keepalive

 

 

 

 

 

 

 

 

messages are sent to peers. The range is 1 to 4294967295

 

 

 

 

seconds; the default is 60.

 

 

 

 

The holdtime is the interval after which a peer is declared

 

 

 

 

inactive after not receiving a keepalive message from it. The

 

 

 

 

range is 1 to 4294967295 seconds; the default is 180.

 

 

Step 19

 

 

 

 

neighbor {ip-address peer-group-name}weight

(Optional) Specify a weight for all routes from a neighbor.

 

 

 

weight

 

 

 

 

 

 

Step 20

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Filter BGP routing updates to or from neighbors, as

 

 

 

distribute-list{access-list-number name} {in

specified in an access list.

 

 

 

out}

 

 

 

 

 

 

Step 21

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Establish a BGP filter.

 

 

 

filter-list access-list-number{in out weight

 

 

 

 

 

 

 

weight}

 

 

 

 

 

 

Step 22

 

 

 

 

neighbor {ip-address peer-group-name}

(Optional) Specify the BGP version to use when communicating

 

 

 

version value

with a neighbor.

 

 

 

 

 

 

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-9775-02

 

 

38-59

 

 

 

 

 

Page 919
Image 919
Cisco Systems 3750E manual 38-59