IP Address Configuration Commands 105
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
} [ sub ]
[ undo ] ip address [
ip-address
{
mask
|
mask_length
} [ sub ] ]
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.
sub Enter if the specified IP address and subnet mask are a secondary IP address
and subnet mask for this VLAN interface.
Description
Use the ip address
ip_address mask
command to configure the primary IP
address and IP subnet mask for a VLAN interface.
Use the ip address
ip_address mask
sub command to configure a secondary
address and IP subnet mask for a VLAN interface. Usually, only one IP address is
required for each interface. If you want to connect the interface to several
subnets, you can configure an IP addresses for each subnet.
Use the undo ip address
ip_address mask
sub command to cancel a
secondary IP address and IP subnet mask of a VLAN interface.