Chapter3OSPFConguration
ParameterDescription
LSageLSAagingtime
LSTypeLSAtype
LinkStateIDLSID
AdvertisingRouter-
LSSeqNumberLSAsequencenumber
Checksum-
3.4OSPFCongurationExamples
3.4.1OSPFConfigurationExampleOne
CongurationDescription
AsshowninFigure3-13,S1andS2setupconnectionbytwolinks,andadvertisetheir
loopbackaddressrouterespectively.
Figure3-13OSPFCongurationExampleOne
CongurationThought
1.CongureIPaddressesoftheinterconnectedinterfacesbetweenS1andS2,and
congureloopbackinterfaceIPaddress.
2.AddinterfacestoOSPFarea0.
3.CongureloadbalancingonbothS1andS2.S1andS2canlearntheloopback
addressrouteadvertisedbythepeerthroughtwolinks.
CongurationProcess
CongurationonS1:
S1(config)#interfacevlan30
S1(config-if-vlan30)#ipaddress11.22.1.1255.255.255.0
S1(config-if-vlan30)#exit
S1(config)#interfacevlan40
S1(config-if-vlan40)#ipaddress11.22.10.1255.255.255.0
S1(config-if-vlan40)#exit
S1(config)#interfaceloopback1
3-45
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential