- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Generate Linkdown or Linkup trap using ifconfi...
Operating System - HP-UX
1752800
Members
5339
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-06-2010 09:15 PM
тАО09-06-2010 09:15 PM
Hi,
I have tried doing a
ifconfig lan0 down
on a HP-UX system, I was hoping that this would generate a linkdown trap to snmpdm.
But this does not appear to happen.
Does ifconfig lan0 down generate a linkdown trap?
I have tried doing a
ifconfig lan0 down
on a HP-UX system, I was hoping that this would generate a linkdown trap to snmpdm.
But this does not appear to happen.
Does ifconfig lan0 down generate a linkdown trap?
The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution, If you are satisfied with anyoneтАЩs response please remember to give them a KUDOS and show your appreciation
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution, If you are satisfied with anyoneтАЩs response please remember to give them a KUDOS and show your appreciation
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2010 09:34 PM
тАО09-06-2010 09:34 PM
Re: Generate Linkdown or Linkup trap using ifconfig
Connect to the switch and disable the port - this will probably generate what you want to see.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2010 10:30 PM
тАО09-06-2010 10:30 PM
Solution
>> Does ifconfig lan0 down generate a linkdown trap?
No. because ifconfig is only for configuring TCP/IP which is further up the stack from the physical link layer...
So as torsten says, diabling the port on the switch may be your best bet...
It's possible that causing the lan card to reset (either using lanadmin or nwmgr on 11.31) might generate a linkdown (but maybe not!)
HTH
Duncan
I am an HPE Employee
No. because ifconfig is only for configuring TCP/IP which is further up the stack from the physical link layer...
So as torsten says, diabling the port on the switch may be your best bet...
It's possible that causing the lan card to reset (either using lanadmin or nwmgr on 11.31) might generate a linkdown (but maybe not!)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2010 11:55 PM
тАО09-06-2010 11:55 PM
Re: Generate Linkdown or Linkup trap using ifconfig
@Torsten
Nice trick, till now I had to manually unplug the cable to do this. Will talk with my network admin and see if I can access the switch.
@Ducan
Thank you for the information. Looks like it is going to be a long walk to the device, every time I want to test the linkdown trap.
I have tried reseting the lan card with nwmgr, no linkdown.
I was using lanscan and ifconfig, nwmgr is going to be added to by bag of tricks, thank you!
Nice trick, till now I had to manually unplug the cable to do this. Will talk with my network admin and see if I can access the switch.
@Ducan
Thank you for the information. Looks like it is going to be a long walk to the device, every time I want to test the linkdown trap.
I have tried reseting the lan card with nwmgr, no linkdown.
I was using lanscan and ifconfig, nwmgr is going to be added to by bag of tricks, thank you!
The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution, If you are satisfied with anyoneтАЩs response please remember to give them a KUDOS and show your appreciation
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution, If you are satisfied with anyoneтАЩs response please remember to give them a KUDOS and show your appreciation
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP