Switch 7700 Command reference Guide, v2.0

Table Of Contents
IP Address Configuration Commands 81
Example
To display information on VLAN-Interface 1, enter the following:
<SW7700>display ip interface vlan-interface 1
The information displays in the following format:
Vlan-interface1 current state : DOWN
Line protocol current state : DOWN
Internet Address is 1.1.1.1/8 Primary
Broadcast address : 1.1.255.255
The Maximum Transmit Unit : 1500 bytes
input packets : 0, bytes : 0, multicasts : 0
output packets : 0, bytes : 0, multicasts : 0
ip address Syntax
ip address ip_address ip_mask [ sub ]
undo ip address [ ip-address ip_mask [ sub ] ]
View
VLAN interface view
Parameter
ip_address: Enter the IP address of the VLAN interface.
ip_mask: Enter the IP subnet mask 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. Optional.
Description
Use the ip address ip_address ip_mask command to configure the primary
IP address and IP subnet mask for a VLAN interface.
Use the ip address ip_address ip_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 ip_mask sub command to cancel a
secondary IP address and IP subnet mask of a VLAN interface.
Use the undo ip address ip_address ip_mask command to cancel the
primary IP address and IP subnet mask of a VLAN interface. Before you can
cancel the primary IP address of an interface, you must cancel any secondary IP
addresses.
Use the undo ip address command without any parameters to delete the
primary and secondary IP addresses of an interface.
By default, the IP address of a VLAN interface is set to null.
The subnet address of an IP address can be identified by subnet mask. For
instance, the IP address of an interface is 202.38.10.102, and the mask is