EVPN MPLS Wizard Functions¶
emulation evpnmpls provider port config¶
Execute Tester Command ${rt_handle} command=test_control <additional key=value arguments>
- Purpose:
Spirent Extension (for Spirent HLTAPI only).
Configures or deletes an emulated providerside test port
Synopsis:
Note: M indicates the argument is `Mandatory`.
emulation evpnmpls provider port config
mode= {create|delete} M
port_handle= <port_handle>
handle= <handle>
dut_active= {true|false}
vlan_enable= {true|false}
vlan_id= <0-4095>
vlan_id_step= <0-4095>
vlan_count= <1-65535>
dut_interface_ipv4_addr= <a.b.c.d>
dut_interface_ipv4_addr_step= <a.b.c.d>
dut_interface_ipv4_prefix_length= <0-32>
dut_gateway_ipv4_addr= <a.b.c.d>
dut_gateway_ipv4_addr_step= <a.b.c.d>
Arguments:
port_handle
Specifies the test port to be added to the provider side of
the EVPN MPLS network. This argument is `Mandatory` for mode
create.
mode
Specifies the action to be performed. This argument is
`Mandatory`. Possible values are described below::
create Adds a providerside test port. You must specify
port_handle.
delete Deletes specified routers under the provideside port.
You must specify handle.
handle
Specifies the handle of routers created under the emulated
test port. This argument is `Mandatory` for mode delete.
dut_active
Determines whether this DUT will be active when you call
the apply function
Values: true, false
Default: true
vlan_enable
Enables or disables VLAN on the provider side port
Values: true, false
Default: false
vlan_id
Specifies the ID for the first VLAN in a block
Dependency: vlan_enable true
Values: 0-4095
Default: 1
vlan_id_step
Specifies the increment value by which to create subsequent
VLAN IDs
Dependency: vlan_enable true
Values: 0-4095
Default: 1
vlan_count
Specifies the VLAN count on the provider side port
Dependency: vlan_enable true
Values: 1-65535
Default: 1
dut_interface_ipv4_addr
Specifies the IP address of emulated device
Values: IPv4
Default: 192.85.1.2
dut_interface_ipv4_addr_step
Specifies the increment value by which to create subsequent
DUT IP addresses
Values: IPv4
Default: 0.0.0.1
dut_interface_ipv4_prefix_length
Specifies the prefix length of the IP address
Values: 0-32
Default: 24
dut_gateway_ipv4_addr
Specifies the first gateway IPv4 address on the provider side port
Values: IPv4
Default: 192.85.1.1
dut_gateway_ipv4_addr_step
Specifies the increment value by which to create subsequent
gateway IP addresses
Values: IPv4
Default: 0.0.0.1
- Return Values:
Depending on the specific language that HLTAPI uses, the function returns a keyed list/dictionary/hash (See Introduction for more information on return value formats) using the following keys (with corresponding data):
status Success (1) or failure (0) of the operation log An error message (if the operation failed)
- Description:
- The
emulation evpnmpls provider port config
function configures an emulated providerside port, or deletes the routers under the port (specified by handle). Use the -port_handle argument to specify the port to be added. Use the action argument to specify the action to perform.
Examples:
The following example configures a providerside= port:
set core_port_config_ret1 [emulation evpn provider port config port_handle= $port1 mode= create dut_interface_ipv4_addr= 192.85.1.1 dut_interface_ipv4_addr_step= 0.0.1.0 dut_interface_ipv4_prefix_length= 24 sub_interface_enable= true sub_interface_count= 10 vlan_id= 1 vlan_id_step= 1 ]Sample output:
{status 1}
emulation evpnmpls cust port config¶
Execute Tester Command ${rt_handle} command=test_control <additional key=value arguments>
- Purpose:
Spirent Extension (for Spirent HLTAPI only).
Configures or deletes an emulated customerside test port
Synopsis:
Note: M indicates the argument is `Mandatory`.
emulation evpnmpls cust port config
mode= {create|delete} M
port_handle= <port_handle>
handle= <handle>
dut_active= {true|false}
hosts_per_eth_tag_ac= <1-65535>
eth_tag_ac_per_evi= <1-65535>
attached_pe_ipv4_addr= <a.b.c.d>
attached_pe_ipv4_prefix_length= <0-32>
vlan_enable= {true|false}
vlan_id= <0-4095>
vlan_id_step= <0-4095>
addr_mode= {ipv4|ipv6|mac}
dut_interface_ipv4_prefix_length= <0-32>
dut_interface_ipv4_addr= <a.b.c.d>
dut_interface_ipv4_addr_step= <a.b.c.d>
dut_interface_ipv4_addr_step_per_evi= <a.b.c.d>
dut_gateway_ipv4_addr= <a.b.c.d>
dut_gateway_ipv4_addr_step= <a.b.c.d>
dut_gateway_ipv4_addr_step_per_evi= <a.b.c.d>
mac_addr= <aa:bb:cc:dd:ee:ff>
mac_addr_step= <aa:bb:cc:dd:ee:ff>
mac_addr_step_per_evi= <aa:bb:cc:dd:ee:ff>
dut_interface_ipv6_prefix_length= <0-128>
dut_interface_ipv6_addr= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
dut_interface_ipv6_addr_step= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
dut_interface_ipv6_addr_step_per_evi= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
dut_gateway_ipv6_addr= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
dut_gateway_ipv6_addr_step= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
dut_gateway_ipv6_addr_step_per_evi= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
Arguments:
port_handle
Specifies the test port to be added to the customer side of
the EVPN network. This argument is `Mandatory` for mode
create.
mode
Specifies the action to be performed. This argument is
`Mandatory`. Possible values are described below::
create Adds a customerside test port. You must specify
port_handle.
delete Deletes specified routers under the customerside port.
You must specify handle.
handle
Specifies the handle of the CE routers. This argument is
`Mandatory` for mode delete.
dut_active
Determines whether this DUT will be active
Values: true, false
Default: true
hosts_per_eth_tag_ac
Specifies the number of hosts to configure for each Tag/AC
Values: 1-65535
Default: 1
eth_tag_ac_per_evi
Specifies the number of Ethernet Tag/ACs Per EVI
Values: 1-65535
Default: 1
attached_pe_ipv4_addr
Specifies the IPv4 address for the VRF instance
Values: IPv4
Default: 10.0.0.1
attached_pe_ipv4_prefix_length
Specifies the prefix length of the PE/DUT address
Values: 0-32
Default: 32
vlan_enable
Enables or disables VLAN on the customer side port
Values: true, false
Default: false
vlan_id
Specifies the ID for the first VLAN in a block
Dependency: vlan_enable true
Values: 0-4095
Default: 1
vlan_id_step
Specifies the increment value by which to create subsequent
VLAN IDs
Dependency: vlan_enable true
Values: 0-4095
Default: 1
addr_mode
Specifies the address configuration mode
Values: ipv4, ipv6, mac
Default: ipv4
dut_interface_ipv4_prefix_length
Specifies the prefix length of the DUT IP address
Values: 0-32
Default: 24
dut_interface_ipv4_addr
Specifies the DUT IPv4 address
Values: IPv4
Default: 192.85.1.2
dut_interface_ipv4_addr_step
Specifies the increment value by which to create subsequent
DUT IP addresses
Values: IPv4
Default: 0.0.0.1
dut_interface_ipv4_addr_step_per_evi
Specifies the increment value by which to create subsequent
DUT IP addresses across EVIs
Values: IPv4
Default: 0.1.0.0
dut_gateway_ipv4_addr
Specifies the gateway IPv4 address
Values: IPv4
Default: 192.85.1.1
dut_gateway_ipv4_addr_step
Specifies the increment value by which to create subsequent
gateway IPv4 addresses
Values: IPv4
Default: 0.0.0.1
dut_gateway_ipv4_addr_step_per_evi
Specifies the increment value by which to create subsequent
gateway IPv4 addresses across EVIs
Values: IPv4
Default: 0.1.0.0
mac_addr
Specifies the MAC address of the customer port
Values: MAC
Default: 00:10:00:01:00:00
mac_addr_step
MAC Address Step on customer side ports
Values: MAC
Default: 00:00:00:00:00:01
mac_addr_step_per_evi
Increment value by which to create subsequent addresses
Values: MAC
Default: 00:00:00:01:00:00
dut_interface_ipv6_prefix_length
IPv6 Prefix Length on customer side ports
Values: 0-128
Default: 64
dut_interface_ipv6_addr
Specifies the IPv6 Address of the DUT
Values: IPv6
Default: 1001::2
dut_interface_ipv6_addr_step
IPv6 Address Step on customer side ports
Values: IPv6
Default: ::1
dut_interface_ipv6_addr_step_per_evi
IPv6 Address Step Per EVI on customer side ports
Values: IPv6
Default: ::1:0
dut_gateway_ipv6_addr
Gateway Ipv6 Address on customer side ports
Values: IPv6
Default: 1001::1
dut_gateway_ipv6_addr_step
Gateway Ipv6 Address Step on customer side ports
Values: IPv6
Default: 0::1
dut_gateway_ipv6_addr_step_per_evi
Gateway Ipv6 Address Step Per EVI on customer side ports
Values: IPv6
Default: 0::1
- Return Values:
Depending on the specific language that HLTAPI uses, the function returns a keyed list/dictionary/hash (See Introduction for more information on return value formats) using the following keys (with corresponding data):
status Success (1) or failure (0) of the operation log An error message (if the operation failed)
- Description:
- The
emulation evpn cust port config
function configures an emulated customerside port, or deletes the routers under the port (specified by -handle). Use the port_handle argument to specify the port to be added. Use the -action argument to specify the action to perform.
Examples:
The following example configures a customerside= port:
set customer_port_config_ret1 [emulation evpn cust port config port_handle= $port2 mode= create sub_interface_enable= true sub_interface_count= 10 vlan_id= 1 vlan_id_step= 1 ]Sample output:
{status 1}
emulation evpnmpls config¶
Execute Tester Command ${rt_handle} command=test_control <additional key=value arguments>
- Purpose:
Spirent Extension (for Spirent HLTAPI only).
Configures Ethernet VPN (EVPN, IEEE 802.1ah) network topology, creates emulated and simulated P, PE and CE routers, selects and enables routing and labelling protocols, configures customer and provider side VPNs, and creates the traffic that is sent between VPNs, mapping the operations of the EVPN MPLS wizard in the Spirent TestCenter GUI.
Synopsis:
Note: M indicates the argument is `Mandatory`.
emulation evpnmpls config
mode= {create|delete} M
handle= <handle>
enable_p_routers= {true|false}
p_router_id= <a.b.c.d>
p_router_id_step= <a.b.c.d>
mpls_protocol= {isis|ldp|ospf|rsvp}
igp_protocol= {isis|ospf}
multi_homing_for_pe_enable= {true|false}
multi_homing_pe_type= {within_port}
num_multi_homed_pe= <1-10000>
num_gateway= <2-65535>
use_same_mac_ip_multi_homed_pe_interface= {true|false}
use_same_gw_interface_pes= {true|false}
pe_router_pes_per_port= <1-10000>
pe_router_id= <a.b.c.d>
pe_router_id_step= <a.b.c.d>
dut_ip_addr= <a.b.c.d>
dut_ip_addr_step= <a.b.c.d>
bgp_min_label= <0-1048575>
bgp_min_label_step= <0-1048575>
bgp_mode= {ebgp|ibgp}
as_type= {as_2_byte|as_4_byte}
dut_as= <1-65535>
dut_as_step= <1-65535>
dut_as_num_step_per_port= <1-65535>
as_num= <1-65535>
as_num_step= <1-65535>
as_num_step_per_port= <1-65535>
dut_4byte_as= <string>
dut_4byte_device_step= <string>
dut_4byte_port_step= <string>
as_num_4byte= <string>
as_num_4byte_step= <string>
as_num_4byte_step_per_port= <string>
mpls_ldp_hello_type= {ldp_directed_hello|ldp_targeted_hello}
mpls_ldp_label_adv_mode= {downstream_on_demand|downstream_unsolicited}
mpls_ldp_transport_mode= {none|router_id|tester_ip}
mpls_ldp_hello_interval= <1-21845>
mpls_ldp_keepalive_interval= <1-21845>
mpls_ldp_egress_label= {explicit_null|implicit_null|nextavailable}
mpls_ldp_min_label= <0-1048575>
mpls_ldp_graceful_restart_enable= {true|false}
mpls_ldp_recover_time= <0-4294967>
mpls_ldp_reconnect_time= <0-4294967>
mpls_ldp_auth_mode= {md5|none|simple}
mpls_ldp_auth_password= <string>
mpls_ldp_bfd_enable= {true|false}
mpls_rsvp_bandwidth_per_link= <1-2147483647>
mpls_rsvp_bandwidth_per_tunnel= <0-2147483647>
mpls_rsvp_egress_label= {explicit_null|implicit_null|nextavailable}
mpls_rsvp_transit= {accept_all|accept_configured}
mpls_rsvp_min_label= <1-1048575>
mpls_rsvp_max_label= <1-1048575>
mpls_rsvp_graceful_restart_enable= {true|false}
mpls_rsvp_recover_time= <0-4294967295>
mpls_rsvp_restart_time= <0-4294967295>
mpls_rsvp_bfd_enable= {true|false}
mpls_rsvp_request_conf= {true|false}
mpls_rsvp_hello_enable= {true|false}
mpls_rsvp_hello_interval= <1-2147483647>
mpls_rsvp_bundle_interval= <1-2147483647>
mpls_rsvp_bundle_mode= {manual|observation}
mpls_rsvp_refresh_interval= <1-2147483647>
mpls_rsvp_summary_refresh_interval= <1-2147483647>
mpls_rsvp_inter_packet_delay= <0-2147483647>
mpls_rsvp_reliable_delivery= {true|false}
mpls_rsvp_ack_mode= {immediate|piggyback}
mpls_rsvp_retrans_interval= <1-2147483647>
mpls_rsvp_retrans_limit= <0-10>
mpls_rsvp_retrans_delta= <0-3>
igp_ospf_area_id= <a.b.c.d>
igp_ospf_network_type= {broadcast|native|p2p}
igp_ospf_router_priority= <0-255>
igp_ospf_interface_cost= <1-65535>
igp_ospf_options= {dcbit|eabit|ebit|mcbit|npbit|obit|tbit|unused7}
igp_ospf_graceful_restart_enable= {true|false}
igp_ospf_graceful_restart_type= {none|rfc_standard|ll_signalling}
igp_ospf_bfd_enable= {true|false}
mpls_ospf_sr_algorithms= <string>
mpls_ospf_node_sid_index= <0-16777215>
mpls_ospf_sid_base= <0-16777215>
mpls_ospf_node_sid_index_step= <0-16777215>
mpls_ospf_sid_range= <1-65535>
igp_ospf_auth_mode= {md5|none|simple}
igp_ospf_auth_password= <string>
igp_ospf_auth_md5_key= <0-255>
igp_isis_level= {level1|level1_and_2|level2}
igp_isis_network_type= {broadcast|p2p}
igp_isis_router_priority= <0-127>
igp_isis_area1= <string>
igp_isis_area2= <string>
igp_isis_area3= <string>
igp_isis_circuit_id= <0-255>
igp_isis_bfd_enable= {true|false}
igp_isis_graceful_restart_enable= {true|false}
igp_isis_hello_padding= {true|false}
igp_isis_metric_mode= {narrow|narrow_and_wide|wide}
igp_isis_l1_metric= <1-63>
igp_isis_l1_wide_metric= <0-16777215>
igp_isis_l2_metric= <1-63>
igp_isis_l2_wide_metric= <0-16777215>
mpls_isis_sr_algorithm= <string>
mpls_isis_node_sid_index= <0-16777215>
mpls_isis_sid_base= <0-16777215>
mpls_isis_node_sid_index_step= <0-16777215>
mpls_isis_sid_range= <1-65535>
igp_isis_auth_mode= {md5|none|simple}
igp_isis_auth_password= <string>
igp_isis_auth_md5_key= <0-255>
evpn_mode= {evpn_mpls|evpn_vpws}
evpn_irb_enable= {true|false}
evpn_irb_mode= {symmetric}
start_evi_id= <0-16777215>
evi_id_step= <1-65535>
evis_per_pe= <1-65535>
use_same_evi_per_pe= {true|false}
ethernet_tag_acs_per_evi= <1-65535>
include_esi_label= {true|false}
use_inclusive_mcast_label= {true|false}
enable_control_word= {true|false}
ad_route= {true|false}
ad_per_evi_route= {true|false}
ad_per_evi_route_custom_label_enable= {true|false}
ad_per_evi_route_mpls_label= <0-1048575>
ad_per_evi_route_mpls_label_step= <0-1048575>
ad_per_esi_route= {true|false}
active_standby_mode= {all_active|single_active}
ad_per_esi_route_custom_label_enable= {true|false}
ad_per_esi_route_mpls_label= <0-1048575>
ad_per_esi_route_mpls_label_step= <0-1048575>
ad_vpws_route= {true|false}
ad_vpws_route_custom_label_enable= {true|false}
ad_vpws_route_mpls_label= <0-1048575>
ad_vpws_route_mpls_label_step= <0-1048575>
include_layer2_attr_ext_community= {true|false}
p_bit_enable= {true|false}
b_bit_enable= {true|false}
c_bit_enable= {true|false}
m_bit_enable= {normal|vlan_aware_fxc|vlan_unaware_fxc}
v_bit_enable= {double_vid_normalization|normal|single_vid_normalization}
l2_mtu= <1-65535>
l2_mtu_step= <1-65535>
mac_ip_route= {true|false}
mac_route= {true|false}
mac_and_ip_route= {true|false}
mac_ip_route_custom_label_enable= {true|false}
mac_ip_route_mpls_label= <0-1048575>
mac_ip_route_mpls_label_step= <0-1048575>
mac_ip_route_mpls_label2_enable= {true|false}
mac_ip_route_custom_label2_enable= {true|false}
mac_ip_route_mpls_label2= <0-1048575>
mac_ip_route_mpls_label2_step= <0-1048575>
inclusive_multicast_route= {true|false}
incl_mcast_route_custom_label_enable= {true|false}
incl_mcast_route_mpls_label= <0-1048575>
incl_mcast_route_mpls_label_step= <0-1048575>
ethernet_segment_route= {true|false}
ip_prefix_route= {true|false}
ip_prefix_custom_label_enable= {true|false}
ip_prefix_custom_mpls_label= <0-1048575>
ip_prefix_custom_mpls_label_step= <0-1048575>
ethernet_tag_id= <0-16777215>
ethernet_tag_id_step= <0-16777215>
ethernet_tag_id_step_per_evi= <0-16777215>
ethernet_segment_type= {type0|type1|type2|type3|type4|type5}
ethernet_segment_id= <string>
ethernet_segment_step= <string>
router_mac_ext_community= {true|false}
router_mac_addr= <aa:bb:cc:dd:ee:ff>
router_mac_addr_step= <aa:bb:cc:dd:ee:ff>
enable_pack_routes= {true|false}
override_next_hop= {true|false}
next_hop_ipv4_addr= <a.b.c.d>
next_hop_device_step= <a.b.c.d>
next_hop_port_step= <a.b.c.d>
auto_config_rd_rt= {true|false}
auto_config_l2_rt= {as_vlan|nexthop_as|nexthop_vlan|router_id_as|
router_id_vlan}]
auto_config_l2_rd= {as_vlan|nexthop_as|nexthop_vlan|router_id_as|
router_id_vlan}]
auto_config_l2_rd_offset= <1-65535>
l3_rt_enable= {true|false}
auto_config_l3_rt= {as_evi|as_vlan|nexthop_as|nexthop_evi|nexthop_vlan
|router_id_as|router_id_evi|router_id_vlan}]
use_same_rd_per_evi= {true|false}
l2_rt= <string>
l2_rt_step= <string>
l2_rd= <a.b.c.d:e>
l2_rd_step= <string>
l3_rt= <string>
l3_rt_step= <string>
evpn_mpls_addr_mode= {ipv4|ipv6|mac}
hosts_per_eth_tag_ac= <1-65535>
vlan_enable= {true|false}
vlan_id= <0-4095>
vlan_id_step= <0-4095>
mac_addr= <aa:bb:cc:dd:ee:ff>
mac_addr_step= <aa:bb:cc:dd:ee:ff>
mac_addr_step_per_pe= <aa:bb:cc:dd:ee:ff>
mac_addr_step_per_evi= <aa:bb:cc:dd:ee:ff>
mac_addr_step_per_port= <aa:bb:cc:dd:ee:ff>
ipv4_addr= <a.b.c.d>
ipv4_addr_step= <a.b.c.d>
ipv4_addr_step_per_pe= <a.b.c.d>
ipv4_addr_step_per_evi= <a.b.c.d>
ipv4_addr_step_per_port= <a.b.c.d>
ipv4_prefix_length= <1-32>
gateway_ipv4_addr= <a.b.c.d>
gateway_ipv4_addr_step= <a.b.c.d>
gateway_ipv4_addr_step_per_pe= <a.b.c.d>
gateway_ipv4_addr_step_per_port= <a.b.c.d>
gateway_ipv4_addr_step_per_evi= <a.b.c.d>
ipv6_addr= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ipv6_addr_step= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ipv6_addr_step_per_pe= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ipv6_addr_step_per_evi= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ipv6_addr_step_per_port= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ipv6_prefix_length= <1-128>
gateway_ipv6_addr= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
gateway_ipv6_addr_step= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
gateway_ipv6_addr_step_per_pe= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
gateway_ipv6_addr_step_per_port= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
gateway_ipv6_addr_step_per_evi= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ippr_mode= {ipv4|ipv4_and_ipv6|ipv6}
prefix_count_per_ethernet_tag= <1-65535>
ipv4_prefix_length= <0-32>
ippr_prefix= <a.b.c.d>
ippr_prefix_step= <a.b.c.d>
ippr_prefix_step_per_evi= <a.b.c.d>
ippr_prefix_step_port= <a.b.c.d>
ippr_prefix_step_per_pe= <a.b.c.d>
ippr_v6_prefix_length= <0-128>
ippr_v6_prefix= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ippr_v6_prefix_step= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ippr_v6_prefix_step_per_evi= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ippr_v6_prefix_step_port= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
ippr_v6_prefix_step_per_pe= <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>
create_traffic= {true|false}
traffic_config= {manual}
Arguments:
handle
Specifies the EVPN network configuration handle. This
argument is required for mode delete.
mode
Specifies the action to be performed. This argument is
`Mandatory`. Possible values are described below::
create Creates an EVPN MPLS network configuration
delete Deletes the EVPN MPLS network configuration
specified by handle
enable_p_routers
Enables or disables provider side routers
Values: true, false
Default: true
p_router_id
Specifies the ID for the first provider side router
Values: IPv4
Default: 192.85.1.1
p_router_id_step
Specifies the increment value by which to create subsequent
provider side router IDs
Values: IPv4
Default: 0.0.0.1
mpls_protocol
Specifies the MPLS protocol to use on the provider side router
Values: isis, ldp, ospf, rsvp
Default: ldp
igp_protocol
Specifies the IGP protocol to use on the provider side router
Values: isis, ospf
Default: ospf
multi_homing_for_pe_enable
Enables or disables Multihoming for the PE
Values: true, false
Default: false
multi_homing_pe_type
Specifies the Multihoming type
Dependency: multi_homing_for_pe_enable true
Values: within_port
Default: within_port
num_multi_homed_pe
Specifies the number of PEs to be multihomed
Dependency: multi_homing_for_pe_enable true
Values: 1-10000
Default: 1
num_gateway
Specifies the number of gateways to be created
Dependency: multi_homing_for_pe_enable true
Values: 2-65535
Default: 2
use_same_mac_ip_multi_homed_pe_interface
Determines whether to use the same MAC/IP for all PE interfaces
Values: true, false
Default: false
use_same_gw_interface_pes
Determines whether to use the same gateway for all PE
interfaces
Values: true, false
Default: false
pe_router_pes_per_port
Specifies the number PE routers per port
Values: 1-10000
Default: 1
pe_router_id
Specifies the first ID of the PE router
Values: IPv4
Default: 10.0.0.2
pe_router_id_step
Specifies the increment value by which to create subsequent
router IDs
Values: IPv4
Default: 0.0.0.1
dut_ip_addr
Specifies the first DUT IPv4 address
Values: IPv4
Default: 10.0.0.1
dut_ip_addr_step
Specifies the increment value by which to create subsequent
DUT IP addresses
Values: IPv4
Default: 0.0.0.1
bgp_min_label
Specifies the first BGP minimum label
Values: 0-1048575
Default: 16
bgp_min_label_step
Specifies the increment value by which to create subsequent
BGP minimum labels
Values: 0-1048575
Default: 0
bgp_mode
Specifies the BGP mode
Values: ebgp (external BGP), ibgp (internal BGP)
Default: ebgp
as_type
Specifies the AS type
Values: as_2_byte, as_4_byte
Default: as_2_byte
dut_as
Specifies the first DUT AS number on the provider router
Values: 1-65535
Default: 1001
dut_as_step
Specifies the increment value by which to create subsequent
DUT AS numbers
Values: 1-65535
Default: 1
dut_as_num_step_per_port
Specifies the increment value by which to create subsequent
DUT AS numbers across ports
Values: 1-65535
Default: 0
as_num
Specifies the first AS number on the provider router
Dependency: bgp_mode ebgp
Values: 1-65535
Default: 1
as_num_step
Increment value by which to create subsequent AS numbers
Dependency: bgp_mode ebgp
Values: 1-65535
Default: 1
as_num_step_per_port
Increment value by which to create subsequent AS numbers per port
Dependency: bgp_mode ebgp
Values: 1-65535
Default: 0
dut_4byte_as
Specifies the first 4byte DUT AS number on the provider router
Values: string
Default: 1.1001
dut_4byte_device_step
Increment value by which to create subsequent 4byte DUT AS
numbers per device
Values: string
Default: 0
dut_4byte_port_step
Increment value by which to create subsequent 4byte DUT AS
numbers per port
Values: string
Default: 0
as_num_4byte
Specifies the first 4byte AS number on the provider router
Values: string
Default: 1.1
as_num_4byte_step
Specifies the increment value by which to create subsequent
4byte AS numbers
Values: string
Default: 0
as_num_4byte_step_per_port
Specifies the increment value by which to create subsequent
4byte AS numbers per port
Values: string
Default: 0
mpls_ldp_hello_type
Specifies the type of Hello packets to be transmitted by the
emulated peer
Values: ldp_directed_hello, ldp_targeted_hello
Default: ldp_directed_hello
mpls_ldp_label_adv_mode
Specifies the label advertisement mode
Values: downstream_on_demand, downstream_unsolicited
Default: downstream_unsolicited
mpls_ldp_transport_mode
Specifies the transport TLV mode
Values:
None Transport Address TLV will not be included in LDP Hellos
tester_ip Emulated router interface address
router_id ID Emulated router ID
Default: tester_ip
mpls_ldp_hello_interval
Specifies the Hello interval for LDP sessions
Values: 1-21845
Default: 5
mpls_ldp_keepalive_interval
Specifies the Keepalive time (in seconds) proposed in the
initialization message sent by the peer
Values: 1-21845
Default: 60
mpls_ldp_egress_label
Specifies the egress label advertised by the emulated peer
Values: explicit_null, implicit_null, nextavailable
Default: nextavailable
mpls_ldp_min_label
Specifies the minimum label sent by the emulated LDP router
Values: 0-1048575
Default: 16
mpls_ldp_graceful_restart_enable
Enables or disables graceful restart for the LDP router
Values: true, false
Default: false
mpls_ldp_recover_time
Specifies the session recovery time
Dependency: mpls_ldp_graceful_restart_enable true
Values: 0-4294967
Default: 140
mpls_ldp_reconnect_time
Specifies the session reconnection time
Dependency: mpls_ldp_graceful_restart_enable true
Values: 0-4294967
Default: 60
mpls_ldp_auth_mode
Specifies the LDP authentication type
Values: md5, none, simple
Default: none
mpls_ldp_auth_password
Specifies the authentication password
Values: string
Default: Spirent
mpls_ldp_bfd_enable
Enables or disables BFD for this router
Values: true, false
Default: false
mpls_rsvp_bandwidth_per_link
Specifies the bandwidth per link, in bytes per second
Values: 1-2147483647
Default: 12500000
mpls_rsvp_bandwidth_per_tunnel
Specifies the bandwidth per tunnel, in bytes per second
Values: 0-2147483647
Default: 0
mpls_rsvp_egress_label
Specifies the egress label advertised by the emulated peer
Values: explicit_null, implicit_null, nextavailable
Default: nextavailable
mpls_rsvp_transit
Defines the RESV message sent if the emulated router is not
the tailend for PATH messages it receives
Values: accept_all, accept_configured
Default: accept_all
mpls_rsvp_min_label
Specifies the minimum label sent by the emulated router
Values: 1-1048575
Default: 16
mpls_rsvp_max_label
Specifies the maximum label sent by the emulated router
Values: 1-1048575
Default: 65535
mpls_rsvp_graceful_restart_enable
Enables or disables graceful restart for the RSVP router
Values: true, false
Default: false
mpls_rsvp_recover_time
Specifies the period (in milliseconds) that the sender needs for the
recipient to resynchronize RSVP and MPLS forwarding state
with the sender, after the reestablishment of Hello
synchronization
Dependency: mpls_rsvp_graceful_restart_enable true
Values: 0-4294967295
Default: 0
mpls_rsvp_restart_time
The sum of time (in milliseconds) that it takes the sender of the
object to restart its RSVPTE component and the
communication channel that is used for RSVP communication
Dependency: mpls_rsvp_graceful_restart_enable true
Values: 0-4294967295
Default: 3000
mpls_rsvp_bfd_enable
Enables or disables BFD for this router
Values: true, false
Default: false
mpls_rsvp_request_conf
Determines whether the egress will include a RESV_CONFIRM
object in the reservation message
Values: true, false
Default: false
mpls_rsvp_hello_enable
Enables or disables Hello packets for RSVP
Values: true, false
Default: false
mpls_rsvp_hello_interval
Specifies the time interval (in milliseconds) between RSVP
Hello packets
Dependency: mpls_rsvp_hello_enable true
Values: 1-2147483647
Default: 1000
mpls_rsvp_bundle_interval
Specifies the time interval (in milliseconds) to wait
before sending queued messages
Values: 1-2147483647
Default: 10000
mpls_rsvp_bundle_mode
Specifies the RSVP message bundle mode
Values::
manual Start bundling immediately
observation Start bundling only after receiving a bundled message
Default: observation
mpls_rsvp_refresh_interval
Time interval (in milliseconds) for a PATH and RESV message
to be sent out to the receiver of the path to refresh the
PATH/RESV state along each hop of the path
Values: 1-2147483647
Default: 30000
mpls_rsvp_summary_refresh_interval
Time interval (in milliseconds) to gather refresh messages
that would have been sent out individually
Values: 1-2147483647
Default: 9000
mpls_rsvp_inter_packet_delay
Time interval (in milliseconds) to gather refresh messages
that would have been sent out individually
Values: 0-2147483647
Default: 5
mpls_rsvp_reliable_delivery
Enables or disables reliable delivery for RSVP messages
Values: true, false
Default: false
mpls_rsvp_ack_mode
Specifies the ACK mode for RSVP
Values::
immediate Send ACK immediately
piggyback Send multiple message IDs in one ACK when
the ACK timer expires
Default: immediate
mpls_rsvp_retrans_interval
Specifies the initial retransmission interval (in milliseconds) for
unacknowledged messages
Values: 1-2147483647
Default: 500
mpls_rsvp_retrans_limit
Maximum number of times a message is transmitted without
being acknowledged
Values: 0-10
Default: 3
mpls_rsvp_retrans_delta
Multiplier by which the retransmission interval is
increased each time an unacknowledged message is
retransmitted
Values: 0-3
Default: 1
igp_ospf_area_id
Specifies the area which the emulated router belongs to
Values: IPv4
Default: 0.0.0.0
igp_ospf_network_type
Specifies the type of the network link
Values: broadcast, native, p2p
Default: native
igp_ospf_router_priority
Specifies the priority for this router
Values: 0-255
Default: 0
igp_ospf_interface_cost
Specifies the cost of the interface connecting the emulated
router to the neighbor DUT router
Values: 1-65535
Default: 1
igp_ospf_options
A bit mask that specifies the settings of the OSPF Options
field in Hello packets sent to the DUT
Values: dcbit, eabit, ebit, mcbit, npbit, obit, tbit, unused7
Default: ebit
igp_ospf_graceful_restart_enable
Enables or disables graceful restart for OSPF sessions
Values: true, false
Default: false
igp_ospf_graceful_restart_type
Specifies the type of graceful restart to use
Values::
none No graceful restart
rfc_standard Follows RFC 3623
ll_signalling LinkLayer Signaling
Default: none
igp_ospf_bfd_enable
Enables or disables BFD for this router
Values: true, false
Default: false
mpls_ospf_sr_algorithms
Specifies the OSPF SR algorithm
Values: string
Default: 0
mpls_ospf_node_sid_index
Specifies the SID index of the node
Values: 0-16777215
Default: 0
mpls_ospf_sid_base
Specifies the value of the SID or label
Values: 0-16777215
Default: 100
mpls_ospf_node_sid_index_step
Specifies the increment value by which to create subsequent
SID indexes
Values: 0-16777215
Default: 1
mpls_ospf_sid_range
Number of values ranging from the starting value defined in
the SID/Label SubTLV
Values: 1-65535
Default: 100
igp_ospf_auth_mode
Specifies the OSPF authentication mode
Values: md5, none, simple
Default: none
igp_ospf_auth_password
Specifies the password string for the authentication
Dependency: igp_ospf_auth_mode md5 or simple
Values: string
Default: Spirent
igp_ospf_auth_md5_key
Specifies the MD5 key used for the MD5 authentication
Dependency: igp_ospf_auth_mode md5
igp_isis_level
Specifies the circuit type of the emulated router
Values: level1, level1_and_2, level2
Default: level2
igp_isis_network_type
Specifies the type of the ISIS interface
Values: broadcast, p2p
Default: broadcast
igp_isis_router_priority
Specifies the router priority used to determine which
router should act as the designated router
Values: 0-127
Default: 0
igp_isis_area1
Specifies the area address. Spirent TestCenter supports up
to 3 addresses per emulated router. Area 1 address is
`Mandatory`.
Values: string
Default: 000001
igp_isis_area2
Specifies the area 2 address
Dependency: igp_isis_area1
Values: string
Default: "" (empty string)
igp_isis_area3
Specifies the area 3 address
Dependency: igp_isis_area2
Values: string
Default: "" (empty string)
igp_isis_circuit_id
Specifies the 1octet HEX identifier of the emulated router
interface
Values: 0-255
Default: 1
igp_isis_bfd_enable
Enables or disables BFD for this router
Values: true, false
Default: false
igp_isis_graceful_restart_enable
Enables or disables graceful restart for ISIS routers
Values: true, false
Default: false
igp_isis_hello_padding
Determines whether to insert Hello Padding in Hello Packets
Values: true, false
Default: true
igp_isis_metric_mode
Specifies the length of the metric field in the LSP
Values::
narrow Router advertises routes with a narrow
(6bit) metric
narrow_and_wide Router advertises the same route with
both metrics
wide Router advertises routes with a wide
metric (required for ISIS TE)
Default: narrow_and_wide
igp_isis_l1_metric
Specifies the metric of the emulated router interface
Dependency: igp_isis_level level1
Values: 1-63
Default: 1
igp_isis_l1_wide_metric
Specifies the 3octet traffic engineering metric of a link
from the emulated router to the SUT
Dependency: igp_isis_level level1
Values: 0-16777215
Default: 1
igp_isis_l2_metric
Specifies the metric of the emulated router interface
Dependency: igp_isis_level level2
Values: 1-63
Default: 1
igp_isis_l2_wide_metric
Specifies the 3octet traffic engineering metric of a link
from the emulated router to the SUT
Dependency: igp_isis_level level2
Values: 0-16777215
Default: 1
mpls_isis_sr_algorithm
Specifies the ISIS SR algorithm
Values: string
Default: 0
mpls_isis_node_sid_index
Specifies the value of the first SID index
Values: 0-16777215
Default: 0
mpls_isis_sid_base
Specifies the value of the first SID/Label
Values: 0-16777215
Default: 100
mpls_isis_node_sid_index_step
Specifies the increment value by which to create subsequent indexes
Values: 0-16777215
Default: 1
mpls_isis_sid_range
Number of SIDs/labels to configure
Values: 1-65535
Default: 100
igp_isis_auth_mode
Specifies the authentication method to use for ISIS
Values: md5, none, simple
Default: none
igp_isis_auth_password
Specifies the password used for authentication of ISIS messages
Dependency: igp_isis_auth_mode simple or md5
Values: string
Default: Spirent
igp_isis_auth_md5_key
Specifies the MD5 authentication key
Dependency: igp_isis_auth_mode md5
evpn_mode
Specifies the EVPN mode
Values: evpn_mpls, evpn_vpws
Default: evpn_mpls
evpn_irb_enable
Enables or disables the Integrated Route/Bridge (IRB) mode
Values: true, false
Default: false
evpn_irb_mode
Specifies the EVPN IRB mode
Dependency: evpn_irb_enable true
Values: symmetric
Default: symmetric
start_evi_id
Specifies the value of first EVI ID
Values: 0-16777215
Default: 1
evi_id_step
Specifies the increment value by which to create subsequent EVIs
Values: 1-65535
Default: 1
evis_per_pe
Specifies the number of EVIs per PE device
Values: 1-65535
Default: 1
use_same_evi_per_pe
Determines whether to use the same EVI for each PE device
Values: true, false
Default: true
ethernet_tag_acs_per_evi
Specifies the number of Ethernet Tag/ACs per EVI
Values: 1-65535
Default: 1
include_esi_label
Determines whether to include the ESI label in the EVI
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
use_inclusive_mcast_label
Determines whether to advertise inclusive multicast
Ethernet tag routes
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
enable_control_word
Enables or disables the use of control words
Values: true, false
Default: false
ad_route
Determines whether to generate AD routes (Type-1)
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
ad_per_evi_route
Determines whether to advertise the EVPN AD Route without
the ESI Label Extended Community, and populate the MPLS
label in the NLRI
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
ad_per_evi_route_custom_label_enable
Enables or disables custom MPLS labels for AD routes per EVI
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
ad_per_evi_route_mpls_label
Specifies the starting MPLS label
Dependency: ad_per_evi_route_custom_label_enable true
Values: 0-1048575
Default: 0
ad_per_evi_route_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels
Dependency: ad_per_evi_route_custom_label_enable true
Values: 0-1048575
Default: 0
ad_per_esi_route
Determines whether to advertise the EVPN AD Route with the
ESI Label Extended Community
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: false
active_standby_mode
Specifies the type of standby
Dependency: evpn_mode evpn_mpls AND -ad_per_esi_route true
Values: all_active, single_active
Default: single_active
ad_per_esi_route_custom_label_enable
Enables or disables custom MPLS labels for AD routes per ESI
Dependency: evpn_mode evpn_mpls AND -ad_per_esi_route true
Values: true, false
Default: false
ad_per_esi_route_mpls_label
Specifies the starting MPLS label
Dependency: ad_per_esi_route_custom_label_enable true
Values: 0-1048575
Default: 0
ad_per_esi_route_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels
Dependency: ad_per_esi_route_custom_label_enable true
Values: 0-1048575
Default: 0
ad_vpws_route
Determines whether to generate VPWS routes (Type-1)
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: false
ad_vpws_route_custom_label_enable
Enables or disables custom MPLS labels for VPWS routes
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: false
ad_vpws_route_mpls_label
Specifies the starting MPLS label
Dependency: evpn_mode evpn_vpws
Values: 0-1048575
Default: 0
ad_vpws_route_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels for VPWS routes
Dependency: evpn_mode evpn_vpws
Values: 0-1048575
Default: 0
include_layer2_attr_ext_community
Enables or disables the Layer 2 Attribute Extended
Community for VPWS routes
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: true
p_bit_enable
Specifies the P Bit of the Layer 2 Attribute Extended Community
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: false
b_bit_enable
Specifies the B Bit of Layer 2 Attribute Extended Community
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: false
c_bit_enable
Specifies the C Bit of the Layer 2 Attribute Extended Community
Dependency: evpn_mode evpn_vpws
Values: true, false
Default: false
m_bit_enable
Specifies the M Bit of the Layer 2 Attribute Extended Community
Dependency: evpn_mode evpn_vpws
Values: normal, vlan_aware_fxc, vlan_unaware_fxc
Default: normal
v_bit_enable
Specifies the V Bit of the Layer 2 Attribute Extended Community
Dependency: evpn_mode evpn_vpws
Values: double_vid_normalization, normal, single_vid_normalization
Default: normal
l2_mtu
Specifies the starting MTU size for the Layer 2 Attribute
Extended Community
Dependency: evpn_mode evpn_vpws
Values: 1-65535
Default: 0
l2_mtu_step
Specifies the increment value by which to create subsequent MTU sizes
Dependency: evpn_mode evpn_vpws
Values: 1-65535
Default: 0
mac_ip_route
Determines whether to generate MAC/IP routes (Type-2)
Dependency: evpn_mode evpn_mpls
Values: true, false
Default: true
mac_route
Determines whether to generate MAC only routes for MAC/IP routes
Dependency: mac_ip_route true
Values: true, false
Default: false
mac_and_ip_route
Determines whether to generate both MAC and IP routes (Type-2)
Dependency: mac_ip_route true
Values: true, false
Default: true
mac_ip_route_custom_label_enable
Enables or disables custom MPLS labels for MAC/IP routes
Dependency: mac_ip_route true
Values: true, false
Default: false
mac_ip_route_mpls_label
Specifies the starting MPLS label
Dependency: mac_ip_route true
Values: 0-1048575
Default: 0
mac_ip_route_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels for MAC/IP routes
Dependency: mac_ip_route true
Values: 0-1048575
Default: 0
mac_ip_route_mpls_label2_enable
Enables or disables MPLS labels (2) for MAC/IP routes
Dependency: mac_ip_route true
Values: true, false
Default: false
mac_ip_route_custom_label2_enable
Enables or disables custom MPLS labels (2) for MAC/IP routes
Dependency: mac_ip_route true
Values: true, false
Default: false
mac_ip_route_mpls_label2
Specifies the starting MPLS label (2)
Dependency: mac_ip_route true
Values: 0-1048575
Default: 0
mac_ip_route_mpls_label2_step
Specifies the increment value by which to create subsequent
MPLS labels for custom MPLS labels (2)
Dependency: mac_ip_route true
Values: 0-1048575
Default: 0
inclusive_multicast_route
Determines whether to generate Inclusive Multicast route (Type-3)
Values: true, false
Default: false
incl_mcast_route_custom_label_enable
Enables or disables custom MPLS labels for Inclusive
Multicast routes
Dependency: inclusive_multicast_route true
Values: true, false
Default: false
incl_mcast_route_mpls_label
Specifies the starting MPLS label
Dependency: inclusive_multicast_route true
Values: 0-1048575
Default: 0
incl_mcast_route_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels
Dependency: incl_mcast_route_mpls_label true
Values: 0-1048575
Default: 0
ethernet_segment_route
Determines whether to generate Ethernet Segment routes (Type-4)
Dependency: incl_mcast_route_mpls_label true
Values: true, false
Default: false
ip_prefix_route
Determines whether to generate IP Prefix routes
Dependency: evpn_mode evpn_mpls AND evpn_irb_mode symmetric
Values: true, false
Default: false
ip_prefix_custom_label_enable
Enables or disables custom MPLS labels for IP Prefix routes
Values: true, false
Default: false
ip_prefix_custom_mpls_label
Specifies the starting MPLS label for IP Prefix routes
Dependency: ip_prefix_custom_label_enable true
Values: 0-1048575
Default: 0
ip_prefix_custom_mpls_label_step
Specifies the increment value by which to create subsequent
MPLS labels
Dependency: ip_prefix_custom_label_enable true
Values: 0-1048575
Default: 0
ethernet_tag_id
Specifies the starting Ethernet TAG/AC ID
Values: 0-16777215
Default: 1
ethernet_tag_id_step
Specifies the increment value by which to create subsequent
Ethernet TAG/AC IDs
Values: 0-16777215
Default: 1
ethernet_tag_id_step_per_evi
Specifies the increment value by which to create subsequent
Ethernet TAG TAG/AC IDs across EVIs
Values: 0-16777215
Default: 1
ethernet_segment_type
Specifies the type of the Ethernet segment ID
Values::
type0 Operator
type1 IEEE 802.1AX LACP
type2 Bridged LAN
type3 MAC Based
type4 Router ID
type5 Autonomous System
Default: type0
ethernet_segment_id
Specifies the starting Ethernet segment ID
Values: string
Default: 00:00:00:00:00:00:00:00:00
ethernet_segment_step
Specifies the increment value by which to create subsequent
segment IDs
Values: string
Default: 00:00:00:00:00:00:00:00:00
router_mac_ext_community
Enables or disables EVPN Router MAC Extended Community for
MAC and IP routes or IP Prefix routes
Values: true, false
Default: false
router_mac_addr
Specifies the starting MAC address for the router
Values: MAC
Default: 00:00:10:01:00:00
router_mac_addr_step
Specifies the increment value by which to create subsequent
router MAC addresses
Values: MAC
Default: 00:00:00:00:00:01
enable_pack_routes
Enables or disables route packing. Route packing combines
userdefined route blocks that share common attributes.
Values: true, false
Default: false
override_next_hop
Determines whether to override the next hop address
Values: true, false
Default: false
next_hop_ipv4_addr
Specifies the first next hop address
Values: IPv4
Default: 192.168.100.2
next_hop_device_step
Specifies the increment value by which to create subsequent
next hop addresses
Values: IPv4
Default: 0.0.0.1
next_hop_port_step
Specifies the increment value by which to create subsequent
next hop addresses across ports
Values: IPv4
Default: 0.0.0.1
auto_config_rd_rt
Enables or disables auto configuration of route
targets and route distinguishers
Values: true, false
Default: true
auto_config_l2_rt
Specifies the pattern used to configure route targets
Dependency: auto_config_rd_rt true
Values::
as_vlan AS:VLAN
nexthop_as NEXTHOP:AS
nexthop_vlan NEXTHOP:VLAN
route_id_as RouterID:AS
router_id_vlan RouterID:VLAN
Default: as_vlan
auto_config_l2_rd
Specifies the pattern used to configure route distinguishers
Dependency: auto_config_rd_rt true
Values::
as_vlan AS:VLAN
nexthop_as NEXTHOP:AS
nexthop_vlan NEXTHOP:VLAN
route_id_as RouterID:AS
router_id_vlan RouterID:VLAN
Default: as_vlan
auto_config_l2_rd_offset
Specifies the offset value for route distinguishers
Values: 1-65535
Default: 0
l3_rt_enable
Enables or disables Layer 3 route targets
Values: true, false
Default: false
auto_config_l3_rt
Specifies the pattern used to configure Layer 3 route targets
Dependency: auto_config_rd_rt true
Values::
as_evi AS:EVI
as_vlan AS:VLAN
nexthop_as NEXTHOP:AS
nexthop_evi NEXTHOP:EVI
nexthop_vlan NEXTHOP:VLAN
route_id_as RouterID:AS
router_id_evi RouterID:EVI
router_id_vlan RouterID:VLAN
Default: as_vlan
use_same_rd_per_evi
Determines whether to use the same route distinguisher across EVIs
Values: true, false
Default: false
l2_rt
Specifies the starting Layer 2 route target
Dependency: auto_config_rd_rt false
Values: string
Default: 100:1
l2_rt_step
Specifies the increment value by which to create subsequent
route targets
Dependency: auto_config_rd_rt false
Values: string
Default: 0:1
l2_rd
Specifies the starting Layer 2 route target distinguisher
Dependency: auto_config_rd_rt false
Values: string
Default: 192.0.0.1:1
l2_rd_step
Specifies the increment value by which to create subsequent
route distinguishers
Dependency: auto_config_rd_rt false
Values: string
Default: 0:1
l3_rt
Specifies the starting Layer 3 route target
Dependency: auto_config_rd_rt false
Values: string
Default: 200:1
l3_rt_step
Specifies the increment value by which to create subsequent
Layer 3 route targets
Dependency: auto_config_rd_rt false
Values: string
Default: 0:1
evpn_mpls_addr_mode
Specifies the address mode for hosts behind PE devices
Values: ipv4, ipv6, mac
Default: ipv4
hosts_per_eth_tag_ac
Specifies the number of hosts per attachment circuit
Values: 1-65535
Default: 1
vlan_enable
Enables or disables VLAN for hosts behind PE devices
Values: true, false
Default: false
vlan_id
Specifies the first VLAN ID for hosts behind PE devices
Values: 0-4095
Default: 1
vlan_id_step
Specifies the increment value by which to create subsequent
VLAN IDs
Values: 0-4095
Default: 1
mac_addr
Specifies the first MAC address for hosts behind PE devices
Values: MAC
Default: 00:10:10:01:00:00
mac_addr_step
Specifies the increment value by which to create subsequent
MAC addresses
Values: MAC
Default: 00:00:00:00:00:01
mac_addr_step_per_pe
Specifies the increment value by which to create subsequent
MAC addresses across PE devices
Values: MAC
Default: 00:00:00:00:01:00
mac_addr_step_per_evi
Specifies the increment value by which to create subsequent
MAC addresses across EVIs
Values: MAC
Default: 00:00:00:01:00:00
mac_addr_step_per_port
Specifies the increment value by which to create subsequent
MAC addresses across PE ports
Values: MAC
Default: 00:00:00:00:00:00
ipv4_addr
Specifies the starting IP address for hosts behind PE
devices
Values: IPv4
Default: 100.0.0.2
ipv4_addr_step
Specifies the increment value by which to create subsequent
IP addresses
Values: IPv4
Default: 0.0.0.1
ipv4_addr_step_per_pe
Specifies the increment value by which to create subsequent
IP addresses across PE devices
Values: IPv4
Default: 0.0.0.0
ipv4_addr_step_per_evi
Specifies the increment value by which to create subsequent
IP addresses across EVIs
Values: IPv4
Default: 0.1.0.0
ipv4_addr_step_per_port
Specifies the increment value by which to create subsequent
IP addresses across ports
Values: IPv4
Default: 0.0.0.0
ipv4_prefix_length
Specifies the IPv4 prefix length for hosts behind PE devices
Dependency: evpn_mode evpn_vpws
Values: 0-32
Default: 24
gateway_ipv4_addr
Specifies the first gateway IP address for hosts behind PE devices
Dependency: evpn_mode evpn_vpws
Values: IPv4
Default: 100.0.0.1
gateway_ipv4_addr_step
Specifies the increment value by which to create subsequent
gateway IP addresses
Dependency: evpn_mode evpn_vpws
Values: IPv4
Default: 0.0.0.1
gateway_ipv4_addr_step_per_pe
Specifies the increment value by which to create subsequent
gateway IP addresses across PE devices
Dependency: evpn_mode evpn_vpws
Values: IPv4
Default: 0.0.1.0
gateway_ipv4_addr_step_per_port
Specifies the increment value by which to create subsequent
gateway IP addresses across ports
Dependency: evpn_mode evpn_vpws
Values: IPv4
Default: 0.0.0.0
gateway_ipv4_addr_step_per_evi
Specifies the increment value by which to create subsequent
gateway IP addresses across EVIs
Dependency: evpn_mode evpn_vpws
Values: IPv4
Default: 0.1.0.0
ipv6_addr
Specifies the starting IPv6 address for hosts behind PE devices
Values: IPv6
Default: 2001::2
ipv6_addr_step
Specifies the increment value by which to create subsequent
IPv6 addresses
Values: string
Default: ::1
ipv6_addr_step_per_pe
Specifies the increment value by which to create subsequent
IPv6 addresses across PE devices
Values: IPv6
Default: ::1:0
ipv6_addr_step_per_evi
Specifies the increment value by which to create subsequent
IPv6 addresses across EVIs
Values: IPv6
Default: ::1:0:0
ipv6_addr_step_per_port
Specifies the increment value by which to create subsequent
IP addresses across ports
Values: IPv6
Default: :::
ipv6_prefix_length
Specifies the IPv6 prefix length for hosts behind PE devices
Dependency: evpn_mode evpn_vpws
Default: 64
gateway_ipv6_addr
Specifies the first gateway IPv6 address for hosts behind PE devices
Dependency: evpn_mode evpn_vpws
Values: IPv6
Default: 2001::1
gateway_ipv6_addr_step
Specifies the increment value by which to create subsequent
gateway IPv6 addresses
Dependency: evpn_mode evpn_vpws
Values: IPv6
Default: ::1
gateway_ipv6_addr_step_per_pe
Specifies the increment value by which to create subsequent
gateway IPv6 addresses across PE devices
Dependency: evpn_mode evpn_vpws
Values: IPv6
Default: ::1:0
gateway_ipv6_addr_step_per_port
Specifies the increment value by which to create subsequent
gateway IPv6 addresses across ports
Dependency: evpn_mode evpn_vpws
Values: IPv6
Default: :::
gateway_ipv6_addr_step_per_evi
Specifies the increment value by which to create subsequent
gateway IPv6 addresses across EVIs
Dependency: evpn_mode evpn_vpws
Values: IPv6
Default: ::1:0:0
ippr_mode
Specifies the configuration mode of the IP Prefix behind PE devices
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: ipv4, ipv4_and_ipv6, ipv6
Default: ipv4
prefix_count_per_ethernet_tag
Specifies the number of prefixes per Ethernet tag for IP
Prefix routes behind PE devices
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: 1-65535
Default: 1
ippr_prefix_length
Specifies the IP prefix length for the IP Prefix behind PE devices
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: 0-32
Default: 24
ippr_prefix
Specifies the first IP prefix for the IP Prefix route
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv4
Default: 100.1.1.0
ippr_prefix_step
Specifies the increment value by which to create subsequent
IP prefixes
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv4
Default: 0.0.1.0
ippr_prefix_step_per_evi
Specifies the increment value by which to create subsequent
IP prefixes across EVIs
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv4
Default: 0.1.0.0
ippr_prefix_step_port
Specifies the increment value by which to create subsequent
IP prefixes across ports
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv4
Default: 0.0.0.0
ippr_prefix_step_per_pe
Specifies the increment value by which to create subsequent
IP prefixes across PE devices
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv4
Default: 0.0.0.0
ippr_v6_prefix_length
Specifies the IPv6 prefix length for the IP Prefix route
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: 0-128
Default: 64
ippr_v6_prefix
Specifies the first IPv6 prefix for the IP Prefix route
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv6
Default: 6001::0
ippr_v6_prefix_step
Specifies the increment value by which to create subsequent
IPv6 prefixes
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv6
Default: 0:0:0:1:::
ippr_v6_prefix_step_per_evi
Specifies the increment value by which to create subsequent
IPv6 prefixes across EVIs
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv6
Default: 0:0:1:::
ippr_v6_prefix_step_port
Specifies the increment value by which to create subsequent
IPv6 prefixes across ports
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv6
Default: :::
ippr_v6_prefix_step_per_pe
Specifies the increment value by which to create subsequent
IP prefixes across PE devices
Dependency: evpn_irb_enable true AND -ip_prefix_route true
Values: IPv6
Default: :::
create_traffic
Determines whether to create traffic
Values: true, false
Default: false
traffic_config
Specifies the traffic configuration mode
Values: manual
Default: manual
- Return Values:
Depending on the specific language that HLTAPI uses, the function returns a keyed list/dictionary/hash (See Introduction for more information on return value formats) using the following keys (with corresponding data):
handle EVPN MPLS configuration handle created by this function status Success or Failure of the operation log Error message if command returns {status 0}
The following keys are returned when you specify mode create:
ce_router CE router handle p_router P router handle rr_router RR router handle pe_router PE router handle vpn VPN handle ospf OSPF SR handle isis ISIS SR handle ldp LDP handle rsvp RSVPTE handle bgp BGP handle bfd BFD handle stream_id Streamblock handle
- Description:
The
emulation evpnmpls wizard config
function configures or deletes an EVPN MPLS topology, mapping the operations of the EVPN MPLS wizard on the Spirent TestCenter GUI.Use the mode argument to specify the operation to perform. See the mode argument for a description of the actions.
Examples:
The following example creates an EVPN MPLS topology:
emulation evpnmpls wizard config mode= create enable_p_routers= false p_router_id= 192.85.1.1 p_router_id_step= 0.0.0.1 mpls_protocol= ldp igp_protocol= ospf multi_homing_for_pe_enable= false multi_homing_pe_type= within_port num_multi_homed_pe= 1 num_gateway= 2 use_same_mac_ip_multi_homed_pe_interface= true use_same_gw_interface_pes= true pe_router_pes_per_port= 1 pe_router_id= 10.0.0.2 pe_router_id_step= 0.0.0.1 dut_ip_addr= 10.0.0.1 dut_ip_addr_step= 0.0.0.1 bgp_min_label= 16 bgp_min_label_step= 0 bgp_mode= ibgp as_type= as_2_byte dut_as= 1001 dut_as_step= 1 dut_as_num_step_per_port= 0 as_num= 1 as_num_step= 1 as_num_step_per_port= 1 dut_4byte_as= 1.1001 dut_4byte_device_step= 0 dut_4byte_port_step= 0 as_num_4byte= 1.1 as_num_4byte_step= 0 as_num_4byte_step_per_port= 0 mpls_ldp_hello_type= direct mpls_ldp_label_adv_mode= unsolicited mpls_ldp_transport_mode= tester_ip mpls_ldp_hello_interval= 5 mpls_ldp_keepalive_interval= 60 mpls_ldp_egress_label= next_available mpls_ldp_min_label= 16 mpls_ldp_graceful_restart_enable= false mpls_ldp_recover_time= 140 mpls_ldp_reconnect_time= 60 mpls_ldp_auth_mode= none mpls_ldp_auth_password= spirent mpls_ldp_bfd_enable= false mpls_rsvp_bandwidth_per_link= 12500000 mpls_rsvp_bandwidth_per_tunnel= 0 mpls_rsvp_egress_label= next_available mpls_rsvp_transit= accept_all mpls_rsvp_min_label= 16 mpls_rsvp_max_label= 65535 mpls_rsvp_graceful_restart_enable= false mpls_rsvp_recover_time= 0 mpls_rsvp_restart_time= 3000 mpls_rsvp_bfd_enable= false mpls_rsvp_request_conf= false mpls_rsvp_hello_enable= false mpls_rsvp_hello_interval= 1000 mpls_rsvp_bundle_interval= 10000 mpls_rsvp_bundle_mode= observation mpls_rsvp_refresh_interval= 30000 mpls_rsvp_summary_refresh_interval= 9000 mpls_rsvp_inter_packet_delay= 5 mpls_rsvp_reliable_delivery= false mpls_rsvp_ack_mode= immediate mpls_rsvp_retrans_interval= 500 mpls_rsvp_retrans_limit= 3 mpls_rsvp_retrans_delta= 1 igp_ospf_area_id= 0.0.0.0 igp_ospf_network_type= native igp_ospf_router_priority= 0 igp_ospf_interface_cost= 1 igp_ospf_options= ebit igp_ospf_graceful_restart_enable= false igp_ospf_graceful_restart_type= none igp_ospf_bfd_enable= false mpls_ospf_sr_algorithms= 0 mpls_ospf_node_sid_index= 0 mpls_ospf_sid_base= 100 mpls_ospf_node_sid_index_step= 1 mpls_ospf_sid_range= 100 igp_ospf_auth_mode= none igp_ospf_auth_password= spirent igp_ospf_auth_md5_key= 1 igp_isis_level= level2 igp_isis_network_type= broadcast igp_isis_router_priority= 0 igp_isis_area1= 000001 igp_isis_area2= 000002 igp_isis_area3= 000003 igp_isis_circuit_id= 1 igp_isis_bfd_enable= false igp_isis_graceful_restart_enable= false igp_isis_hello_padding= true igp_isis_metric_mode= narrow_and_wide igp_isis_l1_metric= 1 igp_isis_l1_wide_metric= 1 igp_isis_l2_metric= 1 igp_isis_l2_wide_metric= 1 mpls_isis_sr_algorithm= 0 mpls_isis_node_sid_index= 0 mpls_isis_sid_base= 100 mpls_isis_node_sid_index_step= 1 mpls_isis_sid_range= 100 igp_isis_auth_mode= none igp_isis_auth_password= spirent igp_isis_auth_md5_key= 1 evpn_mode= evpn_mpls evpn_irb_enable= false evpn_irb_mode= symmetric start_evi_id= 1 evi_id_step= 1 evis_per_pe= 1 use_same_evi_per_pe= true ethernet_tag_acs_per_evi= 1 include_esi_label= false use_inclusive_mcast_label= false enable_control_word= false ad_route= false ad_per_evi_route= false ad_per_evi_route_custom_label_enable= false ad_per_evi_route_mpls_label= 0 ad_per_evi_route_mpls_label_step= 0 ad_per_esi_route= false active_standby_mode= single_active ad_per_esi_route_custom_label_enable= false ad_per_esi_route_mpls_label= 0 ad_per_esi_route_mpls_label_step= 0 ad_vpws_route= false ad_vpws_route_custom_label_enable= false ad_vpws_route_mpls_label= 0 ad_vpws_route_mpls_label_step= 0 include_layer2_attr_ext_community= false p_bit_enable= false b_bit_enable= false c_bit_enable= false m_bit= normal v_bit= normal l2_mtu= 0 l2_mtu_step= 0 mac_ip_route= true mac_route= false mac_and_ip_route= true mac_ip_route_custom_label_enable= false mac_ip_route_mpls_label= 0 mac_ip_route_mpls_label_step= 0 mac_ip_route_mpls_label2_enable= false mac_ip_route_custom_label2_enable= false mac_ip_route_mpls_label2= 0 mac_ip_route_mpls_label2_step= 0 inclusive_multicast_route= false incl_mcast_route_custom_label_enable= false incl_mcast_route_mpls_label= 0 incl_mcast_route_mpls_label_step= 0 ethernet_segment_route= false ip_prefix_route= false ip_prefix_custom_label_enable= false ip_prefix_custom_mpls_label= 0 ip_prefix_custom_mpls_label_step= 0 ethernet_tag_id= 1 ethernet_tag_id_step= 1 ethernet_tag_id_step_per_evi= 1 ethernet_segment_type= type0 ethernet_segment_id= 00:00:00:00:00:00:00:00:00 ethernet_segment_step= 00:00:00:00:00:00:00:00:00 router_mac_ext_community= false router_mac_addr= 00:00:10:01:00:00 router_mac_addr_step= 00:00:00:00:00:01 enable_pack_routes= false override_next_hop= false next_hop_ipv4_addr= 10.0.0.2 next_hop_device_step= 0.0.0.1 next_hop_port_step= 0.0.0.1 auto_config_rd_rt= true auto_config_l2_rt= as_vlan auto_config_l2_rd= as_vlan auto_config_l2_rd_offset= 0 l3_rt_enable= false auto_config_l3_rt= as_vlan use_same_rd_per_evi= false l2_rt= 100:1 l2_rt_step= 0:1 l2_rd= 192.0.0.1:1 l2_rd_step= 0:1 l3_rt= 200:1 l3_rt_step= 0:1 evpn_mpls_addr_mode= ipv4 hosts_per_eth_tag_ac= 1 vlan_enable= false vlan_id= 1 vlan_id_step= 1 mac_addr= 00:10:10:01:00:00 mac_addr_step= 00:00:00:00:00:01 mac_addr_step_per_pe= 00:00:00:00:01:00 mac_addr_step_per_evi= 00:00:00:00:00:00 mac_addr_step_per_port= 00:00:00:01:00:00 ipv4_addr= 100.0.0.2 ipv4_addr_step= 0.0.0.1 ipv4_addr_step_per_pe= 0.0.1.0 ipv4_addr_step_per_evi= 0.0.0.0 ipv4_addr_step_per_port= 0.1.0.0 ipv6_addr= 2001::2 ipv6_addr_step= ::1 ipv6_addr_step_per_pe= ::1:0 ipv6_addr_step_per_evi= ::1:0:0 ipv6_addr_step_per_port= :: ippr_mode= ipv4 prefix_count_per_ethernet_tag= 1 ipv4_prefix_length= 24 ippr_prefix= 100.0.0.1 ippr_prefix_step= 0.0.0.1 ippr_prefix_step_per_evi= 0.1.0.0 ippr_prefix_step_port= 0.0.0.0 ippr_prefix_step_per_pe= 0.0.1.0 ippr_v6_prefix_length= 64 ippr_v6_prefix= 2001::1 ippr_v6_prefix_step= ::1 ippr_v6_prefix_step_per_evi= ::1:0:0 ippr_v6_prefix_step_port= :: ippr_v6_prefix_step_per_pe= ::1:0 create_traffic= false traffic_config= manual ]Sample Output:
{status 1} {handle {{vpn vpnidgroup1} {ce_router emulateddevice3} {p_router {}} {rr_router {}} {pe_router {emulateddevice1 emulateddevice2}} {ospfv2 ospfv2routerconfig1} {ospfv3 {}} {isis {}} {ldp ldprouterconfig1} {rsvp {}} {bgp bgprouterconfig1} {bfd {}} {stream_id {}}}}