Planet XGS3-24042 User Manual Page 321

  • Download
  • Add to my manuals
  • Print
  • Page
    / 721
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 320
38-17
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 1.1.1.1 255.255.255.0
Switch(Config-if-Vlan1)#exit
Switch(config)#interface vlan 2
Switch(Config-if-Vlan2)#ip address 2.2.2.2 255.255.255.0
Switch(Config-if-Vlan2)#exit
Switch(config)#router ospf 10
Switch(config-router)#network 2.2.2.0/24 area 1
Switch(config-router)#exit
Switch(config)#router ospf 20
Switch(config-router)#network 1.1.1.0/24 area 1
Switch(config-router)#redistribute ospf 10
Switch(config-router)#exit
38.3.2 Configuration Examples of OSPF VPN
Figure 38-4 OSPF VPN Example
The above figure shows that a network consists of three Layer 3 switches in which the switchA as PE,
SwitchB and SwitchC as CE1 and CE2. The PE is connected to CE1 and CE2 through vlan1 and vlan2. The
routing messages are exchanged between PE and CE through OSPF protocol.
a) SwitchA, the Layer 3 switch as PE
Configure VPN route/transmitting examples vpnb and vpnc
SwitchA#config
SwitchA(config)#ip vrf vpnb
SwitchA(config-vrf)#
SwitchA(config-vrf)#exit
SwitchA#(config)
SwitchA(config)#ip vrf vpnc
SwitchA(config-vrf)#
SwitchA(config-vrf)#exit
SWITCHA
SWITCHB
SWITCHC
Interface
vlan1:10.1.1.1/24
Interface
vlan1:10.1.1.2/24
Interface
vlan2:20.1.1.1/24
Interface
vlan1:20.1.1.2/24
Page view 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 720 721

Comments to this Manuals

No comments