Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Manually 'down' and interface (physical link - i.e. no link light)

    Scheduled Pinned Locked Moved Hardware
    2 Posts 2 Posters 650 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckman212L
      luckman212 LAYER 8
      last edited by

      An ISP vendor is troubleshooting an issue at a remote site and has asked me to "unplug the Cat5 handoff from our equipment" while they do some tests or config.  There's nobody there who can physically unplug the cable now, but I do have access through a secondary WAN to ssh in and run commands.  But- I noticed that simply running e.g.

      ifconfig igb2 down
      

      Does not actually take the interface "down" - it goes down programmatically but the link lights are still up.  I google'd a bit and found a couple of other pages that seem to confirm this is a limitation of FreeBSD.  One guy seems to have written his own patch for em and igb interfaces.
      https://forums.freebsd.org/threads/52718/
      https://mebsd.com/make-build-your-freebsd-word/ifconfig-physical-link-down.html

      Just came to ask if anyone knows of any way to do this, seems it could be potentially useful.

      1 Reply Last reply Reply Quote 0
      • R
        robi
        last edited by

        That would be a nice feature. Bring an interface "administratively" down so that the LEDs stop blinking too and the physical link status breaks. Like cisco equipment.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.