Comware

 View Only
last person joined: yesterday 

Expand all | Collapse all

Correct command to set Gateway on HP 5130 JG941a Switch

This thread has been viewed 4 times
  • 1.  Correct command to set Gateway on HP 5130 JG941a Switch

    Posted Mar 12, 2024 02:28 PM

    Hi all,

    Hopefully i've got this in the correct forum but i've got a couple of HP JG941A 5130 switches at a remote location that i can't manage remotely due to them not having a gateway set on them so i've connected via console but i cannot find the correct command to get into any kind of enable or config mode to allow me to enter the ip default gateway command that i keep seeing to add the gateway. 

    Can anyone tell me what the correct syntax is to firstly get into the correct command level on these and then should i then be able to use the ip default gateway command or is it a different command on these models ?

    Thanks in advance.



  • 2.  RE: Correct command to set Gateway on HP 5130 JG941a Switch
    Best Answer

    Posted Mar 13, 2024 04:03 AM

    You go to System view with command "system"

    then you can add default gateway with 

    "ip route-static 0.0.0.0 0 <default gw ip>"

    Lp, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2024
    ------------------------------