Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Cu hnh DHCP Server.

R1(config)#service dhcp
R1(config)#ip dhcp pool BKNP
R1(dhcp-config)#network 192.1!.1." 2##.2##.2##."
R1(dhcp-config)#def$%lt-ro%ter 192.1!.1.1
R1(dhcp-config)#dns-server 2"!.&.222.222
R1(dhcp-config)#e'it
(rong )*+
- ,ervice -./P + kh0i t1o d2ch v3 -./P ,erver .
- 4P -./P Pool + 56c )2nh kho7ng )2$ ch8 9: -./P server s; c<p cho /lient . c= ph6p l:
)2$ ch8 Network li>n v?i @,%Anet9$sk Aits . /* thB th$C ADng tEn Pool rFi '6c )2nh
kho7ng )2$ ch8 ADng lGnh Network ( ng$C s$% trong vH d3 )
- /6c Iptions + -ef$%lt-ro%ter tJKng )JKng -ef$%lt-g$tew$C L v: -N, server
Cu hnh VLAN
,witch(config)#vl$n n%9Aer
,witch(config-vl$n)#n$9e K.
Gn cc port vo VLAN:
,witch(config)#interf$ce f$stethernet "@"
,witch(config-int)#switchport $ccess vl$n n%9Aer
,witch(config-int)#no sh%t
Cu hnh trunk cho switch:
,witch(config)#interf$ce f$stethernet 1@"
,witch(config-int)#switchport 9ode tr%nk
,witch(config-int)#no sh%t
Cu hnh VTP
MB c<% hNnh cho OPQNL A1n ph7i thRc hiGn t1o OPQN trEn tSng ,witch. OH d3LA1n t1o
OPQN 1" c* 2 port trEn ,witch1 v: 2 port trEn ,witch2L vTC thN trEn c7 h$i ,witch n:C
)>% ph7i c* OPQN 1". M>% )* thTt A<t tiGn khi 2 switch n:C nD9 0 h$i v2 trH kh6c nh$%.
Ui$o thVc O(P s; gi=p ch=ng t$ khWc ph3c nhJXc )iB9 )*. O(P c* Y chZ )[+ ,erver
()JXc ph\p c<% hNnh)L /lient (nhTn v: cTp nhTt c<% hNnh)L (r$nsp$rent (ch%CBn tiZp c<%
hNnh). B:i l$A n:C s; hJ?ng d]n c6c A1n thRc hiGn c<% hNnh cho O(P.
/<% hNnh O(P v?i domain name l: Lab4 v: c* VTP password l: cisco trEn c7 Y
switch.
1.(hiZt lTp ,1 l: serverL ,2 l: cien!L v: ,Y l: !ransparen!.
,1(config)#vtp 9ode server
,1(config)#vtp do9$in P$A^
,1(config)#vtp p$ssword cisco
,1(config)#end
,2(config)#vtp 9ode client
,2(config)#vtp do9$in P$A^
,2(config)#vtp p$ssword cisco
,2(config)#end
,Y(config)#vtp 9ode tr$nsp$rent
,Y(config)#vtp do9$in P$A^
,Y(config)#vtp p$ssword cisco
,Y(config)#end

You might also like