Accton Technology ES4626 Switch User Manual


 
111
Switch(Config-If-Vlan1)#
3.2.2.2.2 ip address
Command: ip address{<ip-address> <mask> [secondary] | bootp | dhcp} no ip
address [<ip-address> <mask>] [secondary]
Function: Set the IP address and mask for the switch; the “no ip address [<ip-address>
<mask>]” command deletes the specified IP address setting.
Parameter: <ip-address> is the IP address in dot decimal format; <mask> is the subnet
mask in dot decimal format; [secondary] indicates the IP configured is a secondary IP
address.
Command mode: VLAN Interface Mode
Default: No IP address is configured by default.
Usage Guide: This command configures IP address for VLAN interface manually. If the
optional parameter secondary is not present, the IP address will be the primary IP of the
VLAN interface, otherwise, the IP address configured will be the secondary IP address for
the VLAN interface. A VLAN interface can have only one primary IP address but multiple
secondary IP address. Both primary IP address and secondary IP address can be used for
SNMP/Web/Telnet management. In addition, ES4626/ES4650allows IP address to be
obtained through BootP/DHCP.
Example: Set the IP address of VLAN1 interface to 192.168.1.10/24.
Switch(Config-If-Vlan1)#ip address 192.168.1.10 255.255.255.0
3.2.2.2.3 shutdown
Command: shutdown
no shutdown
Function: Shut down the specified VLAN Interface; the “no shutdown” command
enables the VLAN interface.
Command mode: VLAN Interface Mode
Default: VLAN Interface is enable by default.
Usage Guide: When VLAN interface is shutdown, no data frames will be sent by the
VLAN interface. If the VLAN interface need to obtain IP address via BootP/DHCP protocol,
it must be enabled.
Example: Enable VLAN1 interface of the switch.
Switch(Config-If-Vlan1)#no shutdown