create service-probeNEW!

create service-probe instance_id [vlan vlan_name | vlan vlan_id] [ipaddress ipaddress netmask | ipNetmask gateway]

Description

Creates a Service Probe that emulates a client device on the specified VLAN.

Syntax Description

vlanAssociates the Service Probe with a VLAN, specified by name or ID.
vlan_nameName of the VLAN to associate with the Service Probe.
vlan_idID of the VLAN to associate with the Service Probe. Valid range is 1–4094.
ipaddressConfigures a static IP address on the Service Probe. If omitted, the probe uses DHCP.
ipaddressStatic IPv4 address to assign to the Service Probe.
netmaskSubnet mask for the static IP address.
ipNetmaskStatic IPv4 address and subnet mask in CIDR notation (for example, 192.168.1.10/24).
gatewayDefault gateway IPv4 address for the Service Probe.

Usage Guidelines

If no IP address parameters are specified, the probe obtains its IP configuration dynamically using DHCP. A synchronous DHCP request is attempted immediately upon creation. If no offer is received, the probe is still created and the DHCP client continues retrying in the background.

Each Service Probe is assigned a unique MAC address and operates in its own Linux network namespace, isolated from the switch's networking domain. Multiple probes can be associated with the same VLAN.

Service Probes cannot be associated with the Management VLAN. Service Probes are not saved to the switch configuration and do not persist across reboots.

Example

The following command creates a dynamic (DHCP) Service Probe on the VLAN named corp:

create service-probe 1 vlan corp

The following command creates a static Service Probe on the same VLAN:

create service-probe 5 vlan corp ipaddress 192.168.100.90/24 192.168.100.1

History

This command was first available in version 33.5.1.

Platform Availability

All platforms.