beautypg.com

Chapter 5 - command line interface – Asus GigaX2124 User Manual

Page 87

background image

75

Chapter 5 - Command Line Interface

Figure 76. SYS commands

5.3.3.11 IP Address and Network Mask

Set the IP address for the switch. This IP address is used for manageable

purpose, i.e.; network applications such as, http server, SNMP server, tftp

server, ssh and telnet server of the switch are all using this IP address in

interface vlan1.

CLI Syntax: ip address A.B.C.D/M
Example: (config)# interface vlan 1
(config-if)# ip address 192.168.20.121/24

5.3.3.12

Default Gateway

Set the IP address of the default gateway. This field is necessary if the

switch network contains one or more routers.

CLI Syntax: ip route A.B.C.D/M (A.B.C.D|INTERFACE)
Example: (config)# ip route 0.0.0.0/0 192.168.1.2

5.3.3.13

reboot

Use this command to reboot the system.

CLI Syntax: reboot
Example: ASUS# reboot

5.3.3.14

reload default-config file

Use this command to copy the default-config file to replace the current one.

To make the default-config work, the switch must run reboot command.

CLI Syntax: reload default-config file
Example: ASUS# reload default-config file