ICND1 Section 2 - Ethernet Switching Flashcards Preview

CCNA > ICND1 Section 2 - Ethernet Switching > Flashcards

Flashcards in ICND1 Section 2 - Ethernet Switching Deck (38)
Loading flashcards...
1
Q

Command to set VTP mode

A

in global config mode:

vtp mode [server | client | transparent | off]

2
Q

What are the 4 trunking administrative modes?

A
  1. Access
  2. Trunk
  3. dynamic desirable
  4. dynamic auto
3
Q

What are the 3 primary functions of a switch?

A
  1. Deciding when/where to forward a frame, based on destination MAC.
  2. Learning MAC address based on source port/MAC.
  3. Creating a loop free environment using STP.
4
Q

What are the 1 mandatory and 1 optional commands to configure an access port?

A
  1. In interface config mode, “switchport access vlan vlanid
  2. (Optional) Set the mode to access only.
5
Q

What is the distance for 1000BASE-LX or 1000BASE-SX on MM fiber?

A

550m

6
Q

Command to apply configurations to a set of continguous interfaces

A

conf t

interface-range first int-last int

7
Q

Command to set the native vlan for a trunk port

A

in interface config mode:

switchport trunk native vlan vlanid

8
Q

Command to set a port to initiate trunking negotiation messages.

A

int gi0/1

switchport mode dynamic desirable

9
Q

Command to set the device to use SSH2

A

ip ssh version 2

10
Q

Command to have logging messages on the console connection only display at convenient times

A

line con 0

logging synchronous

11
Q

What is the normal range and extended range vlan numbers?

A
Normal = 1 - 1005
Extended = 1006 - 4094
12
Q

What is the primary impact of VTP server mode?

A

Server switches can only configure vlans in the standard range

13
Q

Command to see the status of any ip addresses obtained by DHCP

A

show dhcp lease

14
Q

Command to show the options set on trunk ports

A

show interfaces trunk

15
Q

Command to see the status of the SSH service on the device

A

show ip ssh

16
Q

Command to set a port to trunk mode

A

switchport mode trunk

17
Q

Command to enable port security on an interface

A

switchport port-security

18
Q

Command to change the default vlans allowed on a trunk.

A

switchport trunk allowed vlan {add | remove | all | except }

19
Q

Command to set the trunking encap type on a port

A

switchport trunk encapsulation [dot1q|isl|negotiate]

20
Q

What does ROM store?

A

the bootstrap code (program) used when the device boots up

21
Q

5 steps to enabling SSH

A
  1. Configure VTY lines to use either local or AAA security
  2. If local, add usernames
  3. Configure the ip domain-name
  4. Create the encryption key
  5. (optional) Enable SSH2
22
Q

2 mandatory and 4 optional steps to enabling port security

A
  1. Set a port to either trunk or access mode
  2. enable port security

Optional

  1. Change the default number of MAC addresses allowed
  2. Change the default port security violation behavior
  3. Define any permitted MAC addresses
  4. Tell the switch to sticky-learn any dynamically learned mac addresses
23
Q

What 3 cable standards have distance limitations of 100m?

A

10BASE-T
100BASE-T
1000BASE-T

24
Q

How big is the VLAN ID field inside the .1Q header?

A

12 bits

25
Q

Command to name a vlan

A

conf t
vlan vlanid
name name

26
Q

What is the distance limitation for 1000BASE-LX on SM fiber?

A

5k

27
Q

Where is the .1Q tag inserted in the ethernet header?

A

Between the source address and type fields.

28
Q

Command to ensure that an access port does not negotiate to become a trunk

A

conf t
interface gi1/1
switchport mode access

29
Q

Command to copy the running config to a TFTP server

A

copy running-config tftp

30
Q

Command to create the encryption key for SSH

A

crypto key generate rsa

31
Q

Command to see the security state of switch ports

A

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
32
Q

What is the default trunking administrative mode?

A

Dynamic auto

33
Q

what 3 commands can be used to remove the startup config?

A

Erase nvram
Erase startup-config
Write erase

34
Q

What vlans cannot be deleted?

A

1, 1002-1005

35
Q

What are the 3 port security violation options, and which is default?

A
  1. Shutdown (default)
  2. Protect
  3. Restrict
36
Q

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?

A

the ‘login’ line

the ‘password ‘ line

37
Q

What is the IEEE standard behavior when autonegotiation is only enabled on one side of a link?

A
  1. Use your slowest speed

2. If your speed = 10 or 100m use half-duplex, otherwise use full-duplex

38
Q

Command to create a vlan

A

vlan vlanid