Command Line Basics

The G-TAP A Series 2 command-line interface provides a simple environment for configuring TAP settings. Once you have logged in to the system, the CLI appears with the G-TAP A-TX21, G-TAP A-SF21 > prompt. The basic CLI commands for G-TAP A-TX21 are listed below:

Table 1: The Basic Commands

Command

Description

aaa

Configure authentication, authorization, and accounting settings

banner

Set a system login banner

boot

Configures system boot parameters

battery

Views the battery presence, status and execute test results. The commands are as follows:

show battery status

battery test execute

battery test cancel

battery optimization

Optimizes battery drain when both power supplies are down for G-TAP A-SF21. Battery optimization can be done in the following methods such as:

Switch-Off Unused Ports
Switch -Off Monitor Port.

The command is as follows battery optimization. You can also utilize the command show battery optimization to view the battery optimization details.

battery optimization global cpu-hibernate

Initiates CPU hibernation for G-TAP A Series 2.

You can also utilize the command show battery optimization global to view the CPU hibernation details

no battery optimization global cpu-hibernate

Disables the CPU hibernation for G-TAP A Series 2 .

clear

Resets statistics, caches, counters, or can be used to reset information

cli

Configure CLI shell options.

clock

Set the system clock or timezone

configuration

Manage configuration files

coreboot

Upgrades the BIOS image on G-TAP

debug

Generates a dump file for debugging issues with Gigamon Technical Support

email

Configures automatic email notifications for events

exit

Exits Configure mode and returns to Enable mode or logs out of the CLI.

file

Manages TCP and debug dump files on disk.

help

Views a description of the interactive help system.

halt

Shuts down the node without powering it off.

hostname

Specifies the node's host name. The host name appears in the system prompt and in SNMP traps.

image

Manages node software images.

interface

Configures network interfaces.

ip

Configures IP settings for the eth0 Mgmt port.

ipv6

Configures IPv6 settings for the eth0 Mgmt port.

job

Configures scheduled jobs

ldap

Configures LDAP server settings for authentication

logging

Configures event logging.

no

Deletes or clears certain configuration options.

ntp

Enables and disables the use of NTP, as well as adds NTP servers

ntpdate

Sets node clock once from a remote server using NTP.

ping

Sends ICMP echo requests to a specified host.

pld

Performs an upgrade of programmable logic devices (PLDs) such as field programmable gate arrays (FPGAs).

ping6

Sends IPMPv6 echo requests to a specified IPv6 host.

port

Configures port type, parameters, and filters.

radius-server

Configures RADIUS server settings for authentication.

reload

Reboots or shuts down the node

reset

Resets specified portions of the node configuration to their factory states.

show

Display configuration and status information for a wide variety of settings and entities.

sleep

Sleeps for a specified number of seconds.

snmp-server

Configures SNMP settings, including the local SNMP server, notification events, and notification destinations.

ssh

Enables and disables SSH access, as well as manages settings

system

Changes system settings

system-health

 

Configures system health behaviors.

tacacs-server

 

Configures TACACS+ server settings for authentication

tcpdump

Display packets from any ethx port in the node on a network.

terminal

Set terminal parameters, including width and length.

traceroute

Trace the route packets take to a destination.

username

Manage user accounts.

web

Configure the Web server used for GigaVUE‑FM GUI support on the node.

write

Save the running configuration to persistent storage.

Refer to GigaVUE-OS CLI Reference Guide for further details on how to use the above commands .

Configuring Network/ TAP Ports on the G-TAP A Series 2

The G-TAP A Series 2 is shipped with auto-negotiation enabled on the Network/ TAP ports and can be used out of the box by simply supplying power and connecting network cables. You can explicitly set the admin/ auto-negotiation /duplex /speed/ lfp /relay parameters for each group. Each group consists of two network and two monitor ports.

Example,

Port * params admin enable

Port* auto-negotiation enable

Port* speed 100

Port* duplex full

Port * lfp enable

Port * relay active.

Where Port* is G1 , G2 , G3 or G4 .

Note:  For G-TAP A-SF21 the ports are X1,X2,X3 and X4.

SNMP Trap Events

The G-TAP A Series 2 supports the SNMP Trap events listed in the table below. To configure SNMP traps ,please refer SNMP Server section in CLI configuration guide .

Table 2: SNMP TRAP Events and Description

Trap

Description

CPU Hibernation Status

Generates notification when CPU enters hibernation from active state or vice-versa.CPU Hibernation Status

System Reset

Generated when system resets by warm or cold reset .

Configuration Save

Generated to save configuration file.

Module Change

Generated when Module is changed.

Link Speed Status

Generated when The Port link status is changed

System Shut Down Unexpectedly

Generated when the system shuts down unexpectedly

User Authentication Fail

Generated when user log in fails

Power Supply Status Change

Generated when the Power supply status of adapters change.

Fan Status Change

Generated when the Fan status has changed from normal operations.

Watchdog Reset

Generates when watchdog timer triggers system reset function

Firmware Change

Generates when a Firmware is being modified.

IP gateway status update notification

Generate when the status of IP gateway address has been updated.

Battery Presence

Generates to indicate if the Battery is present or not.

Battery Charge Level Threshold

Generates to indicate the battery charge level

Battery Exercise Test Complete

Generates when the Battery exercise test has been competed

Battery Temperature

Generate when the battery temperature crosses the threshold level.

Exhaust temperature notification

Generated when the Exhaust temperature crosses a threshold level

CPU temperature notification

Generated when the CPU temperature crosses a threshold level

Secondary flash boot notification

Generates notification when secondary flash boot is performed.

Throttle report notification

Generates a notification when throttle report is triggered.

Optics Temperature Notification

Optics temperature notification is the Level Triggered Event. When the port optic's temperature reaches a certain level, this alarm is triggered

Incompatible Notification

Generates a notification of an incompatible SFP in the port group

Power Source Change Notification

Notification when the power supply is changed from main power to battery or vice-versa.

Port Power Change Notification

Generates notification when SFP port is enabled/disabled for battery optimization.