Configuring the ECN330-switch
142 1553-KDU 137 365 Uen D 2006-06-16
CLI – This example enables SSH, sets the authentication parameters, and
displays the current configuration. It shows that the administrator has made a
connection through SHH, and then disables this connection.
6.5.5 Configuring Port Security
Port security is a feature that allows an ECN330-switch port to be configured
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 ECN330-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 ECN330 port, the intrusion will be detected and the
ECN330-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 ECN330-switch dynamically learn the <source MAC
address, VLAN> pair for frames received on the port. Note that secure
addresses can also be manually added to the port using the Static Address
Table (page 227). When the port has reached the maximum number of MAC
addresses the selected port will stop learning. The MAC addresses already in
the address table will be retained and will not age out. Any other device that
attempts to use the port will be prevented from accessing the ECN330-switch.
Console(config)#ip ssh server
Console(config)#ip ssh timeout 100
Console(config)#ip ssh authentication-retries 5
Console(config)#ip ssh server-key size 512
Console(config)#end
Console#show ip ssh
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#show ssh
Information of secure shell
Session Username Version Encrypt method Negotiation state
------- -------- ------- -------------- -----------------
0 admin 2.0 cipher-3des session-started
Console#disconnect 0
Console#