Alcatel-Lucent 6850-48 参考指南
QoS Policy Commands
OmniSwitch CLI Reference Guide
September 2009
page 53-15
policy network group
Configures a network group name and its associated IP addresses. The group may be used as part of a
policy condition. The action associated with any policy using the condition will be applied to all members
of the network group.
policy condition. The action associated with any policy using the condition will be applied to all members
of the network group.
policy network group net_group ip_address [mask net_mask] [ip_address2 [mask net_mask2]...]
no policy network group net_group
policy network group net_group no ip_address [mask netmask] [ip_address2 [mask net_mask2]...]
Syntax Definitions
net_group
The name of the network group (up to 31 alphanumeric characters).
ip_address
An IPv4 address included in the network group. IPv6 addresses are not
supported with network groups.
supported with network groups.
net_mask
The mask for the IPv4 address. If no mask is entered, the IPv4 address
is assumed to be a host address.
is assumed to be a host address.
ip_address2
Optional. Another IPv4 address to be included in the network group.
Multiple IP addresses may be configured for a network group. Separate
each address/mask combination with a space.
Multiple IP addresses may be configured for a network group. Separate
each address/mask combination with a space.
net_mask2
Optional mask for the IPv4 address. If no mask is entered, the natural
mask for the address will be used.
mask for the address will be used.
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use this command to configure a group of IPv4 addresses to which you want to apply QoS rules.
Rather than create a condition for each IPv4 address, group the addresses together. Use the policy
condition command to associate a condition with the network group.
condition command to associate a condition with the network group.
• Use the no form of the command to remove a network group from the configuration or to remove an IP
address from a network group.
• If the snapshot command is entered after the policy network group command is configured, the
resulting ASCII file will include the following additional syntax for the policy network group
command:
command:
from {cli | ldap | blt}
This syntax indicates how the network group was created. The cli and ldap options may be changed by
a user modifying the ASCII file; however, changing this setting is not recommended. The blt option
indicates a built-in network group, this setting is not configurable.
a user modifying the ASCII file; however, changing this setting is not recommended. The blt option
indicates a built-in network group, this setting is not configurable.