Common CLI command descriptions
This section provides information about Command Line Interface (CLI) syntax and command usage for common service commands.
Command descriptions
SAP syntax
sap
Syntax
[no] sap sap-id
Context
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 the following table.
Table 1. 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. The following table describes the allowed values for the port and encapsulation types.
Table 2. 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.
Ethernet
QinQ
qtag1: 0 to 4094
qtag2: 0 to 4094
The SAP is identified by two 802.1Q tags on the port.
Notes:
A 0 qtag1 value also accepts untagged packets on the dot1q port.
A 0 qtag1 value is allowed with some 7210 SAS platforms. See Configuration guidelines for 7210 SAS-D and 7210 SAS-Dxp and Configuration guidelines for 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C for information about platforms and frame processing.
A 0 qtag2 value is allowed only on 7210 SAS-K platforms as described in Configuration guidelines for 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C.