Netgear M4300-28G CLI Manual Software Version 12.x - Page 688
set interface, no match mac-list, set interface null0
View all Netgear M4300-28G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 688 highlights
M4300 Intelligent Edge Series Fully Managed Stackable Switches Current number of all ACLs: 9 Maximum number of all ACLs: 100 MAC ACL Name madan mohan goud Rules ----1 1 1 Direction --------- Interface(s VLAN(s) ---------- (NETGEAR Switch) # (NETGEAR Switch) #configure (NETGEAR Switch) (Config)#route-map madan (NETGEAR Switch) (route-map)#match mac-list madan mohan goud (NETGEAR Switch) (route-map)#exit (NETGEAR Switch) (Config)#exit (NETGEAR Switch) #show route-map route-map madan permit 10 Match clauses: mac-list (access-lists) : madan mohan goud Set clauses: (NETGEAR Switch) (Config)#mac access-list extended madan (NETGEAR Switch) (Config-mac-access-list)#permit 00:00:00:00:00:01 ff:ff:ff:ff:ff:ff any Request denied. Another application using this ACL restricts the number of rules allowed. no match mac-list To delete a match statement from a route map, use the no match mac-list command. Format Mode no match mac-list [...mac-list-name] Route Map Configuration set interface If you do not want to revert to normal forwarding but instead want to drop a packet that does not match the specified criteria, a set statement must be configured to route the packets to interface null 0 as the last entry in the route-map. A set interface null0 command must be configured in a separate statement. It must not be added along with any other statement that has other match or set terms. A route-map statement that is used for policy-based routing (PBR) is configured as permit or deny. If the statement is marked as deny, traditional destination-based routing is performed on the packet meeting the match criteria. If the statement is marked as permit, and if the packet meets all the match criteria, then set commands in the route-map statement are applied. If no match is found in the route-map, the packet is not dropped, instead the packet is forwarded using the routing decision taken by performing destination-based routing. Routing Commands 688 CLI Command Reference Manual