EasyManua.ls Logo

HP 9304m - Modifying a Port-Based VLAN

HP 9304m
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuring Virtual LANs (VLANs)
7 - 17
Syntax:
[no] spanning-tree
Syntax:
spanning-tree [ethernet <portnum> path-cost <value> priority <value>] forward-delay <value>
hello-time <value> maximum-age <time> priority <value>
Modifying a Port-Based VLAN
You can make the following modifications to a port-based VLAN:
Add or delete a VLAN port.
Change its priority.
Enable or disable STP.
Removing a Port-Based VLAN
Suppose you want to remove VLAN 5 from the example in Figure 7.10. To do so, use the following procedure.
USING THE CLI
1. Access the global CONFIG level of the CLI on 9308-A by entering the following commands:
HP9308-A> enable
No password has been assigned yet...
HP9308-A# configure terminal
HP9308-A(config)#
2. Enter the following command:
HP9308-A(config)# no vlan 5
HP9308-A(config)#
3. Enter the following commands to exit the CONFIG level and save the configuration to the system-config file on
flash memory:
HP9308-A(config)#
HP9308-A(config)# end
HP9308-A# write memory
HP9308-A#
4. Repeat steps 1 – 3 on 9308-B.
Syntax:
no vlan <vlan-id> by port
Removing a Port from a VLAN
Suppose you want to remove port 1/11 from VLAN 4 on 9308-A shown in Figure 7.10. To do so, use the following
procedure.
USING THE CLI
1. Access the global CONFIG level of the CLI on 9308-A by entering the following command:
HP9308-A> enable
No password has been assigned yet...
HP9308-A# configure terminal
HP9308-A(config)#
2. Access the level of the CLI for configuring port-based VLAN 4 by entering the following command:
HP9308-A(config)#
HP9308-A(config)# vlan 4
HP9308-A(config-vlan-4)#
3. Enter the following commands:
HP9308-A(config-vlan-4)#
HP9308-A(config-vlan-4)# no untag ethernet 1/11
deleted port ethe 1/11 from port-vlan 4.

Table of Contents