Configuring ebgp between an mce and a vpn site – H3C Technologies H3C S6800 Series Switches User Manual
Page 36

29
Step Command
Remarks
4.
Redistribute remote site routes
advertised by the PE.
import-route protocol [ process-id
| all-processes | allow-ibgp ]
[ allow-direct | cost cost |
route-policy route-policy-name |
type type ] *
By default, no routes are
redistributed into OSPFv3.
5.
Return to system view.
quit
N/A
6.
Enter interface view.
interface interface-type
interface-number
N/A
7.
Enable OSPFv3 on the
interface.
ospfv3 process-id area area-id
[ instance instance-id ]
By default, OSPFv3 is disabled on
an interface.
Configuring EBGP between an MCE and a VPN site
To use EBGP between an MCE and IPv6 VPN sites, you must configure a BGP peer for each IPv6 VPN
instance on the MCE, and redistribute the IGP routes of each VPN instance on the IPv6 VPN sites. You
can also configure the filtering of received and advertised routes.
1.
Configure the MCE:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number N/A
3.
Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
N/A
4.
Specify an IPv6 BGP peer in
an AS.
peer { group-name |
ipv6-address } as-number
as-number
By default, no BGP peer is
configured.
5.
Enter BGP-VPN IPv6 unicast
address family view.
address-family ipv6 [ unicast ]
N/A
6.
Enable BGP to exchange
IPv6 unicast routes with the
specified peer.
peer { group-name | ip-address }
enable
By default, BGP does not
exchange IPv6 unicast routes
with any peer.
7.
Redistribute remote site
routes advertised by the PE.
import-route protocol
[ process-id [ allow-direct | med
med-value | route-policy
route-policy-name ] * ]
By default, no route redistribution
is configured.
8.
(Optional.) Configure
filtering of advertised routes.
filter-policy { acl6-number |
prefix-list ipv6-prefix-name }
export [ protocol process-id ]
By default, BGP does not filter
advertised routes.
9.
(Optional.) Configure
filtering of received routes.
filter-policy { acl6-number |
prefix-list ipv6-prefix-name }
import
By default, BGP does not filter
received routes.
2.
Configure a VPN site:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A