D-Link DI-3660 [263/506] Configuring bgp weights

D-Link DI-3660 [263/506] Configuring bgp weights
Command Line Interface Reference Manual
263
在路由 prompt 中,先Select U or uprompt is as below:
(00)aggregate-address          Aggregate network 
  …… 
(22)synchronization            Perform IGP synchronization 
  …… 
Please Input the code of command to be excute(0-26): 22
input 22Select synchronization option prompt is as below:
(00)<cr> 
Please Input the code of command to be excute(0-0): 
input 0confirm it.
When you disable synchronization, you should also clear BGP sessions using the clear ip bgp command.
See the "BGP Path Filtering by Neighbor Example" section at the end of this chapter for an example of BGP
synchronization.
In general, you will not want to redistribute most BGP routes into your IGP. A common design is to redistribute one or two
routes and to make them exterior routes in IGRP, or have your BGP speaker generate a default route for your autonomous
system. When redistributing from BGP into IGP, only the routes learned using EBGP get redistributed. In most
circumstances, you also will not want to redistribute your IGP into BGP. Just list the networks in your autonomous system
with network router configuration commands and your networks will be advertised. Networks that are listed this way are
referred to as local networks and have a BGP origin attribute of "IGP." They must appear in the main IP routing table and
can have any source; for example, they can be directly connected or learned via an IGP. The BGP routing process
periodically scans the main IP routing table to detect the presence or absence of local networks, updating the BGP routing
table as appropriate. If you do perform redistribution into BGP, you must be very careful about the routes that can be in
your IGP, especially if the routes were redistributed from BGP into the IGP elsewhere. This creates a situation where BGP
is potentially injecting information into the IGP and then sending such information back into BGP, and vice versa.
5.10.7 Configuring BGP Weights
An administrative weight is a number that you can assign to a path so that you can control the path select ion process. The
administrative weight is local to the router. A weight can be a number from 0 to 65535. Paths that the local software
originates have weight 32768 by default; other paths have weight 0. Administrator can implement routing policy through
changing administrative weights.
Perform the following task in router configuration mode to configure BGP administrative weights:
Command Purpose
neighbor {ip-address | peer-group-name} weight
weight
Specify a weight for all routes from a neighbor.
In the prompt Select 12 option ,prompt is as below:
    (00)A.B.C.D         IP address of neighbor
    Please Input the code of command to be excute(0-0): 0
    input 0Select A.B.C.D option prompt is as below:
    Please input a IP Address:
    input IP then prompt is as below:
    (00)default-originate         Permit announcement of default route to neighbor
        ......
    (17)weight                    Default weight value

Содержание

Скачать