![background image](http://html1.mh-extra.com/html/smc-networks/8708l2/8708l2_management-manual_1300245143.webp)
U
SER
A
UTHENTICATION
3-91
CLI
– This example enables SSH, sets the authentication parameters, and
displays the current configuration. It shows that the administrator has
made a connection via SHH, and then disables this connection.
Configuring Port Security
Port security is a feature that allows you to configure a switch port with
one or more device MAC addresses that are authorized to access the
network through that port.
When port security is enabled on a port, the switch stops learning new
MAC addresses on the specified port when it has reached a configured
maximum number. Only incoming traffic with source addresses already
stored in the dynamic or static address table will be accepted as authorized
to access the network through that port. If a device with an unauthorized
MAC address attempts to use the switch port, the intrusion will be
detected and the switch can automatically take action by disabling the port
and sending a trap message.
To use port security, specify a maximum number of addresses to allow on
the port and then let the switch dynamically learn the <source MAC
address, VLAN> pair for frames received on the port. Note that you can
also manually add secure addresses to the port using the Static Address
Table (page 3-153). When the port has reached the maximum number of
MAC addresses the selected port will stop learning. The MAC addresses
Console(config)#ip ssh server
4-50
Console(config)#ip ssh timeout 100
4-51
Console(config)#ip ssh authentication-retries 5
4-52
Console(config)#ip ssh server-key size 512
4-52
Console(config)#end
Console#show ip ssh
4-56
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#show ssh
4-56
Information of secure shell
Session Username Version Encrypt method Negotiation state
------- -------- ------- -------------- -----------------
0 admin 2.0 cipher-3des session-started
Console#disconnect 0
4-25
Console#
Summary of Contents for 8708L2
Page 2: ......
Page 24: ...TABLES xxiv ...
Page 28: ...FIGURES xxviii ...
Page 290: ...CONFIGURING THE SWITCH 3 238 ...
Page 584: ...COMMAND LINE INTERFACE 4 294 ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......