Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Port status command on L-2 switch

Hi Team

is their any command on L-2 switch which can help in diagnose the port scanned status.

Regards

Vaibhav

1 REPLY

Re: Port status command on L-2 switch

"port scanned status?" Do you mean if someone were to do a port scan on your network?

You can show any interface status by:

sh int fa0/1

or

sh int status

The first will give you statistics like bandwidth, duplex, speed, input and output statistics, etc.

The second is more brief and will show you if the port is connected, what the speed and duplex settings are.

If you're talking about real port scanning, then no, there's not a command for that because that's at the transport layer (L4).

--John

HTH, John *** Please rate all useful posts ***
547
Views
0
Helpful
1
Replies
CreatePlease login to create content