Set the MAC address white list of terminals on the switch

2022-09-21 22:05:48 Published
  • 0 Followed
  • 0Collected ,1264Browsed

Network Topology

Multiple terminals are connected to the downstream port of the switch.

Problem Description

You want to set the MAC address white list of end users on the switch. Users are not limited to specific ports, that is, end users can use other ports to access the Internet.

Process Analysis

Some ports of the switch need to use MAC addresses to restrict terminal users from accessing the Internet.

Solution

The configuration method is as follows:

 Configuring interface-based packet filter

1.Create ACL

#

acl mac 4000

 rule 0 permit source-mac 0826-ae38-f137 ffff-ffff-ffff counting

 rule 50 deny

#

2. ACL configuration for packet filtering under the interface

#

interface GigabitEthernet1/0/1

 port access vlan 135

 stp edged-port

 packet-filter mac 4000 inbound  

#

Please rate this case:   
0 Comments

No Comments

Add Comments: