H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration
6-10
by importing IGP routing information to BGP routing table. Once IGP routing
information is imported to BGP routing table, it is advertised to BGP peers. You can
filter IGP routing information by routing protocols before the IGP routing information is
imported to BGP routing table.
Follow these steps to import routes:
To do... Use the command... Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Import and advertise
routing information
generated by other
protocols.
import-route protocol
[ process-id ] [ med
med-value | route-policy
route-policy-name ]*
Required
By default, BGP neither
import nor advertise the
routing information
generated by other
protocols.
Advertise network
segment routes to BGP
routing table
network network-address
[ mask ] route-policy
route-policy-name ]
Optional
By default, BGP does not
advertise any network
segment routes.
Caution:
z If a route is imported to the BGP routing table through the import-route command,
its Origin attribute is Incomplete.
z The network segment route to be advertised must be in the local IP routing table.
You can use routing policy to control route advertising with more flexibility.
z The Origin attribute of the network segment routes advertised to BGP routing table
through the network command is IGP.
6.4.3 Configuring BGP Route Aggregation
In a medium-/large-sized BGP network, you can reduce the number of the routes to
be advertised to BGP peers through route aggregation to save the space of BGP peer
routing tables. BGP supports two route aggregation modes: automatic aggregation
mode and manual aggregation mode.
z Automatic aggregation mode, where IGP sub-network routes imported by BGP
are aggregated. In this mode, only the aggregated routes are advertised. The
imported IGP sub-network routes are not advertised. Note that the default routes
and the routes imported by using the network command cannot be automatically
aggregated.