3Com 4500 26-PORT Switch User Manual


 
100 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
Line protocol current state : DOWN
Internet Address is 1.1.1.1/8 Primary
Broadcast address : 1.255.255.255
The Maximum Transmit Unit : 1500 bytes
input packets : 0, bytes : 0, multicasts : 0
output packets : 0, bytes : 0, multicasts : 0
TTL invalid packet number: 0
ICMP packet input number: 0
Echo reply: 0
Unreachable: 0
Source quench: 0
Routing redirect: 0
Echo request: 0
Router advert: 0
Router solicit: 0
Time exceed: 0
IP header bad: 0
Timestamp request: 0
Timestamp reply: 0
Information request: 0
Information reply: 0
Netmask request: 0
Netmask reply: 0
Unknown type: 0
DHCP packet deal mode: global
ip address Syntax
ip address ip_address { mask | mask_length }
[ undo ] ip address [ ip-address { mask | mask_length } ]
View
VLAN Interface view
Parameters
ip_address Enter the IP address of the VLAN interface.
mask Enter the IP subnet mask of the VLAN interface.
mask_length Enter the IP mask length of the VLAN interface.
Description
Use the ip address command to configure the IP address for a VLAN interface.
Use the undo ip address command to cancel an IP address for a VLAN interface.
By default, the IP address of a VLAN interface is set to null.
Related commands: display ip interface.
Example
Configure the IP address of interface VLAN interface 1 as 202.38.10.66.
[4500-vlan-interface1]ip address 202.38.10.66