You are on page 1of 3

BI VIT CCNA: THIT K V TRIN KHAI VLAN

Tc gi: n
g Quang Minh

Ti liu tham kho cho hc vin CCNA ca VnPro

I.

THIT K VLAN:

Trong khi trin khai VLAN trong mt h thng mng campus, ngi qun tr c
th thit k VLAN theo hai cch thc:
* Thit k VLAN theo dng end-to-end: cn gi l campus-wide.

Trong kiu chia VLAN ny, VLAN s tri rng trn ton campus. Mt thnh
vin ca VLAN di chuyn trong mng, thuc tnh l thnh vin ca VLAN
khng thay i. iu ny c ngha l, mi VLAN phi sn c tng switch,
c bit l nhng switch nm layer access trong m hnh 3-layer: coredistribution-access.

Nh vy, trong end-to-end VLAN, cc ngi dng s c nhm vo thnh


nhng nhm da theo chc nng, theo nhm d n hoc theo cch m nhng
ngi dng s dng ti nguyn mng.

* Chia VLAN dng cc b:

VLAN c gii hn trong mt switch hoc mt khu vc a l hp (trong mt


wiring closet). L do dng dng VLAN ny l cc VLAN dng end-to-end
tr nn kh duy tr. Cc ngi dng thng xuyn yu cu nhiu ti nguyn
khc nhau. Cc ti nguyn ny thng nm trong nhu VLAN khc nhau.

II.

TRIN KHAI VLAN:

Chia VLAN trn Cisco Catalyst Switch c 2 bc:


1. To VLAN
2. Gn SW port vo VLAN c 2 kiu:
- Static: p dng cho cc mng nh v gn port vo VLAN nhn cng
- Dynamic
Nu bn s dng SW Catalyst 2900XL to VLAN static th bn c th cu hnh
nh sau:

1. To VLAN
vlan database
vlan #vlan name vlanname
Ch : khng nn s dng VLAN 1 nu khng mun cho telnet vo SW
2. Gn SW port vo VLAN
interface FastEthernet 0/n
switchport mode access
switchport access vlan n

Khi chia c VLAN trn switch, gi s thnh 4 VLAN. Lm th no


nh tuyn c cc VLAN .
Nu ta dng 4 con router ni vo Switch nh tuyn 4 VLAN th cng
knh qu (c v khng tit kim) cc Vlan ny c th thng sut vi
nhau,bt buc phi dng L3 routing.
Bn cn phi dnh ra 1 port (Fast ethernet) lm trunk port.Khi y,ng ni
t Fast ethernet ca router n port c gi l ng trunking.
Th th ng trunking c vai tr g trong vic lin lc gia cc VLAN.?
Khi c ng trunking,cc traffic qua li gia cc vlan u i qua y,trn

cc frame s c gn thm thng tin v VLAN gi l tagging. Thng tin trong


tagging s cha VLAN-ID m frame thuc v.
Interface Fastethernet ca Router s c chia ra lm nhiu sub-interface (tng
ng vi s VLAN).Mi sub-interfaces xem nh thuc v mt VLAN tng ng
trn switch. Cng vic ca cc sub-int ny l lm gateway cho cc host bn
trong mi VLAN.

You might also like