В общем логика работы следующая.
При выключенном pppoe circuit id insertion пакеты с ethertype 8863 фильтруются обычными acl.
При включенном pppoe circuit id insertion пакеты с ethertype 8863 фильтруются cpu acl.
Таким образом, чтобы разрешить весь pppoe трафик и запретить остальное при включенном pppoe circuit id insertion следует настроить следующее:
Код:
create access_profile ethernet ethernet_type profile_id 1
config access_profile profile_id 1 add access_id auto_assign ethernet ethernet_type 0x8864 port 1-24 permit
config access_profile profile_id 1 add access_id auto_assign ethernet port 1-24 deny
#
config pppoe circuit_id_insertion state enable
#
config pppoe circuit_id_insertion ports 1-24 circuit_id ip state enable
при выключенном pppoe circuit id insertion в обычный вышеописанный acl добавляем до запрещающего правила
Код:
config access_profile profile_id 1 add access_id auto_assign ethernet ethernet_type 0x8863 port 1-24 permit