User Guide
215
5.3.30 IP Filter Configuration
Add IP+MAC+Port+VLAN binding entry
TENDA(config)# ipmacbind 192.168.0.1 0000.0000.0001
Note:
Add IP+MAC+Port+VLAN binding entry: bind the IP address of 192.168.0.1 and MAC address
of 0000.0000.0001 to all ports and all VLANs
TENDA(config)# ipmacbind 192.168.0.5 0000.0000.0002 4094
Note:
Add IP+MAC+Port+VLAN binding entry: bind the IP address of 192.168.0.5 and MAC address
of 0000.0000.0002 to all ports in VLAN4094
TENDA(config)#ipmacbind 192.168.0.5 0000.0000.0006 interface gigabitethernet 0/1
Note:
Add IP+MAC+Port+VLAN binding entry: bind the IP address of 192.168.0.5 and MAC address
of 0000.0000.0006 to port 1
TENDA(config)# ipmacbind 192.168.0.5 0000.0000.0002 4094 interface gigabitethernet 0/5
Note:
Add IP+MAC+Port+VLAN binding entry: bind the IP address of 192.168.0.5 and MAC address
of 0000.0000.0002 to port 5 in VLAN4094
Port binding and unbinding
TENDA(config)# interface range gigabitethernet 0/1-4
TENDA(config-if)# ipmacbind 192.168.0.5
Note:
Bind the IP+MAC+Port+VLAN binding entry containing the IP address of 192.168.0.5 to ports
1-4
TENDA(config-if)# no ipmacbind 192.168.0.5
Note:
Unbind the IP-MAC-Port-VLAN binding entry containing the IP address of 192.168.0.5 to ports
1-4
Delete binding entry
TENDA(config)# no ipmacbind 192.168.0.1
Note:
Delete the IP-MAC-Port-VLAN binding entry containing the IP address of 192.168.0.1
Port Filter Setup
TENDA(config-if)# filter arp
Note:
Enable ARP filter on port
TENDA(config-if)# no filter arp
Note:
Disable ARP filter on port
TENDA(config-if)# filter ip
Note:
Enable IP filter on port
TENDA(config-if)# no filter ip
Note:
Disable IP filter on port
TENDA(config-if)# filter gateway
Note:
Enable gateway filter on port