Cisco – Switch Reference

Setting up a trunk between switches

Enable Switch to enable mode
Configure Terminal Enter global configuration mode

Interface FastEthernet0/1 Entering interface configuration for port 0/1. This is where you pick the port you want to trunk.

Switchport mode trunk Set port to trunking mode.

Switchport trunk encapsulation dot1q Set trunk type to 802.1q. If your switch only supports either ISL or 802.1q, this command does not exist because there is nothing to specify. This command only works when you can choose between the two.

Switchport trunk allow vlan 10-15,20 Allow only VLANs 10 through 15 and VLAN 20. It is important that you restrict the VLANs to only the ones you need for security best practices.

Exit Exit interface

Exit Exit global configuration

copy run start – save changes to nvram

Setting a switch up as a vtp client…. (VLAN client — cannot modify VLAN information)

vlan database enter vlan database

vtp client set switch vtp to client mode

vtp domain domain-name set switch to this domain – server switch will propergate vlan information across

possible to also set a password

Reset switch to factory defaults….

write erase

reload

Ensure you select NO to “do you wish to save changes”

How to make changes to multiple ports at same time;

interface range FastEthernet 0 – 23 (works on newer IOS)

Else its good ole notepad and terminal – rem that Ctrl-C (as it is sent to the session) does not work in terminial, you have to right cilck and copy. Though its easier to start a capture straight after you type show running-config, modify in notpad and paste back into config terminal.