faq обучение настройка
Текущее время: Пт авг 22, 2025 13:01

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 17 ]  На страницу 1, 2  След.
Автор Сообщение
 Заголовок сообщения: Configuring Access List ACL80 на DGS-3610-26G
СообщениеДобавлено: Пт янв 23, 2009 17:20 
Не в сети

Зарегистрирован: Сб дек 09, 2006 11:21
Сообщений: 237
В мане на фтп ниче толком нет, в реале на свиче вижу такое
Код:
expert access-list advanced my
 10 deny 0806 FFFF 16 00 FF 32

expert access-list advanced qwerty
 10 permit AAAAAAAAAAAAAAAAAAAAAAAA FFFFFFFFFFFFFFFFFFFFFFFF 0 BBBBBBBB FFFFFFFF 20 CCCCCCCC FFFFFFFF 30
в мане
Код:
The ACL80 enables
a user to match and filter the specified 16 bytes by bits in the first 80 bytes.
Можно найти нормальное описание, желательно на русском?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:00 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
По-моему очень неплохое описание на стр.616 Configuration Guide 10.2 на ftp. На русском к сожалению пока мануалов нет к этой серии.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:10 
Не в сети

Зарегистрирован: Сб дек 09, 2006 11:21
Сообщений: 237
Пример описания
Цитата:
DGS-3610(config-exp-nacl)# [sn]{ permit |
deny }[prot | {[ethernet-type] [cos cos]}] [VID
vid] {src src-wildcard | host src | interface
idx}{host src-mac-addr | any} {dst
dst-wildcard | host dst | any}{host
dst-mac-addr | any}][precedence
precedence] [tos tos] [ dscp dscp]
[[time-range tm-rng-name]
Add table entries for ACL. For details about
commands, please see command reference.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:12 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Вы Configuration Guide смотрите?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:25 
Не в сети

Зарегистрирован: Сб дек 09, 2006 11:21
Сообщений: 237
да я нашел 616 страницу
Цитата:
44.6 Configuring Access List ACL80
The ACL80 is also called the user-defined access list, which means matching the first 80
bytes of a packet for filtering. A packet consists of a series of byte flows. The ACL80 enables
a user to match and filter the specified 16 bytes by bits in the first 80 bytes.

Note
The specified 16 bytes do not include the following fields:
Packet SMAC, DMAC,SIP, DIP,ETYPE,PROTOCOL,L4_SPORT, L4_DPORT,VID.
Besides matching the above fields, you can match 16 bytes
For any 16-byte field, it is possible to compare the configured value by bits. In other words, it
allows setting any bit of those 16 bytes to 0 or 1. There are two factors in filtering any byte:
filtering rule and filter domain template. The bits of the both correspond to each uniquley.
The filtering rule specifies the value of the field to be filtered. The filter domain template
specifies whether to filter the related fields in the filtering rule (1 indicates matching the bit in
the corresponding filtering rule, 0 for not). Therefore, when it is time to match a bit, it is
required to set 1 for the corresponding bit in the filter domain template. If the filter domain
template bit is set to 0, no match will be done no matter what the corresponding bit is in the
filtering rule.
For example,
DGS-3610(config)# expert access-list advanced name
DGS-3610(config-exp-dacl)# permit 00d0f8123456 ffffffffffff 0
DGS-3610(config-exp-dacl)# deny 00d0f8654321 ffffffffffff 6
The user-defined access control list matches any byte of the first 80 bytes in the layer-2 data
frames according to the user definitions, and then performs corresponding processing for
the packets. To use the user-defined access control list correctly, it is necessary to have
in-depth knowledge about the structure of layer-2 data frame. The following illustrates the
first 64 bytes in a layer-2 data frame (each letter indicates a hexadecimal number, and each
two letters indicate a byte).
AA AA AA AA AA AA BB BB BB BB BB BB CC CC DD DD
DD DD EE FF GG HH HH HH II II JJ KK LL LL MM MM
NN NN OO PP QQ QQ RR RR RR RR SS SS SS SS TT TT
UU UU VV VV VV VV WW WW WW WW XY ZZ aa aa bb bb
In the figure above, the meaning of each letter and the value of offset are shown below:
Letter Meaning Offset Letter Meaning Offset
A Destination MAC 0 O TTL field 34
B Source MAC 6 P Protocol ID 35
C Data frame length field 12 Q IP checksum 36
Letter Meaning Offset Letter Meaning Offset
D VLAN tag field 14 R Source IP address 38
E
DSAP (destination
service access point)
field
18 S Destination IP address 42
F
SSAP (source service
access point) field
19 T TCP source port 46
G Ctrl field 20 U TCP destination port 48
H Org Code field 21 V Sequential number 50
I Encapsulated data type 24 W Confirmation field 54
J IP version No. 26 XY
IP header length and
reservation bits
58
K TOS field 27 Z
Reservation bit and flags
bit
59
L IP packet length 28 a Windows size field 60
M ID 30 b Others 62
N Flags field 32
In the table above, the offset of each field is the same as that in the SNAP+tag 802.3 data
frame. In the user-defined access control list, the user can use two parameters, the rule
mask and offset, to abstract any byte from the first 64 bytes of the data frame, and then
compare it with the user defined rule to filter the matched data frame for corresponding
processing. The user defined rule can be some fixed attributes of the data. For example, the
user wants to filter all the TCP packets by defining the rule as 06, rule mask as FF and offset
as 35. Here, the rule mask and offset work together to abstract the contents of the TCP
protocol ID field in the received data frame, and compare it with the rule to filter all TCP
packets.

Note
DGS-3610-26P does not support ACL80. ACL80 does not support the
function of matching packets of Ethernet, 803.3snap and 802.3llc. If the
value of matching DSAP to the cntl field is set to AAAA03, it indicates the
803.3snap packet is to be matched. If the value is set to E0E003, it
indicates that the 803.3llc packet is to be matched. The field cannot be
matched for Ethernet packets.
Precautions for configuration:
Only 16 bytes can be matched at will for ACL80. If the resource is occupied, you cannot
match any other byte. For example,
DGS-3610(config)# expert access-list advanced name
DGS-3610(config-exp-dacl)#permit 11223344556677889900aabbccd
deeff ffffffffffffffffffffffffffffffff 50
Add another ACE:
DGS-3610(config-exp-dacl)#permit 11223344556677889900aabbccd
deeff ffffffffffffffffffffffffffffffff 54
Configuration of the second ACE fails because the 16 bytes are occupied by the first ACE.
To configure for the second ACE, you must delete the first one.

а в свиче спокойно сделал то что в 1 посте


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:27 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Немного не понял, а в чём же тогда проблема?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 00:36 
Не в сети

Зарегистрирован: Сб дек 09, 2006 11:21
Сообщений: 237
перевод
Код:
ACL80 дает возможность пользователю соответствовать и фильтровать указанные 16 байтов битами в первых 80 байтах.

а здесь 20 байт
Код:
expert access-list advanced qwerty
 10 permit AAAAAAAAAAAAAAAAAAAAAAAA FFFFFFFFFFFFFFFFFFFFFFFF 0 BBBBBBBB FFFFFFFF 20 CCCCCCCC FFFFFFFF 30

Хочется описания кмманды а не из свича тянуть с помощью
aaa ?
aaa bbb ?
aaa bbb ccc ?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 01:09 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
К сожалению другого мануала нет. Мне запросить полное описание параметров именно этой команды?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 10:02 
Не в сети

Зарегистрирован: Сб дек 09, 2006 11:21
Сообщений: 237
Да, заранее спасибо.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс янв 25, 2009 22:29 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Я отправил запрос но быстрого ответа не ждите так как в Китае начались новогодние каникулы.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн янв 26, 2009 14:38 
А когда всё таки планируется мануал на русском для этой железки???


Вернуться наверх
  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн янв 26, 2009 17:56 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Пока точно неизвестно. А Вы говорите о Configuration Guide или CLI Reference Guide?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вт янв 27, 2009 11:02 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
По поводу ACL 80 вот дословный ответ что вполне логично:

Pls pay attetion to the Note in the 10.2 Configuration guide:

"The randomly specified 16 bytes does not contain the following fields:
Packet SMAC, DMAC,SIP, DIP,ETYPE,PROTOCOL,L4_SPORT, L4_DPORT,VID.
In other words, you can select to match the above fields or other 16 bytes."


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Чт янв 29, 2009 09:50 
Demin Ivan писал(а):
Пока точно неизвестно. А Вы говорите о Configuration Guide или CLI Reference Guide?


Я говорю обо всем, вообще очень нехорошо, продавать железку не имея к ней мануала на национальном языке. Но это не упрек а пожелание.


Вернуться наверх
  
 
 Заголовок сообщения:
СообщениеДобавлено: Чт янв 29, 2009 10:28 
Не в сети

Зарегистрирован: Вт авг 29, 2006 16:44
Сообщений: 2326
Откуда: Ярославль
gdagda писал(а):
Demin Ivan писал(а):
Пока точно неизвестно. А Вы говорите о Configuration Guide или CLI Reference Guide?


Я говорю обо всем, вообще очень нехорошо, продавать железку не имея к ней мануала на национальном языке. Но это не упрек а пожелание.

Ничего нехорошего в этом нет. много вы мануалов к cisco видели на русском языке? ) Так что ничего удивительного в этом нет.

_________________
LiveComm


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 17 ]  На страницу 1, 2  След.

Часовой пояс: UTC + 3 часа


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 14


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB