تنظیم مدیریت ACL در سوئیچ‌های MES23xx/33xx/35xx/5324
14 مهٔ 2025 توسط
نوران ارتباطات نوین (نورانو)

دسترسی به سوئیچ می‌تواند با استفاده از  مدیریت ACL محدود شود.

در زیر مثالی از محدود کردن دسترسی بر اساس آدرس IP مبدا (IP 192.168.1.12) آورده شده است.

1) ایجاد مدیریت ACL که آدرس IP مبدا را مشخص می‌کند:

console# configure
console(config)# management access-list IP
console(config-macl)# permit ip-source 192.168.1.12
console(config-macl)# exit


2) اعمال مدیریت ACL ایجاد شده:

console(config)# management access-class IP


برای مشاهده اطلاعات مربوط به لیست‌های ایجاد شده و اعمال شده، باید از دستورات show استفاده کنید:

console# show management access-list
IP
----
permit ip-source 192.168.1.12
(Note: all other access implicitly denied) !
console-only
------------
deny
(Note: all other access implicitly denied) !
console#show management access-class
Management access-class is enabled, using access-list IP


امکان دسترسی از  اینترفیس‌های فیزیکی خاص، کانال‌های پورت، VLANها برای سرویس‌های خاص وجود دارد:

console(config-macl)#permit
.ip-source To restrict conditions for source ip address use permit ip-source command
.service Define service type condition
.ace-priority The priority of the rule GigabitEthernet Giga ethernet interface to configure
TengigabitEthernet 10 Giga ethernet interface to configure
Port-Channel Ethernet Channel of interfaces
vlan IEEE 802.1Q Vlans
<"CR">

console(config-macl)#permit GigabitEthernet 1/0/1
.service Define service type condition
.ace-priority The priority of the rule
<"CR">

console(config-macl)#permit GigabitEthernet 1/0/1 service
telnet Telnet service type
.snmp SNMP service type
.http HTTP service type
.https HTTPS service type
.ssh SSH service type


گزینه‌های مشابه برای رد دسترسی:

console(config-macl)#deny
.ip-source To restrict conditions for source ip address use deny ip-source command
.service Define service type condition
.ace-priority The priority of the rule
GigabitEthernet Giga ethernet interface to configure
TengigabitEthernet 10 Giga ethernet interface to configure
Port-Channel Ethernet Channel of interfaces
vlan IEEE 802.1Q Vlans