PLANET XGS3-24042 User Manual

Page 684

Advertising
background image

81-38

3) Enable OSPF in the segment between PE-CE

4) Configure to re-advertise BGP routes

5) Enter the BGP-VPN instance view

6) Configure to re-advertise OSPF routes

7) Advertise local private network routes

Command

Explanation

BGP Protocol Configuration Mode

neighbor <ip-address> remote-as

<as-num>

necessary

Configure the remote PE as the public

network VPNv4 neighbor. It’s suggest to

select loopback interface to set up the BGP

neighbor among public network PE.

neighbor <ip-address> update-source

<as-num>

Point the local loopback interface for set up

neighbor.

Enter the BGP-VPNv4 view

address-family vpnv4 [unicast]

necessary

Create BGP VPNv4. No VPNv4 is created

by default.

[no] neighbor <ip-address> active

optional

Activate all neighbors in VPNv4. All

neighbors in VPNv4 view are active by

default.

Global Configuration Mode

[no] router ospf [<process_id> [<vrf-

nam>]]

optional

Create the OSPF instance between

PE-CE, and enter the Router OSPF view.

OSPF VPN instance view

[no] network {<network> <mask> |

<network>/<prefix>} area <area_id>

optioanal

Enable OSPF in the segment between

PE-CE. Enabled in no segment by default.

[no] redistribute { bgp | connected |

static| rip | kernel} [ metric-type {1 | 2}]

[tag <tag>] [metric <cost_value>]

[router-map <WORD>]

optional

Configure to re-advertise the BGP routes.

No re-advertisement of any route by

default.

BGP Protocol Configuration Mode

[no] address-family ipv4 {unicast|

multicast|vrf <vrf-nam>}

optional

create BGP VPNv4 and enter the

BGP-VPN instance view. No VPNv4 is

created by default.

Advertising
This manual is related to the following products: