1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

possible to restrict port speed?

Discussion in 'Tomato Firmware' started by xtacydima, Mar 14, 2011.

  1. xtacydima

    xtacydima LI Guru Member

    Is it possible to restrict port speed, to say lock it down to 10 or 100 for example. In my particular case I would like to lock it down to 10 due to a device I have that doesn't auto negotiate and doesn't work in 100/1000 mode.

    I realize I can probably get away with buying an old switch but I was wondering if a port can just be restricted instead.

    Thanks in Advance.
     
  2. xtacydima

    xtacydima LI Guru Member

    <bump>
    educated guesses are also welcome!!!
     
  3. rhester72

    rhester72 Network Guru Member

    robocfg port X media 10FD

    Rodney
     
  4. xtacydima

    xtacydima LI Guru Member

    Thank You Rodney, thats exactly what I was looking for

    If I may bother you, how would I set it back to auto if I want to undo this in the future?

    Can I set other values other than 10?

    Thanks so Much!!!
     
  5. rhester72

    rhester72 Network Guru Member

    Sure. media may take the following arguments:

    media auto|10HD|10FD|100HD|100FD|1000HD|1000FD

    Remember robocfg does NOT persist across reboots - add it to Init to make it permanent!

    Rodney
     
  6. xtacydima

    xtacydima LI Guru Member

    OK, got it that makes sense, I would probably need to add it to init then.

    One last thing, to refer to ports, do they start at "zero" or "one" - to refer to port 1 for example would it be the same number (being at port 1) or as most boolean operands would it start at (port 0)?
     
  7. rhester72

    rhester72 Network Guru Member

    Port 0 is WAN, ports 1-4 are as numbered on the device, port 5 is the wireless NIC.

    "robocfg show" will present the MACs attached to each port (and their current link speed).

    Rodney
     
  8. xtacydima

    xtacydima LI Guru Member

    awesome, thx again man :)
     

Share This Page