Part 1-2: Configuring VLAN & VTP
VTP
You can configure VTP in global mode, where you set parameters in the VTP database. You can also configure it in VLAN configuration mode, which is more fine-grained. Remember that the stored configuration and the VTP database are not always the same; the VTP database can contain dynamically learned information. Specifying a new filename simply renames the place where dynamic information will be stored.
The vlan level changes single VLANs, while the vtp level applies to all standard-range VLANs.
As opposed to most other configuration editor changes, the commands do not take effect immediately, but only after you complete the module and commit the changes.
Global Configuration Mode
If you want to use VTP transparent mode, you must use global configuration mode. Global configuration is the only way to establish the domain name, database file and switch mode if the switch is in transparent mode.
[code]
vtp {domain domain-name | file filename | interface name | mode {client | server | transparent } | password password | pruning | version version-number}
[/code]
For the actual configuration,
[code] vlan database ! Enter VLAN configuration mode [/code]
to set server mode, enter server mode and configure:
[code]
vtp mode server
vtp domain domain-name
vtp password password
[/code]
VTP Configuration in VLAN configuration Mode
To configure parameters for individual VLANs, use VLAN configuration mode. Global commands such as the domain would normally have been set already, at the global level.
[code]
vlan vlan-id
[name vlan-name]
[state {suspend | active}]
[/code]
Configuring VTP Pruning
The command for VTP pruning is:
[code]
interface fa0/1
switchport mode trunk
switchport trunk pruning vlan 2-4
[/code]
Configuring trunk encapsulation
[code]
switchport trunk encapsulation encap-mode
[/code]
I will be adding more howto to this part later on.
Sphere: Related Content
Print This Post
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments
No comments yet.
Leave a comment