Port commands

network

Syntax

network

Context

config>port>ethernet

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

Commands in this context configure network port parameters.

uplink

Syntax

uplink

Context

config>port>access

config>port>ethernet>access>uplink

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

Commands in this context configure access uplink port parameters.

accounting-policy

Syntax

accounting-policy policy-id

no accounting-policy

Context

config>port>ethernet>network

config>port>ethernet>access>uplink

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures an accounting policy that can apply to an interface.

An accounting policy must be configured before it can be associated with an interface. If the accounting policy-id does not exist, an error is returned.

Accounting policies associated with service billing can only be applied to SAPs. Accounting policies associated with network ports can only be associated with interfaces. Only one accounting policy can be associated with an interface at a time.

The no form of this command removes the accounting policy association from the network interface, and the accounting policy reverts to the default.

Parameters

policy-id

Specifies the accounting policy-id of an existing policy. Accounting policies record either service (access) or network information. A network accounting policy can only be associated with the network port configurations. Accounting policies are configured in the config>log>accounting-policy context.

Values

1 to 99

collect-stats

Syntax

[no] collect-stats

Context

config>port>ethernet>network

config>port>ethernet>access>uplink

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command enables the collection of accounting and statistical data for the network interface. When applying accounting policies, the data, by default, is collected in the appropriate records and written to the designated billing file.

The no form of this command ensures that the statistics are still accumulated by the cards, however, the CPU does not obtain the results and write them to the billing file. If the collect-stats command is issued again (enabled), then the counters written to the billing file will include the traffic collected while the no collect-stats command was in effect.

Default

no collect-stats

queue-policy

Syntax

queue-policy name

no queue-policy

Context

config>port>ethernet>access>uplink

config>port>ethernet>access>network

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command associates a network queue policy with access-uplink port in access-uplink mode or a network port or hybrid port in network mode of operation.

This command specifies the existing network queue policy which defines queue parameters such as CIR and PIR rates, as well as forwarding-class to queue mappings. The network-queue policy is defined in the config>qos>network-queue context.

Parameters

name

Specifies an existing network-queue policy name.