9. Common CLI Command Descriptions

9.1. In This Chapter

This chapter provides information about common Command Line Interface (CLI) syntax and command usage.

9.1.1. Common Service Commands

This section provides information about common service commands.

9.1.1.1. SAP Syntax

sap

Syntax 
[no] sap sap-id
 
Context 
 
Supported Platforms 

7210 SAS-M, 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp

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.

The sap-id can be configured in one of the formats listed in Table 152.

Table 152:  SAP-ID Formats 

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:qtag1:lag-3:102

cp.conn-prof-id: 1/2/1:cp.2

qinq

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

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

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

The values depend on the encapsulation type configured for the interface. Table 153 describes the allowed values for the port and encapsulation types.

Table 153:  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. 1

Ethernet

QinQ

qtag1: 0 to 4094

qtag2: 0 to 4094

The SAP is identified by two 802.1Q tags on the port. 2 3

Notes:

  1. A 0 qtag1 value also accepts untagged packets on the dot1q port.
  2. A 0 qtag1 value is allowed with some 7210 SAS platforms. See SAP Configuration Notes for 7210 SAS Platforms in Access-uplink Operating Mode for information about platforms and frame processing.
  3. A 0 qtag2 value is not allowed on 7210 SAS platforms as described in this document. See SAP Configuration Notes for 7210 SAS Platforms in Access-uplink Operating Mode for more information about allowed SAPs and their processing behavior.