Common CLI command descriptions

This section provides information about Command Line Interface (CLI) syntax and command usage for common service commands.

SAP commands

SAP command description

sap

Syntax

[no] sap sap-id

Context

Various

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the physical port identifier portion of the SAP definition.

Parameters
sap-id

Specifies the physical port identifier portion of the SAP definition.

Values

The sap-id can be configured in one of the formats shown in the following table.

Table 1. Formats of sap-id

Type

Syntax

Example

port-id

slot/mda/port[.channel]

1/1/5

null

[port-id | lag-id]

port-id: 1/1/3

lag-id: lag-3

dot1q

[port-id | lag-id]:qtag1

port-id:qtag1: 1/1/3:100

lag-id:lag-1:102

qinq

[port-id | lag-id]:qtag1.qtag2

port-id:qtag1.qtag2: 1/1/3:100.10

lag-id:qtag1.qtag2:lag-10:

qtag1, qtag2

Specifies the encapsulation value used to identify the SAP on the port or sub-port. If this parameter is not specifically defined, the default value is 0.

Values

qtag1: * | 0 to 4094

qtag2: * | 0 to 4094

The values depends on the encapsulation type configured for the interface. The following table describes the allowed values for the port and encapsulation types.

Table 2. Port and encapsulation types

Port type

Encap-type

Allowed values

Comments

Ethernet

Null

0

The SAP is identified by the port.

Ethernet

Dot1q

0 to 4094

The SAP is identified by the 802.1Q tag on the port. Note that a 0 qtag1 value also accepts untagged packets on the dot1q port.

Ethernet

QinQ

qtag1: 0 to 4094

qtag2: 0 to 4094

The SAP is identified by two 802.1Q tags on the port. Note that a 0 qtag1 value also accepts untagged packets on the Dot1q port.