Perform the following configuration in VLAN interface view.
Table 2 Configure IP Address for a VLAN Interface
Operation
Configure IP address for a VLAN interface
Delete the IP address of a VLAN interface
The network ID of an IP address is identified by the mask. For example, the IP
address of a VLAN interface is 129.9.30.42 and the mask is 255.255.0.0. After
performing the AND operation for the IP address and the mask, you can assign
that device to the network segment 129.9.0.0.
Generally, it is sufficient to configure one IP address for an interface. However, you
can also configure more than one IP address for an interface so that it can be
connected to several subnets. Among these IP addresses, one is the primary IP
address and all others are secondary.
By default, the IP address of a VLAN interface is null.
Displaying and Debugging an IP Address
Use the display command in all views to display the IP address configuration on
interfaces, and to verify configuration.
Table 3 Display and Debug IP Address
Operation
Display all hosts on the network and the
corresponding IP addresses
Display the configurations of each interface
Configure the IP address as 129.2.2.1 and sub-net mask as 255.255.255.0 for the
Example: Configuring
an IP Address
VLAN interface 1 of the Ethernet Switch.
Figure 1 IP Address Configuration Networking
1 Enter VLAN interface 1.
[SW7700] interface vlan 1
2 Configure the IP address for VLAN interface 1.
Console cable
PC
Configuring IP Address
Command
ip address ip-address net-mask [ sub ]
[ undo ] ip address [ ip-address { net-mask |
mask-length } [ sub ] ]
Command
display ip hosts
display ip interface vlan-interface vlan-id
Switch
61
Need help?
Do you have a question about the Switch 7700 and is the answer not in the manual?