19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VLAN Trunking Protocol Configuration<br />

- VTP configuration on SW1:<br />

SW1#conf t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

SW1(config)#int fa0/12<br />

SW1(config-if)#switchport trunk encapsulation dot1q<br />

SW1(config-if)#switchport mode trunk<br />

SW1(config-if)#no shut<br />

SW1(config-if)#^Z<br />

SW1#<br />

SW1#sh int fa0/12 switchport<br />

Name: Fa0/12<br />

Switchport: Enabled<br />

Administrative Mode: trunk<br />

Operational Mode: trunk<br />

Administrative Trunking Encapsulation: dot1q<br />

Operational Trunking Encapsulation: dot1q<br />

Negotiation of Trunking: On<br />

Access Mode VLAN: 1 (default)<br />

Trunking Native Mode VLAN: 1 (default)<br />

Administrative Native VLAN tagging: enabled<br />

--- output omitted ---<br />

SW1#sh int fa0/12 trunk<br />

Port Mode Encapsulation Status Native vlan<br />

Fa0/12 on 802.1q trunking 1<br />

Port Vlans allowed on trunk<br />

Fa0/12 1-4094<br />

Port Vlans allowed and active in management domain<br />

Fa0/12 1-3<br />

Port Vlans in spanning tree forwarding state and not pruned<br />

Fa0/12 1-3<br />

SW1#conf t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

SW1(config)#vtp domain building01<br />

Changing VTP domain name from NULL to building01<br />

SW1(config)#vtp password pass123<br />

Setting device VLAN database password to pass123<br />

SW1(config)#^Z<br />

SW1#sh vtp status<br />

VTP Version : 2<br />

Configuration Revision : 2<br />

Maximum VLANs supported locally : 1005<br />

Number of existing VLANs : 7<br />

VTP Operating Mode : Server<br />

VTP Domain Name : building01<br />

VTP Pruning Mode : Disabled<br />

VTP V2 Mode : Disabled<br />

VTP Traps Generation : Disabled<br />

MD5 digest : 0x82 0x47 0xB0 0x3D 0x78 0xFE 0xCF 0x47<br />

Configuration last modified by 0.0.0.0 at 3-1-93 00:06:10<br />

Local updater ID is 0.0.0.0 (no valid interface found)<br />

SW1#<br />

58<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!