ICND1 Section 2 - Ethernet Switching Flashcards
Command to set VTP mode
in global config mode:
vtp mode [server | client | transparent | off]
What are the 4 trunking administrative modes?
- Access
- Trunk
- dynamic desirable
- dynamic auto
What are the 3 primary functions of a switch?
- Deciding when/where to forward a frame, based on destination MAC.
- Learning MAC address based on source port/MAC.
- Creating a loop free environment using STP.
What are the 1 mandatory and 1 optional commands to configure an access port?
- In interface config mode, “switchport access vlan vlanid”
- (Optional) Set the mode to access only.
What is the distance for 1000BASE-LX or 1000BASE-SX on MM fiber?
550m
Command to apply configurations to a set of continguous interfaces
conf t
interface-range first int-last int
Command to set the native vlan for a trunk port
in interface config mode:
switchport trunk native vlan vlanid
Command to set a port to initiate trunking negotiation messages.
int gi0/1
switchport mode dynamic desirable
Command to set the device to use SSH2
ip ssh version 2
Command to have logging messages on the console connection only display at convenient times
line con 0
logging synchronous
What is the normal range and extended range vlan numbers?
Normal = 1 - 1005 Extended = 1006 - 4094
What is the primary impact of VTP server mode?
Server switches can only configure vlans in the standard range
Command to see the status of any ip addresses obtained by DHCP
show dhcp lease
Command to show the options set on trunk ports
show interfaces trunk
Command to see the status of the SSH service on the device
show ip ssh
Command to set a port to trunk mode
switchport mode trunk
Command to enable port security on an interface
switchport port-security
Command to change the default vlans allowed on a trunk.
switchport trunk allowed vlan {add | remove | all | except }
Command to set the trunking encap type on a port
switchport trunk encapsulation [dot1q|isl|negotiate]
What does ROM store?
the bootstrap code (program) used when the device boots up
5 steps to enabling SSH
- Configure VTY lines to use either local or AAA security
- If local, add usernames
- Configure the ip domain-name
- Create the encryption key
- (optional) Enable SSH2
2 mandatory and 4 optional steps to enabling port security
- Set a port to either trunk or access mode
- enable port security
Optional
- Change the default number of MAC addresses allowed
- Change the default port security violation behavior
- Define any permitted MAC addresses
- Tell the switch to sticky-learn any dynamically learned mac addresses
What 3 cable standards have distance limitations of 100m?
10BASE-T
100BASE-T
1000BASE-T
How big is the VLAN ID field inside the .1Q header?
12 bits
Command to name a vlan
conf t
vlan vlanid
name name
What is the distance limitation for 1000BASE-LX on SM fiber?
5k
Where is the .1Q tag inserted in the ethernet header?
Between the source address and type fields.
Command to ensure that an access port does not negotiate to become a trunk
conf t
interface gi1/1
switchport mode access
Command to copy the running config to a TFTP server
copy running-config tftp
Command to create the encryption key for SSH
crypto key generate rsa
Command to see the security state of switch ports
show port-security interface
uer03.arvada.co.denver#show port-security interface gi1/1 Port Security : Disabled Port Status : Secure-down Violation Mode : Shutdown Aging Time : 0 mins Aging Type : Absolute SecureStatic Address Aging : Disabled Maximum MAC Addresses : 1 Total MAC Addresses : 0 Configured MAC Addresses : 0 Sticky MAC Addresses : 0 Last Source Address:Vlan : 0000.0000.0000:0 Security Violation Count : 0
What is the default trunking administrative mode?
Dynamic auto
what 3 commands can be used to remove the startup config?
Erase nvram
Erase startup-config
Write erase
What vlans cannot be deleted?
1, 1002-1005
What are the 3 port security violation options, and which is default?
- Shutdown (default)
- Protect
- Restrict
If there is no username set globally, what 2 things need to be configured on a VTY to allow a user to log in via telnet/SSH?
the ‘login’ line
the ‘password ‘ line
What is the IEEE standard behavior when autonegotiation is only enabled on one side of a link?
- Use your slowest speed
2. If your speed = 10 or 100m use half-duplex, otherwise use full-duplex
Command to create a vlan
vlan vlanid