z:–VLANVLAN–VLAN–VTP––VLANVLANVLANVLANzVLANzVLANVLANLANVLANVLAN.VLANVLANVLAN3VLANCiscoCatalystVLANtrunkingVLANVLANVLANVLANVLANVLANVLANVLANVLANzVLANzVLANzVLANVLANVLANMACVLANMACVLANVMPSVLANCiscoVLANCiscoWorks2000VLANVLANVLANVLANVLANVLANVLANIDPVIDVLANVLANswitches2zaccesslinksVLANVLANnativeVLANswitchesaccess-linkVLANaccess-linkVLANaccess-linkztrunklinksVLANtrunklink100Mbps1005VLAN.trunklink1VLAN3switchestrunklinkVLANswitchestrunklinkVLAN1VLAN1VLANVLANtrunklinkVLANVLANVLANzInter-SwitchLinkISLCiscoISLswitchrouterzIEEE802.1Qdot1Q.IEEECiscoCiscoISL802.1Q.802.1QVLANMACIEEE802.1QVLANISL802.1QVLANVTPVTPzVTPzVTPVTPVTPVLANtrunkingVLANVLANCiscoVLANVLANVLANTrunkingProtocolVTP2VLANVTPVLANVTPVTPVLANVTPVTPVTPzVLANzVLANzVLANVTPswitchzplug-and-playVLANztrunklinkATMLANE,FDDIVTPVTPVTPVLANVTPVTPserverVLANswitchswitch1VTPswitchVTPswitchVLAN1VLANVTPVTPtrunkVTPswitchswitchVTPVLANVTPtransparentVTPmodeswitchtrunkVTPVTPVTPswitchVTPVLANVLAN1VTPVTPVTP3:zservermodeCatalystswitches1VTP1VLANVTP.NVRAMzclientmodeswitchesVTPVTPswitchesVLANswitchVLAN.NVRAMztransparentmodeswitchVLANNVRAMVTPVTPzVTPzVTPzVTPVTPVTPVTPdomain-name32Switch(config)#vtpdomaindomain-nameVTPVTPVTPSwitch(config)#vtpmode{server|client|transparent}Switch(config)#vtppasswordpasswordVTPVTPVTPSwitch(config)#vtpversion{1|2}zzMACMACMACMAC1132132132MACportsecureMACMACMACMACMACcountSticky-Learns:zMACzMAC:zSuspendzDisablezIgnorezsuspendCatalystMACSwitch(config-if)#switchportport-sercurityMACSwitch(config-if)#switchportport-sercuritymaximummax-addressMAC11024MACSwitch(config-if)#switchportport-sercuritymaximummax-addressMAC11024MACSwitch(config-if)#switchportport-sercurityviolation{shutdown|restrict|protect}MACMACzMACzMACMACMACMACSwitch#showSwitch#showmacmac--addressaddress--tabletableshowmac-address-tableMACMACzzzSwitch#showSwitch#showmacmac--addressaddress--tabletableMACMACMACMACMAC19001024MACMACMACSwitch(config)#mac-address-tablepermanent[MACAddress][typeslot/port]Switch(config)#mac-address-tablerestrictedstatic[macaddress][typeslot/port][sourceinterfacelist]MACSwitch#clearmac-address-table[dynamic|permanent|restricted]zzzSwitch(config-if)#descriptiondescription-string“nodescription”10/10010100AutoSwitch(config-if)#speed{10|100|auto}Switch(config-if)#duplex{auto|full|half}NVRAMNVRAM19002950NVRAM1900NVRAMstartup-configrunning-config1900NVRAMcopyrunstart2950startup-configrunning-configcopyrunstartNVRAM2950startup-config“erasestartup-config”zSwitch#showportsystemzSwitch(config)#switching-mode{fragment-free|store-and-forward}