Port Aliases

GigaVUE‑OS lets you configure textual aliases for network and tool ports. Aliases can be used in place of the numerical bid/sid/pid identifier required in many packet distribution commands in the CLI. For example, instead of configuring a map between, say, 1/1/x1 and 1/1/x4, you could map from Gb_In to Stream-to-Disk; the following table shows the commands to configure these aliases and the map itself.

Command

Comments

(config) # port 1/1/x1 alias Gb_In

Configures port 1/1/x1 with the alias of Gb_In.

(config) # port 1/1/x4 type tool

Sets port x4 on slot 1 (1/1/x4) as a tool port.

(config) # port 1/1/x4 alias Stream-to-Disk

Configures port 1/1/x4 with the alias of Stream-to-Disk

(config) # map alias Gbmap

(config map alias Gbmap) # type regular byRule

(config map alias Gbmap) # from Gb_In

(config map alias Gbmap) # to Stream-to-Disk

(config map alias Gbmap) # exit

Creates a regular map from 1/1/x1 to 1/1/x4 using their aliases of Gb_In and Stream-to-Disk, respectively. Notice that this map does not have any rules – the full stream of packets arriving on 1/1/x1 will be sent to 1/1/x4.