Switch 7700 Command reference Guide, v2.0

Table Of Contents
VLAN Configuration Commands 67
Parameter
vlan_id: Enter the ID of the VLAN interface you want to configure, in the range
1 to 4094. Note that VLAN1 is the default VLAN and cannot be deleted.
Description
Use the interface VLAN-interface command to enter a VLAN interface view
and use the related configuration commands.
Use the undo interface VLAN-interface command to exit the current VLAN
interface.
Related command: display interface VLAN-interface.
Example
To enter the interface view of VLAN1, enter the following:
[SW7700]interface vlan-interface 1
ip address Syntax
ip address ip_address ip_mask
undo ip address [ ip_address ip_mask ]
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.
Description
Use the ip address command to configure the IP address and IP subnet mask
for a VLAN interface.
Use the undo ip address command to cancel the IP address and IP subnet
mask of a VLAN interface.
You can only enter these commands from within the interface view of the VLAN
you want to configure.
Related command: display vlan.
Example
To specify the IP address and IP subnet mask for VLAN interface 20, enter the
following:
[SW7700-VLAN-interface20]ip address 1.1.1.1 255.0.0.0
port Syntax
port interface_type interface_number
[ to interface_type interface_number ]