configure policy rule admin-profile

configure policy rule admin-profile macsource macsource | port port ] {mask mask } {port-string [port_string | all] } {storage-type [non-volatile | volatile]} {admin-pid admin_pid }

Description

Use this command to assign incoming untagged frames to a specific policy profile and to VLAN or Class-of-Service classification rules.

Syntax Description

admin-profile Policy ID of 0.
macsource MAC source address.
macsource MAC source address - (data: a-b-c-d-e-f; mask: 1-48).
port Port string.
port Port string - (data: 1; mask: 16).
mask Number of most significant bits to match data value (rule-meaning)
mask

Number of most significant bits to match data value (rule-meaning). Range: 1 - 144.

port-string Rule port scope.
port-string Rule port scope.
all Scope to all ports.
storage-type Storage type of this rule.
non-volatile This entry shall be added to non-volatile storage.
volatile This entry shall be removed from volatile storage.
admin-pid Policy ID (1-63).
admin-pid Policy ID (1-63).

Default

  • If mask is not specified, all data bits will be considered relevant.
  • If port-string is not specified, rule will be scoped to all ports.

Usage Guidelines

Classification rules are automatically enabled when created.

Example

This example shows how to configure classification rule 2 as an administrative profile and assign it to ingress port 1:1:

configure policy rule admin-profile port 1:1 port-string 1:1 admin-pid 2

History

This command was first available in ExtremeXOS release 16.1.

Platform Availability

This command is available on all platforms.