Switch Configuration Commands
Cisco CCNA 200-301 PBQ
This exercise helps students match Cisco IOS switch configuration commands with their purposes and the configuration modes where they're applicable, reinforcing command syntax knowledge.
hostname Switch1
banner motd #
spanning-tree portfast
duplex full
speed 100
switchport mode trunk
switchport access vlan 10
no shutdown
ip default-gateway 192.168.1.1
mdix auto
switchport port-security
switchport port-security mac-address sticky
vlan 20
interface range fa0/1-12
service password-encryption
Global configuration mode command to set the default gateway for the switch
Global configuration command to encrypt passwords in the configuration
Global configuration command to configure multiple interfaces simultaneously
Interface configuration command to administratively enable an interface
Interface configuration command to enable PortFast on an access port
Global configuration command to configure the message of the day
Global configuration command to create VLAN 20
Interface configuration command to enable automatic MDI/MDIX crossover
Interface configuration command to enable sticky MAC address learning
Interface configuration command to set a port as a trunk link
Interface configuration command to set port speed to 100 Mbps
Interface configuration command to set duplex mode to full
Interface configuration command to assign a port to a specific VLAN
Global configuration command to set the switch name
Interface configuration command to enable port security