HP (Hewlett-Packard) T1453-90001 Benutzerhandbuch
Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 5
52
lanadmin -V modify vlanid 53 pri 3 5000
Successfully modified lan5000
Old value: vlanid 454 pri 6
New value: vlanid 53 pri 3
After the modification, the
lanscan -v
output will display:
Hardware Station
Crd
Hdw Net-Interface
NM MAC
HP-DLPI DLPI
Path
Address
In#
State NamePPA
ID Type Support Mjr#
VLAN0
0x001083FF9951 5000 UP
lan5000 snap5000 14 ETHER Yes
119
Extended Station
LLC Encapsulation
Address
Methods
0x001083FF9951
Driver Specific Information
vlan
vlan
.......................................................................
Vlan ID Phy-PPA Priority ToS Priority-Override ToS-Override Name
53
0
3
0
CONF_PRI
IP_HEADER
UNNAMED
Using lanadmin to Delete a VLAN
Before deleting a VLAN, ensure that there are no applications or upper
layer protocols active on the VLAN by running:
layer protocols active on the VLAN by running:
lanadmin -p <VPPA>
.
This command displays the applications and commands that are
presently using the interface. For example, if the only thing done to
lan5000 is configure an IP address, the
presently using the interface. For example, if the only thing done to
lan5000 is configure an IP address, the
lanadmin -p
command output
would look like:
lanadmin -p 5000
ifconfig
ifconfig
Since
ifconfig
command is used to configure an IP address the same is
displayed. There are two entries because when an IPv4 address is
configured using
configured using
ifconfig
, it configures both IP and ARP on the
interface.
To remove the IP and ARP streams, do:
ifconfig lan5000 unplumb
.
The
lanadmin -p 5000
output will not show any entries now, which
means the interface can be deleted. To delete this VLAN use the delete
option as follows:
option as follows: