Siemens S223 User Manual

Page of 381
User Manual                                                                               UMN:CLI 
SURPASS hiD 6615 S223/S323 R1.5 
A50010-Y3-C150-2-7619                                                                         157 
Command Mode 
Description 
max-hosts
 PORTS <1-16> 
Limits the number of connection to a port by setting 
maximum host: 
PORTS: enter the port number. 
1-16: enter the maximum MAC number. 
no max-hosts
 PORTS 
Bridge 
Deletes configured max-host, enter the port number. 
 
The following is an example of configuring to allow two MAC addresses to port 3, and five 
addresses to port 1, 2, and to ten addresses to port 7. 
SWITCH(bridge)# max-hosts 3 2 
SWTICH(bridge)# max-hosts 1 5 
SWTICH(bridge)# max-hosts 2 5 
SWTICH(bridge)# max-hosts 7 10 
SWTICH(bridge)# 
 
To display configured max host, use the following command. 
Command Mode 
Description 
show max-hosts 
Enable 
Global 
Bridge 
Shows configured max host. 
 
The following is an example of displaying configured max hosts. 
 
SWITCH(bridge)# show max-hosts                               
port  1  :      0/5         (current/max)                                         
port  2  :      0/5         (current/max) 
port  3  :      0/2         (current/max) 
port  4  :      0/Unlimited  (current/max) 
port  5  :      0/Unlimited  (current/max) 
port  6  :      0/Unlimited  (current/max) 
port  7  :      0/10        (current/max) 
port  8  :      0/Unlimited  (current/max) 
port  9  :      0/Unlimited  (current/max) 
port  10  :      0/Unlimited  (current/max) 
 
7.9.1 Max 
New 
Hosts 
Max-new-hosts feature is to limit the number of users by configuring the number of MAC 
address that can be learned on the system and on the port for a second. The number of 
MAC address that can be learned on the system has the priority.