Jump to content

Recommended Posts

Posted

Как Создать acl, который запретит прохождение не PPPoE пакетов на SNR 2940?

ниже приведен пример для D-Link. Подскажите как это реализовать для SNR

 

 

 

Создать acl, который запретит прохождение не PPPoE пакетов в USER vlan'е (блокируем DHCP, IP, ARP и все остальные ненужные протоколы, которые позволят пользователям общаться напрямую между собой, игнорируя PPPoE сервер).

 

create access_profile ethernet vlan 0xFFF ethernet_type profile_id 1

 

config access_profile profile_id 1 add access_id 1 ethernet vlan USER ethernet_type 0x8863 port 1-10 permit

 

config access_profile profile_id 1 add access_id 2 ethernet vlan USER ethernet_type 0x8864 port 1-10 permit

 

config access_profile profile_id 1 add access_id 3 ethernet vlan USER port 1-10 deny

 

 

 

Создать ACL, который запретит PPPoE PADO пакеты с клиентских портов (блокируем поддельные PPPoE сервера).

 

create access_profile packet_content_mask offset1 l2 0 0xFFFF offset2 l3 0 0xFF profile_id 2

 

config access_profile profile_id 2 add access_id 1 packet_content offset1 0x8863 offset2 0x0007 port 1-8 deny

Posted

sveter2002 Настроил...........но пропускает любые пакеты. Что не так?

Switch(config)#

mac-access-list extended pp1 (used 0 time(s)) 3 rule(s)

permit any-source-mac any-destination-mac ethertype 8863 65535

permit any-source-mac any-destination-mac ethertype 8864

deny any-source-mac any-destination-mac

xit

#interface eth1/1

mac access-group pp1

#end

  • 2 years later...
Posted

sveter2002 Настроил...........но пропускает любые пакеты. Что не так?

Switch(config)#

mac-access-list extended pp1 (used 0 time(s)) 3 rule(s)

permit any-source-mac any-destination-mac ethertype 8863 65535

permit any-source-mac any-destination-mac ethertype 8864

deny any-source-mac any-destination-mac

xit

#interface eth1/1

mac access-group pp1

#end

ethertype = 34915 (0x8863)

ethertype = 34916 (0x8864)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.