csc2 Flashcards
Command:
banner motd (end character)
Create a message that shows after logging in to the CLI
command:
banner login (end character)
Create a message that shows when attempting to access the CLI
VLAN
Virtual Local Area Network
Allows you to group users and end devices in a logical way. A VLAN is a broadcast domain.
Command:
vlan (number)
Enter layer 2 VLAN configuration mode.
Command:
show vlan
Shows VLAN settings on a device and which interfaces belong to which vlan
Command:
(config-if)
switchport access vlan (number)
Assign a VLAN to a specific interface port
Command:
(config-vlan)
name
Assign a name to the VLAN.
dot1q
802.1q, VLAN tagging standard.
A switch appends a VLAN tag to a frame and recalculates the FCS value.
Trunk/Tagged port
A port on a switch that has multiple VLANs broadcasting through it.
DTP
Dynamic Trunking Protocol
A settings on Cisco Switches that allows a switch to negotiate a trunk port with another switch.
DTP
Dynamic Desirable
Proactively negotiates to creates trunks
DTP
Dynamic Auto
Passively waits to create a trunk until receiving a negotiate request from a connected interface that has Dynamic Desirable set.
DTP
Trunk
Forces an interface to become a trunk.
DTP
Nonegotiate
Disables DTP
Command:
show interfaces trunk
See what trunks are formed on the device.
command:
show interface (interface) switchport
Show the output of a switchport, including DTP settings.
Command:
(config-if)
switchport trunk allowed vlan (name)
Override what VLANs are allowed on a trunk. Very Dangerous.
Command:
(config-if)
switchport trunk allowed vlan add (name)
Add VLANs to the existing allowed list on a trunk.
vlan.dat
VLAN information stored in flash separate from running-config
Command:
write erase
Erases the memory of a device, starts from scratch (CAT Reset)
Command:
delete flash: (item)
Deletes a selected file from flash
ISL
Cisco Inter Switch Link - Outdated Cisco proprietary DTP counterpart. Not used except by some switches that have it on by default.
Command:
(config-if)
switchport trunk encapsulation dot1q
Forces the port to use dot1q for its trunking. Used to disable ISL.
Native VLAN
If a switch receives a frame with no VLAN information, it assumes it belongs to the Native VLAN.
Switches do not tag frames the belong to the native VLAN.