151
4.2.2.2.2 ip address
Command: ip address <ip-address> <mask> [secondary]
no ip address [<ip-address> <mask>] [secondary]
Function:
Sets the IP address and mask for the switch; the “
no ip address
[<ip-address> <mask>]”
command deletes the specified IP address setting.
Parameters:
<ip-address>
is the IP address in decimal format;
<mask>
is the subnet
mask in decimal format;
[secondary]
indicates the IP configured is a secondary IP
address.
Command mode:
Interface Mode
Default:
No IP address is configured by default.
Usage Guide:
This command configures the 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 one primary IP address but
multiple secondary IP addresses. Both primary IP address and secondary IP addresses
can be used for SNMP/Web/Telnet management. In addition, ES4700 series allows IP
addresses to be obtained through BootP/DHCP.
Example:
Setting 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
4.2.2.2.3 shutdown
Command: shutdown
no shutdown
Function:
Shuts down the specified VLAN Interface; the “
no shutdown
” command
opens the VLAN interface.
Command mode:
Interface Mode
Default:
VLAN Interface is enabled by default.
Usage Guide:
When VLAN interface is shutdown, no data frames will be sent by the
VLAN interface. If the VLAN interface needs 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
4.2.3 Network Management Port Configuration
4.2.3.1 Network Management Port Configuration Task List
1. Enter the network management port configuration mode