Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 238
Set VLAN access map filter, 1.16 Show VLAN access map, 1.17 Show VLAN access map filter
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 238 highlights
238 | Command Reference | Traffic control SWR2310(config)#access-list 2 deny any 192.168.0.1/32 any SWR2310(config)#vlan access-map VAM001 SWR2310(config-vlan-access-map)#match access-list 2 9.1.15 Set VLAN access map filter [Syntax] vlan filter access-map-name vlan-id no vlan filter access-map-name vlan-id [Parameter] access-map-name : Single-byte alphanumeric characters and single-byte symbols(256 characters or less) Access map name specified by the vlan access-map command vlan-id : VLAN ID set to the "enable" status by the vlan command [Initial value] none [Input mode] global configuration mode [Description] Sets the VLAN access map filter for the specified VLAN. If this command is executed with the "no" syntax, the VLAN access map filter for the specified VLAN is deleted. [Note] It is not possible to specify this command for a VLAN ID that is set to the "disable" state. [Example] Create a VLAN access map named "VAM001", specify an access list that denies packets from 192.168.0.1, and then specify VAM001 for VLAN #1000. SWR2310(config)#vlan database SWR2310(config-vlan)#vlan 1000 SWR2310(config-vlan)#exit SWR2310(config)#access-list 2 deny any 192.168.0.1/32 any SWR2310(config)#vlan access-map VAM001 SWR2310(config-vlan-access-map)#match access-list 2 SWR2310(config-vlan-access-map)#exit SWR2310(config)#vlan filter VAM001 1000 9.1.16 Show VLAN access map [Syntax] show vlan access-map [Input mode] unprivileged EXEC mode, privileged EXEC mode [Description] Shows the registered VLAN access map. The following items are shown. • Name of the VLAN access map • Access list applied to VLAN access map [Example] Show VLAN access map information. SWR2310>show vlan access-map Vlan access-map VAM001 match ipv4 access-list 2 9.1.17 Show VLAN access map filter [Syntax] show vlan filter