cancel
Showing results for 
Search instead for 
Did you mean: 

network interface port

SOLVED
Go to solution
gb karki
Frequent Advisor

network interface port

Hi Expert,

I want to do failover test in APA configuration through command line.

Means:- i want to test lan0 and lan2.
how to do that.
i have tried.
#ifconfig lan0 down
nothing is happening.
# ifconfig lan0 up
up: Device busy


current status:-
# nwmgr

Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0x0025B3E880CA iether 1000Base-T lan900
lan1 UP 0x0025B3E880CB iether 1000Base-T
lan2 UP 0x0025B3E800EE iether 1000Base-T lan900
lan3 DOWN 0x0025B3E800EF iether 1000Base-T
lan900 UP 0x0025B3E880CA hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa

Regards
GB
15 REPLIES
Torsten.
Acclaimed Contributor
Solution

Re: network interface port

It's maybe much easier to disable the port on the network switch ...

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!   
Tim Nelson
Honored Contributor

Re: network interface port

you could also try resetting the NIC via lanadmin

gb karki
Frequent Advisor

Re: network interface port

I'm siting in remote location.

could you please provide me lanadmin steps.


Torsten.
Acclaimed Contributor

Re: network interface port

That's why I did not say pull the cable, but disable the port.

;-)

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!   
gb karki
Frequent Advisor

Re: network interface port

Hi Torsten,

How can do that, do you have any documents.
gb karki
Frequent Advisor

Re: network interface port

Hi Tim,

I have tried reset options.

#lanadmin -r 0

failover is also happened but logs are not generating.

root@mm1ciwtb:/var/adm/syslog # lanscan -q
1
3
900 2 0
Torsten.
Acclaimed Contributor

Re: network interface port

>> How can do that, do you have any documents.

Sure. But what switch do you have?

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!   
gb karki
Frequent Advisor

Re: network interface port

No, I don't have.
Torsten.
Acclaimed Contributor

Re: network interface port

Sure you have. Where is the other end of the LAN cable plugged in?

;-)

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!   
rick jones
Honored Contributor

Re: network interface port

WRT using ifconfig - all ifconfig does is manipulate "interfaces" - constructs in the mind of IP. It will cause the IP and ARP SAPs to be bound (or unbound if you unplumb) from the driver (DLPI). It does not actually affect the NIC itself.
there is no rest for the wicked yet the virtuous have no pillows
gb karki
Frequent Advisor

Re: network interface port

Hi Torsten,

I think, other end is connected to switch.
Torsten.
Acclaimed Contributor

Re: network interface port

So why not disable the related port on this switch?

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!   
gb karki
Frequent Advisor

Re: network interface port

I don't know the network people even i don't the respective port no in switch.

just we are trying through server using command line.

is it posible?
Torsten.
Acclaimed Contributor

Re: network interface port

At first it would be nice to know the current configuration and status:

# nwmgr -A all -c lan900

# nwmgr -S apa

# nwmgr -v -c lan900

# model

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!   
gb karki
Frequent Advisor

Re: network interface port

Please find.

root@mm1ciwtb:/ # nwmgr -A all -c lan900
lan900 current values:
Speed = 1 Gbps Full Duplex
MTU = 1500
Virtual Maximum Transmission Unit = 0
MAC Address = 0x0025b3e880ca
Network Management ID = 6
Features = Linkagg Interface
IPV4 Recv CKO
IPV4 Send CKO
VLAN Support
VLAN Tag Offload
64Bit MIB Support
Load Distribution Algorithm = LB_HS
Mode = LAN_MONITOR
Parent PPA = -
APA State = Up
Membership = 0,2
Active Port(s) = 0
Ready Port(s) = 2
Not Ready Port(s) = -
Connected Port(s) = 2
Group Capability = 5
Key = 0
Operational Key = 0
Polling Interval = 10000000
Dead Count = 3
Rapid ARP = on
Rapid ARP Interval = 1.0 second(s)
Rapid ARP Count = 10
Failover Policy = PRIORITY_BASED
root@mm1ciwtb:/ # nwmgr -S apa
Class Mode Load Speed- Membership
Instance Balancing Duplex
======== =========== ========= ==================== ===========================
lan900 LAN_MONITOR LB_HS 1 Gbps Full Duplex 0,2
lan901 Not_Enabled LB_MAC 0 Mbps -
lan902 Not_Enabled LB_MAC 0 Mbps -
lan903 Not_Enabled LB_MAC 0 Mbps -
lan904 Not_Enabled LB_MAC 0 Mbps -
root@mm1ciwtb:/ # nwmgr -v -c lan900
lan900 current values:
Speed = 1 Gbps Full Duplex
MTU = 1500
Virtual Maximum Transmission Unit = 0
MAC Address = 0x0025b3e880ca
Network Management ID = 6
Features = Linkagg Interface
IPV4 Recv CKO
IPV4 Send CKO
VLAN Support
VLAN Tag Offload
64Bit MIB Support
Load Distribution Algorithm = LB_HS
Mode = LAN_MONITOR
Parent PPA = -
APA State = Up
Membership = 0,2
Active Port(s) = 0
Ready Port(s) = 2
Not Ready Port(s) = -
Connected Port(s) = 2
Polling Interval = 10000000
Dead Count = 3
Rapid ARP = on
Rapid ARP Interval = 1.0 second(s)
Rapid ARP Count = 10
Failover Policy = PRIORITY_BASED
root@mm1ciwtb:/ # model
ia64 hp superdome server SD32B
root@mm1ciwtb:/ #