How to Change an Interface IP using CLI

Description

How to change an interface IP using Command Line Interface.

Resolution

Log into the appliance using a terminal software like puTTY

  1. Type: config (hit enter)

-----------config(C0EAE4009930)#

  1. Type: interface and name of the interface e.g. X3  (hit enter)
-----------config(C0EAE4009930)# interface X3
  1. Type: ip-assignment WAN static   (in our case the IP assignment should be static and the interface should be WAN ... hit enter)
----------(edit-WAN-static[X3])#
  1. Type: ip 60.60.60.60 netmask 255.255.255.0 (hit enter)
  2. Type: commit  (hit enter)
-----------% Applying changes...
-----------% Changes made.
type: exit  (hit enter)
type: exit  (hit enter)
type: exit  (hit enter)

Image

Related Articles

  • How to find out the CFS rating of a website?
    Read More
  • Supported Storage Modules on SonicWall Firewalls running SonicOS/X 7 and above
    Read More
  • TZ シリーズのエラー メッセージ:「 高可用性は無線と一緒に使用できません」
    Read More
not finding your answers?