Я у себя схожую ситуацию обстряпал вот так:
DES-3200-XX rev.A/B
Код:
create access_profile ethernet source_mac FF-FF-FF-FF-FF-FF destination_mac FF-FF-FF-FF-FF-FF ethernet_type profile_id 20
### Block clients with server MAC Cisco asr1002
config access_profile profile_id 20 add access_id auto_assign ethernet source_mac 30-F7-0D-3E-85-00 port 1-16 deny
### Allow broadcast PPPoE-session PADI packets from clients (RSTP: UpLink ports 17-18)
config access_profile profile_id 20 add access_id auto_assign ethernet destination_mac FF-FF-FF-FF-FF-FF ethernet_type 0x8863 port 1-18 permit priority 3 replace_priority replace_dscp_with 24
### Allow PPPoE-session packets from clients to hub (RSTP: UpLink ports 17-18)
config access_profile profile_id 20 add access_id auto_assign ethernet destination_mac 30-F7-0D-3E-85-00 ethernet_type 0x8863 port 1-18 permit priority 3 replace_priority replace_dscp_with 24
config access_profile profile_id 20 add access_id auto_assign ethernet destination_mac 30-F7-0D-3E-85-00 ethernet_type 0x8864 port 1-18 permit priority 3 replace_priority replace_dscp_with 24
###############
## Deny all ###
###############
create access_profile ethernet source_mac 00-00-00-00-00-00 profile_id 99
config access_profile profile_id 99 add access_id auto_assign ethernet source_mac 00-00-00-00-00-00 port 1-16 deny
###############
## Block IPv6 ###
###############
create cpu access_profile profile_id 1 ethernet ethernet_type
config cpu access_profile profile_id 1 add access_id 1 ethernet ethernet_type 0x86DD port 1-18 deny
enable cpu_interface_filtering
DES-3200-XX rev.C
Код:
create access_profile profile_id 1 profile_name Allow_legal_PPPoE_servers ethernet source_mac FF-FF-FF-FF-FF-FF destination_mac FF-FF-FF-FF-FF-FF ethernet_type
### Block clients with server MAC
config access_profile profile_id 1 add access_id auto_assign ethernet source_mac 30-F7-0D-3E-85-00 port 1-48 deny
### Allow broadcast PPPoE-session PADI packets from clients (RSTP: UpLink ports 49-52)
config access_profile profile_id 1 add access_id auto_assign ethernet destination_mac FF-FF-FF-FF-FF-FF ethernet_type 0x8863 port 1-52 permit priority 3 replace_priority replace_dscp_with 24
### Allow PPPoE-session packets from clients to hub (RSTP: UpLink ports 49-52)
config access_profile profile_id 1 add access_id auto_assign ethernet destination_mac 30-F7-0D-3E-85-00 ethernet_type 0x8863 port 1-52 permit priority 3 replace_priority replace_dscp_with 24
config access_profile profile_id 1 add access_id auto_assign ethernet destination_mac 30-F7-0D-3E-85-00 ethernet_type 0x8864 port 1-52 permit priority 3 replace_priority replace_dscp_with 24
###############
## Deny all ###
###############
create access_profile profile_id 99 profile_name Deny_all ethernet source_mac 00-00-00-00-00-00
config access_profile profile_id 99 add access_id auto_assign ethernet source_mac 00-00-00-00-00-00 port 1-48 deny
###############
## Block IPv6 ###
###############
create cpu access_profile profile_id 1 ethernet ethernet_type
config cpu access_profile profile_id 1 add access_id 1 ethernet ethernet_type 0x86DD port 1-52 deny
enable cpu_interface_filtering