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.

- VTP configuration on SW2:<br />

SW2#conf t<br />

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

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

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

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

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

SW2(config-if)#exit<br />

SW2(config)#vtp mode client<br />

Setting device to VTP CLIENT mode.<br />

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

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

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

Setting device VLAN database password to pass123<br />

SW2(config)#vlan 4<br />

VTP VLAN configuration not allowed when device is in CLIENT mode.<br />

SW2(config)#no vlan 3<br />

VTP VLAN configuration not allowed when device is in CLIENT mode.<br />

SW2(config)#int fa0/5<br />

SW2(config-if)#spanning-tree portfast<br />

SW2(config-if)#switchport mode access<br />

SW2(config-if)#switchport access vlan 2<br />

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

SW2#<br />

- Verify the VTP configuration on SW2 with the sh vlan and sh int fa0/12 switchport<br />

commands. Verify PC1 and PC2 (in the same VLAN) communication with the ping command.<br />

- Below lists the 2 types of VLAN membership:<br />

Static VLANs Dynamic VLANs<br />

- The most usual and secure way of creating - Automatically determines the VLAN<br />

VLANs by manual configuration of<br />

assignment for an end system based on the<br />

VLAN assignment.<br />

MAC address.<br />

- A switch port always maintains its VLAN - Easier management and configuration –<br />

association.<br />

switches will correctly assign the<br />

- Works well in networks with minimal appropriate VLAN for moved end systems.<br />

user movement.<br />

- VLAN Management Policy Server<br />

(VMPS) is being used for setting up a<br />

MAC-address-to-VLAN mapping database.<br />

Note: Catalyst 4500 and 6500 switches can be configured as a VMPS.<br />

- Below lists the 2 types of links in switched networks:<br />

Access links Belongs to only one VLAN at a time and only allow a single VLAN to be used<br />

across the link (directly connected hosts are communicating in one VLAN<br />

only). VLAN information associated to a frame is removed before the frame is<br />

being forwarded out an access link. Hence hosts are unaware of the usage of<br />

VLAN and are just assume in a broadcast domain. Connecting hosts and hubs.<br />

Trunk links Can be part of multiple VLANs at a time and able to carry traffic for multiple<br />

VLANs when VLANs span across multiple switches. They are point-to-point<br />

links between 2 switches, switch-router, or switch-host. They are not shown in<br />

the output of show vlan EXEC command. The term trunk was inspired by<br />

the telephone system trunks which carry multiple conversations at a time.<br />

59<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!