2 configuration syntax, 2 configuration syntax -21 – PLANET WGSW-52040 User Manual
Page 45
![background image](https://www.manualsdir.com/files/865181/content/doc045.png)
VLAN Mode
Using the
vlan
command under Global Mode can enter the corresponding VLAN Mode. Under
VLAN Mode the user can configure all member ports of the corresponding VLAN. Run the exit command
to exit the VLAN Mode to Global Mode.
DHCP Address Pool Mode
Type the
ip dhcp pool
command under Global Mode will enter the DHCP Address Pool Mode
prompt “Switch(Config-
Address Pool Mode. Run the exit command to exit the DHCP Address Pool Mode to Global Mode.
ACL Mode
ACL type
Entry
Operates
Exit
Standard IP ACL
Mode
Type ip access-list
standard command under
Global Mode.
Configure parameters
for Standard IP ACL
Mode.
Use the exit
command to return
to Global Mode.
Extended IP ACL
Mode
Type ip access-list
extanded command under
Global Mode.
Configure parameters
for Extended IP ACL
Mode.
Use the exit
command to return
to Global Mode.
3.2.2 Configuration Syntax
Switch provides various configuration commands. Although all the commands are different, they all abide by
the syntax for Switch configuration commands. The general commands format of Switch is shown below:
cmdtxt
Conventions: cmdtxt in bold font indicates a command keyword;
{enum1 | … | enumN } indicates a mandatory parameter that should be selected from the parameter set
enum1~enumN; and the square bracket ([ ]) in [option1 | … | optionN] indicate an optional parameter. There
may be combinations of “< >“, “{ }” and “[ ]” in the command line, such as [
enum2}, [option1 [option2]], etc.
Here are examples for some actual configuration commands:
show version, no parameters required. This is a command with only a keyword and no parameter, just
type in the command to run.
vlan
firewall {enable | disable}, user can enter firewall enable or firewall disable for this command.
snmp-server community {ro | rw}
snmp-server community ro
snmp-server community rw
3-21