8 interface ifname, 10 ip address a.b.c.d/m – Asus GigaX3124 User Manual
Page 57

GigaX3124 Layer3 Switch CLI Command Reference
32
3.8
interface IFNAME
Syntax
interface IFNAME
Parameters
IFNAME interface’s name
Command Mode Global configuration mode
No/clear
Show
show interface IFNAME
Default
Description
This command changes the operation to interface command
mode.
Examples
ASUS(config)# interface gi1/0/1
3.9
interface vlan <1-3000>
Syntax
interface vlan <1-3000>
Parameters
vlan Select a vlan to configure
<1-3000> VLAN ID
Command Mode Global configuration mode
No/clear
Show
Default
Description
In L2 model, this command changes the system vlan to specific
vlan interface command mode. In L3 model, this command only
changes to L3 interface mode.
Examples
ASUS(config)# interface vlan 2
3.10 ip address A.B.C.D/M
Syntax
ip address A.B.C.D/M
Parameters
address Set the IP address of an L3 interface
A.B.C.D/M IP address (e.g. 10.0.0.1/8)
Command Mode Interface configuration mode
No/clear
no ip address A.B.C.D/M