xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
221
config access_profile profile_id (ipv6)
•
priority <value 0–7>
−
This parameter is specified to re–write the 802.1p default
priority previously set in the Switch, which is used to determine the CoS queue to
which packets are forwarded to. Once this field is specified, packets accepted by
the Switch that match this priority are forwarded to the CoS queue specified
previously by the user.
•
{replace_priority}
−
Enter this parameter to re–write the 802.1p default priority of a
packet to the value entered in the Priority field, which meets the criteria specified
previously in this command, before forwarding it on to the specified CoS queue.
Otherwise, a packet will have its incoming 802.1p user priority re–written to its
original value before being forwarded by the Switch.
rx_rate
– Use this to limit Rx bandwidth for the profile being configured. This rate is
implemented using the following equation – 1 value = 64kbit/sec. (ex. If the user selects a
rx rate of 10 then the ingress rate is 640kbit/sec.) The user many select a value between
1– 156249 or
no_limit
. The default setting is
no_limit
.
deny
– Specifies that packets that match the access profile are not permitted to be
forwarded by the Switch and will be filtered.
counter [enable | disable]
– Use this parameter to enable the counter function. When
enabled, this counter will count the number of packets that match the profile stated with
this command. If the counter command is enabled using the flow_meter command, the
conter command here will be overridden and therefore will not count packets. This
command is optional and the default setting is disabled.
mirror
- Selecting mirror specifies that packets that match the access profile are mirrored
to a port defined in the config mirror port command. Port Mirroring must be enabled and a
target port must be set.
{time_range <range_name 32>}
– Choose this parameter and enter the name of the Time
Range settings that has been previously configured using the
config time_range
command. This will set specific times when this access rule will be enabled or disabled on
the Switch.
delete access_id <value 1–128>
−
Use this command to delete a specific rule from the
IPv6 profile. Up to 128 rules may be specified for the IPv6 access profile.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a previously created access profile based on IPv6 classification:
D G S – 3 4 2 6 : 5 # c o n f i g a c c e s s _ p r o f i l e p r o f i l e _ i d 4 a d d a c c e s s _ i d 1 i p v 6 c l a s s 1
f l o w l a b e l 0 x A B C D p o r t 1 : 4 d e n y
C o m m a n d : c o n f i g a c c e s s _ p r o f i l e p r o f i l e _ i d 4 a d d a c c e s s _ i d 1 i p v 6 c l a s s 1
f l o w l a b e l 0 x A B C D p o r t 1 : 4 d e n y
S u c c e s s .
D G S – 3 4 2 6 : 5 #