Cli Commands Flashcards

(6 cards)

1
Q

Which CLI command displays all VLANs configured on a switch?
- show interfaces
- show ip interface brief
- show vlan brief
- vlan database

A

Correct Answer: show vlan brief
Explanation: Lists all VLANs and their port assignments.
Practical Use: Verifies VLAN setup.
Incorrect:
- show interfaces: Displays interface status only.
- show ip interface brief: Shows IPs/interfaces, not VLANs.
- vlan database: Enters VLAN config mode.
Objective: N10-009 Network Implementation
Follow-Up: What command shows trunk port status?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the command ip routing do on a Layer 3 switch?
- Enables OSPF
- Configures static route
- Enables routing functionality
- Assigns VLANs

A

Correct Answer: Enables routing functionality
Explanation: Activates Layer 3 routing on the switch.
Practical Use: Allows routing between VLANs.
Incorrect:
- Enables OSPF: router ospf does that.
- Configures static route: ip route is used.
- Assigns VLANs: Done with switchport access vlan.
Objective: N10-009 Network Implementation
Follow-Up: What command assigns an IP to a VLAN interface?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command Set:
configure terminal
interface vlan 10
ip address 192.168.10.1 255.255.255.0
no shutdown

What does this set of commands accomplish?

A

Correct Answer: Creates an SVI for VLAN 10 and assigns it an IP
Explanation: It enables inter-VLAN routing via SVI.
Practical Use: Makes VLAN 10 reachable via IP.
Objective: N10-009 Network Implementation
Follow-Up: What command enables global routing on this switch?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command Set:
interface range fa0/1 - 4
switchport mode access
switchport access vlan 20

What is the result of these commands?

A

Correct Answer: Assigns ports Fa0/1 to Fa0/4 to VLAN 20 in access mode
Explanation: This setup connects end devices to VLAN 20.
Objective: N10-009 Network Implementation
Follow-Up: What command confirms which VLAN a port is assigned to?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Command Set:
interface gig0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20

What does this command set achieve?

A

Correct Answer: Configures Gig0/1 as a trunk allowing VLANs 10 and 20
Explanation: Required for VLAN communication between switches.
Objective: N10-009 Network Implementation
Follow-Up: What command verifies allowed VLANs on a trunk?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Command Set:
show mac address-table

What does this command display?

A

Correct Answer: Shows MAC address-to-port associations
Explanation: Useful for diagnosing switch-level communication.
Objective: N10-009 Network Troubleshooting
Follow-Up: What command clears the MAC address table?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly