Configuring ospfv3 between an mce and a pe, Configuring ebgp between an mce and a pe – H3C Technologies H3C S6800 Series Switches User Manual
Page 39

32
Step Command
Remarks
2.
Configure an IPv6 static
route for an IPv6 VPN
instance.
ipv6 route-static vpn-instance s-vpn-instance-name
ipv6-address prefix-length { interface-type
interface-number [ next-hop-address ] |
nexthop-address [ public ] | vpn-instance
d-vpn-instance-name nexthop-address } [ permanent ]
[ preference preference-value ] [ tag tag-value ]
[ description description-text ]
By default, no IPv6
static route is
configured.
3.
(Optional.) Configure
the default preference
for IPv6 static routes.
ipv6 route-static default-preference
default-preference-value
The default value is
60.
Configuring OSPFv3 between an MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an OSPFv3 process for
an IPv6 VPN instance and
enter OSPFv3 view.
ospfv3 [ process-id | vpn-instance
vpn-instance-name ] *
N/A
3.
Set the router ID.
router-id router-id
N/A
4.
Redistribute VPN routes.
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.
(Optional.) Configure filtering
of advertised routes.
filter-policy { acl6-number |
ipv6-prefix ipv6-prefix-name }
export [ bgp4+ | direct | ospfv3
process-id | static ]
By default, redistributed routes are
not filtered.
6.
Return to system view.
quit
N/A
7.
Enter interface view.
interface interface-type
interface-number
N/A
8.
Enable the OSPFv3 process
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 PE
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.
Configure the PE as an EBGP
peer.
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