Allied Telesis AT-S100 User Manual
Page 48
![background image](/manuals/427399/48/background.png)
Chapter 2: Configuring the AT-S100 Software
48
To set the maximum number of MAC addresses to 140 on port 8, enter the
following commands:
switch# configure terminal
switch(config)# interface ge8
switch(config-if)#switchport port-security maximum 140
For more information about this command, see “” on page 189.
Assigning Secure MAC Addresses
Assigning the predefined MAC addresses that can be learn on a port,
allows you to limit the devices that can access the port.
The syntax of this command is:
switchport port-security mac address xxxx.xxxx.xxxx
vlan <2-4094>
To add a secure predefined mac address of 00A0.0490.10E0 to port 21
which is assigned to VLAN 3, enter the following commands:
switch# configure terminal
switch(config)# interface ge21
switch(config-if)#switchport port-security mac address
00A0.0490.10E0 vlan 3
For more information about this command, see “” on page 189.
Setting the Port Security Mode
The Port Security Mode determines how a port responds to an undefined
MAC address. The syntax of this command is:
switchport port-security mode limited|locked|secured
To set the port security mode to limited on port 17, enter the following
commands:
switch# configure terminal
switch(config)# interface ge17
switch(config-if)#switchport port-security mode
limited
For more information about this command, see “SWITCHPORT PORT-
SECURITY MODE” on page 223.