Preview Mode — This PBQ requires a Premium Membership and is being shown in a read-only preview mode.     See Plans

Switch Configuration Commands

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.


ip default-gateway 192.168.1.1
banner motd #
no shutdown
duplex full
interface range fa0/1-12
switchport mode trunk
speed 100
switchport port-security mac-address sticky
mdix auto
switchport port-security
spanning-tree portfast
switchport access vlan 10
hostname Switch1
vlan 20
service password-encryption
Interface configuration command to enable PortFast on an access port
Global configuration command to set the switch name
Global configuration command to create VLAN 20
Interface configuration command to enable automatic MDI/MDIX crossover
Global configuration command to encrypt passwords in the configuration
Interface configuration command to set port speed to 100 Mbps
Interface configuration command to enable sticky MAC address learning
Global configuration command to configure the message of the day
Interface configuration command to assign a port to a specific VLAN
Global configuration mode command to set the default gateway for the switch
Interface configuration command to set a port as a trunk link
Global configuration command to configure multiple interfaces simultaneously
Interface configuration command to enable port security
Interface configuration command to administratively enable an interface
Interface configuration command to set duplex mode to full