The following shows the partial output of the show cdp neighbors command:
DevicID Local Intrfce Holdtme Capability Platform Port ID
lab-7206 Eth 0 157 R 7206VXR Fas 0/0/0
lab-as5300-1 Eth 0 163 R AS5300 Fas 0
lab-as5300-2 Eth 0 159 R AS5300 Eth 0
lab-as5300-3 Eth 0 122 R AS5300 Eth 0lab-as5300-4 Eth 0 132 R AS5300 Fas 0/0
lab-3621 Eth 0 140 R S 3631-telcoFas 0/0
008024 2758E0 Eth 0 132 T CAT3000 1/2
lab-400-1 Eth 0 130 r FH400 Fas 0/0
What does “r” represent in this output?
A.
Router
B.
Route bridge
C.
Hub
D.
Repeater
Explanation:
The “r” in the output of the show cdp neighbors command is a capability code that represents a repeater. The
capability codes from the output of the show cdp neighbors command along with their descriptions are:
Capability Codes: R – Router, T – Trans Bridge, B – Source Route Bridge
S – Switch, H – Host, I – IGMP, r – Repeater
The show cdp neighbors command is used to view details about neighboring devices discovered by Cisco
Discovery Protocol (CDP). The following code is the full output of the command:
Capability Codes: R – Router, T – Trans Bridge, B – Source Route Bridge
S – Switch, H – Host, I – IGMP, r – Repeater
DevicID Local Intrfce Holdtme Capability Platform Port ID
lab-7206 Eth 0 157 R 7206VXR Fas 0/0/0
lab-as5300-1 Eth 0 163 R AS5300 Fas 0
lab-as5300-2 Eth 0 159 R AS5300 Eth 0
lab-as5300-3 Eth 0 122 R AS5300 Eth 0
lab-as5300-4 Eth 0 132 R AS5300 Fas 0/0
lab-3621 Eth 0 140 R S 3631-telcoFas 0/0
008024 2758E0 Eth 0 132 T CAT3000 1/2
lab-400-1 Eth 0 130 r FH400 Fas 0/0
The fields in the output are as follows:
Device ID: The ID, Media Access Control (MAC) address or the serial number of the neighboring device.
Local Intrfce: The protocol which the connectivity media uses.
Holdtme: The time duration for which the CDP advertisement will be held back by the current device from a
transmitting router before it gets discarded.
Capability: The type of device discovered by the CDP. It can have the following values:
R Router
T Transparent bridge
B Source-routing bridge
S Switch
H Host
I IGMP device
r Repeater
Platform: The product number of the device.
Port ID: The protocol and port number of the device.
The “r” in the output does not represent a router. A router would be represented by a capital “R.”
The “r” in the output does not represent a route bridge. A source route bridge would be represented by a capital
“B.”The “r” in the output does not represent a hub. The show cdp neighbors command does not include a capability
code for this device.
Objective:
LAN Switching Fundamentals
Sub-Objective:
Configure and verify Layer 2 protocolsCisco > Cisco IOS Network Command Reference, Release 12.4 > show cdp neighbors