I am completing some labs in preparation for the CCNA exam. One of the questions I have encountered is asking me to determine the STP port state of a switchport based on the output of the "show interfaces" command. None of the books I have read really touch on this. What would one look for in the output that would indicate the port state? In this instance the port is passing data so I was able to guess that it was in forwarding state, but I would like to know if I am missing something.
Thanks!
Didn't find your answer? Ask the community — no account required.
B
BernieM
Here's the output from a typical "show interfaces" command. There's nothing about the stp state that I can see.
wcq-15-core-6513#sh int gi2/3 GigabitEthernet2/3 is up, line protocol is up (connected) Hardware is C6k 1000Mb 802.3, address is 0013.60b7.ac82 (bia
0013.60b7.ac82) Description: 172.22.6.12 G2 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 1000Mb/s input flow-control is off, output flow-control is on Clock mode is auto ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:00:08, output hang never Last clearing of "show interface" counters 3d22h Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 30 second input rate 1000 bits/sec, 1 packets/sec 30 second output rate 8000 bits/sec, 14 packets/sec 511036 packets input, 48054891 bytes, 0 no buffer Received 311892 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 4650643 packets output, 357062050 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out
Perhaps they meant the "show spanning-tree interfaces" command ...
I was starting to assume that it was a typo in the lab. This is a Cisco Press product as well... I really wish that publishers would take the time to really edit technical book, like they do magazines or romance novels...
Thanks again!
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.