
Configuring Universal Network Profiles
Configuring Profiles
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 27-37
The VLAN tag rule can be combined with the any of the other rules to include the tag as a required param-
eter to match for the rule. For example, to include the VLAN tag with a MAC address rule, use the
unp
classification mac-address rule
command with the
vlan-tag
option:
-> unp classification mac-address 00:00:2a:33:44:01 vlan-tag 10 unp-name serverA
In this example, a device is classified with UNP “serverA” if the source MAC address of the device is
“00:00:2a:33:44:01” and device packets are tagged with VLAN 10.
The
unp-customer-domain
parameter is configurable for all of the rule types and specifies that the rule is
only applied to UNP ports that are assigned to the same domain ID. For example:
-> unp classification vlan-tag 100 unp-customer-domain 10
-> unp classification ip-address 10.1.1.1 mask 255.0.0.0 unp-customer-domain 5
spb-profile vm-1
-> unp classification mac-address 00:00:2a:33:44:01 unp-customer-domain 2 vlan-
profile serverA_unp
Use the
command to verify the UNP rule configuration for the switch. For more
information about UNP rules, see
“What are UNP Classification Rules?” on page 27-14
.
Configuring QoS Policy Lists
One of the attributes of a Universal Network Profile (UNP) specifies the name of a QoS policy list. This
list contains QoS and/or ACL policy rule definitions that are applied to a device when the device is
assigned to the profile.
To create a UNP policy list, use the
command to specify a list name and then use the
command to specify the names of one or more existing QoS/ACL policy rules to add to the list. For
example, the following commands create two policy rules and associates these rules with the “temp-rules”
list:
-> policy condition c1 802.1p 5
-> policy action a1 disposition drop
-> policy rule r1 condition c1 action a1 no default-list
-> policy condition c2 source ip 10.5.5.0
-> policy action a2 disposition accept
-> policy rule r2 condition c2 action a2 no default-list
-> policy list temp-rules type unp
-> policy list temp-rules rules r1 r2
-> qos apply
Note that the
no default-list
option was used to create the rules in this example. Using this option is
recommended when creating a policy list for a UNP.
Consider the following guidelines when configuring QoS/ACL policy rules and lists:
•
A default policy list exists in the switch configuration. Rules are added to this list when the rule is
created. A rule can belong to multiple policy lists. As a result, the rule remains a member a of the
default list even when it is subsequently assigned to additional lists.
•
Each time a rule is assigned to a policy list, an instance of that rule is created. Each instance is allo-
cated system resources. To exclude a rule from the default policy list, use the
no default-list
option of
the
command when the rule is created. For example:
-> policy rule r1 condition c1 action a1 no default-list
•
Up to 32 policy lists (including the default list) are supported per switch. Only one policy list per UNP
is allowed, but a policy list can be associated with multiple profiles.