This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create interface via CLI

Hi Team, I am trying to create an interface in the XGS firewall via CLI :

#ifconfig Port1 172.16.1.1 netmask 255.255.255.0 up but here it making only interface UP without ip, I want to know how can give Zone here, so that interface can be up with the given IP and Zone to access via GUI.



This thread was automatically locked due to age.
Parents
  • Hi Thank you for contacting the Sophos community team. There is no direct option to assign a zone through the console CLI command. If the zone is unbound due to that reason it may be making Interface up without IP in your scenario which you have observed, Please check with the same command with any other Interface where the zone is already assigned, an IP should get reflected there along with Interface status up. (Zone assignment via shell prompt may require changes in the device database which Sophos support does not recommend to perform such operation as the default LAN zone is always there on Port1).

    Regards,

    Vishal Ranpariya
    Technical Account Manager | Sophos Technical Support

    Sophos Support Videos | Knowledge Base  |  @SophosSupport | Sign up for SMS Alerts |
    If a post solves your question use the 'This helped me' link.

Reply
  • Hi Thank you for contacting the Sophos community team. There is no direct option to assign a zone through the console CLI command. If the zone is unbound due to that reason it may be making Interface up without IP in your scenario which you have observed, Please check with the same command with any other Interface where the zone is already assigned, an IP should get reflected there along with Interface status up. (Zone assignment via shell prompt may require changes in the device database which Sophos support does not recommend to perform such operation as the default LAN zone is always there on Port1).

    Regards,

    Vishal Ranpariya
    Technical Account Manager | Sophos Technical Support

    Sophos Support Videos | Knowledge Base  |  @SophosSupport | Sign up for SMS Alerts |
    If a post solves your question use the 'This helped me' link.

Children