On each LAN segment, the switch that is best to use in order to move data from that segment to the root bridge is called the designated switch. STP Rule 2-The root port must be set to forwarding mode.
STP Rule 1-All ports of the root switch must be in forwarding mode. Negotiate (negotiate either ISL or dot1q depending on capabilities of the neighboring interface)īH_SW1(config-if)# switchport trunk encapsulation
BASIC CISCO SWITCH CONFIGURATION PASSWORD
BH_SW1(config)# enable secret abc123 #MD5 hashīH_SW1(config)# enable password qaz123 #Clear textīH_SW1(config)# service password-encryptionīH_SW1(config-if)# ip address 10.1.1.253 255.255.255.248īH_SW1(config)# ip default-gateway 10.1.1.254īH_SW1# copy running-config startup-configīH_SW1(config)# ip domain-name īH_SW1(config)# username sw_admin password zaq321īH_SW1(config-line)# transport input telnet sshīH_SW1(config)# alias exec c configure terminalīH_SW1(config)# alias exec s show ip interface briefīH_SW1(config)# alias exec sr show running-configīH_SW1(config)# interface fastEthernet 0/1īH_SW1(config-if)# description Link to Subnet-1īH_SW1(config)# interface range fastEthernet 0/2 – 24īH_SW1(config-if-range)# switchport mode accessīH_SW1(config-if-range)# switchport access vlan 5īH_SW1(config-if)# switchport mode accessīH_SW1(config-if)# switchport port-security maximum 1īH_SW1(config-if)# switchport port-security violation shutdown | protect | restrictīH_SW1(config-if)# switchport port-security mac-address 68b5.9965.1195īH_SW1# show port-security interface fa0/5īH_SW1(config)# interface fastEthernet 0/2īH_SW1(config-if)# switchport access vlan 10Ĭonfigure switch port to allow voice and data:īH_SW1(config-if)# switchport voice vlan 11