注意:点
由器路需要配置两个接子口的封和i装p(忘别no 了hs, 理口物和接子都口需要)
交机换要配置两个需lva,把两个接n放进口vln,把a与由路器接连口配置接t成unk,r交机换上三个接的和口两相关个lan别忘了nvos hp
c1pc/,配2ip,置配网关置配置默认,路由
路由配置:
uCrern tonfcigurtaoi : 8n3 6byte
s!
vrsieno 1.24
srvice eimestamtspd ebug dtaetmi esecms
reicevtim setampslo gdatet ie msme
nc osevicerpassword -ncryetpoin
!
hostnae mrmsAtredma
!
bot-otsat-ramrekr
boo-tnedm-arerk
!!n
oaaan e-wmoedl!
reosruecp olicy
ip !usbnt-zereo!
!i
cepfno
ip d oain loomupk
!
!
!
!!!
!
!
!
!!
!
!!
!
!
!!
!
!
!
!!
intreacfe aFsEthernte0t0/
oni p adrdessd
puelxf llu!
nierftac eFsaEthterent/001.
ncapsuletiano dt1Q 1o0
pi adderss 912.1681..1 0255.25.25550.
o nnmpstr palin ks-tauts!
i
nerftcaeF satthErneet00/.2e
cnasplatuion ot1Q 2d0ip
adders 192.16s8.021. 25525..255.05
o snmpn raptlin ks-atust
!ip
claslsess
!n
oip ht tps erevr
on ip https ceru-serveer!
!
!
!
!
!
cnorotlplane-!
!
!!!
!
gteaeekper
suhdtow
n
!!
inel onc 0
exc-eimtoue 0t 0l
ogign sgnychonorsu
sopbtits 1
ile aunx0
stpoibts1
line ty 0 4v!
!e
dn
由路器显示:Arm
tesrdams#how i route
Codpe:s C- connctee, S d- tasic, tR - RIP, M- mobli,eB - BG P
D - EGIR, PE -X IEGP extReraln, O- SOPF,IA -O SPF iter naear
1N- OPS FSNS exteAnal trype 1 N,2 -OPS NFSS eAtxeral tynpe 2E1
-O SP eFxetnra tlpe 1,yE 2- O SP Fxeetnrl taye p2
i- IS-IS, su -I S-I Ssumarm,y 1L -IS IS l-evl-e, L2 - IS-1S Ilveel-
2i -aI S-SIin etr raea, *- canddiae tdefalut ,U - pr-euse srttaic oureto
- DO,RP - p eiodic downroaldedstat c riotue
G
aewtay o lafts esrortis on sett
C
921.618.1.00/42 s diierctl coynnetec, FdsatEhtenre0t/01.C
1291.6820.0/2.4i s iderctl yconnctee, FdstaEhtrenet0/02.
rmsAtrdema#howsip int r
bIternfaec PIAddr-ses KO Meth?d otaSuts PrtocoloFa
tEtsernht0/0 e u anssinge d EYSuns e tu p u p Fa
sEtterhen0t0./1 19 2.61.1801 . ESYm auan up l p u F
staEthrnet0/e0.2 129168..2.0 1EY maSnau lpu pu
交
机配置:换
Crruet cnofiguranitn : o4137by et
!svers
io 12.3nse
vrie tcimetsmaps dbeug dattime esmec
servceit mestiapsml g daottiee mmsecno
esricvep sswaro-dnceyrtionp!
hosntmea Belirn
!
boto-sarttma-rkrebo
ot-ndemark-er
!
!
mmery-sozi eioem 5m
onaaa newm-oeld
ipsubn e-tzer
o!!
!
!
ip
c fe
ipips p moxaev-nts 10e0no
tp-sfevrr ewite-rnaeble!
!
!
!
!
!!!
!
!
!!
!
!
!!
!!
!!
intreacfe aFsEtterneth/00switc
hpro moted trnk
un ip aoddress!
i
netfrcea astEFhetrnt0/e1
no pia ddesrs!
iterfanceF
asEtthrneet0/2
wstihpcrota ccse vlans1
no0 pi dardsse
!
nteirafecF satEthenrt0e/3
wstciphrtoac ces svln 20a
n iop addessr
!
iterfance FsatEthreetn0/4
o ip naddrsses
utdohwn
!in
etfare FcatsEtehnrte0/
5noip ad rdsse
hstduonw
!
itnefare cFasEtthenrt0/e6
noip ddaersssh
tdownu!
intreace faFtEtsernhte/70n
o i apddresss
hutdwon !
nitefacer aFsEthtrneet0/8
o ip nadderssshut
don
!w
inetrafec aFstEhetrnte0/9n
o i apdreds
sshtudown
!ntirefac eaFstEthrenet/10
n0oi padd res
sshtudow
n!i
netfarc eastFEhtrnee0/11t
n oi adpdress
suthodnw
!i
tnrefac FasetEthrenet01/2
n oip ddaress
suhtdwno
!
nteirafce FstatheEnetr/013
o ip nddaresss
htduwno!
itnefrac FaseEthtenet0/1r4
n oip ddresa
shustowdn
!i
netfacreF satEtehnrte0/15
noip a dredss
shutdon
!
wntirfaec Vela1
no ip nddraess
!nitrfacee lVn1a0n
oi addprsse
!itnrefae claVn02
o npi dadesrs!
ip https reevr
no ip htp stecuers-rveeri
pcl ssalse
!s !
!
!
!
!
oncrtlo-lpne
a!
!!
!
!!
!!
!
inl eoc 0n
inel ax 0ul
nievt y 04!
!
e
nd
交换的机示显:Be
rlnis#how lavns-iwcht
VANLN ame S atus Pottrs
---- ------------------------------- --------- --------------------------------
1 d feault a tcvi e aF01, /aF/4, F0a/0,5F a/06
F0a/, F70a/, 8F0/a9 Fa,01/0
Fa/110, F0/a12, a0/1F, F30/a14
Fa/105
01 V ALN0010 atcvi e F a02/20
VAL00N2 0 ctive a F0a/
31020f di-dedaulf t caitve
1 00 tok3enr-ig-ndeaflu t a tcive
1040 fdined-dteafut l ac ive t
1050 rtnt-edeauft l aticev
VLA NTyp e SAID M TU P raet nRngioN BrideNogSt p rdBgoMe Trand1 sraTns2
--- ------- -------- ----- ------- --------- ------ -- ---------- ----- ------1
ene t 100001 1500 - - - - - 0120 0103
0 1 ene t1 00100 1 00 5- - - - - 0 0
2 e0net 100200 510 - 0 - - - - 0 0
1 02 fddi0 010120 5100 - - - - - 1 01301
03 tr0 010130 15 00 100 5 0 - - rs b 1 10 201
00 4fdnte 110040 5100 - - 1 i mb - 0 0
105 0trnt 1e0105 0 510 0- - 1 ib m - 0 0 Be
lri#nshwoi pi tnb r
Intrfeace I -AddPessr O K?Me todhSt ats u Pr toocol
aFsEtterhetn00 / u ansisgnd e YSE unste up u p
FsatEthreetn/01 unas isged n ES Yusnte u p d won
aFtEtshernet/2 0 naussgnie d YES unste up up Fas
Etthenrt0e/ 3
unssaiged n EY uSnet us p u p F
atsEhterne0t/4 u assinngd e YES u net sad inimstrtaivleydow n dwo n
FstEathenre0t5/ u nasigsedn YSEun est a mdnisitrtaveli doyn dwwno Fast
Ehetnrt0/e 6 unsaisnge dYES nuet sdminisatrtiaelvydow dnwo n
FsatEthrnet0/e7 un assignd e EYS unet s dmanistraiitevyldo w donn w
FatEshernte0/8 t unassgine d Y S unset E aminidstatrvieyl odn wownd
astFEhtrnet0/e9 uassnignde EYSun ets dminaisrattviey dolnw owdn
FatEtshenret/001 nussagned i Y SE nsuet amindsitraitelvy odn wdonw
FastEhertet0n/1 1 uassingend YES unes t daminstiaritevl ydwo down n Fast
thEenrte01/ 2 una ssgien d EYS unse t adimnisratitelv dowyn odw nFas
Etternet0/h31 naussingd YeSEuns te amidnitratisevy lodn wdwno F
saEthtrnet0e1/ 4 u nsaisgned YE Suns t e admiintratisveyl dwo ndwno
FastEtherne0t15 / unas isgnde YS unsetE dminasirtaitvey dlwond on w
V la1 n u nassinged Y SE nues tpu up
lan1V0 nuassgine YdES usnt eu p pu
Valn02 nuassgnedi EY Sunst up e p u
p1c配置:C
ruert cnonfigrutaoin: 62 5btys
!evers
oni1 24.s
ericev itesmamtp sdebgud tetiam msee
cservic timeetamsspl go atdetme mseic
no sreive pascswrdoe-ncyrpitno
!
hosntma pce1
!
oobt-tars-martkr
ebotoen-dm-rakre!
!
noa aan we-omdel!
resour
cepo icyl
!
i supbetnz-eor
!
!i
p cfe!
!
!!
!
!
!!
!!
!
!
!!
!
!
!!
!
!!
!
!i
tnefacr eaFtsEhernet0t0
i/pa ddrse s92.1681.102.2 55.55.2255.0
udlpxe ullf!
ip
edfaul-tageway 1t2.968.11.10
ip casslelss
p riute o921.68.210. 2505255.255..0 19.261.801.1
!
noip tht sepverr
o ni phtpt ecsreus-erve
!r
!!
!!
!co
nrolt-lapn
!e!
!
!!
!
gatkeepere
hstduonw
!!
iln ceon 0
tspoibst 1
lin aux e0lin
vey t 04
!!
e
nd
pc2置:配Current
ocnigufrtiaon: 625 b tyes!
ersvin 12o.4
esrvcie imtsteamspd ebg dauettime smces
reviecti estampmsl o gdatteimems ce
o snrveicepa swosrde-nrcptiony
!h
stnaomep c2
!
botost-rt-maraekr
ootb-ne-mardker
!!
noaaa enwmo-dle!
erouscr eopilcy!
ip suneb-zteor
!
!ip efc
!!
!
!
!
!
!
!
!
!
!
!
!
!
!!!
!
!
!!
!
!ntireafe cFatstherEet0/0n
i apdrdess1 2.968.10.2 225.255.2555.0d
upexl ufll
!ip
dfealtug-teaawy1 2.168.9201.
ipc alsless
si rputoe1 2.196.108. 205.5525.5250.1 2916..8021.
!
no i phtpt srveer
n op hitp tescue-rersvre!
!
!
!!
!cnotrlo-plnae!
!
!!
!!
gaetkeepres
htuodn w!
!
lnie onc0
sopbtis t
1lnie axu0
ile nvt y 40
!
!end
注意:点
由器路需要配置两个接子口的封和i装p(忘别no 了hs, 理口物和接子都口需要)
交机换要配置两个需lva,把两个接n放进口vln,把a与由路器接连口配置接t成unk,r交机换上三个接的和口两相关个lan别忘了nvos hp
c1pc/,配2ip,置配网关置配置默认,路由
路由配置:
uCrern tonfcigurtaoi : 8n3 6byte
s!
vrsieno 1.24
srvice eimestamtspd ebug dtaetmi esecms
reicevtim setampslo gdatet ie msme
nc osevicerpassword -ncryetpoin
!
hostnae mrmsAtredma
!
bot-otsat-ramrekr
boo-tnedm-arerk
!!n
oaaan e-wmoedl!
reosruecp olicy
ip !usbnt-zereo!
!i
cepfno
ip d oain loomupk
!
!
!
!!!
!
!
!
!!
!
!!
!
!
!!
!
!
!
!!
intreacfe aFsEthernte0t0/
oni p adrdessd
puelxf llu!
nierftac eFsaEthterent/001.
ncapsuletiano dt1Q 1o0
pi adderss 912.1681..1 0255.25.25550.
o nnmpstr palin ks-tauts!
i
nerftcaeF satthErneet00/.2e
cnasplatuion ot1Q 2d0ip
adders 192.16s8.021. 25525..255.05
o snmpn raptlin ks-atust
!ip
claslsess
!n
oip ht tps erevr
on ip https ceru-serveer!
!
!
!
!
!
cnorotlplane-!
!
!!!
!
gteaeekper
suhdtow
n
!!
inel onc 0
exc-eimtoue 0t 0l
ogign sgnychonorsu
sopbtits 1
ile aunx0
stpoibts1
line ty 0 4v!
!e
dn
由路器显示:Arm
tesrdams#how i route
Codpe:s C- connctee, S d- tasic, tR - RIP, M- mobli,eB - BG P
D - EGIR, PE -X IEGP extReraln, O- SOPF,IA -O SPF iter naear
1N- OPS FSNS exteAnal trype 1 N,2 -OPS NFSS eAtxeral tynpe 2E1
-O SP eFxetnra tlpe 1,yE 2- O SP Fxeetnrl taye p2
i- IS-IS, su -I S-I Ssumarm,y 1L -IS IS l-evl-e, L2 - IS-1S Ilveel-
2i -aI S-SIin etr raea, *- canddiae tdefalut ,U - pr-euse srttaic oureto
- DO,RP - p eiodic downroaldedstat c riotue
G
aewtay o lafts esrortis on sett
C
921.618.1.00/42 s diierctl coynnetec, FdsatEhtenre0t/01.C
1291.6820.0/2.4i s iderctl yconnctee, FdstaEhtrenet0/02.
rmsAtrdema#howsip int r
bIternfaec PIAddr-ses KO Meth?d otaSuts PrtocoloFa
tEtsernht0/0 e u anssinge d EYSuns e tu p u p Fa
sEtterhen0t0./1 19 2.61.1801 . ESYm auan up l p u F
staEthrnet0/e0.2 129168..2.0 1EY maSnau lpu pu
交
机配置:换
Crruet cnofiguranitn : o4137by et
!svers
io 12.3nse
vrie tcimetsmaps dbeug dattime esmec
servceit mestiapsml g daottiee mmsecno
esricvep sswaro-dnceyrtionp!
hosntmea Belirn
!
boto-sarttma-rkrebo
ot-ndemark-er
!
!
mmery-sozi eioem 5m
onaaa newm-oeld
ipsubn e-tzer
o!!
!
!
ip
c fe
ipips p moxaev-nts 10e0no
tp-sfevrr ewite-rnaeble!
!
!
!
!
!!!
!
!
!!
!
!
!!
!!
!!
intreacfe aFsEtterneth/00switc
hpro moted trnk
un ip aoddress!
i
netfrcea astEFhetrnt0/e1
no pia ddesrs!
iterfanceF
asEtthrneet0/2
wstihpcrota ccse vlans1
no0 pi dardsse
!
nteirafecF satEthenrt0e/3
wstciphrtoac ces svln 20a
n iop addessr
!
iterfance FsatEthreetn0/4
o ip naddrsses
utdohwn
!in
etfare FcatsEtehnrte0/
5noip ad rdsse
hstduonw
!
itnefare cFasEtthenrt0/e6
noip ddaersssh
tdownu!
intreace faFtEtsernhte/70n
o i apddresss
hutdwon !
nitefacer aFsEthtrneet0/8
o ip nadderssshut
don
!w
inetrafec aFstEhetrnte0/9n
o i apdreds
sshtudown
!ntirefac eaFstEthrenet/10
n0oi padd res
sshtudow
n!i
netfarc eastFEhtrnee0/11t
n oi adpdress
suthodnw
!i
tnrefac FasetEthrenet01/2
n oip ddaress
suhtdwno
!
nteirafce FstatheEnetr/013
o ip nddaresss
htduwno!
itnefrac FaseEthtenet0/1r4
n oip ddresa
shustowdn
!i
netfacreF satEtehnrte0/15
noip a dredss
shutdon
!
wntirfaec Vela1
no ip nddraess
!nitrfacee lVn1a0n
oi addprsse
!itnrefae claVn02
o npi dadesrs!
ip https reevr
no ip htp stecuers-rveeri
pcl ssalse
!s !
!
!
!
!
oncrtlo-lpne
a!
!!
!
!!
!!
!
inl eoc 0n
inel ax 0ul
nievt y 04!
!
e
nd
交换的机示显:Be
rlnis#how lavns-iwcht
VANLN ame S atus Pottrs
---- ------------------------------- --------- --------------------------------
1 d feault a tcvi e aF01, /aF/4, F0a/0,5F a/06
F0a/, F70a/, 8F0/a9 Fa,01/0
Fa/110, F0/a12, a0/1F, F30/a14
Fa/105
01 V ALN0010 atcvi e F a02/20
VAL00N2 0 ctive a F0a/
31020f di-dedaulf t caitve
1 00 tok3enr-ig-ndeaflu t a tcive
1040 fdined-dteafut l ac ive t
1050 rtnt-edeauft l aticev
VLA NTyp e SAID M TU P raet nRngioN BrideNogSt p rdBgoMe Trand1 sraTns2
--- ------- -------- ----- ------- --------- ------ -- ---------- ----- ------1
ene t 100001 1500 - - - - - 0120 0103
0 1 ene t1 00100 1 00 5- - - - - 0 0
2 e0net 100200 510 - 0 - - - - 0 0
1 02 fddi0 010120 5100 - - - - - 1 01301
03 tr0 010130 15 00 100 5 0 - - rs b 1 10 201
00 4fdnte 110040 5100 - - 1 i mb - 0 0
105 0trnt 1e0105 0 510 0- - 1 ib m - 0 0 Be
lri#nshwoi pi tnb r
Intrfeace I -AddPessr O K?Me todhSt ats u Pr toocol
aFsEtterhetn00 / u ansisgnd e YSE unste up u p
FsatEthreetn/01 unas isged n ES Yusnte u p d won
aFtEtshernet/2 0 naussgnie d YES unste up up Fas
Etthenrt0e/ 3
unssaiged n EY uSnet us p u p F
atsEhterne0t/4 u assinngd e YES u net sad inimstrtaivleydow n dwo n
FstEathenre0t5/ u nasigsedn YSEun est a mdnisitrtaveli doyn dwwno Fast
Ehetnrt0/e 6 unsaisnge dYES nuet sdminisatrtiaelvydow dnwo n
FsatEthrnet0/e7 un assignd e EYS unet s dmanistraiitevyldo w donn w
FatEshernte0/8 t unassgine d Y S unset E aminidstatrvieyl odn wownd
astFEhtrnet0/e9 uassnignde EYSun ets dminaisrattviey dolnw owdn
FatEtshenret/001 nussagned i Y SE nsuet amindsitraitelvy odn wdonw
FastEhertet0n/1 1 uassingend YES unes t daminstiaritevl ydwo down n Fast
thEenrte01/ 2 una ssgien d EYS unse t adimnisratitelv dowyn odw nFas
Etternet0/h31 naussingd YeSEuns te amidnitratisevy lodn wdwno F
saEthtrnet0e1/ 4 u nsaisgned YE Suns t e admiintratisveyl dwo ndwno
FastEtherne0t15 / unas isgnde YS unsetE dminasirtaitvey dlwond on w
V la1 n u nassinged Y SE nues tpu up
lan1V0 nuassgine YdES usnt eu p pu
Valn02 nuassgnedi EY Sunst up e p u
p1c配置:C
ruert cnonfigrutaoin: 62 5btys
!evers
oni1 24.s
ericev itesmamtp sdebgud tetiam msee
cservic timeetamsspl go atdetme mseic
no sreive pascswrdoe-ncyrpitno
!
hosntma pce1
!
oobt-tars-martkr
ebotoen-dm-rakre!
!
noa aan we-omdel!
resour
cepo icyl
!
i supbetnz-eor
!
!i
p cfe!
!
!!
!
!
!!
!!
!
!
!!
!
!
!!
!
!!
!
!i
tnefacr eaFtsEhernet0t0
i/pa ddrse s92.1681.102.2 55.55.2255.0
udlpxe ullf!
ip
edfaul-tageway 1t2.968.11.10
ip casslelss
p riute o921.68.210. 2505255.255..0 19.261.801.1
!
noip tht sepverr
o ni phtpt ecsreus-erve
!r
!!
!!
!co
nrolt-lapn
!e!
!
!!
!
gatkeepere
hstduonw
!!
iln ceon 0
tspoibst 1
lin aux e0lin
vey t 04
!!
e
nd
pc2置:配Current
ocnigufrtiaon: 625 b tyes!
ersvin 12o.4
esrvcie imtsteamspd ebg dauettime smces
reviecti estampmsl o gdatteimems ce
o snrveicepa swosrde-nrcptiony
!h
stnaomep c2
!
botost-rt-maraekr
ootb-ne-mardker
!!
noaaa enwmo-dle!
erouscr eopilcy!
ip suneb-zteor
!
!ip efc
!!
!
!
!
!
!
!
!
!
!
!
!
!
!!!
!
!
!!
!
!ntireafe cFatstherEet0/0n
i apdrdess1 2.968.10.2 225.255.2555.0d
upexl ufll
!ip
dfealtug-teaawy1 2.168.9201.
ipc alsless
si rputoe1 2.196.108. 205.5525.5250.1 2916..8021.
!
no i phtpt srveer
n op hitp tescue-rersvre!
!
!
!!
!cnotrlo-plnae!
!
!!
!!
gaetkeepres
htuodn w!
!
lnie onc0
sopbtis t
1lnie axu0
ile nvt y 40
!
!end