D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
192
config access_profile
Parameters
port <portlist> - Specifies the port number on the Switch to permit or deny access for the rule.
permit
- Specifies the rule permit access for incoming packets on the previously specified port.
priority <value 0-7> Specifies that the access profile will apply to packets that contain this
value in their 802.1p priority field of their header for incoming packets on the previously
specified port.
{replace_priority}
-
Allows users to specify a new value to be written to the priority field of an
incoming packet on the previously specified port.
replace_dscp_with <value 0-63>
Allows users to specify a new value to be written to the
DSCP field of an incoming packet on the previously specified port.
deny
- Specifies the rule will deny access for incoming packets on the previously specified
port.
delete access_id <value 1-65535> - Use this to remove a previously created access rule of a
profile ID. For information on number of rules that can be created for a given port, lease see
the introduction to this chapter.
time_range - Specifies the time range settings.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the access profile with the profile ID of 1 to filter frames on port 7 that have IP addresses in the range
between 10.42.73.0 to 10.42.73.255:
DES-3526:admin# config access_profile profile_id 1 add access_id 1 ip
source_ip 10.42.73.1 port 7 deny
Command: config access_profile profile_id 1 add access_id 1 ip source_ip
10.42.73.1 port 7 deny
Success.
DES-3526:admin#
show access_profile
Purpose Used to display the currently configured access profiles on the
Switch.
Syntax
show access_profile {profile_id <value 1-255>
{access_id <value 1-65535>}}
Description
The show access_profile command is used to display the currently
configured access profiles.
Parameters
profile_id – Specify the profile id to display only the access rules
configuration for a single profile ID. The user may enter a profile ID
number between 1 – 255, yet, remember only 9 access profiles can
be created on the Switch
access_id - Specify the access ID to display the access rule
configuration for the access ID. For information on number of rules
that can be created for a given port, please see the introduction to this
chapter.
Restrictions None.