Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2765
  • Last Modified:

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


0
 
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
0
 
jibranilyasAuthor Commented:
thanks a ton guys.. i will try that in a few hours and will get back to you.
0
 
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 !

0

Featured Post

The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now