sap sap-id [create]
no sap sap-id
config>service>ies>if
Supported on all 7210 SAS platforms as described in this document
This command creates a Service Access Point (SAP) within a service. A SAP is a combination of port and encapsulation parameters that identify the service access point on the interface and within the router. Each SAP must be unique.
All SAPs must be explicitly created. If no SAPs are created within a service or on an IP interface, a SAP does not exist on that object.
Enter an existing SAP without the create keyword to edit SAP parameters. The SAP is owned by the service in which it was created.
A SAP can only be associated with a single service. A SAP can be defined only on a port that has been configured as an access port using the command.
If a port is shut down, all SAPs on that port become operationally down. When a service is shutdown, SAPs for the service are not displayed as operationally down, although all traffic traversing the service is discarded. The operational state of a SAP is relative to the operational state of the port on which the SAP is defined.
The no form of this command deletes the SAP with the specified port. When a SAP is deleted, all configuration parameters for the SAP are also deleted.
A SAP is defined within the context of an IP routed interface. Each IP interface is limited to a single SAP definition. Attempts to create a second SAP on an IP interface fail and generate an error; the original SAP is not affected.
Specifies the physical port identifier portion of the SAP definition. See Common CLI command descriptions for command syntax.
Specifies the physical port ID in the slot/mda/port format.
If the card in the slot has Media Dependent Adapters (MDAs) installed, the port-id must be in the slot_number/MDA_number/port_number format. For example 1/1/1 specifies port 1 on MDA 1 in slot 1.
Keyword to create a SAP instance. The create keyword requirement can be enabled or disabled in the environment>create context.
accounting-policy acct-policy-id
no accounting-policy
config>service>ies>if>sap
Supported on all 7210 SAS platforms as described in this document
This command enables the accounting policy context that can be applied to a SAP.
An accounting policy must be defined before it can be associated with a SAP. If the policy-id does not exist, an error message is generated.
A maximum of one accounting policy can be associated with a SAP at one time. Accounting policies are configured in the config>log context.
The no form of this command removes the accounting policy association from the SAP, and the accounting policy reverts to the default.
Specifies the accounting policy-id as configured in the config>log> accounting-policy context.
[no] collect-stats
config>service>ies>if>sap
Supported on all 7210 SAS platforms as described in this document
This command enables accounting and statistical data collection for either the SAP, network port, or IP interface. When applying accounting policies the data, by default, is collected in the appropriate records and written to the designated billing file.
When the no collect-stats command is issued, the statistics are still accumulated by the cards. However, the CPU does not obtain the results and write them to the billing file. If a subsequent collect-stats command is issued, the counters written to the billing file include all the traffic while the no collect-stats command was in effect.
no collect-stats
dist-cpu-protection policy-name
no dist-cpu-protection
config>service>ies>if>sap
Supported on all 7210 SAS platforms as described in this document
This command assigns a valid existing Distributed CPU Protection (DCP) policy to the SAP. By default, no DCP policy is associated with the SAP.
The no form of this command disables the use of DCP policies for the SAP.
no dist-cpu-protection
Specifies the name of the DCP policy, up to 32 characters.