iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📝
Configuring VLAN Packet Filtering on Allied Telesis L3 Switches
Purpose
I purchased an Allied Telesis x510-28GTX L3 switch and have been using it at home. Since I needed to configure VLANs and packet filters, I am summarizing the procedure here.
Prerequisites
- VLANs are configured.
- IP addresses are set on the VLAN interfaces.
- The device is configured to operate as an L3 switch.
Procedure
- Create a Hardware access list (list)
- Create a Hardware access list (seq entry)
- Create a VLAN access map
- Apply the access map to the VLAN
- Verify the operation
1. Creating an access-list hardware (list)
A hardware access list can only have a single entry. Therefore, there is no implicit deny.
Consequently, you create an access-list hardware (list) and add multiple entries within it.
The official manual describes this as a configuration using sequence numbers.
Relevant page in the official manual
awplus(config)# access-list hardware listname
2. Creating an access-list hardware (seq entry)
# Drop IP packets from hosts in 192.168.100.0/24 to 192.16.0.0/24
awplus(config-ip-hw-acl)# deny ip 192.168.100.0/24 192.16.0.0/24
For detailed commands, please refer to the official reference.
3. Creating a VLAN access map
Use a VLAN access map to specify the hardware access list to be used for filtering.
# Create an access map named deny-rule and apply the access list listname
awplus(config)# vlan access-map deny-rule
awplus(config-vlan-access-map)# match access-group listname
4. Applying the access map to the VLAN
# Apply the VLAN access map deny-rule to vlan48
awplus(config)# vlan filter deny-rule vlan-list 48 input
5. Verification
# Display information about the VLAN access maps
awplus# show vlan access-map
# Display information about the VLAN access map deny-rule applied to the VLAN interface
awplus# show vlan filter deny-rule
As needed, use the ping command to verify that the packet filter is operating correctly.
References
Discussion