- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Finding unused network ports
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2018 06:05 AM
тАО07-10-2018 06:05 AM
Finding unused network ports
Hi,
from time to time it's nice to list up ports on network switches which have not been used for a long time.
On Cisco you can gather this info from the 'show int' output which tells you how long there has been no input or output. Is there something similar on Comware based network switches?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2018 02:00 AM
тАО07-12-2018 02:00 AM
Re: Finding unused network ports
on comware 7 at least yes :
>dis int g1/0/1 | i flap
Last link flapping: 3 weeks 6 days 0 hours 14 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2018 01:09 AM - edited тАО07-18-2018 01:10 AM
тАО07-18-2018 01:09 AM - edited тАО07-18-2018 01:10 AM
Re: Finding unused network ports
You can read this information out with snmp.
If you use IMC, IMC should show you the last interface status change.
Otherwise you can write a script that retrieves this info using snmp and generates a textfile or so with all the ports that are down and didn't have a status change since a specified number of days. I made a script like this once in BASH but I'm not sure where and if I still have it. Nice thing is that you can use it for any switch of any vendor because these are standard snmp mibs I believe.
regards,
Philippe