Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show dtp
Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information
for the switch or for a specified interface.
Syntax Description
interface
interface-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show dtp command:
Switch# show dtp
Global DTP information
This is an example of output from the show dtp interface command:
Switch# show dtp interface gigabitethernet0/1
DTP information for GigabitEthernet0/1:
TOS/TAS/TNS:
TOT/TAT/TNT:
Neighbor address 1:
Neighbor address 2:
Hello timer expiration (sec/state):
Access timer expiration (sec/state):
Negotiation timer expiration (sec/state): never/STOPPED
Multidrop timer expiration (sec/state):
FSM state:
# times multi & trunk
Enabled:
In STP:
OL-8604-04
show dtp [interface interface-id] [ | {begin | exclude | include} expression]
(Optional) Display port security settings for the specified interface. Valid interfaces
include physical ports (including type, module, and port number).
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
Sending DTP Hello packets every 30 seconds
Dynamic Trunk timeout is 300 seconds
21 interfaces using DTP
ACCESS/AUTO/ACCESS
NATIVE/NEGOTIATE/NATIVE
000943A7D081
000000000000
1/RUNNING
never/STOPPED
never/STOPPED
S2:ACCESS
0
yes
no
Catalyst 2960 Switch Command Reference
show dtp
2-331