You are on page 1of 3

Chapter 10 Key Topics

CDP Information
 Device identifier: Typically the hostname
 Address list: Network and data-link addresses
 Local interface: The interface on the router or switch issuing the show cdp command with which
the neighbor was discovered
 Port identifier: Text that identifies the port used by the neighboring device to send CDP
messages to the local device
 Capabilities list: Information on what type of device it is (for instance, a router or a switch)
 Platform: The model and OS level running in the device

Ethernet Port Autonegotiation


 If the speed is not known, use 10 Mbps, half duplex.
 If the speed is somehow known to be 10 or 100 Mbps, default to use half duplex.
 If the speed is somehow known to be 1000 Mbps, default to use full duplex.
Chapter 10 Key Topics

Switch Forwarding Logice


Step 1 Determine the VLAN in which the frame should be forwarded. On access interfaces this is based on
the access VLAN associated with the incoming interface.
Step 2 Look for the frame’s destination MAC address in the MAC address table, but only for entries in the
VLAN identified in Step 1. If the destination MAC is...
A. Found (unicast), forward the frame out the only interface listed in the matched address table entry.
B. Not found (unicast), flood the frame out all other access ports (except the incoming port) in that same
VLAN.
C. Broadcast or multicast, flood the frame out all other access ports (except the incoming port) in that
same VLAN.

Command Description
Shutdown
no shutdown I nterface subcommands that administratively disable and
enable an interface, respectively.
switchport port-security violation {protect | restrict | Interface subcommand that tells the switch what to do if
shutdown} an inappropriate MAC address tries to access the network
through a secure switch port.
cdp run
no cdp ru Global commands that enable and disable, respectively,
CDP for the entire switch or router.
cdp enable
no cdp enable Interface subcommands that enable and disable,
respectively, CDP for a particular interface.
speed {10 | 100 | 1000} Interface subcommand that manually sets the interface
speed.
duplex {auto | full | half} Interface subcommand that manually sets the interface
duplex.

Command Description
show mac address-table [dynamic | static] [address hw- Displays the MAC address table. The security option
addr] [interface interface-id] [vlan vlan-id] displays information about the restricted or static settings.
show port-security [interface interface-id] [address] Displays information about security options configured on
an interface.

show cdp neighbors [type number] Lists one summary line of information about each
neighbor, or just the neighbor found on a specific
interface if an interface was listed.
show cdp neighbors detail Lists one large set of information (approximately 15 lines)
for every neighbor.
show cdp entry name Displays the same information as the show cdp
neighbors detail command, but only for the named
Chapter 10 Key Topics
neighbor.
show cdp States whether CDP is enabled globally, and lists the
default update and holdtime timers.
show cdp interface [type number] States whether CDP is enabled on each interface, or a
single interface if the interface is listed, and states update
and holdtime timers on those interfaces.
show cdp traffic Displays global statistics for the number of CDP
advertisements sent and received.
show interfaces [type number] Displays detailed information about interface status,
settings, and counters.
show interfaces status [type number] Displays summary information about interface status and
settings, including actual speed and duplex, and whether
the interface was autonegotiated.

You might also like