09-27-2001
HEY
Try
$ lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 ######## 3 0 UP lan0 snap0 1 ETHER Yes 119
what you are looking for is station address
Have fun.
9 More Discussions You Might Find Interesting
1. Solaris
Hello together
how can I find a ipadress from a login into remote system console?
Thanks a lot
Urs (1 Reply)
Discussion started by: MuellerUrs
1 Replies
2. AIX
hello
I need for a script to capture the ip address from the connected user.
I have 5 logical partitions.
With "who", i have the ip adress, but only for 2 servers.
Do you know another command to know the ip address of connected clients ?
thank you (14 Replies)
Discussion started by: pascalbout
14 Replies
3. UNIX for Dummies Questions & Answers
I have installed in the server a quad ethernet adapter, I'm using two interfaces with two different IP networks, both interfaces are connected to a switch, the switch report that is receiving the same MAC address in both ports so must of the times I have connectivity problems.
Any idea to change... (1 Reply)
Discussion started by: mono673
1 Replies
4. HP-UX
I want change my IP address and hostname in my machine by use the console. Can any one tell me how can I execute that by command ?
Thanks & Regards (1 Reply)
Discussion started by: magasem
1 Replies
5. OS X (Apple)
hello,
I need to obtain the Mac Adress and write him in a file.
I'm trying to do this with a command in crontab, with ifconfig, but it's only possible do this if i disabled the password for run the command, but than i have security problems.
I'm searching for a script (.sh) that allows me to... (5 Replies)
Discussion started by: Pedro Almeida
5 Replies
6. IP Networking
well i'm trying to change the ip adress on an old alphaserver runing tru64 4.0F using the
ifconfig hme0 IP_ADDRESS mask MASK broadcast BROADCAST
and when i check it using ifconfig -a it shows the new ip and all is well
but when the server is rebooted it reverts back to the old ip (3 Replies)
Discussion started by: randUSR()
3 Replies
7. Shell Programming and Scripting
This is probably a real n00b question but i`m not able to figure it out.
I have a folder of configuration files that contain IP-adresses. The line i`m interested in looks like this:
IP_ADDRESS="123.123.123.1123"
Some have muliple ip adresses, so the line will look like :
... (5 Replies)
Discussion started by: DaneV
5 Replies
8. IP Networking
Hello, I have a problem of routing traffic on two virtual interfaces I have created on my machine (CentOs6)
By using tunctl I created two virtual interfaces tap1 and tap2
let s imagine I gave them two different address
tap1: 10.1.1.1 net 255.255.255.0
tap2: 10.1.2.1 net 255.255.255.0
... (0 Replies)
Discussion started by: nicandro
0 Replies
9. Shell Programming and Scripting
I have a shell script that sends email alerts to all the teams if there's any issue identified .
This is the command that I use to send email alerts to others
cat out.out | mail -s "Alerts on $date" $EMAILID
Above code sends emails to all the users by default it sends emails to... (2 Replies)
Discussion started by: lazydev
2 Replies
lanscan(1M) lanscan(1M)
NAME
lanscan - display LAN device configuration and status
SYNOPSIS
Remarks
The and commands are deprecated. See for more information.
DESCRIPTION
displays the following information about each LAN device that has software support on the system:
o Hardware Path.
o Active Station Address (also known as Physical Address).
o Card Instance Number
o Hardware State.
o Network Interface "NamePPA". The Network Interface "Name" and the "PPA" (Physical Point of Attachment) number are concatenated
together. A single hardware device may have multiple "NamePPA" identifiers, which indicates multiple encapsulation methods may
be supported on the device. For Ethernet/IEEE 802.3 links, the "Name" is used to designate Ethernet encapsulation, and for IEEE
802.3 encapsulation. For other links (FDDI, Token Ring), only the encapsulation designation is used.
o Network Management ID.
o MAC Type.
o HP DLPI Supported. Indicates whether or not the lan device driver will work with HP's Common Data Link Provider Interface.
o DLPI Major Number.
o Extended Station Address for those interfaces which require more than 48 bits. This is displayed only when the option is
selected.
o Encapsulation Methods that the Network Interface supports. This is displayed only when the option is selected.
Options
recognizes the following command-line options:
Display station addresses only. No headings.
Display interface names only. No headings.
Display information about PPAs that are acquired by APA.
No headings.
Display MAC types only. No headings.
Display Network Managements IDs only. No headings.
Display PPA numbers only. No headings.
Same as except link aggregate PPA's will be followed by a list of LAN interface PPA's that are configured in the corresponding link
aggregate. No headings.
Verbose output. Two lines per interface. Includes displaying of extended
station address and supported encapsulation methods.
WARNINGS
does not display information about LAN devices that do not have software support such as LAN interface cards that fail to bind properly at
boot-up time.
Obsolescence
The and commands are deprecated. These commands will be removed in a future HP-UX release. HP recommends the use of replacement command
nwmgr(1M) to perform all network interface-related tasks.
AUTHOR
was developed by HP.
SEE ALSO
ifconfig(1M), ioscan(1M), nwmgr(1M), lanadmin(1M), linkloop(1M), lan(7).
TO BE OBSOLETED lanscan(1M)