Sie sind auf Seite 1von 4

Multiple VLAN Support

Purpose:
Configures other VLAN ID headers outside the outer VLAN header
Synopsis:
sth::traffic_config
[-vlan_id_other <0-4095>]
[-vlan_cfi_other {0|1}]
[-vlan_user_priority_other <0-7>]
[-vlan_id_other_mode {fixed | increment | decrement | random | s
huffle]
[-vlan_id_other_step <0-4095>]
[-vlan_id_other_count <1-4096>]
[-vlan_id_other_repeat <integer>]
[-vlan_tpid_other <0-65535>]
Arguments:
Use the following options to configure other VLAN ID headers outside the out
er
VLAN header. You must configure outer VLANs.
-vlan_id_other
Spirent Extension (for Spirent HLTAPI only).
Specifies a list of starting VLAN IDs for other VLAN headers. Th
e
length of the list will determine how many other VLAN headers wi
ll be
created. Possible values range from 0 to 4095. The default value
is
100. This argument is available when outer vlan is configured.
-vlan_cfi_other
Spirent Extension (for Spirent HLTAPI only).
Specifies a list of CFI values for other VLAN headers of the
emulated FCoE device. Possible values are 0 (Ethernet) and 1 (To
ken
Ring). The default is 0. If it is set to 0, it indicates the net
work
is Ethernet. If it is set to 1, it indicates that the network is
Token Ring and packets are dropped by Ethernet ports. The defaul
t is
0. This argument is available when outer vlan is configured.
-vlan_user_priority_other
Spirent Extension (for Spirent HLTAPI only).
Specifies a list of VLAN priority values for other VLAN headers.
Possible values range from 0 to 7. The default is 0.
-vlan_id_other_mode
Spirent Extension (for Spirent HLTAPI only).
Specifies how Spirent TestCenter will assign VLAN tags for other
VLAN
others accross packets. Possible values are:
fixed
increment

The other VLAN ID is the same for all packets.


For all packets, other VLAN tag IDs
increments by the step specified in the
-vlan_id_other_step argument.

decrement

For all packets, other VLAN IDs


decrement by the step specified in the
-vlan_id_other_step argument.

random

For all packets, other VLAN tag IDs will be in


random order.

shuffle

For all packets, other VLAN tag IDs are in


random order within a range that is determined by th

e
values of -vlan_id_other_count and
-vlan_id_other_step.
-vlan_id_other_step
Spirent Extension (for Spirent HLTAPI only).
The amount by which to increment the specified other VLAN ID
(-vlan_id_other) for subsequent packets. Possible values range f
rom 0
to 4095 (see below). The default is 0.
-vlan_id_other_count
Spirent Extension (for Spirent HLTAPI only).
Specifies the number of VLAN tags to generate for the
other VLAN header. Possible values range from 1 to 4096.
The default is 1. You must set the -vlan_id_other_mode
argument to increment.
-vlan_id_other_repeat
Spirent Extension (for Spirent HLTAPI only).
Specifies the number of times an other VLAN ID should be
repeated, before the step (-vlan_id_other_step) is applied to
it for incrementing. The default is 0.
-vlan_tpid_other
Spirent Extension (for Spirent HLTAPI only).
Specifies the type of other VLAN in the frame header of traffic.
Possible values range from 0 to 65535. The default is 33024.
Note:
The number of other VLAN headers to be created is determined by the option w
ith
the longest length among -vlan_id_other, -vlan_tpid_other,
-vlan_user_priority_other, and vlan_cfi_other. The ones with shorter lengths
will
be padded with default values by their length differences. For example,
-vlan_id_other {100 150 200 400}
-vlan_user_priority_other {7 3}
The number of other VLAN headers is 4, and the VLAN priority values will be
7, 3,
0, 0.
The number of modifiers to create and the their target other VLAN IDs are
determined by the option with the longest length among -vlan_id_other_mode,
-vlan_id_other_step, -vlan_id_other_repeat, and -vlan_id_other_count. The on
es
with shorter lengths will be padded with default values by their length
differences. For example,
-vlan_id_other
{100 150 200 400}

-vlan_user_priority_other
-vlan_id_other_mode
rement}
-vlan_id_other_count
-vlan_id_other_step

{7 3}
{increment decrement inc
{3 10}
{1 2}

-vlan_id_other_mode has 3 values and is the longest. So there will be 3


modifiers, and the target other VLAN IDs are the first 3 (100 150 200)
Examples:
::sth::traffic_config
\
-mode
-port_handle
-l2_encap
-l3_outer_protocol
-l3_protocol
-ip_outer_id
-ip_outer_protocol
-ip_fragment_outer_offset
-ip_dst_outer_addr
-ip_hdr_outer_length
-ip_src_outer_addr
-ip_outer_ttl
-ip_id
-ip_src_addr
-ip_dst_addr
-ip_ttl
-ip_hdr_length
-ip_protocol
-ip_fragment_offset
-ip_mbz
-ip_precedence
-ip_tos_field
-mac_src
-mac_dst
-enable_control_plane
-l3_length
-name
-fill_type
-fcs_error
-fill_value
-frame_size
-traffic_state
-high_speed_result_analysis
-length_mode
-disable_signature
-enable_stream_only_gen
-pkts_per_burst
-inter_stream_gap_unit
-inter_stream_gap
-rate_percent
-mac_discovery_gw
-enable_stream
-vlan_id
-vlan_id_mode
-vlan_id_count
-vlan_id_step
-vlan_user_priority
-vlan_id_outer
-vlan_id_outer_mode

create\
$hltSourcePort\
ethernet_ii_vlan\
ipv4\
ipv4\
0\
253\
0\
193.85.1.5\
5\
192.85.1.5\
255\
0\
192.85.1.2\
192.0.0.1\
255\
5\
253\
0\
0\
0\
0\
00:10:94:00:00:05\
00:00:01:00:00:01\
0\
106\
StreamBlock_4-2\
constant\
0\
0\
128\
1\
1\
fixed\
0\
1\
1\
bytes\
12\
10\
192.85.1.1 \
true\
300\
increment\
5\
1\
7\
100\
increment\

-vlan_id_outer_count
-vlan_id_outer_step
-vlan_id_other
-vlan_user_priority_other
-vlan_id_other_mode

4\
1\
{100 150 200 400}\
{7 3}\
{increment decrement

-vlan_id_other_count
-vlan_id_other_step

{3 10}\
{1 2}\

increment}\

Das könnte Ihnen auch gefallen