create probe

Creates a virtual probe.

Syntax

create probe probe-name

Command Default

No probes are defined.

Parameters

probe-name
Specifies a unique name for the probe. A valid name must begin with an alphanumeric character. No special characters are allowed, except for the underscore (_) and hyphen (-).

Modes

vShell prompt (vsh)

Usage Guidelines

To connect a probe to an entity—a device port, a bridge, or a host interface—use the link probe command. Once the connection is created, traffic to and from the entity is forwarded to the probe.

To log into vShell and run this command, enter the user@ubuntu:~$ vsh create probe command.

To delete a probe, use the delete probe command.

Examples

The following example shows how to create a probe, link it to a device port, display the links, and display the probe summary.

(vsh) create probe PB2
vsh) create link -probe PB1 RT3 1/4
(vsh) show link
 Name           Port        Name           Port           State
 .....................................................................
 RT1            1/2    <--> RT3            1/4            Up
 RT3            1/4    <--> PB2          [probe]          Up
(vsh) show probe
 Name           Target
 ....................................
 PB2            RT3            1/4