delete
Deletes virtual entities created under
vSLX.
Syntax
delete
{
bridge
bridge-name
|
chassis
chassis-name
|
probe
probe-name
|
tunnel
tunnel-name
|
workstation
workstation-name
}
delete
template
template-name
[
force
]
delete
link device
entity-name
delete
link
entity-name
slot
/
port
{
-bridge
bridge-name
|
-interface
interface-name
|
-probe
probe-name
|
entity-name
slot
/
port
}
delete
link -bridge
bridge-name
{
-interface
interface-name
|
-probe
probe-name
|
entity-name
slot
/
port
}
delete
link -interface
interface-name
{
-bridge
bridge-name
|
-probe
probe-name
|
entity-name
slot
/
port
}
delete
link -probe
probe-name
{
-bridge
bridge-name
|
-interface
interface-name
|
entity-name
slot
/
port
}
Parameters
- bridge
bridge-name
- Specifies a bridge for deletion.
- chassis
chassis-name
- Specifies the SLX device for deletion.
- probe
probe-name
- Specifies a probe for deletion.
- tunnel
tunnel-name
- Specifies a tunnel for deletion. Deleting a tunnel also delete links connected to the tunnel.
- workstation
workstation-name
- Specifies a workstation for deletion.
- template
template-name
- Specifies a template for deletion.
- force
- Delete the template and all chassis (devices) created from it.
- link
- Specifies a link for deletion.
- -all
- Deletes all links in the current vShell instance.
- device
entity-name
- Deletes all links between the specific chassis, workstation, or tunnel and all other entities.
- entity-name
slot
/
port
- Deletes a link between the specific chassis port, workstation, or tunnel and the following specified entity. For a workstation, the
slot
value is 0.
- -bridge
bridge-name
- Deletes links between the specific bridge and the additional specified entity.
- -interface
interface-name
- Deletes links between the specific physical interface on the vSLX x86 server and the following specified entity.
- -probe
probe-name
- Deletes links between the specific probe and the following specified entity.
Modes
vShell prompt
(vsh)
Usage Guidelines
To log into vShell and run this command, enter the
user@ubuntu:~$ vsh delete
command.
If you delete a device, all of the links connected to the device are deleted.
Examples
The following example shows how to delete a link between two virtual devices.
(vsh) delete link ch_9540_01 0/3 ch_9540_02 5/1
The following example shows how to delete all links.
(vsh) delete link –all
The following example shows how to delete a bridge and all links connected to it.
(vsh) delete bridge br_01
The following example shows how to delete a probe and all links connected to it.
(vsh) delete probe pr_01
The following example shows how to delete a tunnel and all links connected to it.
(vsh) delete tunnel tu_01