CheckPoint- SecurePlatform command query

Hi, I am wondering if you can help me with a problem. Any help will be appreciated. This is really important.

What command do you run on secure platform to find out the speed of the interfaces? How do you know if its running half/full duplex?
jibranilyasAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mianniCommented:
what hardware are you using ?
Are you running Checkpoint on IPSO, Windows, Solaris, Linux you need to be specific.
dbardbarCommented:
Depends on the SecurePlatform version.

If this is the latest version (R60), then it is best to login to the WebUI, and see there in the network configuration.
I think (but not sure) that you could also see that information inside the "sysconfig" command line utility.


Other than that, some versions had a tool called "mii-tool", which works with most (but not all) NICs. On other versions, there's also "ethtool" (or eth-tool, can't remember exactly). Should also help you out.


dluetkeCommented:
Hi,
the command you should use is for eth0 'ethtool eth0'. The output will be similar to the following. You see the "supported link modes", which the interface can be configured to and the  "Speed" and "Duplex" settings, which reflects the current configuration:

Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised auto-negotiation: No
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: g
        Wake-on: d

If you want to change the speed just use the option '-s' with the following options:

 ethtool -s DEVNAME \
                [ speed 10|100|1000 ] \
                [ duplex half|full ]    \
                [ port tp|aui|bnc|mii|fibre ] \
                [ autoneg on|off ] \
                [ phyad %d ] \
                [ xcvr internal|external ] \
                [ wol p|u|m|b|a|g|s|d... ] \
                [ sopass %x:%x:%x:%x:%x:%x ] \
                [ msglvl %d ]

So, to set eth0 to 100MBit/Full Duplex use:

ethtool -s eth0 speed 100 duplex full autoneg off

Hope that helps! Cheers,
Dirk

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jibranilyasAuthor Commented:
thanks a ton guys.. i will try that in a few hours and will get back to you.
jibranilyasAuthor Commented:
dbardbar --- both the miitools and ethtook worked
dluetke --- thanks for giving me this output and the way to set the speed.

Many thanks !

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.