Configuring ebgp between a pe and a ce – H3C Technologies H3C S6800 Series Switches User Manual

Page 295

Advertising
background image

282

Step Command

Remarks

3.

Configure a network entity
title for the IS-IS process.

network-entity net

By default, no NET is configured.

4.

Enable IPv6 for the IS-IS
process.

ipv6 enable

By default, IPv6 is disabled.

5.

Return to system view.

quit

N/A

6.

Enter interface view.

interface interface-type
interface-number

N/A

7.

Enable IPv6 for the IS-IS
process on the interface.

isis ipv6 enable [ process-id ]

By default, IPv6 IS-IS is disabled on
an interface.

Configuring EBGP between a PE and a CE

1.

Configure the PE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable BGP and 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 CE as the
VPN EBGP peer.

peer { group-name |
ipv6-address [ prefix-length ] }

as-number as-number

By default, no BGP peer is
configured.

5.

Create the BGP-VPN IPv6
unicast address family and

enter its view.

address-family ipv6 [ unicast ]

By default, the BGP-VPN IPv6
unicast address family is not
created.
Configuration commands in
BGP-VPN IPv6 unicast address

family view are the same as

those in BGP IPv6 unicast
address family view. For details,

see Layer 3—IP Routing

Configuration Guide.

6.

Enable IPv6 unicast route
exchange with the specified

peer or peer group.

peer { group-name |
ipv6-address
[ prefix-length ] }
enable

By default, BGP does not
exchange IPv6 unicast routes
with any peer.

7.

Redistribute the routes of the

local CE.

import-route protocol
[ process-id [ med med-value |

route-policy route-policy-name ]

* ]

A PE must redistribute the routes
of the local CE into its VPN

routing table so that it can

advertise them to the peer PE.

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, the PE does not filter
received routes.

Advertising