Operating System - OpenVMS
1827758 Members
2854 Online
109969 Solutions
New Discussion

Re: How to retrieve mac address?

 
SOLVED
Go to solution
Benny Gan
Occasional Contributor

How to retrieve mac address?

I tried to search the knowlegde base but couldn't find any answer or steps provided.

Can someone tell me how can I issue a command in OpenVMS 7.3-1 with TCPWare 5.6-2 running so that I can retrieve the mac address of the NICs attached to the server?

Thanks a lot in advance!
4 REPLIES 4
Karl Rohwedder
Honored Contributor
Solution

Re: How to retrieve mac address?

Try
$ MC LANCP SHO DEV /CHA

regards Kalle
Antoniov.
Honored Contributor

Re: How to retrieve mac address?

Benny,
you can with
$ MC LANCP SHOW DEV /PARA
or else
$ MC NCP SHOW KNOW LIN /CHAR
or else
$ TCPIP SHOW INTERF /FUL

On my system, TCPIP and LANCP report different MACs.

Antonio Vigliotti
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: How to retrieve mac address?

I use

$ ANA/SYS
show dev

to find all lan devices.

I use

$ ana/sys
show lan/dev=xxx (xxx from previous listing)

to find the info. Hardware address will give you the real hardware mac address. Physical will give you the actual used one (set by startup decnet, starting with AA-).

NCP, NCL, TCP will give only configured devices. LANCP I'm not sure (no test machine).

Wim
Wim
Benny Gan
Occasional Contributor

Re: How to retrieve mac address?

Thanks a lot !!!