- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Link State Detection
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
тАО09-22-2010 12:52 PM
тАО09-22-2010 12:52 PM
I would like to detect, from within the boot script, which ports are live. One idea is to PIPE the output of LANCP SHOW DEV EIxx/CHAR & SEARCH for the "Link state" status.
Is there a way to get link state via F$GETDVI?
tia
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 01:20 PM
тАО09-22-2010 01:20 PM
SolutionIf you're optimizing for elegance and not for schedule, have a look at the HELP text for your OpenVMS version. Specifically, have a look at the HELP lexical f$getdvi text on recent releases. The following is from the OpenVMS Alpha V8.3 HELP:
LAN_ALL_MULTICAST_MODE,
LAN_AUTONEG_ENABLED LAN_DEFAULT_MAC_ADDRESS
LAN_FULL_DUPLEX
LAN_JUMBO_FRAMES_ENABLED
LAM_LINK_STATE_VALID (sic)
LAN_LINK_UP
LAN_MAC_ADDRESS
LAN_PROMISCUOUS_MODE
LAN_PROTOCOL_NAME
LAN_PROTOCOL_TYPE
LAN_SPEED
And of all that and the bag of chips that's listed in the HELP text, LAN_LINK_UP looks like your target.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 01:22 PM
тАО09-22-2010 01:22 PM
Re: Link State Detection
My bad - I had looked into HELP on a 7.3-2 system and not 8.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 07:17 PM
тАО09-22-2010 07:17 PM
Re: Link State Detection
Please use LAN_LINK_STATE_VALID first to verify
whether or not LAN_LINK_UP is reliable.
The help text for LAN_LINK_STATE_VALID lists
which adapters will return a reliable answer.
-- Rob (potato chip chef)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 07:21 AM
тАО09-23-2010 07:21 AM