Built-in Commands
Network Tools Screens 11-2 1
policy
Description: Displays the policy table and configures policy-port mappings.
Syntax: policy show profile <profile_index>
Displays the policy table, including policy index, policy name, policy
status (enable/disable), and PVID and priority override information
policy show port <port_number_or_range_or_all>
Displays the policy status of one or more ports, including default policy,
current policy, authentication type (Static, PWA, EAP and MAC),
authentication status (Auth/NoAuth/NA) and authentication information
(authenticated MAC or UserName).
policy set port <port_number_or_range_or_all> <profile_index>
Maps a policy statically to one or more ports.
policy clear profile port <port_number_or_range_or_all>
Unmaps a policy statically from one or more ports.
Options: profile_index — Specifies the profile index assigned to a policy.
port_number_or_range_or_all — Displays or configures policies for a
specific port, a range of ports, or all ports on the device.
Examples:
-> policy show profile 1-5
------------------------------------------------------------------------------
Index Name Status PVID PVIDStatus PRI PRIStatus
------------------------------------------------------------------------------
1 Default Enable 1 Enable 0 Disable
2 Employee Enable 2 Enable 1 Enable
3 Guest Enable 3 Enable 0 Disable
4 Admin Enable 4 Enable 7 Enable
5 Test Disable 1 Disable 0 Disable