Professional Documents
Culture Documents
Config Vlandynamic
Config Vlandynamic
Config Vlandynamic
Dynamic VLAN
Reference:
Chapter 4 - Academy Semester 7
Cisco CD Documentation
http://www.cisco.com/univercd/cc/td/...g/mascvmps.htm
Static VLAN (port-based VLAN) l loi VLAN thng gp nht, trong cc port trn
switch c gn trc tip v c nh vo VLAN.
Dynamic VLAN l loi VLAN m trong cc thnh vin ca VLAN c xc nh
bng MAC address ca thit b gn vo switch. Qu trnh ny da vo bng a ch
MAC address to VLAN lu trong VMPS database. Khi i host sang switch khc,
switch s thc hin ch nh VLAN cho host .
- Mi dynamic port ch thuc 1 VLAN. Traffic s khng lu thng qua port ny cho
n khi VMPS server ch nh VLAN cho port ny.
-Khi kch hot VMPS, VMPS database t TFTP server s download vo VMPS server
trn switch(nu reset VMPS server th s thc hin download li t TFTP).
- Khi host c gn vo dynamic port, VMPS client s nhn c source MAC
address. Sau , VMPS client s tin hnh kim tra MAC ny bng cch gi VQP
request n VMPS server, VMPS server s gi v VLAN number cho VMPS client.
VMPS Client s cu hnh port vo ng VLAN da trn nhng thng tin nhn t VMPS
Server.
Lu :
- Nhiu host c th hot ng trn cng 1 dynamic port khi chng cng chung VLAN.
Ti a l 20 host (i vi 29xx XL) v 50 host (Catalyst 5xxx), dynamic port s b
shutdown => Cn thc hin lnh no shut reenable a shutdown dynamic port.
- Cn cu hnh VMPS trc khi cu hnh dynamic port.
- VMPS server v VMPS client phi cng chung management VLAN.
- Khi cu hnh dynamic port s t ng kch hot spanning-tree PortFast(PortFast l 1
tnh nng ca STP cho php port gi frame ngay khi physical link active), do ch
disable portfast mode khi cn thit.
- Static secure port khng th lm dynamic port => cn turn off security trn static
secure port trc khi cu hnh dynamic.
- Trunk port khng th lm dynamic port => cn turn off trunking trn trunk port
trc khi cu hnh dynamic.
Cc bc cu hnh VMPS v dynamic port
Bc 1: To VMPS database(text file) & lu trn TFTP server
- nh ngha VMPS domain
- nh ngha security mode (default mode = open mode, VMPS operate both)
- nh ngha MAC-to-VLAN mapping
Sau khi thc hin lnh ny file vmps_config.db s download xung Switch, switch tr
thnh VMPS server. Khi mun update thng tin, c th thc hin lnh download
vmps (dng troubleshoot)
3- Ch nh Primary/Secondary VMPS
Console> (enable) set vmps server
Console> (enable) set vmps server
Console> (enable) set vmps server
server
172.20.26.150 primary
172.20.26.152
172.20.26.159