

An alternate port or backup port role excludes the port from the active topology.īH_SW1(config)# spanning-tree mode rapid-pvstīH_SW1(config)# spanning-tree link-type point-to-pointīH_SW1(config)# spanning-tree mst configurationīH_SW1(config-mst)# instance 2 vlan 1-1000.A root port or designated port role includes the port in the active topology.The system assigns port roles as follows: Disabled-A port that has no role within the operation of spanning tree.

Backup ports can exist only where two ports are connected together in a loopback mode or bridge with two or more connections to a shared LAN segment.

#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
