Port Lists Definition in the GigaVUE‑OS
Many CLI commands require that you specify a port list—port-filters, maps, and so on. The GigaVUE‑OS observes a standard convention for port lists—you can use one or more of the following separated by commas—no spaces or tabs are allowed:
port-id <bid/sid/pid>
port-alias <port-alias>
port-list <bid/sid/pid_x..pid_y> (range) | <bid/sid/pid_x,bid/sid/pid_y,bid/sid/pid_z> (list) | gigastream-alias <gigastream-alias> | gigastream-alias-list | <gigastream-alias1,gigastream-alias2,...> | inline-network-alias <inline-network-alias> | inline-network-group-alias <inline-network-alias>
The port-list argument lets you select multiple non-contiguous ports. To enter port IDs in a list, simply put a comma between each port ID in the list. |
The <bid/sid/pid_x..pid_y> argument lets you select a series of adjacent ports (for example, 1/5/x4..x6 selects port x4..x6 on slot 5. |
Note: Port ranges must be specified separately for 10Gb-capable and 1Gb ports. You cannot create a single range including both. For example, the PRT-H00-X12G04 card includes ports x1..x12 and ports g1..g4, but you cannot create a series that spans from 1/1/x1 to 1/1/g4. Instead, you must create two series: 1/1/x1..x12 and 1/1/g1..g4.
GigaSMART load balancing port groups can have ports with different rates. |
You can mix a port-id with a port-alias and a port-list so long as they are separated by commas and no spaces. For example, 1/5/x4..x6,myalias,1/4/x2..x4 is a valid port-list. |
In some commands, the port-list includes a GigaStream alias, an inline-network alias, or an inline-network-group alias. |
Examples
The port list conventions make it easy to connect multiple network ports or tool ports, for example:
Command |
Comments |
(config) # map-passall alias mymap (config map-passall alias mymap) # from 1/1/x1 (config map-passall alias mymap) # to 1/4/x6..x8 |
Creates a map that connects port 1/1/x1 to ports 1/4/x6, 1/4/x7, and 1/4/x8 with an alias of mymap. |
Port Numbering/Speeds
The CLI uses lowercase notation to refer to ports (g1, x4, q1, c1 and d1). The port numbering refers to the following speeds:
g—10M/100M/1000M ports |
x—10Gb/25Gb ports |
q—40Gb ports |
c—100Gb ports |
d—400Gb ports |