Siemens S223 Set the maximum number of secure MAC address for the port, A50010-Y3-C150-2-7619 159

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 159
Image 159

User Manual

UMN:CLI

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

 

 

Step 2

Set the maximum number of secure MAC address for the port.

Command

Mode

Description

 

 

 

port security PORTS maximum

 

Sets a maximum number of secure MAC address for

Bridge

the port.

<1-16384>

 

1-16384: Maximum number of addresses (default: 1)

 

 

 

 

 

Step 3

Set the violation mode and the action to be taken.

Command

 

Mode

Description

 

 

 

 

port security PORTS

violation

Bridge

Selects a violation mode.

{shutdown protect restrict}

 

 

 

 

 

 

When configuring port security, note that the following information about port security vio- lation modes:

protect drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value.

restrict drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value and causes the Security Violation counter to increment.

shutdown puts the interface into the error-disabled state immediately and sends an SNMP trap notification

Step 4

Enter a secure MAC address for the port.

Command

Mode

Description

 

 

 

 

 

Sets a secure MAC address for the port.

port security PORTS mac-

Bridge

PORTS: select the port number.

address MACADDR vlan NAME

MACADDR: enter the MAC address.

 

 

 

NAME: vlan name

 

 

 

To disable the configuration of port secure, use the following command.

Command

Mode

Description

 

 

 

no port security PORTS

 

Disables port security on the port.

 

 

 

no port security PORTS mac-

 

Deletes a secure MAC address for the port.

 

PORTS: enter the port number

address MACADDR vlan NAME

 

 

MACADDR: enter the MAC address.

 

Bridge

 

 

no port security PORTS maxi-

Returns to the default number of secure MAC address.

 

mum

 

(default: 1)

 

 

 

no port security PORTS viola-

 

Returns to the violation mode to the default. (shutdown

tion

 

mode)

 

 

 

A50010-Y3-C150-2-7619

159

Page 159
Image 159
Siemens S223 Set the maximum number of secure MAC address for the port, Set the violation mode and the action to be taken