set policy port

Use this command to assign an administrative rule to a port.

Syntax

set policy port port-name admin-id

Parameters

port-name Specifies the port(s) on which to set assign an administrative rule.
admin-id Specify a policy profile index number with a valid range of 1 - 1023 (S-, K-Series) 1 - 63 (7100-Series).

Defaults

None.

Mode

All command modes.

Example

This example shows how to assign an administrative rule with an index of 20 to port ge.1.3:

System(rw)->set policy port ge.1.3 20