PLANET XGS3-24042 User Manual

Page 709

Advertising
background image

82-63

PE2(config-vrf)#exit

PE2(config)#interface Vlan1

PE2(config-if-Vlan1)#ip vrf forwarding VRF-A

PE2(config-if-Vlan1)#ip address 192.168.101.1 255.255.255.0

PE2(config-if-Vlan1)#exit

PE2(config)#interface Vlan2

PE2(config-if-Vlan2)#label-switching

PE2(config-if-Vlan2)#enable-ldp

PE2(config-if-Vlan2)#ip address 202.200.1.2 255.255.255.0

PE2(config-if-Vlan2)#exit

PE2(config)#interface Loopback1

PE2(config-if-loopback1)#ip address 200.200.1.1 255.255.255.255

PE2(config-if-loopback1)#exit

PE2(config)#router ospf

PE2(config-router)#network 200.200.1.1/32 area 0

PE2(config-router)#network 202.200.1.0/24 area 0

PE2(config-router)#exit

PE2(config)#router bgp 100

PE2(config-router)#address-family vpnv4 unicast

PE2(config-router-af)#neighbor 200.200.1.1 activate

PE2(config-router-af)#exit-address-family

PE2(config-router)#address-family ipv4 vrf VRF-A

PE2(config-router-af)#neighbor 192.168.101.2 remote-as 60101

PE2(config-router-af)#no neighbor 192.168.101.2 send-community extended

PE2(config-router-af)#exit-address-family

PE2(config-router)#exit

PE2(config)#router ldp

The configuration of CE2 is as follows:

CE2#config

CE2(config)#interface vlan 1

CE2(config-if-Vlan1)#ip address 192.168.101.2 255.255.255.0

CE2(config-if-Vlan1)#exit

CE2(config)#interface Loopback1

CE2(config-if-Loopback1)#ip address 1.1.1.1 255.255.255.255

CE2(config-if-Loopback1)#exit

CE2(config)#router bgp 60101

CE2(config-router)#network 10.1.3.0/24

CE2(config-router)#neighbor 192.168.101.1 remote-as 100

The configuration of IGW is as follows:

IGW#config

IGW(config)#interface Vlan1

Advertising
This manual is related to the following products: