Answer

Feb 26, 2025 - 08:30 PM
To create and apply a MAC access-list on the FS S3150-8T2FP PoE+ Series Switches, follow these steps:
1. Enter the privilege mode by logging in to the switch.
2. Enter the global configuration mode by using the "config" command.
3. Create a MAC access-list by using the "mac access-list name" command, where "name" is the name of the MAC access-list you want to create.
4. Configure the items of the MAC access-list by entering the MAC access-list configuration mode. Use the following command to set the MAC access-list entry: "[no] {permit | deny} {any | host src-mac-addr | src-mac-addr src-mac-mask } {any | host dst-mac-addr | dst-mac-addr dst-mac-mask}[ arp [{any | src-ip-addr} {any | dst-ip-addr }] | ethertype]". You can repeat this command to add/delete multiple MAC access-list entries.
5. Exit the MAC access-list configuration mode and return to the global configuration mode by using the "exit" command.
6. Save the configuration by using the "write" command.
To apply the created MAC access-list to a port, follow these steps:
1. Enter the privilege mode by logging in to the switch.
2. Enter the global configuration mode by using the "config" command.
3. Enter the interface configuration mode for the port you want to apply the MAC access-list to. For example, use the "interface g0/1" command to enter the configuration mode for port GigabitEthernet 0/1.
4. Apply the created MAC access-list to the port by using the "[no] mac access-group name [vlan {word | add word | remove word}]" command, where "name" is the name of the MAC access-list you want to apply. You can also specify a VLAN if needed.
5. Exit the interface configuration mode and return to the global configuration mode by using the "exit" command.
6. Save the configuration by using the "write" command.
Please refer to the FS S3150-8T2FP PoE+ Series Switches User Guide for more detailed instructions and examples on MAC access-list configuration.
Add New Comment