Assigning ports to policy profiles, Purpose, Commands – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 300: Set policy port, Assigning ports to policy profiles -14, Purpose -14 commands -14, Set policy port -14, Policy port
Assigning Ports to Policy Profiles
9-14 Policy Classification Configuration
Mode
Switch command, read‐write.
Example
This example shows how to remove all administrative and policy index rules:
D2(su)->clear policy all-rules
Assigning Ports to Policy Profiles
Purpose
To assign and unassign ports to policy profiles.
Commands
set policy port
Use this command to assign ports to a policy profile.
Syntax
set policy port port-string profile-index
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Note: The D2 switch supports up to eight user policies per port.
For information about...
Refer to page...
set policy port
clear policy port
port‐string
Specifies the port(s) to add to the policy profile. For a detailed description
of possible port‐string values, refer to “
Port String Syntax Used in the CLI
profile‐index
Specifies the ID of the policy profile (role) to which the port(s) will be
added. This value must match the profile‐index value assigned using the
set policy profile command (“
” on page 9‐4) in order for
a policy profile to be active on the specified port.