Operating System - HP-UX
1823084 Members
3302 Online
109646 Solutions
New Discussion юеВ

Output of lanscan command

 
SOLVED
Go to solution
mst
Advisor

Output of lanscan command

Hello,

i have to configure LAN_MONITOR on a HPUX Server. This server used to have APA configured but this no longer works with our new network equipment.

When i execute "lanscan" i get an output like this:

--

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x0017087C8A2A 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x0017087C8A2B 1 UP lan1 snap1 2 ETHER Yes 119
0/4/1/0/6/0 0x001560DE57B6 2 UP lan2 snap2 3 ETHER Yes 119
0/4/1/0/6/1 0x001560DE57B7 3 UP lan3 snap3 4 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 8 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 9 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 10 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 11 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 12 ETHER Yes 119

--

I'm wondering about the "LinkAgg" entries, i would not have expected them to be there. Can this be a problem when trying to enable LAN_MONITOR ? Or can i just ignore them ?
9 REPLIES 9
Hasan  Atasoy
Honored Contributor
Solution

Re: Output of lanscan command

hi;

this is the lan_monitor configuration guide...

/etc/rc.config.d/netconf file contains
INTERFACE_NAME[1]="lan0"
IP_ADDRESS[1]="192.168.1.1"
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]=0




APA configuration

1. /etc/rc.config.d/hp_apaportconf file

HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR


2. /etc/rc.config.d/hp_apaconf file

HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=MANUAL

HP_APA_INIT_ARGS="HP_APA_LOAD_BALANCE_MODE HP_APA_GROUP_CAPABILITY HP_APA_HOT_STANDBY HP_APA_MANUAL_LA HP_APA_INIT HP_APA_KEY"


execute these commands..


/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
/sbin/init.d/hplm start



lanqueryconf -s
lancheckconf
lanapplyconf


ifconfig lan900


Hasan.
mst
Advisor

Re: Output of lanscan command

Thank you for your hints. But what i dont understand: What is the last command
(ifconfig lan900) for ?

Kind regards
Ivan Krastev
Honored Contributor

Re: Output of lanscan command

To check that everything is ok.


regards,
ivan
mst
Advisor

Re: Output of lanscan command

Ah, ok. Thank you :)
Steven E. Protter
Exalted Contributor

Re: Output of lanscan command

Shalom,

Recommend removing APA if not in use.

License and support are not cheap, so you can save support costs as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
mst
Advisor

Re: Output of lanscan command

Sorry, i dont understand. I thought both LAN_MONITOR and APA are in one product - just different modes ?
Hasan  Atasoy
Honored Contributor

Re: Output of lanscan command

if you use apa ;
a virtual lan card is configured ( lan900,lan901... ) . and your physical ethernet cards bounded to this card.


Hasan.
Jim Keeble
Trusted Contributor

Re: Output of lanscan command

As others have indicated, these linkaggs are normal when APA is installed, and yes, Lan Monitor is part of the APA software.

By default, there are actually 50 of these linkaggs set aside in the kernel, and lanscan does you the favor of only displaying the first 5 unless you actually have more than that configured. Other software products, glance for example, show all of them. This long unused list can be a bother, so there is a configuration parameter HP_APA_MAX_LINKAGGS in the /etc/rc.config.d/hp_apaconf file to limit them to whatever number you like.
mst
Advisor

Re: Output of lanscan command

Thank you all very much for your efforts!