Configuring eBGP between MCE and PE
To configure eBGP between MCE and PE:
To do...
Enter system view
Enter BGP view
Enter BGP-VPN instance view
Configure the PE as the eBGP
peer
Redistribute the VPN routes of
the VPN site
Configure a filtering policy to
filter the routes to be
advertised
Configure a filtering policy to
filter the received routes
NOTE:
BGP runs within a VPN in the same way as it runs within a public network. For more information about
Layer 3—IP Routing Configuration Guide
BGP, see
Configuring iBGP between MCE and PE
To configure iBGP between MCE and PE:
To do...
Enter system view
Enter BGP view
Enter BGP-VPN instance view
Configure the PE as the iBGP
peer
Redistribute the VPN routes of
the VPN site
Configure a filtering policy to
filter the routes to be
advertised
Configure a filtering policy to
filter the received routes
Use the command...
system-view
bgp as-number
ipv4-family vpn-instance vpn-instance-name
peer { group-name | ip-address }
[ as-number as-number ]
import-route protocol [ process-id |
all-processes ] [ med med-value |
route-policy route-policy-name ] *
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip process-id
| static ]
filter-policy { acl-number | ip-prefix
ip-prefix-name } import
.
Use the command...
system-view
bgp as-number
ipv4-family vpn-instance vpn-instance-name
peer { group-name | ip-address }
[ as-number as-number ]
import-route protocol [ process-id |
all-processes ] [ med med-value |
route-policy route-policy-name ] *
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip process-id
| static ]
filter-policy { acl-number | ip-prefix
ip-prefix-name } import
244
Remarks
—
—
Required
Required
Required
By default, No route
redistribution is configured.
Optional
By default, BGP does not filter
the routes to be advertised.
Optional
By default, BGP does not filter
the received routes.
Remarks
—
—
Required
Required
Required
By default, No route
redistribution is configured.
Optional
By default, BGP does not filter
the routes to be advertised.
Optional
By default, BGP does not filter
the received routes.