Operating System - HP-UX
1752719 Members
5664 Online
108789 Solutions
New Discussion юеВ

Re: Changing Primary Port

 
clinej
Regular Advisor

Changing Primary Port

I have a HP-UX 11x system running NNM. I am unable to traceroute to target systems. I found via netstat that the port being used is not the primary port. How do I change the current port to the primary port?

Any help is appreciated.
8 REPLIES 8
sujit kumar singh
Honored Contributor

Re: Changing Primary Port

perhaps this can be done

hi
can see by adding route to those HostIps or NEtwork IPs using route add command


#route add host 1

#route add net 1


Source LAN IP addr can be substituted by the lan0 or lan1 IP Address of the system by which the destination is reqd to reach

Regards
Sujit
clinej
Regular Advisor

Re: Changing Primary Port

Will this make a permanent change? That is what I am looking for.
sujit kumar singh
Honored Contributor

Re: Changing Primary Port

Hi



there are actually 2 ways to do that:


in the file /etc/rc.config.d/netconf
take the help of the variables
ROUTE_DESTINATION[n] -- for the dstiation to be reached
and
ROUTE_GATEWAY[n] --- the IP Address from which the Route Destination has to be reached.
ROUTE_COUNT[n]=1 --- set to 1
in the file /etc/rc.config.d/netconf

start for the number n if not used earlier ans can go on incrementing that for the pair of the ROUTE_DESTINATION and the ROUTE_GATEWAY and the ROUTE_COUNT Entries.


can have a look at the following thread. Also can see Stephenson's post.


http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=833774


regards
Sujit



sujit kumar singh
Honored Contributor

Re: Changing Primary Port

hello


please assign points to the responses made in regards of the question that has been put by you .


this might help getting better responses.

See this link for probably a better description than I've given:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

regards
sujit
TTr
Honored Contributor

Re: Changing Primary Port

@Sujit: ...adding route...

Not sure why you are suggesting to add routes to his server. His question is about the actual PORT being used by NNM. I am guessing the port that NNM is using to comunicate with its agents is not set to the default one.

> the port being used is not the primary port

Perhaps some more details are needed here as well.
sujit kumar singh
Honored Contributor

Re: Changing Primary Port

Hello Clinej,


i hope that better responses can be met if the qusetion is posted in the


├В┬╗ Management software and system tools


Section in the ITRC forum.


regards
sujit
clinej
Regular Advisor

Re: Changing Primary Port

I think this question is for a HP-UX system administrator. When I get in to work tomorrow I will run the ntstat and show what port is being used now and which port I want to make the primary one.
clinej
Regular Advisor

Re: Changing Primary Port

I have found a system admin within the organization who will fix the issue. It seems it could be related to Service Guard.

Thanks for the help.