configure stpd delete vlan
Description
Deletes one or more ports in the specified VLAN from an STPD.
Syntax Description
stpd_name | Specifies an STPD name on the switch. |
vlan_name | Specifies a VLAN name. |
vlan_list | Specifies a VLAN list of IDs. |
all | Specifies that all of the ports in the VLAN are to be removed from the STPD. |
port_list | Specifies the port or ports to be removed from the STPD. |
Default
N/A.
Usage Guidelines
If your STPD has the same name as another component, for example a VLAN, we recommend that you specify the identifying keyword as well as the name. If your STPD has a name unique only to that STPD, the keywords stpd and vlan are optional.
In EMISTP and PVST+ environments, if the specified VLAN is the carrier VLAN, all protected VLANs on the same set of ports are also removed from the STPD.
You also use this command to remove autobind ports from a VLAN. ExtremeXOS records the deleted ports so that the ports are not automatically added to the STPD after a system restart.
When a port is deleted on the MSTI, it is automatically deleted on the CIST as well.
Example
The following example removes all ports of a VLAN named Marketing from the STPD STPD1:
configure stpd stpd1 delete vlan marketing ports all
History
This command was first available in ExtremeXOS 10.1.
The vlan_list variable was added in ExtremeXOS 16.1.
Platform Availability
This command is available on all platforms.