11.06.2015 Views

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interface<br />

vlan1:10.1.1.1/24<br />

Interface<br />

vlan1:10.1.1.2/24<br />

SwitchB<br />

Interface<br />

vlan2:20.1.1.1/24<br />

SwitchA<br />

Interface<br />

Vlan2:20.1.1.2/24<br />

SwitchC<br />

Fig 17-4 RIP VPN example<br />

In the figure shown above, a network consists of three Layer 3 switches, in which the<br />

SwitchA as PE, SwitchB and SwitchC as CE1 and CE2. The PE is connected to CE1 and<br />

CE2 through vlan 1 and vlan 2. The routing messages are exchanged between PE and<br />

CE through RIP protocol.<br />

a) Switch, the Layer 3 switch of PE<br />

Configures the VPN route/transmit example vpnb and vpnc<br />

SwitchA#config<br />

SwitchA(config)#ip vrf vpnb<br />

SwitchA(config-vrf)#<br />

SwitchA(config-vrf)#exit<br />

SwitchA#(config)<br />

SwitchA(config)#ip vrf vpnc<br />

SwitchA(config-vrf)#<br />

SwitchA(config-vrf)#exit<br />

associate the vlan 1and vlan 2 respectively with vpnb and vpnc while configuring IP<br />

address<br />

SwitchA(config)#in vlan1<br />

SwitchA(config-if-Vlan1)#ip vrf forwarding vpnb<br />

SwitchA(config-if-Vlan1)#ip address 10.1.1.1 255.255.255.0<br />

SwitchA(config-if-Vlan1)#exit<br />

SwitchA(config)#in vlan2<br />

SwitchA(config-if-Vlan2)#ip vrf forwarding vpnc<br />

SwitchA(config-if-Vlan2)#ip address 20.1.1.1 255.255.255.0<br />

SwitchA(config-if-Vlan2)#exit<br />

Configures the RIP examples associated with vpnb and vpnc respectively<br />

SwitchA(config)#<br />

SwitchA(config)#router rip<br />

SwitchA(config-router)#address-family ipv4 vrf vpnb<br />

SwitchA(config-router-af)#redistribute bgp<br />

460

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!