port-pair

Required Command-Line Mode = Configure

Use the port-pair command to configure a pair of network ports within the same GigaVUE H Series node. A port pair is a bidirectional connection in which traffic arriving on one port in the pair is transmitted out the other (and vice-versa) as a passthrough TAP.

Notes on Port-Pairs

■   Port-pairs cannot be established between any other ports on the same TAP-HC0-G100C0 or TAP-HC1-G10040 and another TAP-HC0-G100C0 or TAP-HC1-G10040 on the same chassis. Port-pairs can only be established between the same TAP pairs.
■   Port-pairs support link status propagation – when one port goes down, the other port goes down (and vice-versa).

Note:  A port-pair created on a copper TAP has LFP enabled by default.

The port-pair command has the following syntax:

port-pair alias <alias>
   between <<port ID> | <port alias> and <port ID> | <port alias>>
      [comment <comment>]
      [lfp <enable | disable>]

The following table describes the arguments for the port-pair command:

Argument

Description

alias <alias>

Specifies a name for the port pair.

between <<port ID | port alias> and <port ID | port alias>> [comment <comment>]

Specifies the ports in the port pair using a port ID or port alias. A port ID is the numerical identifier of a port in box ID/slot ID/port ID format (for example, 1/1/x1). You can also identify either of the ports in the port pair by alias, if configured. Port aliases are configured using the port alias command. Refer to port for more information.

You can supply an optional comment for the port pair.

For example:

(config) # port-pair alias AtoB between portA and portB comment “from A to B”

lfp <enable | disable>

Specifies link failure propagation (LFP). Port pairs can operate with or without LFP as follows:

With LFP enabled, link failure on one of the ports in the port pair automatically brings down the opposite side of the port pair.
With LFP disabled, the opposite port is not brought down automatically.

Note:  A port pair created on a copper TAP has LFP enabled by default.

For example:

(config) # port-pair alias AtoB lfp disable

Related Commands

The following table summarizes other commands related to the port-pair command:

Task

Command

Displays all port pairs.

# show port-pair

Displays information for a specified port pair.

# show port-pair alias AtoB

Displays all port pairs.

# show port-pair all

Displays all port pairs in table format.

# show port-pair brief

Deletes all port pairs.

(config) # no port-pair all

Deletes a specified port pair.

(config) # no port-pair alias AtoB