46 interface vlan, 1 do – PLANET SGS-5220-24T2X User Manual

Page 137

Advertising
background image

Command Guide of SGS-5220-24T2X

4.2.46 interface vlan

Command:

interface vlan <vlan_list>

vlan VLAN interface configurations

<vlan_list> List of VLAN interface numbers, 1~4095

Default:

N/A

Usage Guide:

To enter the VLAN interface mode.

Example:

To enter the VLAN 1 interface mode

Switch# configure terminal

Switch (config)# interface vlan 1

Switch (config-if-vlan)#

4.2.46.1 do

Command:

do < exec commands >

do To run exec commands in config mode

Default:

N/A

Usage Guide:

To run exec commands in configure terminal mode

Example:

To run “show aaa” in configure terminal mode.

Switch# configure terminal

Switch (config)# interface vlan X

Switch (config-if-vlan)# do show aaa

console : local

telnet : local

ssh : local

-137-

Advertising