beautypg.com

Configuration procedure, Configuring bgp l2vpn capability, Configuring vpn – H3C Technologies H3C S7500E Series Switches User Manual

Page 205

background image

5-13

z

Name, RD, and VPN Target attributes of the L2VPN connection

z

CE name, CE ID, and CE range

z

CE offset

Configuration Procedure

Configuring BGP L2VPN capability

Follow these steps to configure BGP L2VPN capability:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Establish the peer relationship with

the peer PE

peer

{ group-name | ip-address }

as-number as-number

Required

Specify the interface for the TCP

connection

peer

{ group-name | ip-address }

connect-interface interface-type

interface-number

Required

Enter BGP L2VPN address family

view

l2vpn-family

Required

Enable the filtering by the VPN

target extended community

attributes for the received routing

information

policy vpn-target

Optional

Enabled by default

Enable the specified peer or peers

to exchange BGP routing

information of the BGP-L2VPN

address family

peer

{ group-name | ip-address }

enable

Required

For information about the configuration of BGP-L2VPN address family, see MPLS L3VPN

Configuration

in the MPLS Configuration Guide.

Configuring VPN

Follow these steps to configure VPN:

To do…

Use the command…

Remarks

Enter system view

system-view