Configuring routing between mce and pe, Configuring static routing between mce and pe – H3C Technologies H3C S5820V2 Series Switches User Manual
Page 15
9
Step Command
Remarks
8.
Redistribute remote site routes
advertised by the PE.
import-route protocol [ process-id
| all-processes ]
Required
By default, BGP does not
redistribute routes from any other
routing protocol.
BGP checks routing loops by examining AS numbers. When EBGP is used, the MCE advertises routing
information carrying the local AS number to the site and then receives routing updates from the site. The
routing updates carry the AS number of the MCE, so the MCE discards them to avoid routing loops. To
enable the MCE to receive such routes, configure the MCE to allow routing loops.
Routes redistributed from OSPF to BGP on the MCE have their OSPF attributes removed. To enable BGP
to distinguish routes redistributed from different OSPF domains, you must enable the redistributed routes
to carry the OSPF domain ID by configuring the domain-id command in OSPF view. The domain ID is
added to BGP VPN routes as an extended community attribute.
BGP runs in a BGP VPN instance in the same way as it runs in a normal network. For more information
about BGP, see Layer 3—IP Routing Configuration Guide.
2.
Configure a VPN site
To configure BGP on a VPN site:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable BGP and enter BGP
view.
bgp as-number
BGP is not enabled by default.
3.
Enter BGP-VPN IPv4 unicast
address family view.
ipv4-family [ unicast ]
N/A
4.
Enable BGP to exchange IPv4
unicast routing information
with the specified peer or
peer group.
peer { group-name | ip-address }
enable
By default, BGP does not exchange
IPv4 unicast routing information
with any peer or peer group.
5.
Redistribute the IGP routes of
the VPN.
import-route protocol [ process-id ]
[ med med-value | route-policy
route-policy-name ] *
By default, BGP does not
redistribute any IGP routes.
A VPN site must advertise the VPN
network addresses it can reach to
the connected MCE.
Configuring routing between MCE and PE
MCE-PE routing configuration includes these tasks:
•
Bind the MCE-PE interfaces to VPN instances
•
Perform route configurations
•
Redistribute VPN routes into the routing protocol running between the MCE and the PE.
Configuring static routing between MCE and PE
To configure static routing between MCE and PE: