5.2 Switch Interface Configuration Flashcards
After plugging in a switch what are the three things you should always configure
Passwords - console, virtual terminal, or VTY, and enable mode
IP addresses
Default gateway
What do these commands do:
switch(config)#interface FastEthernet 0/14
switch(config)#interface GigabitEthernet 0/1
Moves to interface configuration mode
What do these commands do:
switch(config)#interface range fastethernet 0/14 - 24
switch(config)#interface range gigabitethernet 0/1 - 4
switch(config)#interface range fa 0/1 - 4 , 7 - 10
switch(config)#interface range fa 0/8 - 9 , gi 0/1 - 2
Moves to configuration mode for a range of interfaces
What do these commands do: switch(config-if)#speed 10 switch(config-if)#speed 100 switch(config-if)#speed 1000 switch(config-if)#speed auto
Sets the port speed on the interface
What do these commands do:
switch(config-if)#duplex half
switch(config-if)#duplex full
switch(config-if)#duplex auto
Sets the duplex mode on the interface
What do these commands do:
switch(config-if)#no shutdown
switch(config-if)#shutdown
Enables or disable the interface
What does the command switch#show interface status
Shows interface status of all ports
what does the command switch#show ip interface brief
Shows line and protocol status of all ports
What switch configuration mode does the command Switch(config-if)# enable
Interface configuration mode
What mode does the command Switch(config-vlan)# enable
Config-vlan
What mode does the command Switch(config-line)# enable
Line configuration mode
What can you configure in interface configuration mode
Ethernet (10 Mbps Ethernet)
FastEthernet (100 Mbps Ethernet)
GigabitEthernet (1 GB Ethernet)
VLAN
What can you configure in Config-vlan mode
You can use the config-vlan mode to perform all VLAN configuration tasks.
Changes made in vlan mode take place immediately.
What can you configure in Line configuration mode
Use this mode to configure parameters for the terminal line, such as the console, Telnet, and SSH lines.
What layer of the OSI model do basic switches operate on
Layer 2
When should you configure a switch with an ip address?
If you want to manage the switch from a Telnet or web session
What layer of the OSI model would a switch be on if the ports had ip addresses
Layer 3
Name the key host configuration settings on a TCP/IP network
Ip address Subnet mask Default gateway Hostname DNS server MAC address
How do you configure a ip address onto a switch
By setting the address to the VLAN interface
What do the following commands do switch#config terminal switch(config)#interface vlan 1 switch(config-if)#ip address 1.1.1.1 255.255.255.0 switch(config-if)#no shutdown
Sets the ip address to the vlan interface and enables it
What command enables management from a remote network
switch(config)#ip default-gateway 1.1.1.254