Routing

Expand all | Collapse all

Bringing a link down via CLI.

Jump to Best Answer
  • 1.  Bringing a link down via CLI.

     
    Posted 30 days ago
    Hi .

    Assuming my GE port has a healthy cable plugged into it, is there any way I can bring the 'Link' column to say down instead of up? 

    lab@vSRX-1> show interfaces ge-0/0/0 terse
    Interface      Admin Link      Proto     Local      Remote
    ge-0/0/0              up    up

    I configured the port for half duplex and the 'Link' remained up. 

    Thanks,
    Deepak


  • 2.  RE: Bringing a link down via CLI.

     
    Posted 30 days ago
    Hello Deepak,

    you can bring down the port with "set interfaces ge-0/0/0 disable"

    ------------------------------
    ------------------------------
    If my answer provides the solution, please mark my post as "Best Answer".
    If you think my answer helps, please "Recommend" my post.
    ------------------------------



  • 3.  RE: Bringing a link down via CLI.

     
    Posted 30 days ago
    Thanks F1ght3r.

    Can auto-negotiation failure bring a link down in the same way? That's what I'm currently trying to do.

    Thanks,
    Deepak


  • 4.  RE: Bringing a link down via CLI.

     
    Posted 30 days ago
    Hello Deepak,

    this depends on the device, some devices bring the link down if Autoneg fails, some not. So bringing the interface down by changing the Autoneg status is not a reliable method.

    ------------------------------
    ------------------------------
    If my answer provides the solution, please mark my post as "Best Answer".
    If you think my answer helps, please "Recommend" my post.
    ------------------------------



  • 5.  RE: Bringing a link down via CLI.
    Best Answer

     
    Posted 30 days ago
    Only the second column, with a healthy link? no.  

    You can administratively bring the interface down, with either the disable command in cli, or going to the shell and doing ifconfig down.  In either case, the interface will  show as down down

    If you configure half duplex on one end, either autonegotiation will fall back to half duplex on the other end, or you star seeing a bunch of errors on the interface statistics, as one side is half and the other is full.  But that would not bring the interface down. 

    Regards,   



  • 6.  RE: Bringing a link down via CLI.

     
    Posted 26 days ago
    Thanks ylmva1!