0 | 1 | 2 | 3 |
---|---|---|---|
Version (1 byte) | Type (Summary Adv) (1 byte) | Nuber of subset adv to follow (1 byte) | Domain name length (1 byte) |
Management Domain Name (doplněno nulami na 32byte) | |||
Configuration Rev. Number (4 byte) | |||
Updater Identity (IP adr. 4 byte) | |||
Update Time Stamp (12 byte) | |||
MD5 Digest hash code (16 byte) |
Upozorňují na změnu (vytvoření, smazání, přejmenování, změna MTU) ve VLAN databázi
0 | 1 | 2 | 3 |
---|---|---|---|
Version (1 byte) | Type (Subset Adv) (1 byte) | Nuber of subset adv to follow (1 byte) | Domain name length (1 byte) |
Management Domain Name (doplněno nulami na 32byte) | |||
Configuration Rev. Number (4 byte) | |||
VLAN Info Field 1 | |||
VLAN Info Field . | |||
VLAN Info Field N |
0 | 1 | 2 | 3 |
---|---|---|---|
Info Length | VLAN Status | VLAN Type | VLAN Name Length |
VLAN ID | MTU Size | ||
802.10 SAID Security Association ID | |||
VLAN Name (doplněno nulami na násobek 4 bytů) |
Požadavky klientů o aktualizaci VTP informace (např.po rebootu)
Takto vypadá switch, který lze bezpečně připojit do sítě:
Switch# show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 1005 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Switch(config)# vtp domain domain-name …(max.32 znaků)
Switch(config)# vtp mode {server | client | transparent}
Switch(config)# vtp version {1 | 2} …(def.1)
Switch(config)# vtp password password
Switch# show vtp status
Switch# show vtp password
Switch# show vtp counters
Switch# show vtp counters VTP statistics: Summary advertisements received : 1 Subset advertisements received : 2 Request advertisements received : 1 Summary advertisements transmitted : 1630 Subset advertisements transmitted : 0 Request advertisements transmitted : 4 Number of config revision errors : 0 Number of config digest errors : 0 Number of V1 summary errors : 0 VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ----------------- ---------------- --------------- ------------------------------- Gi0/1 82352 82931 0
Switch(config)# vtp pruning
Switch(config)# interface type mod/num
Switch(config-if)# switchport trunk pruning vlan {{{add | except | remove} vlan-list} | none}
VLAN 1,1002-1005 - nikdy nepodléhají pruningu (VLAN 1-kontrolní provoz)