Chapter 5 - command line interface – Asus GigaX2124 User Manual
Page 90

78
Chapter 5 - Command Line Interface
5.3.5.2 Create a vlan entry
Use the vlan vid command to create vlan entry on the switch. Use the
name string command to create vlan entry with string on the switch.
CLI Syntax: vlan ID
Example: (config)# vlan 3
(config-vlan)# name vlan3
5.3.5.3 interface vlan VLAN-ID
This command changes the operation to vlan interface command mode.
CLI Syntax: interface vlan VLAN-ID
Example: interface vlan 1
5.3.5.4 ip address
This command sets the ip address for indicated interface.
CLI Syntax: ip address A.B.C.D/M
Example: (config-if)# ip address 192.168.20.121/24
5.3.5.5 ip dhcp client
This command set system interface to get ip via dhcp server.
CLI Syntax: ip dhcp client
Example: (config-if)# ip dhcp client
The vlan1 is for system purpose, for example, for firmware upgrade,
management, and so on.
Note
It won’t show the interface name. Please keep in mind, which you are
configuring.
Note
- GX1026i (26 pages)
- GX-D1241 (48 pages)
- GX1026 (73 pages)
- GX-D1081 (8 pages)
- GigaX1024X (41 pages)
- GigaX1024X (57 pages)
- FX-D1162 (103 pages)
- RX3041_B (36 pages)
- GigaX3124 (326 pages)
- SL200 (52 pages)
- SCSI/PCI-L3C920 (16 pages)
- GigaX3024X (137 pages)
- RX3041H (143 pages)
- SL1000 (8 pages)
- RX3041 (63 pages)
- GigaX1005B (46 pages)
- GigaX1008B (46 pages)
- GigaX1005N (60 pages)
- GigaX2024X (119 pages)
- GigaX1105N (57 pages)
- GigaX1108N (8 pages)
- GigaX1105N (41 pages)
- SL1200 (18 pages)
- SL1200 (175 pages)
- EI-102 (41 pages)
- GigaX1116 (12 pages)
- AX-112 (26 pages)
- GigaX2124X/C (112 pages)
- GigaX2124X (116 pages)
- PL-X31M/PL-X32M (105 pages)
- NX1001 (44 pages)
- NX1001 (47 pages)
- GX1105N (145 pages)
- GigaX1124 (10 pages)
- GigaX3112F (118 pages)
- RX3042H (129 pages)
- GigaX1105 (10 pages)
- GigaX2008EX (71 pages)
- GigaX2024SX (370 pages)
- CX200 (5 pages)
- CX200 (94 pages)
- GigaX2024 (115 pages)
- GigaX2024 (169 pages)
- GigaX1116B (97 pages)