User Manual
11.1.7 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 : <1-4094>
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 allows packets from 192.168.0.1, and then specify
VAM001 for VLAN #1000.
SWP1(config)#vlan database
SWP1(config-vlan)#vlan 1000
SWP1(config-vlan)#exit
SWP1(config)#access-list 2 permit 192.168.0.1 0.0.0.255
SWP1(config)#vlan access-map VAM001
SWP1(config-vlan-access-map)#match ip access-list 2
SWP1(config-vlan-access-map)#exit
SWP1(config)#vlan filter VAM001 1000
11.1.8 Set access port (untagged port)
[Syntax]
switchport mode access
[Initial value]
Depends on VLAN preset. Refer to 3.2 Default setting values on page 20.
[Input mode]
interface mode
[Description]
Specifies the port type of the applicable interface as an access port.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
If this command is applied to a logical interface, the settings of every LAN/SFP port associated with that interface are changed.
If the port type is changed from a trunk port to an access port, the setting of the switchport trunk allowed vlan
command and
the switchport trunk native vlan command return to their default settings.
To specify the VLAN that is associated as an access port, use the switchport access vlan command.
[Example]
Set LAN port #1 as an access port.
SWP1(config)#interface ge1
SWP1(config-if)#switchport mode access
124 | Command Reference | L2 switching function