beautypg.com

Switchport mode access – Allied Telesis AT-DC2552XS User Manual

Page 319

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

319

SWITCHPORT MODE ACCESS

Syntax

switchport mode access [ingress-filter enable|disable]

Parameters

enable

Activates ingress filtering for tagged frames so that the ports
accept only tagged frames that match the port-based VLAN ID and
discards tagged frames that do not match. By default, ingress
filtering is enabled.

disable

Disables ingress filtering so that the ports accept all tagged frames.

Mode

Port Interface mode

Description

Use this command to change the ports to the access mode to configure as
untagged ports. By default, all ports on the switch are in the access mode
and belong to the default VLAN 1. Use the SWITCHPORT ACESS VLAN
command to change the VLAN that the ports belong to. See
“SWITCHPORT ACCESS VLAN” on page 318.

When the switch ports are labeled as tagged ports, this command changes
the ports to untagged ports and assigns the ports to the default value of
VLAN 1.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116

Example

This example changes the mode of ports 1.0.17 through 1.0.24 to the
access mode:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.17-port1.0.24
awplus(config-if)# switchport mode access