To connect to the LANforge-CLI, open a tcp socket connection to the IP address of the management interface and IP port 4001. For instance:
telnet localhost 4001
Notes about entering commands:
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number. |
| type | Endpoint Type : arm_udp |
| pps | Packets per second to generate. |
| pkt_sz | Minimum packet size, including all Ethernet headers. |
| mx_pkt_sz | Maximum packet size, including all Ethernet headers. |
| cpu_id | Preferred CPU ID on which this endpoint should run. |
| tos | The Type of Service, can be HEX. See set_endp_tos for details. |
| Argument | Description |
| alias | Name of the Cross Connect to create. |
| test_mgr | Name of test-manager to create the CX on. |
| tx_endp | Name of Transmitting endpoint. |
| rx_endp | Name of Receiving endpoint. |
RUNNING = 1, (0x1) Set to running state. ERR = 2, (0x2) Set to kernel mode.
| Argument | Description |
| shelf | Shelf name/id. |
| resource | Resource number. |
| alias | Name of Collision Domain. |
| type | CD Type: WIFI, WISER_SURFACE, WISER_SURFACE_AIR, WISER_AIR_AIR, WISER_NCW |
| bps | Maximum speed at which this collision domain can run. |
| report_timer | How often to report stats. |
| state | RUNNING or STOPPED (default is RUNNING). Use this to start/stop. |
| flags | See above. Leave blank or use 'NA' for no default values. |
| Argument | Description |
| cd | Name of Collision Domain. |
| endp | Endpoint name/id. |
| Argument | Description |
| cd | Name of Collision Domain. |
| vr | Virtual-Router name/ID. |
fio_flags: CHECK_MOUNT = 1, (0x1) Attempt to verify NFS and SMB mounts match the configured values. AUTO_MOUNT = 2, (0x2) Attempt to mount with the provided information if not already mounted. AUTO_UNMOUNT = 4, (0x4) Attempt to un-mount when stopping test. O_DIRECT = 8 (0x8) Open file with O_DIRECT flag, disables caching. Must use block-size read/write calls. UNLINK_BW = 16 (0x10) Unlink file before writing. This works around issues with CIFS for some file-servers. O_LARGEFILE = 32 (0x20) Open files with O_LARGEFILE. This allows greater than 2GB files on 32-bit systems.
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number. |
| type | Endpoint Type : fe_generic, fe_nfs, fe_nfs4, fe_cifs, fe_iscsi, fe_cifs/ip6, fe_nfs/ip6, fe_nfs4/ip6, fe_smb2, fe_smb2/ip6 |
| min_read_rate | Minimum read rate, bits-per-second. |
| max_read_rate | Maximum read rate, bits-per-second. |
| min_write_rate | Minimum write rate, bits-per-second. |
| max_write_rate | Maximum write rate, bits-per-second. |
| payload_pattern | Payload pattern, see above. |
| directory | The directory to read/write in. Absolute path suggested. |
| prefix | The prefix of the file(s) to read/write. |
| server_mount | The server to mount, ex: 192.168.100.5/exports/test1 |
| mount_options | Optional mount options, passed to the mount command. 'NONE' clears. |
| fio_flags | File-IO flags, see above for details. |
| mount_dir | Directory to mount/unmount (if blank, will use 'directory'). |
| volume | iSCSI volume to mount |
| retry_timer | Number of miliseconds to retry errored IO calls before giving up. |
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number. |
| type | Endpoint Type : gen_generic |
BASIC: 1 DIGEST: 2 GSSNEGOTIATE: 4 NTLM: 8 USE_PROXY_CACHE: 32 USE_GZIP_COMPRESSION 64 USE_DEFLATE_COMPRESSION 128 INCLUDE_HEADERS 256 /* especially for IMAP */ BIND_DNS 512 /* Make DNS requests go out endpoint's Port. */ USE_IPV6 1024 /* Resolve URL is IPv6. Will use IPv4 if not selected. */
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number. |
| type | Endpoint Type : l4_generic (URL can be: http, ftp, telnet, or dict) |
| proxy_port | HTTP Proxy port if you are using a proxy. |
| timeout | How long to wait for a connection, in milliseconds |
| url_rate | How often should we process the URL(s), per 10 minutes. |
| URL | The URL, see syntax above. Can also be a local file. |
| proxy_server | The name of our proxy server if using one. |
| proxy_userpwd | The user-name and password for proxy authentication, format: user:passwd. |
| ssl_cert_fname | Name of SSL Certs file. |
| user_agent | User-Agent string. Leave blank for default. Also SMTP-TO: |
| proxy_auth_type | Bit-field for allowable proxy-authenticate methods. |
| http_auth_type | Bit-field for allowable http-authenticate methods. |
| dns_cache_timeout | In seconds, how long to cache DNS lookups. 0 means no caching at all. |
| max_speed | In bits-per-second, can rate limit upload or download speed of the URL contents. |
| block_size | TFTP Block size, in bytes. |
| smtp_from | SMTP From address. |
| ip_addr | Local IP address, for binding to specific secondary IP. |
'0-23', '0,1,2,3,4,5,7' or '1-5,7,20-23'ChannelTypes (for Digium) are described here:
e&m : Channel(s) are signalled using E&M signalling (specific
implementation, such as Immediate, Wink, or Feature Group D
are handled by the userspace library).
fxsls : Channel(s) are signalled using FXS Loopstart protocol.
fxsgs : Channel(s) are signalled using FXS Groundstart protocol.
fxsks : Channel(s) are signalled using FXS Koolstart protocol.
fxols : Channel(s) are signalled using FXO Loopstart protocol.
fxogs : Channel(s) are signalled using FXO Groundstart protocol.
fxoks : Channel(s) are signalled using FXO Koolstart protocol.
unused : No signalling is performed, each channel in the list remains idle
clear : Channel(s) are bundled into a single span. No conversion or
signalling is performed, and raw data is available on the master.
indclear: Like 'clear' except all channels are treated individually and
are not bundled. 'bchan' is an alias for this.
rawhdlc : The zaptel driver performs HDLC encoding and decoding on the
bundle, and the resulting data is communicated via the master
device.
fcshdlc : The zapdel driver performs HDLC encoding and decoding on the
bundle and also performs incoming and outgoing FCS insertion
and verification. 'dchan' is an alias for this.
nethdlc : The zaptel driver bundles the channels together into an
hdlc network device, which in turn can be configured with
sethdlc (available separately).
These are not currently supported:sf : Channel(s) are signalled using in-band single freq tone. Syntax as follows: channel# => sf:, , , , , rxfreq is rx tone freq in hz, rxbw is rx notch (and decode) bandwith in hz (typically 10.0), rxflag is either 'normal' or 'inverted', txfreq is tx tone freq in hz, txlevel is tx tone level in dbm, txflag is either 'normal' or 'inverted'. Set rxfreq or txfreq to 0.0 if that tone is not desired. dacs : The zaptel driver cross connects the channels starting at the channel number listed at the end, after a colon dacsrbs : The zaptel driver cross connects the channels starting at the channel number listed at the end, after a colon and also performs the DACSing of RBS bits.
| Argument | Description |
| alias | Name for this Channel Group. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| span_num | The span number. First span is 1, second is 2... |
| channels | List of channels to add to this group. |
| type | The channel-type. Use 'clear' for PPP links. |
| MTU | MTU (and MRU) for this channel group. Must be a multiple of the number of channels if configuring a T1 WanLink. |
| idle_flag | Idle flag (byte) for this channel group, for instance: 0x7e |
| Argument | Description |
| shelf | Shelf name/id. |
| resource | Resource (machine) number. |
| unit | Unit number for the PPP link. ie, the 7 in ppp7. |
| src_ip | Source IP address for this PPP connection. |
| dst_ip | Destination IP address for this PPP connection. |
| channel_groups | List of channel groups, see above. |
| debug | YES for debug, otherwise debugging for the ppp connection is off. |
| auth | YES if you want to authenticate. Default is NO. |
| persist | YES if you want to persist the connection. This is suggested. |
| lcp-echo-interval | Seconds between LCP echos, suggest 1. |
| lcp-echo-failure | LCP echo failures before we determine links is dead, suggest 5. |
| holdoff | Seconds between attempt to bring link back up if it dies, suggest 1. |
| mlppp_descriptor | A unique key for use with multi-link PPP connections. |
| extra_args | Extra arguments to be passed directly to the pppd server. |
| transport_type | What sort of transport this ppp link uses. |
| pppoe_transport_port | Port number (or name) for underlying PPPoE transport. |
| tty_transport_device | TTY device for PPP links associated with TTYs. |
| run_time_min_ms | Minimum uptime (ms) for PPP link during an experiment, or 0 for the link to be always up. |
| run_time_max_ms | Maximum uptime (ms) for PPP link during an experiment, or 0 for the link to be always up. |
| down_time_min_ms | Minimum length of downtime (ms) for PPP link between runs, or 0 for the link to be always up. |
| down_time_max_ms | Maximum length of downtime (ms) for PPP link between runs, or 0 for the link to be always up. |
| Argument | Description |
| shelf | Shelf name/id. |
| resource | Resource number. |
| type | Currently supported types are: Sangoma_T1, Sangoma_E1, Digium_T1 |
| span_num | The span number. First span is 1, second is 2... |
| first_channel | The first DS0 channel for this span. |
| timing | Timing: 0 == don't use, 1 == primary, 2 == secondary.. |
| buildout | Buildout, Integer, see above. |
| framing | Framing: T1: esf or d4. E1: cas or ccs. |
| coding | Coding: T1: ami or b8zs. E1: ami or hdb3 |
| pci_bus | PCI Bus number, needed for Sangoma resources. |
| pci_slot | PCI slot number, needed for Sangoma resources. |
| CPU_ID | CPU identifier (A, B, etc) for multiport Sangoma resources. |
| MTU | MTU for this span (used by in-band management, if at all). |
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number or name. |
| phone_num | Endpoint's phone number. |
| rtp_port | RTP port to use for send and receive. |
| sip_gateway | SIP Gateway/Proxy Name, this is who we'll register with, or AUTO |
| tx_sound_file | File name containing the sound sample we will be playing. |
| rx_sound_file | File name to save received PCM data to. Will be in WAV format. |
| VAD_timer | How much silence (milliseconds) before VAD is enabled. |
| VAD_max_timer | How often should we force a packet, even if VAD is on. |
| gateway_port | IP Port for SIP gateway (defaults to 5060). |
| display_name | User-Name to be displayed. Use AUTO to display phone number. |
| proxy_passwd | Password to be used when registering with proxy/gateway. |
| peer_phone_num | Use AUTO to use phone number of peer endpoint, otherwise specify a number: user[@host[:port]] |
| auth_user_name | Use this field for authentication user name. AUTO or blank mean use phone number. |
| ip_addr | Use this IP for local IP address. Useful when there are multiple IPs on a port. |
USE_XORP_OSPF 0x1 # Enable Xorp router daemon with OSPF (IPv4) protocol USE_XORP_MCAST 0x2 # Enable Xorp Multicast routing (requires OSPF to be enabled currently) USE_XORP_SHA 0x4 # Enable Telcordia's Xorp SHA option (requires OSPF to be enabled) USE_IPV6_RADVD 0x8 # Enable IPv6 RADV Daemon for interfaces in this virtual router. USE_IPV6 0x10 # Enable IPv6 OSPF routing for this virtual router. ENABLE_BGP 0x20 # Set this to zero if you don't want BGP on this VR. 4BYTE_AS_NUMBER 0x40 # Sets corresponding Xorp flag. ROUTE_REFLECTOR 0x80 # Act as BGP Route Reflector. BGP_CONFED 0x100 # Configure BGP in a confederation. BGP_DAMPING 0x200 # Enable BGP damping section in Xorp configuration file. USE_RIP 0x400 # Enable RIP routing protocol in Xorp. RIP_ACCEPT_DR 0x800 # Tell RIP to accept default-routes. USE_XORP_OLSR 0x1000 # Enable OLSR routing protocol in Xorp.
| Argument | Description |
| alias | Name of virtual router. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| notes | Notes for this Virtual Router. Put in quotes if the notes include white-space. |
| X | X coordinate to be used when drawn in the LANforge-GUI. |
| Y | Y coordinate to be used when drawn in the LANforge-GUI. |
| width | Width to be used when drawn in the LANforge-GUI. |
| height | Height to be used when drawn in the LANforge-GUI. |
| flags | Virtual router flags, see above for definitions. |
| vr_id | Leave blank, use NA or 0xFFFF unless you are certain of the value you want to enter. |
ENABLE_BGP 0x20 # Set this to zero if you don't want BGP on this VR. 4BYTE_AS_NUMBER 0x40 # Sets corresponding Xorp flag. ROUTE_REFLECTOR 0x80 # Act as BGP Route Reflector. BGP_CONFED 0x100 # Configure BGP in a confederation. BGP_DAMPING 0x200 # Enable BGP damping section in Xorp configuration file.
| Argument | Description |
| vr_id | Name of virtual router. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| bgp_id | BGP Identifier: IPv4 Address |
| local_as | BGP Autonomous System number, 1-65535 |
| flags | Virtual router BGP flags, see above for definitions. |
| cluster_id | Cluster ID, IPv4 Address. Use NA if not clustering. |
| confed_id | Confederation ID 1-65535. Use NA if not in a confederation. |
| half_life | Halflife in minutes for damping configuration. |
| max_suppress | Maximum hold down time in minutes for damping configuration. |
| reuse | Route flag damping reuse threshold, in minutes. |
| suppress | Route flag damping cutoff threshold, in minutes. |
ENABLE_PEER 0x1 # Set this to zero if you don't want this peer enabled. PEER_CLIENT 0x2 # Sets corresponding Xorp flag in BGP Peer section. PEER_CONFED_MEMBER 0x4 # Sets corresponding Xorp flag in BGP Peer section. PEER_UNICAST_V4 0x8 # Sets corresponding Xorp flag in BGP Peer section.
| Argument | Description |
| vr_id | Name of virtual router. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| peer_index | Peer index in this virtual router (0-7). |
| flags | Virtual router BGP Peer flags, see above for definitions. |
| peer_id | BGP Peer Identifier: IPv4 Address |
| as | BGP Peer Autonomous System number, 0-65535 |
| local_dev | BGP Peer Local interface. |
| nexthop | BGP Peer Nexthop, IPv4 Address. |
| holdtime | BGP Peer hold-time. |
| delay_open_time | BGP Peer delay open time. |
| nexthop6 | BGP Peer IPv6 Nexthop address. |
Flags: Specify subnet 0 = 1 (0x1)
Specify subnet 1 = 2 (0x2)
Specify subnet 2 = 4 (0x4)
Specify subnet 3 = 8 (0x8)
Specify subnet 4 = 16 (0x10)
Specify subnet 5 = 32 (0x20)
Specify subnet 6 = 64 (0x40)
Specify subnet 7 = 128 (0x80)
This connection will NAT outgoing packets = 256 (0x100)
Serve IPv4 DHCP on this interface = 512 (0x200)
Use custom DHCP config file = 1024 (0x400)
Use this interface for multicast cand-rp = 2048 (0x800)
Use this interface for VRRP = 4096 (0x1000)
Serve IPv6 DHCP on this interface = 8192 (0x2000)
| Argument | Description |
| shelf | Shelf name/id. |
| resource | Resource number. |
| vr-name | Virtual Router this endpoint belongs to. Use 'FREE_LIST' to add a stand-alone endpoint. |
| local_dev | Name of port A for the local redirect device pair. |
| local_dev_b | Name of port B for the local redirect device pair. |
| remote_dev | Name of port B for the remote redirect device pair. |
| remote_dev_b | Name of port B for the remote redirect device pair. |
| wanlink | The name of the WanLink that connects the two B ports. |
| X | X coordinate to be used when drawn in the LANforge-GUI. |
| Y | Y coordinate to be used when drawn in the LANforge-GUI. |
| width | Width to be used when drawn in the LANforge-GUI. |
| height | Height to be used when drawn in the LANforge-GUI. |
| flags | Flags, specify if subnets 0-7 are in use, see above for others. |
| subnets | Subnets associated with this subnet, format: 1.1.1.1/24,1.1.2.1/16... |
| nexthop | The next-hop to use when routing packets out this interface. |
| dhcp_lease_time | DHCP Lease time (in seconds) |
| dhcp_dns | IP Address of DNS server. |
| dhcp_min | Minimum IP address range to serve. |
| dhcp_max | Minimum IP address range to serve. |
| dhcp_domain | DHCP Domain name to serve. |
| interface_cost | If using OSPF, this sets the cost for this link (1-65535). |
| ospf_area | If using OSPF, this sets the OSPF area for this interface. Default is 0.0.0.0. |
| rip_metric | If using RIP, this determines the RIP metric (cost), (1-15, 15 is infinite). |
| vrrp_ip | VRRP IPv4 address..ignored if not flagged for VRRP. |
| vrrp_ip_prefix | Number of bits in subnet mask, ie 24 for 255.255.255.0 |
| vrrp_id | VRRP id, must be unique in this virtual router (1-255) |
| vrrp_priority | VRRP Priority (1-255, higher is more priority.) |
| vrrp_interval | VRRP broadcast message interval, in seconds (1-255) |
| dhcp_dns6 | IPv6 Address of DNS server. |
| dhcp_min6 | Minimum IPv6 address to serve. |
| dhcp_max6 | Minimum IPv6 address to serve. |
| Argument | Description |
| shelf | Shelf name/id. |
| resource | Resource number. |
| vr-name | Virtual Router this endpoint belongs to. Use 'FREE_LIST' to add a stand-alone endpoint. |
| local_dev | Name of port A for the local redirect device pair. |
| local_dev_b | Name of port B for the local redirect device pair. |
| remote_dev | Name of port B for the remote redirect device pair. |
| remote_dev_b | Name of port B for the remote redirect device pair. |
| wanlink | The name of the WanLink that connects the two B ports. |
| interface_cost | If using OSPF, this sets the cost for this link (1-65535). |
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port/Interface name or number. |
| type | Endpoint Type : lf, lf_udp, lf_tcp, custom_ether, custom_udp, custom_tcp, mc_udp, custom_mc_udp |
| ip_port | IP Port: Ip port for layer three endpoints. Use -1 to let the server automatically configure the ip_port. Layer 2 endpoints will ignore this argument. Use 0 for 'ANY', and let the OS choose. |
| is_rate_bursty | Yes means it's bursty, anything else means NO. |
| min_rate | Minimum transmit rate (bps), or only rate if not bursty. |
| max_rate | Maximum transmit rate (bps), used if in bursty mode. |
| is_pkt_sz_random | Yes means use random sized packets, anything else means NO. |
| min_pkt | Minimum packet size, including all headers. |
| max_pkt | Maximum packet size, including all headers. |
| payload_pattern | Payload pattern, see above. |
| use_checksum | Yes means checksum the payload, anything else means NO. |
| ttl | Time-to-live, used by UDP Multicast Endpoints only. |
| send_bad_crc_per_million | If NIC supports it, will randomly send X per million packets with bad ethernet Frame Check Sum. |
| multi_conn | If > 0, will create separate process with this many connections per endpoint. |
| Argument | Description |
| event_id | Numeric ID for the event to modify, or 'new' if creating a new one. |
| details | Event text description. Cannot include double-quote characters. |
| priority | See set_event_priority for available priorities. |
| name | Event entity name. |
0x1 Enable Spanning Tree Protocol (STP)
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of the bridge device. |
| network_devs | Comma-separated list of network devices: eth1,eth2,eth3... |
| br_flags | Bridge flags, see above. |
| br_priority | Bridge priority, 16-bit number. |
| br_aging_time | MAC aging time, in seconds, 32-bit number. |
| br_max_age | How long until STP considers a non-responsive bridge dead. |
| br_hello_time | How often does the bridge send out STP hello packets. |
| br_forwarding_delay | How long to wait until the bridge will start forwarding packets. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Port number of an existing Ethernet interface. |
| mac | The MAC address for this MAC VLAN interface. |
| index | Optional: The 'index' of the VLAN, (the 4 in eth0#4). |
| old_name | The temporary name, used for configuring un-discovered hardware. |
| report_timer | Report timer for this port, leave blank or use NA for defaults. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of the Redirect Device to create. |
| peer_ifname | The peer (other) RedirectDevice in this pair. |
| report_timer | Report timer for this port, leave blank or use NA for defaults. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of the GRE to create, suggested to start with 'gre' |
| local_lower_ip | The local lower-level IP to use. |
| remote_lower_ip | The remote lower-level IP to use. |
| report_timer | Report timer for this port, leave blank or use NA for defaults. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of network device (Port) to which these IPs will be added. |
| ip_list | IP1/prefix,IP2/prefix,...IPZ/prefix. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Port number of an existing Ethernet interface. |
| vid | The VLAN-ID for this 802.1Q VLAN interface. |
| old_name | The temporary name, used for configuring un-discovered hardware. |
| report_timer | Report timer for this port, leave blank or use NA for defaults. |
0x10 Enable WPA
0x20 Use Custom wpa_supplicant config file.
0x100 Use wpa_supplicant configured for WEP encryption.
0x200 Use wpa_supplicant configured for WPA2 encryption.
0x400 Disable HT-40 even if hardware and AP support it.
0x800 Enable SCAN-SSID flag in wpa_supplicant.
0x1000 Enable PCSC (used by WPA-SIM)
0x2000 Disable SGI (Short Guard Interval).
To set any value to the DEFAULT (or un-set), use 'DEFAULT'. You may have to
reboot the system to have the defaults take affect.
Rate configuration:
/n rates: MCS0-76. Can also enter 0xff 00 ... to directly specify the MCS bitmap.
/b: 5.5 Mbps, 11 Mbps
/a/g: 6 Mbps, 9 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 54 Mbps
Groups: 802.11b, 802.11/a/g, 802.11/a/b/g, 1 stream /n, 2 streams /n, 3 streams /n, 4 streams /n
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| radio | Name of the physical radio interface, for example: wiphy0 |
| sta_name | Name for this Virtual STA, for example: sta0 |
| flags | Flags for this interface (see above.) |
| ssid | ESSID for this Virtual STA. Use [BLANK] for empty SSID. |
| nickname | Nickname for this Virtual STA. (No longer used) |
| key | Encryption key for this Virtual STA. |
| AP | The Access point this Virtual STA should be associated with (example: 00:11:22:33:4:55). |
| wpa_cfg_file | WPA Supplicant config file. |
| MAC | The MAC address (for release 5.1.0 and later releases using 2.6.29+ kernels) |
| mode | WiFi mode: 0: AUTO, 1: 802.11a, 2: b, 3: g, 4: abg, 5: abgn, 6: bgn |
| rate | Max rate, see help above. |
| MAX_AMSDU | 1 == enabled, 0 == disabled, 0xFF == don't set. |
| AMPDU_factor | 0-3, or 0xFF to not set. |
| AMPDU_density | 0-7, or 0xFF to not set. |
| sta_br_IP | IP Address for station bridging. Set to 0.0.0.0 to use MAC bridging. |
| flags_mask | If set, only these flags will be considered. |
0x10 Enable WPA
0x20 Use Custom hostapd config file.
0x100 Enable WEP Encryption
0x200 Enable WPA2 Encryption
0x400 Disable HT-40 (will use HT-20 if available).
To set any value to the DEFAULT (or un-set), use 'DEFAULT'. You may have to
reboot the system to have the defaults take affect.
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| radio | Name of the physical radio interface, for example: wiphy0 |
| ap_name | Name for this Virtual AP, for example: vap0 |
| flags | Flags for this interface (see above.) |
| ssid | SSID for this Virtual AP. |
| key | Encryption key for this Virtual AP. |
| MAC | The MAC address (for release 5.1.0 and later releases using 2.6.29+ kernels) |
| beacon | The beacon interval, in 1kus (1.024 ms), default 100, range: 15..65535 |
| frag_thresh | Fragmentation threshold, range: 256..2346. 2346 means disabled |
| custom_cfg | Custom hostapd config file, if you want to craft your own config. |
| max_sta | Maximum number of Stations allowed to join this AP (1..2007) |
| dtim_period | DTIM period, range 1..255. Default 2. |
| mode | WiFi mode: 0: AUTO, 1: 802.11a, 2: b, 3: g, 4: abg, 5: abgn, 6: bgn |
| flags_mask | If set, only these flags will be considered. |
| rate | Max rate, see help for add_vsta |
| Argument | Description |
| name | The name of the test manager. Must be unique across test managers. |
| Argument | Description |
| name | The name of the test group. Must be unique across all groups. |
| flags | Flags for this group, see above. |
| flags_mask | Mask for flags that we care about, use 0xFFFFFFFF or leave blank for all. |
| Argument | Description |
| tgname | The name of the test group. |
| cxname | The name of the CX. |
wle_flags: 0x01 SHOW_WP /* Show WanPaths in wanlink endpoint table in GUI */
| Argument | Description |
| alias | Name of endpoint. |
| shelf | Shelf name/id. |
| resource | Resource number. |
| port | Port number. |
| latency | The latency (ms) that will be added to each packet entering this WanLink. |
| max_rate | Maximum transmit rate (bps) for this WanLink. |
| description | Description for this endpoint, put in single quotes if it contains spaces. |
| cpu_id | The CPU/thread that this process should run on (kernel-mode only). |
| wle_flags | WanLink Endpoint specific flags, see above. |
| Argument | Description |
| wanlink | Name of WanLink to which we are adding this WanPath. |
| alias | Name of WanPath. |
| speed | The maximum speed this WanLink will accept (bps). |
| latency | The base latency added to all packets, in milliseconds (or add 'us' suffix for microseconds) |
| max_jitter | The maximum jitter, in milliseconds (or add 'us' suffix for microseconds) |
| extra_buffer | The extra amount of bytes to buffer before dropping pkts, in units of 1024, use -1 for AUTO. |
| reorder_freq | How often, out of 1,000,000 packets, should we make a packet out of order. |
| drop_freq | How often, out of 1,000,000 packets, should we purposefully drop a packet. |
| dup_freq | How often, out of 1,000,000 packets, should we purposefully duplicate a packet. |
| source_ip | Selection filter: Source IP. |
| source_ip_mask | Selection filter: Source IP MASK. |
| dest_ip | Selection filter: Destination IP. |
| dest_ip_mask | Selection filter: Destination IP MASK. |
| playback_capture | ON or OFF, should we play back a WAN capture file? |
| playback_capture_file | Name of the WAN capture file to play back. |
| playback_loop | Should we loop the playback file, YES or NO or NA. |
| ignore_bandwidth | Should we ignore the bandwidth settings from the playback file? YES, NO, or NA. |
| ignore_loss | Should we ignore the packet-loss settings from the playback file? YES, NO, or NA. |
| ignore_latency | Should we ignore the latency settings from the playback file? YES, NO, or NA. |
| ignore_dup | Should we ignore the Duplicate Packet settings from the playback file? YES, NO, or NA. |
| jitter_freq | How often, out of 1,000,000 packets, should we apply random jitter. |
| min_drop_amt | Minimum amount of packets to drop in a row. Default is 1. |
| max_drop_amt | Maximum amount of packets to drop in a row. Default is 1. |
| min_reorder_amt | Minimum amount of packets by which to reorder, Default is 1. |
| max_reorder_amt | Maximum amount of packets by which to reorder, Default is 10. |
| drop_every_xth_pkt | YES to periodically drop every Xth pkt, NO to drop packets randomly. |
| dup_every_xth_pkt | YES to periodically duplicate every Xth pkt, NO to duplicate packets randomly. |
| reorder_every_xth_pkt | YES to periodically reorder every Xth pkt, NO to reorder packets randomly. |
| test_mgr | The name of the Test-Manager this WanPath is to use. Leave blank for no restrictions. |
| max_lateness | Maximum amount of un-intentional delay before pkt is dropped. Default is AUTO |
| Argument | Description |
| cmd | Admin command: resync_clock|write_xorp_cfg|scan_complete|ifup_post_complete|flush_complete |
| arg1 | Argument 1: xorp-port | scan-rslts-file | iface-name |
| arg2 | Argument 2: scan key | message |
| arg3 | Argument 3: noprobe |
| Argument | Description |
| shelf | The number of the shelf in question, or 'ALL'. |
| resource | The number of the resource in question, or 'ALL'. |
| Argument | Description |
| shelf | The number of the shelf in question, or 'ALL'. |
| resource | The number of the resource in question, or 'ALL'. |
| Argument | Description |
| cx_name | Name of Cross Connect, or 'all'. Null argument is same as 'all'. |
| Argument | Description |
| endp_name | Name of Endpoint, or 'all'. Null argument is same as 'all'. |
| just_latency | Enter 'YES' if you only want to clear latency counters. |
| incr_seqno | Enter 'YES' if you want the target to increment the cfg-seq-no. |
| Argument | Description |
| cd_name | Name of Collision Domain, or 'all'. Null argument is same as 'all'. |
| Argument | Description |
| name | The name of the test group. |
| Argument | Description |
| shelf | The number of the shelf in question, or 'ALL'. |
| resource | The number of the resource in question, or 'ALL'. |
| port | The number of the port in question, or 'ALL'. |
| Argument | Description |
| shelf | The number of the shelf in question, or 'ALL'. |
| resource | The number of the resource in question, or 'ALL'. |
| Argument | Description |
| endp_name | Name of WanLink Endpoint. |
| wp_name | Name of WanPath to clear. |
| Argument | Description |
| shelf | Shelf-ID, only used if discovering Attenuators. |
| resource | Resource ID. Use if discovering Attenuators. |
| Argument | Description |
| type | Default (blank) is everything, options: alerts, license, counters, fds, clients, endpoints, shelf. |
| arg1 | Optional: Endpoint name to diag. |
| Argument | Description |
| cmd | set/down/timeout/info: What does DHCP want us to do? |
| port | Interface name. |
| reason | DHCP reason, informational mostly. |
| new_ip | New IP address. |
| netmask | New subnet mask. |
| new_mtu | New MTU. |
| new_router | One or more default routers. LANforge will only use the first one. |
| new_dns | New DNS server(s) for use by this interface. |
| new_ip6 | New Global IPv6 address: ipv6/prefix |
| Argument | Description |
| endp_name | Name of Endpoint. |
| result_file_name | The name of the file received by the endpoint. |
| Argument | Description |
| shelf | Shelf ID |
| card | Card ID |
| cmd | For now, only 'Download' supported for now. |
| filename | File to download |
| Argument | Description |
| message | Message to show to others currently logged on. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For AtoB, enter 'B', for BtoA, enter 'A'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For AtoB, enter 'B', for BtoA, enter 'A'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For AtoB, enter 'B', for BtoA, enter 'A'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For AtoB, enter 'B', for BtoA, enter 'A'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| CX | Cross-connect name |
| AorB | For endpoint a, enter 'A', for endpoint b, enter 'B'. |
| Argument | Description |
| command | The command to get help for. Can be 'all', or blank. |
| Argument | Description |
| shelf | The number of the shelf in question. |
| resource | The number of the resource in question. |
| file_name | The WISER file name for the desired emulation, or 'NA' for empty string. |
| node_count | The number of WISER nodes for the desired emulation, or 'NA' for empty string. |
| Argument | Description |
| popup | If 'popup', then cause a GUI popup msg, otherwise, just show text. |
| show_file | If 'yes', then show the license file, not the parsed license information. |
| Argument | Description |
| name | The name of the database to load. (DFLT is the default) |
| action | Should be 'append' or 'overwrite'. |
| Argument | Description |
| name | A single name with no white-spaces (15 characters or less) |
| password | Can be blank or 'NA' if no password is set, otherwise must be the password. |
| Argument | Description |
| name | A single name with no white-spaces (15 characters or less) |
| password | Can be blank or 'NA' if no password is set, otherwise must be the password. Use IGNORE for no change. |
| super_user | 1 If you want this user to have Administrative powers, 0 or blank otherwise. |
DIS = 1, //disasters (0x1) ERR = 2, //errors (0x2) WRN = 4, //warnings (0x4) INF = 8, //info (0x8) TRC = 16, //function trace (0x10) DBG = 32, //debug (0x20) SEC = 64, //log security violations (0x40) DB = 128, //Database related logging (0x80) XMT = 256 //Output going to clients (0x100) SCRIPT = 1024, //Scripting specific stuff (0x400) PARSE = 2048, //PARSE specific (0x800) DBG2 = 4096 //very verbose logging (0x1000) LIO = 8192 //IO logging (0x2000) OUT1 = 16384 //Some std-out logging (0x4000) LL_PROF = 32768 //Profiling information (0x8000) CUST1 = 65536 //Cust-1, latency info (0x10000) ALL = 0xFFFFFF //Log everything (0xFFFFFFFF)
| Argument | Description |
| level | Integer corresponding to the logging flags. |
| target | Options: 'gnu' | [file-endp-name]. |
| Argument | Description |
| endpoint | Name of endpoint, or 'all'. |
| Argument | Description |
| endpoint | Name of endpoint, or 'all'. |
Probe-Flags: WIFI 1
MII 2
ETHTOOL 4
BRIDGE 8
EASY_IP_INFO 16 # Everything but gateway, which is expensive to probe.
GW 32
GW_FORCE_REFRESH 64 # Force GW (re)probe. Otherwise, cached values *might* be used.
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| port | Port number, or 'all. |
| probe_flags | See above, add them together for multiple probings. Leave blank if you want stats only. |
Probe-Flags: WIFI 1
MII 2
ETHTOOL 4
BRIDGE 8
EASY_IP_INFO 16 # Everything but gateway, which is expensive to probe.
GW 32
GW_FORCE_REFRESH 64 # Force GW (re)probe. Otherwise, cached values *might* be used.
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| port | Port number, or 'all. |
| probe_flags | See above, add them together for multiple probings. Leave blank if you want stats only. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| channel_name | Name of the channel, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| span_number | Span-Number of the span, or 'all. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| router | Name of the Virtual Router, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| cx_name | Name of the Virtual Router Connection, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| collision-domain | Name of the Collision Domain, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| link_num | Ppp-Link number of the span, or 'all. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Port number or name |
| key | Unique identifier for this request. Usually left blank. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| Argument | Description |
| port | The port in question. |
| type | SUNOS, NORMAL, or SECIP..let us know what kind of reset completed. |
| extra | IP for SECIP, blank for others. |
| Argument | Description |
| rpt_dir | Directory in which reports should be saved. |
| reporting_on | Should we globally enable/disable reporting. (YES, NO or NA) |
| save_endps | Should we save endpoint reports or not. (YES, NO or NA) |
| save_resource | Should we save Resource reports or not. (YES, NO or NA) |
| save_ports | Should we save Port reports or not. (YES, NO or NA) |
| Argument | Description |
| shelf | Shelf number, or ALL. |
| resource | Resource number, or ALL. |
| port | Port number to reset, or ALL. |
| reset_ospf | If set to 'NO', then OSPF will not be updated. Otherwise, it will be updated. |
| Argument | Description |
| shelf | Shelf number |
| resource | Resource (machine) number. |
| span | Serial-Span number to reset. |
| Argument | Description |
| shelf | Shelf number, or ALL. |
| resource | Resource number, or ALL. |
| Argument | Description |
| shelf | Shelf number, usually 1 |
| resource | Resource number |
| serno | Serial number for requested Attenuator. |
| Argument | Description |
| cd | Name of Collision Domain. |
| Argument | Description |
| cd | Name of Collision Domain. |
| endp | Endpoint name/id. |
| Argument | Description |
| cd | Name of Collision Domain. |
| endp | Virtual-Router name/id. |
| Argument | Description |
| endp_name | Name of the endpoint, or 'YES_ALL'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| channel_name | Name of the channel, or 'all'. |
| Argument | Description |
| event_id | Numeric event-id, or 'all' |
| Argument | Description |
| name | The name of the test group. |
| Argument | Description |
| tgname | The name of the test group. |
| cxname | The name of the CX. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| router_name | Virtual Router name, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| connection_name | Virtual Router Connection name, or 'all'. |
| vrcx_only | If we should NOT delete underlying auto-created objects, enter 'vrcx_only' here, otherwise leave blank or use NA. |
| vr_id | If not removing from the free-list, then supply the virtual-router name/ID here. Leave blank or use NA for free-list. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| span_num | Span-Number of the channel, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf. |
| resource | Resource number that holds this PppLink. |
| unit_num | Unit-Number for the PppLink to be deleted. |
| Argument | Description |
| client_name | Name of the client profile you wish to remove. |
| client_password | Client's password. Not required if we are super-user. |
| Argument | Description |
| test_mgr | Name of test-mgr, or 'all'. |
| cx_name | Name of the cross-connect, or 'all'. |
| Argument | Description |
| endp_name | Name of the endpoint. |
| wp_name | Name of the wanpath. |
| Argument | Description |
| db_name | Name of the database to delete. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of network device (Port) from which these IPs will be removed. |
| ip_list | IP1/prefix,IP2/prefix,...IPZ/prefix, or ALL |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Port number or name of the virtual interface. |
| Argument | Description |
| test_mgr | Name of the test manager to be removed. |
| Argument | Description |
| db_name | The name the backup shall be saved as (blank means dflt) |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Port number or name of the virtual interface. |
| key | Unique identifier for this request. Usually left blank. |
| extra | Extra arguments to the scan script, see above. |
1024 Use Relative Timestamps. This will increase performance
but can only work if the 'TSC' clock is stable and both
endpoints are on the same machine. It is difficult for
the code to know if the TSC is stable or not, so we cannot
verify this for you at this time.
4096 Use default gateway's MAC for destination MAC. Dest-MAC must
also be set to 'DEFAULT' for this option to take effect.
8192 Use slow-start logic. This ramps up the speed a bit slower when
starting the endpoint and after a clear of its stats. With this
disabled (the default value), the endpoint may over-shoot the
desired bandwidth for a fraction of a second causing un-expected
stress on the network under test.
| Argument | Description |
| name | Name of the Endpoint we are setting. |
| min_pkt_size | Minimum packet size, including all Ethernet headers (but not CRC). |
| max_pkt_size | Maximum packet size, including all Ethernet headers (but not CRC). |
| udp_src_min | Minimum source UDP port. |
| udp_src_max | Maximum source UDP port. |
| udp_dst_min | Minimum destination UDP port. |
| udp_dst_max | Minimum destination UDP port. |
| ip_src_min | Minimum source IP address to use. |
| ip_src_max | Maximum source IP address to use. |
| ip_dst_min | Minimum destination IP address to use. |
| ip_dst_max | Maximum destination IP address to use. |
| src_mac_count | How many source MACs to iterate through. |
| dst_mac_count | How many destination MACs to iterate through. |
| src_mac | The source MAC address. |
| dst_mac | The destination MAC address. |
| multi_pkts | The number of identical packets to send before creating a new one. |
| pkts_to_send | The number of packets to send. Set to zero for infinite. |
| arm_flags | Armageddon-related flags, see above for details. |
| Argument | Description |
| shelf | Shelf number, usually 1. |
| resource | Resource number. |
| serno | Serial number for requested Attenuator, or 'all'. |
| atten_idx | Attenuator index, or 'all'. |
| val | Requested attenution in 1/10ths of dBm (ddBm). |
| Argument | Description |
| shelf | Shelf number, usually 1. |
| resource | Resource number. |
| serno | Serial number for requested Attenuator, or 'all'. |
| filename | File to use when uploading to attenuator. |
| Argument | Description |
| test_mgr | Name of the test manager, or 'all'. |
| cx_name | Name of cross-connect, or 'all'. |
| milliseconds | Report timer length in milliseconds. |
| CXONLY | If you want to set the timer for ONLY the CX, and not the endpoints, enter 'cxonly'. Otherwise, leave it blank.. |
| Argument | Description |
| endp_name | Name of endpoint. |
| enabled | YES or NO to enable or disable proxying. |
| proxy_ip | Proxy IP Address. |
| proxy_ip_port | Proxy IP Port. |
| Argument | Description |
| endp_name | Name of endpoint. |
| milliseconds | Report timer length in milliseconds. |
| Argument | Description |
| test_mgr | Name of the test-manager, or 'all'. |
| cx_name | Name of the cross-connect, or 'all'. |
| cx_state | One of: RUNNING, SWITCH, QUIESCE, STOPPED, or DELETED. |
| Argument | Description |
| licenses | License keys all appended into a single line. |
| Argument | Description |
| old_password | Old password, or 'NA' for blank password. |
| new_password | New password, or 'NA' for blank password. |
| client | Specify the client. If left blank, will use current client. |
| Argument | Description |
| shelf | Name of the Shelf, or 'all'. |
| resource | Number of the Resource, or 'all'. |
| link | Unit Number of the PPP Link, or 'all'. |
| ppp_state | One of: RUNNING, STOPPED, or DELETED. |
NONE # Delete any existing script. Script2544 # For RFC 2544 type testing. ScriptHunt # Hunt for maximum speed with constraints. ScriptWL # For iterating through WanLink settings ScriptAtten # For Attenuators only.Flags are defined as:
SCR_STOPPED = 1 # Script should NOT have any affect on the endpoint. SCR_NO_KEYED_RPT = 2 # Script should NOT send reports to the CLI/GUI. SCR_SYMMETRIC = 4 # This script should apply settings to the peer endpoing as well. SCR_HIDE_ITER_DETAILS = 8 # Hide iteration detail reports. SCR_HIDE_LEGEND = 16 # Don't print the legend in the report. SCR_HIDE_CSV = 32 # Don't print the CSV data in the report. SCR_RUN_ON_MGR = 64 # Set automatically by LANforge. SCR_COMPLETED = 128 # Set automatically by LANforge. SCR_LOOP = 256 # Loop script until manually stopped. SCR_SHOW_DUPS = 512 # Report duplicate packets. SCR_SHOW_OOO = 1024 # Report out-of-order packets. SCR_HIDE_HUNT = 2048 # Hide the individual hunt steps..just show results.Script2544 has this syntax for its private data: run_duration pause_duration rates_a payload_sizes_a constraints report rates_b sizes_b attenuations attenuator Rates and payload sizes are comma-separated-strings, ie: 60,128,256,1472 The interval durations are in miliseconds. Constraints format: drops,jitter_us,latency_us,max_tx_slowdown,max_failed_ok report format: (read-only, use NA when configuring) steps_completed,steps_failed ScriptHunt has this syntax for its private data: run_duration pause_duration constraints payload_sizes_a payload_sizes_b attenuations attenuator Constraints format: drops,jitter_us,latency_us,max_steps,start_rate,accuracy,is_bps,max_tx_slowdown ScriptWL has this syntax for it's private data: run_duration rates latencies jitter drops Rates, latencies, jitter and drops are comma-separated-strings, ie: 60,128,256,1472 Default units for latencies and jitter is miliseconds, but can use 'us' suffix for micro-second precision. The interval duration is in miliseconds. ScriptAtten has this syntax for it's private data: run_duration attenuations run_duration is in miliseconds, attenuations is a comma-separated range. Use 'NA' for no changes to existing config, and use 'NONE' if you want the value to be blank.
| Argument | Description |
| endp | Endpoint, Test Group or Attenuator name or ID. |
| name | Script name. |
| flags | See above for description of the defined flags. |
| type | One of: NONE, Script2544, ScriptHunt, ScriptWL, ScriptAtten |
| private | Private encoding for the particular script. |
| group_action | How to handle group script operations: ALL, Sequential |
| loop_count | How many times to loop before stopping (0 is infinite). |
| Argument | Description |
| endp | Endpoint name or ID. |
| name | Script name. |
| flags | See above for description of the defined flags. |
| type | One of: NONE, Script2544, ScriptHunt, ScriptWL |
| private | Private encoding for the particular script. |
| group_action | All or Sequential. |
| loop_count | How many times to loop before stopping (0 is infinite). |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| radio | Name of the physical radio interface, for example: wiphy0 |
| mode | WiFi mode: 0: AUTO, 1: 802.11a, 2: b, 3: g, 4: abg, 5: abgn, 6: bgn |
| channel | Channel number for this radio device. |
| country | Country number for this radio device. |
| frequency | Frequency for this radio. |
| sens | The sensitivity of this radio. |
| rate | No longer used, specify the rate on the virtual station(s) instead. |
| rts | The RTS for this radio. |
| txpower | The transmit power setting for this radio. |
| mac | Used to identify when name cannot be trusted (2.6.34+ kernels). |
| antenna | Antenna configuration: 0 Diversity/All, 1 Fixed-A, 2 B, 3 C, 4 AB, 5 AC, 6 BC |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | WiFi interface name or number. |
| key_mgmt | Key management: WPA-PSK, WPA-EAP, IEEE8021X, NONE, WPA-PSK-SHA256, WPA-EAP-SHA256 or combo. |
| pairwise | Pairwise ciphers: CCMP, TKIP, NONE, or combination. |
| group | Group cyphers: CCMP, TKIP, WEP104, WEP40, or combination. |
| psk | WPA pre-shared key. |
| key | WEP key0. Should enter this in ascii-hex. |
| ca_cert | CA-CERT file name. |
| eap | EAP method: MD5, MSCHAPV2, OTP, GTC, TLS, PEAP, TTLS. |
| identity | EAP Identity string. |
| anonymous_identity | Anonymous identity string for EAP. |
| phase1 | Outer-authentication, ie TLS tunnel parameters. |
| phase2 | Inner authentication with TLS tunnel. |
| password | EAP Password string. |
| pin | EAP-SIM pin string. |
| pac_file | EAP-FAST PAC-File name. |
| private_key | EAP private key certificate file name. |
| pk_passwd | EAP private key password. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| mac | The MAC address. Only needed for LANforge protocol Endpoints. |
| ip | The IP Address. Used for TCP/IP and UDP/IP protocols. |
| min_port | The Minimum IP Port. Used for TCP/IP and UDP/IP protocols. |
| max_port | The Maximum IP Port. Used for TCP/IP and UDP/IP protocols. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| payload_type | The payload type. See help for add_endp. |
| payload | For custom payloads, enter the payload in hex, up to 2048 bytes. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| rcvbuf_size | The receive buffer (window) size. |
| sndbuf_size | The sending buffer (window) size. |
| min_conn_timer | The minimum duration (in ms) this connection should run before re-establishing. |
| pkts_to_send | Number of packets to send before stopping. 0 means infinite. |
| dst_mac | Destination MAC address, used for custom Ethernet replays. |
| max_conn_timer | The maximum duration (in ms) this connection should run before re-establishing. |
| min_reconn_pause | The minimum time between re-connects, in ms. |
| max_reconn_pause | The maximum time between re-connects, in ms. |
| max_ip_port | The maximum IP Port value. If greater than min, each connection will use a random value between min and max. |
| conn_timeout | For TCP, the max time in miliseconds to wait for connection to establish. |
| tcp_mss | TCP Maximum Segment Size, affects packet size on the wire (88 - 32767). |
| tcp_min_delack | Minimum time (ms) to delay a TCP Ack response packet. 0xFFFF for system default. |
| tcp_max_delack | Minimum time (ms) to delay a TCP Ack response packet. 0xFFFF for system default. |
| tcp_delack_segs | Maximum number of segments to receive before sending TCP Ack response. 0xFFFF for system default. |
| Argument | Description |
| ei_flags | Event Interest flags, see above. |
| events1 | See description for possible values. |
| events2 | See description for possible values. |
| events3 | See description for possible values. |
| events4 | See description for possible values. |
| var1 | Currently un-used. |
| event_cnt | Maximum number of events to store. |
1 Link-Down Notify when Interface Link goes UP. 2 Link-Up Notify when Interface Link goes DOWN. 3 Custom Custom event (generated by USER in GUI or CLI). 4 Resource-Down Resource has crashed, rebooted, etc. 5 Resource-Up Resource has connected to manager. 6 Endp-Stopped Endpoint stopped for some reason. 7 Endp-Started Endpoint was started. 8 Disconnect WiFi interface disconnected from AP. 9 Connect WiFi interface connected to AP. 10 Logout CLI/GUI user disconnected from LANforge. 11 Login CLI/GUI user connected to LANforge. 12 Stop-Reports Stop saving report data files (CSV). 13 Start-Reports Start saving report data files (CSV). 14 Cleared Counters were cleared for some entity. 15 Link-Errors Port shows low-level link errors. 16 DHCP-Fail DHCP Failed, maybe out of leases? 17 DHCP-Timeout Timed out talking to DHCP server. 18 DHCP4-Error DHCP gave out duplicated IP address. 19 DHCP6-Error DHCPv6 gave out duplicated IPv6 address. 20 WiFi-Config WiFi Configuration Error. 21 Bad-MAC Invalid MAC address configured.Priorities:
0 AUTO # Let event creator decide the priority. 1 DEBUG 2 INFO 3 WARNING 4 CRITICAL 5 FATAL
| Argument | Description |
| event | Number or name for the event, see above. |
| priority | Number or name for the priority. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| ttl | Time to live for the multicast packets generated. |
| mcast-group | Multicast group IP, ie: 224.1.1.2 IPv6 supported as well. |
| mcast-dest-port | Multicast destination IP Port, for example: 55000 |
| rcv_mcast | Should we attempt to receive? Values: Yes or No |
| Argument | Description |
| type | Event type filter. |
| shelf | Event shelf filter. |
| card | Event resource filter. |
| port | Event port filter (can be port name or number). |
| endp | Event endpoint filter. |
| extra | Extra filter, currently ignored. |
| Argument | Description |
| type | Alert type filter. |
| shelf | Alert shelf filter. |
| card | Alert resource filter. |
| port | Alert port filter (can be port name or number). |
| endp | Alert endpoint filter. |
| extra | Extra filter, currently ignored. |
| Argument | Description |
| message | Message to show to others currently logged on. |
| Argument | Description |
| endp_name | Name of the cross-connect, or 'all'. |
| Argument | Description |
| name | The name of the test group. |
| Argument | Description |
| shelf | Name/id of the shelf. |
| resource | Resource number that holds this PppLink. |
| unit_num | Unit-Number for the PppLink to be started. |
| Argument | Description |
| endp_name | Name of the endpoint, or 'all'. |
| Argument | Description |
| endp_name | Name of the endpoint, or 'all'. |
| Argument | Description |
| name | The name of the test group, or 'all' |
| Argument | Description |
| name | The name of the test group, or 'all' |
| Argument | Description |
| shelf | Name/id of the shelf. |
| resource | Resource number that holds this PppLink. |
| unit_num | Unit-Number for the PppLink to be stopped. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| TOS | The Type of Service, can be HEX, see above. |
| priority | The socket priority, can be any positive number. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| quiesce | The number of seconds to quiesce this endpoint when told to quiesce. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| min_pld_size | The minimum payload size, in bytes. |
| max_pld_size | The maximum payload size, in bytes. |
| is_random | YES if random, anything else for NO. |
| use_checksum | YES if use checksum on payload, anything else for NO. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| min_tx_rate | The minimum transmit rate, in bits per second (bps). |
| max_tx_rate | The maximum transmit rate, in bits per second (bps). |
| is_bursty | YES if bursty, anything else for NO. |
| Argument | Description |
| name | The name of the file endpoint we are configuring. |
| min_rw_sz | Minimum read/write size, in bytes. |
| max_rw_sz | Maximum read/write size, in bytes. |
| num_files | Number of files to create when writing. |
| min_file_size | The minimum file size, in bytes. |
| max_file_size | The maximum file size, in bytes. |
| directory | The directory to read/write in. Absolute path suggested. |
| prefix | The prefix of the file(s) to read/write. |
| io_direction | Should we be reading or writing: options: read, write |
| Argument | Description |
| name | The name of the file endpoint we are configuring. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| flag | The name of the flag. |
| val | Either 1 (for on), or 0 (for off). |
push_endp_rpts If enabled, server will send endpoint reports without
being asked. This may be more information than you want!
push_all_rpts If enabled, server will send port, endpoint, and other
reports without being asked. This can flood scripts if
they are not expecting the input.
prompt_newlines Add a newline after every prompt. Can help with scripts
that want to handle line-based input.
To get a full listing of options, use the command without any arguments.| Argument | Description |
| flag | The name of the flag. |
| val | Either 1 (for on), or 0 (for off). |
| client | Specify the user, if it is not the current user. Requires admin privileges. |
| Argument | Description |
| shelf | Shelf number for the port to be modified, or SELF. |
| resource | Resource number for the port to be modified. |
| lattitude | The lattitude, as read from a GPS device. |
| ns | North or South (Latitude). |
| longitude | The longitude, as ready from a GPS device. |
| ew | East or west (Longitude). |
| altitude | Altitude, assumes units are Meters. |
| Argument | Description |
| mode | 'polling' or 'push'. |
0x1 Interface Down
0x2 Fixed-10bt-HD,
0x4 Fixed-10bt-FD,
0x8 Fixed-100bt-HD,
0x10 Fixed-100bt-FD,
0x100 auto-negotiate,
0x100000 advert-10bt-HD,
0x200000 advert-10bt-FD,
0x400000 advert-100bt-HD,
0x800000 advert-100bt-FD,
0x8000000 advert-flow-control,
0x10000000 PROMISC,
0x80000000 USE-DHCP
0x400000000 advert-10G-HD,
0x800000000 advert-10G-FD
0x1000000000 TSO-Enabled
0x2000000000 LRO-Enabled
0x4000000000 GRO-Enabled
0x8000000000 UFO-Enabled
0x10000000000 GSO-Enabled
0x20000000000 USE-DHCPv6
0x40000000000 RXFCS
0x80000000000 No-DHCP-Release
0x100000000000 Staged-IFUP
0x200000000000 Enable HTTP (nginx) service for this port.
0x400000000000 Enable FTP (vsftpd) service for this port.
0x1 reset_transceiver,
0x2 restart-link-negotiation,
0x4 force MII probe
0x8 Don't probe hardware
0x10 probe WIFI
0x20 Force new GW probe
0x40 Force enw GW probe for ONLY this interface
0x80 from_user (Required to change Mgt Port config (IP, DHCP, etc)
0x100 skip-port-bounce (Don't ifdown/up interface if possible.)
0x200 from_dhcp Settings come from DHCP client.
command_flags: 0x1
current_flags: 0x2
IP address: 0x4
IP Mask: 0x8
IP Gateway: 0x10
MAC Address: 0x20
Supported flags: 0x40
LINK Speed: 0x80
MTU: 0x100
TX Queue Length: 0x200
PROMISC mode: 0x400
(INTERNAL USE): 0x800
Alias: 0x1000
Rx-ALL 0x2000
DHCP 0x4000 #including client-id.
RPT-Timer 0x8000
BRIDGE 0x10000
IPV6_ADDRS 0x20000
BYPASS 0x40000
GEN_OFFLOAD 0x80000 # Generic offload flags, everything but LRO
CPU_MASK 0x100000
LRO_OFFLOAD 0x200000 # LRO (Must be disabled when used in Wanlink, and probably in routers)
STA_BR_ID 0x400000
IFDOWN 0x800000
DHCPv6 0x1000000
RXFCS 0x2000000
DHCP-RLS 0x4000000
SVC-DHCPD 0x8000000 # Enable/disable HTTP Service for a port
SVC-FTPD 0x10000000 # Enable/disable FTP Service for a port
flags2 flag2 values are:
USE_STP 0x1
SUPPORTS_BYPASS 0x2
BYPASS_ENABLED 0x10
BYPASS_POWER_DOWN 0x80 Should bypass be on when we shutdown or loose power?
BYPASS_POWER_ON 0x100 Should bypass be on when we first power up?
BYPASS_DISCONNECT 0x200 Logically disconnect the cable (link-down)
IPv6 Address format is: addr/prefix
Scope is implied by the position (first address is global, etc)
dhcp-client-id:
NONE # Do not use dhcp client ID.
__MAC # Use interface's MAC address for the client ID.
__DEVNAME # Use the interface's name as the client ID.
[string] # Use the string for the client ID.
| Argument | Description |
| shelf | Shelf number for the port to be modified. |
| resource | Resource number for the port to be modified. |
| port | Port number for the port to be modified. |
| ip_addr | IP address for the port, or NA. |
| netmask | Netmask which this port should use, or NA. |
| gateway | IP address of the gateway device - used for IP routing, or NA. |
| cmd_flags | Command Flags: 0x11 reset_transceiver, 0x2 re-negotiate link, or NA. |
| current_flags | See above, or NA. |
| MAC | MAC address to set this port to, or leave blank to not set it, or NA. |
| MTU | Maximum Transmit Unit (MTU) for this interface. Can be blank or NA. |
| tx_queue_len | Transmit Queue Length for this interface. Can be blank or NA. |
| alias | A user-defined name for this interface. Can be blank or NA. |
| interest | Which things are we really interested in setting. Can over-ride defaults based on the other arguments. |
| report_timer | How often, in milliseconds, should we poll stats on this interface? |
| flags2 | Bridge & other flags, see above. |
| br_priority | Bridge priority, 16-bit number. |
| br_aging_time | MAC aging time, in seconds, 32-bit number (or peer IP for GRE). |
| br_max_age | How long until STP considers a non-responsive bridge dead. |
| br_hello_time | How often does the bridge send out STP hello packets. |
| br_forwarding_delay | How long to wait until the bridge will start forwarding packets. |
| br_port_cost | STP Port cost for a port (this applies only to NON-BRIDGE interfaces). |
| br_port_priority | STP Port priority for a port (this applies only to NON-BRIDGE interfaces). |
| IPv6_addr_global | Global scoped IPv6 address. |
| IPv6_addr_link | Link scoped IPv6 address. |
| IPv6_dflt_gw | IPv6 default gateway. |
| bypass_wdt | Watch Dog Timer (in seconds) for this port. Zero (0) to disable. |
| cpu_mask | CPU Mask for CPUs that should service this interface. Zero is don't set (let OS make the decision). This value will be applied to the proper /proc/irq/[irq-num]/smp_affinity file by the pin_irq.pl script. |
| dns_servers | DNS servers for use by traffic on this port, comma-separated list, BLANK means zero-length string. |
| sta_br_id | WiFi STAtion bridge ID. Zero means none. |
| dhcp_client_id | Optional string of up to 63 bytes in length to be passed to the dhclient process. See above. |
| Argument | Description |
| shelf | Shelf number for the port to be modified. |
| resource | Resource number for the port to be modified. |
| port | Physical Port identifier that owns the virtual interface. |
| vport | Virtual port identifier. MAC for MAC-VLANs, VLAN-ID for 802.1Q vlans. |
| alias | New alias to assign to this virtual interface. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | Name of network device (Port) to which these IPs will be added. |
| ip_list | IP1/prefix,IP2/prefix,...IPZ/prefix. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| first_call_delay | How long to wait before making first call, in seconds. |
| min_inter_call_gap | Minimum time to wait between calls, in seconds. |
| max_inter_call_gap | Maximum time to wait between calls, in seconds. |
| reg_expire_timer | SIP Registration expire timer, in seconds. |
| codec | Codec to use for the voice stream, supported values: G711U, SPEEX, g726-16, g726-24, g726-32, g726-40, g729a. |
| messaging_protocol | Messaging protocol, supported values: SIP. |
| loop_call_count | How many calls to make, zero means infinite. |
| loop_wavefile_count | How many times to play the wave file, zero means infinite. |
| min_call_duration | How long should the call be, in seconds. |
| max_call_duration | How long should the call be, in seconds. |
| sound_dev | Which sound device should we play sound to. (see set_endp_flags). |
| ringing_timer | How long (milliseconds) to wait in the ringing state before flagging call as no-answer. |
| local_sip_port | Local SIP UDP port. Default is min-rtp-port + 2. |
| PESQ_server_IP | LANforge PESQ server IP address. |
| PESQ_server_port | LANforge PESQ server port, default is 3998. |
| PESQ_server_passwd | LANforge PESQ server password. Default is to use no authentication (blank entry). |
| jitter_buffer_sz | The size of the jitter buffer in packets. Default value is 8. |
| Argument | Description |
| wl_name | The name of the WanLink endpoint we are configuring. |
| wp_name | The name of the WanPath we are configuring. |
| filter | The filter type, one of: MAC, IP, PCAP. |
| src_filter | The source MAC or IP/Mask. For PCAP, this is the only filter. |
| dst_filter | The destination MAC or IP/Mask, 'NA' for PCAP. |
| reverse | If you want the logic reversed, use 'ON', otherwise set to 'OFF' |
| defer_flush | Enter 'YES' if you do NOT want this flushed to the remote. |
| passive | Enter 'YES' if you do NOT want to use this filter currently. |
| Argument | Description |
| wl_name | The name of the WanLink endpoint we are configuring. |
| wp_name | The name of the WanPath we are configuring. |
| running | The state, one of: AS_PARENT, RUNNING, STOPPED. |
OVERWRITE_RANDOM 1 Write a random value to a byte.
OVERWRITE_FIXED 2 Write a fixed value to a byte.
BIT_FLIP 4 Flip a random bit in a byte.
BIT_TRANSPOSE 8 Transpose two side-by-side bits in a byte.
DO_CHAIN_ON_HIT 16 Do next corruption if this corruption is applied.
RECALC_CSUMS 32 Attempt to re-calculate UDP and TCP checksums. This will
ONLY work if the UDP or TCP packet spans a single Ethernet
frame.
Only one of the first 4 bits should be selected. Add flag values together
to set multiple flags.| Argument | Description |
| name | WanLink name |
| path | WanPath name |
| index | The corruption to modify (0-5). |
| flags | The flags for this corruption. |
| byte | The byte to use for OVERWRITE_FIXED (or NA). |
| min_offset | The minimum offset from start of Ethernet packet for the byte to be modified. |
| max_offset | The maximum offset from start of Ethernet packet for the byte to be modified. |
| rate | Specifies how often, per million, this corruption should be applied. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| speed | The maximum speed of traffic this endpoint will accept (bps). |
| latency | The base latency added to all packets, in milliseconds (or add 'us' suffix for microseconds |
| max_jitter | The maximum jitter, in milliseconds (or ad 'us' suffix for microseconds) |
| reorder_freq | How often, out of 1,000,000 packets, should we make a packet out of order. |
| extra_buffer | The extra amount of bytes to buffer before dropping pkts, in units of 1024. Use -1 for AUTO. |
| drop_freq | How often, out of 1,000,000 packets, should we purposefully drop a packet. |
| dup_freq | How often, out of 1,000,000 packets, should we purposefully duplicate a packet. |
| playback_capture_file | Name of the WAN capture file to play back. |
| jitter_freq | How often, out of 1,000,000 packets, should we apply jitter. |
| min_drop_amt | Minimum amount of packets to drop in a row. Default is 1. |
| max_drop_amt | Maximum amount of packets to drop in a row. Default is 1. |
| min_reorder_amt | Minimum amount of packets by which to reorder, Default is 1. |
| max_reorder_amt | Maximum amount of packets by which to reorder, Default is 10. |
| max_lateness | Maximum amount of un-intentional delay before pkt is dropped. Default is AUTO |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| capture | Should we capture or not? ON or OFF. |
| directory | The directory name in which packet capture files will be written. |
OVERWRITE_RANDOM 1 Write a random value to a byte. OVERWRITE_FIXED 2 Write a fixed value to a byte. BIT_FLIP 4 Flip a random bit in a byte. BIT_TRANSPOSE 8 Transpose two side-by-side bits in a byte. DO_CHAIN_ON_HIT 16 Do next corruption if this corruption is applied.Only one of the first 4 bits should be selected. Add flag values together to set multiple flags.
| Argument | Description |
| name | WanLink name |
| index | The corruption to modify (0-5). |
| flags | The flags for this corruption. |
| byte | The byte to use for OVERWRITE_FIXED (or NA). |
| min_offset | The minimum offset from start of Ethernet packet for the byte to be modified. |
| max_offset | The maximum offset from start of Ethernet packet for the byte to be modified. |
| rate | Specifies how often, per million, this corruption should be applied. |
| Argument | Description |
| name | WanLink name |
| qdisc | FIFO, WRR,a,b,c,d,e,f,g etc |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| playback | Should we playback the capture or not? ON or OFF. |
| file | The file name to read the playback packets from. |
| Argument | Description |
| shelf | Shelf number or alias, can be 'all'. |
| resource | Resource number, or 'all'. |
| serno | Serial number for requested Attenuator, or 'all'. |
| Argument | Description |
| shelf | Shelf number or alias, can be 'all'. |
| resource | Resource number, or 'all'. |
| Argument | Description |
| test_mgr | Specify test-mgr to act on, or 'all'. |
| cross_connect | Specify cross-connect to act on, or 'all'. |
| Argument | Description |
| test_mgr | Specify test-mgr to use, or 'all'. |
| cross_connect | Specify cross-connect to show, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| collision-domain | Name of the Collision Domain, or 'all'. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| virtual-router | Name of the virtual router. |
| key | Unique identifier for this request. Usually left blank. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| router | Name of the Virtual Router, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| cx_name | Name of the Virtual Router Connection, or 'all'. |
| Argument | Description |
| endpoint | Name of endpoint, or 'all'. |
| Argument | Description |
| endpoint | Name of endpoint, test-group, or 'all'. |
| key | Optional 'key' to be used in keyed-text message result. |
| Argument | Description |
| endpoint | Name of endpoint, or 'all'. |
| Argument | Description |
| name | The name of the endpoint we are configuring. |
| max_bytes | The max number of payload bytes to print out, default is 128. |
| Argument | Description |
| shelf | The virtual shelf to search in. Use 0 for manager machine. |
| resource | The machine to search in. |
| key | A special key, can be used for scripting. |
| directory | The sub-directory in which to list. |
| filter | An optional filter, as used by the 'ls' command. |
| dir_flags | Determines format of listing, see above. |
Probe-Flags: WIFI 1
MII 2
ETHTOOL 4
BRIDGE 8
EASY_IP_INFO 16 # Everything but gateway, which is expensive to probe.
GW 32
GW_FORCE_REFRESH 64 # Force GW (re)probe. Otherwise, cached values *might* be used.
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| port | Port number, or 'all. |
| probe_flags | See above, add them together for multiple probings. Leave blank if you want stats only. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| channel_name | Name of the channel, or 'all'. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| span_number | Span-Number of the span, or 'all. |
| Argument | Description |
| shelf | Name/id of the shelf, or 'all'. |
| resource | Resource number, or 'all'. |
| link_num | Ppp-Link number of the span, or 'all. |
| Argument | Description |
| test_mgr | Can be name of test manager, or 'all'. |
| Argument | Description |
| group | Can be name of test group. Use 'all' or leave blank for all groups. |
| Argument | Description |
| endpoint | Name of endpoint, or 'all'. |
| wanpath | Name of wanpath, or 'all'. |
| Argument | Description |
| really | Must be 'YES' for command to really work. |
| chdir | Directory to cd to before dying. Only useful when using gprof to debug, or 'NA' to ignore. |
| serverctl | Enter 'YES' to do a ./serverctl.bash restart to restart all LANforge processes. |
| Argument | Description |
| shelf | Shelf number, or ALL. |
| resource | Resource number, or ALL. |
| Argument | Description |
| shelf | Shelf number, or ALL. |
| resource | Resource number, or ALL. |
xhost + This can open your machine to security threats, so read up on xhost before you run this command on a mission critical machine not protected by a good firewall! You can find more about the Wireshark program here: http://www.wireshark.org For questions specific to LANforge, you should contact Candela Technologies.
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| port | The port we are trying to run the packet sniffer on. |
| display | The DISPLAY option, for example: 192.168.1.5:0.0. Will guess if left blank. |
| Argument | Description |
| test_mgr | Name of test manager (can be all.) |
| client_name | Name of client to be registered. (dflt is current client) |
| Argument | Description |
| test_mgr | Name of test manager (can be all.) |
| client_name | Name of client to be un-registered. (dflt is current client) |
| Argument | Description |
| shelf | Shelf number, or ALL. |
| resource | Resource number, or ALL. |
| Argument | Description |
| device | Interface or PHY in most cases. |
| event | What happened. |
| status | Status on what happened. |
| msg | Entire event in human readable form. |
| Argument | Description |
| shelf | Shelf number. |
| resource | Resource number. |
| router | Name of the virtual router. |
| cmd | Determines action, current commands: display, run_cmd |
| arg | See above. |