Common CLI command descriptions

This chapter provides CLI syntax and command descriptions for SAP and port commands.

Command descriptions

SAP syntax

sap

Syntax

[no] sap sap-id

Context

(multiple)

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 following table shows the formats in which the SAP ID can be configured.

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”

qinq

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

port-id:qtag1.qtag2 — ‟1/1/3:100.10”

lag-id:qtag1.qtag2 — ‟lag-10:100.10”

Port syntax

port

Syntax

port port-id

Context

(multiple)

Description

This command specifies a port identifier.

Parameters
port-id

Specifies the physical port ID in the slot/mda/port format.