D-Link DGS-3130 Emulator - Page 45
expert access-group
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline One sub-map has only one action. The action configured later overwrites the previous action. A VLAN access map can contain multiple sub-maps. The packet that matches a sub-map (a packet permitted by the associated accesslist) will take the action specified for the sub-map. No further checking against the next sub-maps is done. If the packet does not match a sub-map, then the next sub-map will be checked. Example This example shows how to configure the action in the sub-map. Switch# show vlan access-map VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856) action: forward Switch# configure terminal Switch(config)# vlan access-map vlan-map 20 Switch(config-access-map)# action redirect ethernet 1/0/5 Switch(config-access-map)# end Switch# show vlan access-map VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856) action: redirect eth1/0/5 Switch# 4-3 expert access-group This command is used to apply a specific expert ACL to an interface. Use the no form of this command to cancel the application. expert access-group {NAME | NUMBER} [in | out] no expert access-group [NAME | NUMBER] [in | out] Parameters NAME NUMBER in out Specifies the name of the expert access-list to be configured. The name can be up to 32 characters. Specifies the number of the expert access list to be configured. (Optional) Specifies to filter the incoming packets of the interface. If the direction is not specified, in is used. (Optional) Specifies to filter the outgoing packets to transmit to the interface. Default None. Command Mode Interface Configuration Mode. 41