beautypg.com

Configuring ebgp between an mce and a pe – H3C Technologies H3C S12500-X Series Switches User Manual

Page 336

background image

325

Step Command

Remarks

2.

Create an IS-IS process
for a VPN instance and

enter IS-IS view.

isis [ process-id ] vpn-instance
vpn-instance-name

N/A

3.

Configure a network
entity title.

network-entity net

By default, no NET is configured.

4.

Redistribute VPN routes.

import-route protocol [ process-id |
all-processes | allow-ibgp ] [ cost cost |

cost-type { external | internal } | [ level-1

| level-1-2 | level-2 ] | route-policy

route-policy-name | tag tag ] *

By default, IS-IS does not
redistribute routes from any other

routing protocol.
If you do not specify the route level

in the command, the command
redistributes routes to the level-2

routing table by default.

5.

(Optional.) Configure
filtering of advertised

routes.

filter-policy { acl-number | prefix-list
prefix-list-name | route-policy

route-policy-name } export [ protocol
[ process-id ] ]

By default, IS-IS does not filter
advertised routes.

6.

Return to system view.

quit

N/A

7.

Enter interface view.

interface interface-type interface-number N/A

8.

Enable the IS-IS process

on the interface.

isis enable [ process-id ]

By default, no IS-IS process is
enabled.

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 | ip-address } as-number
as-number

N/A

5.

Enter BGP-VPN IPv4
unicast address family

view.

address-family ipv4 [ unicast ]

N/A

6.

Enable BGP to exchange
IPv4 unicast routes with

the peer.

peer { group-name | ip-address } enable

By default, BGP does not
exchange IPv4 unicast routes

with any peer.

7.

Redistribute the VPN

routes of the VPN site.

import-route protocol [ process-id |
all-processes ] [ med med-value |
route-policy route-policy-name ] *

By default, no routes are
redistributed into BGP.

8.

(Optional.) Configure
filtering of advertised

routes.

filter-policy { acl-number | prefix-list
prefix-list-name } export [ protocol

process-id ]

By default, BGP does not filter
advertised routes.

9.

(Optional.) Configure
filtering of received

routes.

filter-policy { acl-number | prefix-list
prefix-list-name } import

Optional.
By default, BGP does not filter
received routes.