5 ip interface – Asus GigaX2024B User Manual

Page 74

Advertising
background image

62

GigaX2024B L2 Managed Switch User Manual

Note

Note

5.3.5 IP interface

5.3.5.1 show vlan name string

Use the show vlan user EXEC command to display the parameters for all

configured VLANs or one VLAN (if the VLAN ID or name is specified) on the

switch.

CLI Syntax: show vlan name string
Example: ASUS# show vlan name VLAN1

The vlan1 is for system purpose, for example, for firmware

upgrade, management, and so on.

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

The interface name does not show up during configuration.

Please keep in mind what you are configuring.

Advertising