6-6
By default, no IP address is assigned to any VLAN interface.
In general conditions, you need to assign only one IP address for a VLAN interface. For a VLAN to
connect to multiple subnets, you need to assign multiple IP addresses for the VLAN interface. Among
these IP addresses, one is primary and the others are secondary. On an Switch 4510G, you can assign
up to ten IP addresses for a VLAN interface.
When configuring IP addresses for a VLAN interface, consider the following:
z
You can assign only one primary IP address to an interface.
z
Before removing the primary IP address, remove all secondary IP addresses.
z
To remove all IP addresses, use the
undo ip address
command without any parameter.
z
To remove the primary IP address, use the
undo ip address
ip-address
{
mask
|
mask-length
}
command.
z
To remove a secondary IP address, use the
undo ip address
ip-address
{
mask
|
mask-length
}
sub
command.
Related commands:
display ip interface
(
IP Address Commands
in the
IP Services Volume
).
Examples
# Specify the IP address as 1.1.0.1, the subnet mask as 255.255.255.0 for VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip address 1.1.0.1 255.255.255.0
name
Syntax
name text
undo name
View
VLAN interface view
Default Level
2: System level
Parameters
text
: VLAN name, a string of 1 to 32 characters. Spaces and special characters can be included in the
name.
Description
Use the
name
command to configure a name for the current VLAN.
Use the
undo name
command to restore the default name of the VLAN.
The default name of a VLAN is its VLAN ID,
VLAN 0001
for example.
When 802.1X or MAC address authentication is configured on a switch, you can use a RADIUS server
to issue VLAN configuration to ports that have passed the authentication. Some servers can send IDs
or names of the issued VLANs to the switch. When there are a large number of VLANs, you can use
VLAN names rather than VLAN IDs to better locate VLANs.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...