We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

CheckPoint- SecurePlatform command query

jibranilyas
jibranilyas asked
on
Medium Priority
2,800 Views
Last Modified: 2013-11-16
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?
Comment
Watch Question

Commented:
what hardware are you using ?
Are you running Checkpoint on IPSO, Windows, Solaris, Linux you need to be specific.
Commented:
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.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Commented:
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

Author

Commented:
thanks a ton guys.. i will try that in a few hours and will get back to you.

Author

Commented:
dbardbar --- both the miitools and ethtook worked
dluetke --- thanks for giving me this output and the way to set the speed.

Many thanks !

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.