3com S7906E インストール手順
1-20
To do…
Use the command…
Remarks
Allow the establishment of
eBGP connection to a non
directly connected peer/peer
group
eBGP connection to a non
directly connected peer/peer
group
peer { group-name |
ip-address } ebgp-max-hop
[ hop-count ]
ip-address } ebgp-max-hop
[ hop-count ]
Optional
Not allowed by default.
The peer ebgp-max-hop command needs not be configured if the two eBGP peers are directly
connected.
Controlling Route Generation
Different from IGP, BGP focuses on route generation and advertisement control and optimal route
selection.
There are to ways to generate BGP routes:
z
Configure BGP to advertise local networks
z
Configure BGP to redistribute routes from other routing protocols, including the default route
Prerequisites
BGP connections have been created.
Injecting a Local Network
In BGP view, you can inject a local network to allow BGP to advertise it to BGP peers. The origin
attribute of routes advertised in this way is IGP. You can also reference a route policy to flexibly control
route advertisement. The network to be injected must be available in the local IP routing table.
Follow these steps to inject a local network:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Inject a network to the BGP
routing table
routing table
network ip-address [ mask |
mask-length ] route-policy
route-policy-name
mask-length ] route-policy
route-policy-name
Optional
Not injected by default
Configuring BGP Route Redistribution
BGP does not find routes by itself. Rather, it redistributes routing information in the local AS from other
routing protocols. During route redistribution, you can configure BGP to filter routing information from
specific routing protocols.
The origin attribute of routes redistributed using the import-route command is Incomplete.
Follow these steps to configure BGP route redistribution: