3Com DUA1750-2BAA01 Switch User Manual


 
3Com Switch 8800 Configuration Guide Chapter 11 IP Address Configuration
11-5
11.2.2 Configuring the IP Address of the VLAN Interface
You can configure an IP address for every VLAN interface of the switch. Generally, it is
enough to configure one IP address for an interface. You can also configure ten IP
addresses for an interface at most, so that it can be connected to several subnets.
Among these IP addresses, one is the primary IP address and all others are secondary.
Perform the following configuration in VLAN interface view.
Table 11-3 Configure an IP address for a VLAN interface
Operation Command
Configure an IP address for a VLAN
interface
ip address ip-address { mask |
mask-length } [ sub ]
Delete an IP address of a VLAN
interface
undo ip address ip-address { mask |
mask-length } [ sub ]
By default, the IP address of a VLAN interface is null.
11.3 Displaying and debugging IP Address
After the above configuration, execute the display command in any view to display the
IP addresses configured on interfaces of the network device, and to verify the effect of
the configuration.
Table 11-4 Display and debug IP address
Operation Command
Display all hosts on the network and the
corresponding IP addresses
display ip host
Display the configurations of a VLAN
interface
display ip interface vlan-interface
vlan-id
11.4 IP Address Configuration Example
I. Network requirements
Configure the IP address as 129.2.2.1 and subnet mask as 255.255.255.0 for the
VLAN interface 1 of the switch.