Cisco Router & Switch Basics Flashcards
Command: Configure IP address on SVI - 192.168.0.10/24 & Configure default gateway of 192.168.0.1
Interface vlan 1 ip address 192.168.0.10 255.255.255.0 no shutdown exit ip default-gateway 192.168.0.1
Command: Set duplex to full and speed to 100 Mbps on interface FastEthernet0/1
Interface f0/1
Duplex full
speed 100
End
show interface f0/1
Command: Enable & Disable CDP Globally
Enable:
cdp run
Disable:
no cdp run
Command: Disable CDP at the interface level
No cdp enable
Command: Verify CDP info & CDP neighbor info
show cdp
show cdp neighbors
show cdp neighbors detail
CDP vs. LLDP: LLDP Differences
Depending on switch version, may be disabled by default
Only supported on physical interfaces (CDP can be on virtual too)
Can only discover up to one device per port
Can discover Linux servers
Command: Enable/Disable LLDP Globally
Enable:
lldp run
Disable:
no lldp run
Command: Disable LLDP at the Interface level
no lldp transmit
no lldp receive
Command: Verify LLDP & LLDP Neighbors
show lldp
show lldp neighbors
show lldp neighbors detail
Command: View info on all interfaces
show ip interface brief
Interface Output: Administratively down
Interface is turned off. Enabled using “no shutdown”
Interface Output: Down/Down
Layer 1 issue
Check interface is cabled at both ends & device on the other side is powered on
Interface Output: Up/Down
Layer 2 issue
Check interface configuration matches on both sides
Command: Verify speed/duplex settings on FastEthernet0/1
show interface f0/1