GE MULTILINK ML1200 User Manual

Page 112

Advertising
background image

6–6

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

ACCESS CONSIDERATIONS

CHAPTER 6: ACCESS CONSIDERATIONS

Example 6-2 shows how to enable learning on a port. After the learning is enabled, the
port security can be queried to find the status of MAC addresses learnt. If there were
machines connected to this port, the MAC address would be shown on port 3 as they are
shown on port 1.

Example 6-3 shows how to allow specific MAC address on specific ports. After the MAC
address is specified, the port or specific ports or a range of ports can be queried as shown.

Example 6-4 shows how to remove a MAC address from port security

To set logging on a port, use the following command sequence:

ML1200(port-security)##

signal port=3 logandtrap

Port security Signal type set to Log and

Trap on selected port(s)

The examples provided illustrate the necessary commands to setup port security. The
recommended steps to setup security are:

Z

Set the ML1200 software to allow port security commands (use the

port-security

command).

Z

Enable port security (use the

enable ps

command).

Z

Enable learning on the required ports (for example, use the

learn

port=3

enable command for port 3).

Z

Verify learning is enables and MAC addresses are being learnt on
required ports (use the

show port-security port=3

command).

Z

Save the port-security configuration (use the

save

command).

Example 6-3: Allowing specific MAC addresses on specific ports

ML1200(port-security)##

allow mac=00:c1:00:7f:ec:00 port=1,3,5

Specified MAC address(es) allowed on selected port(s)

ML1200(port-security)##

show port-security port=1,3,5

PORT

STATE

SIGNAL

ACTION

LEARN

COUNT

MAC ADDRESS

----

-----

------

------

-----

-----

-----------

1

ENABLE

LOG

NONE

ENABLE

6

00:e0:29:2a:f1:bd

00:01:03:e2:27:89

00:07:50:ef:31:40

00:e0:29:22:15:85

00:03:47:ca:ac:45

00:30:48:70:71:23

00:c1:00:7f:ec:00

3

ENABLE

NONE

NONE

ENABLE

0

00:c1:00:7f:ec:00

5

ENABLE

NONE

NONE

DISABLE

0

00:c1:00:7f:ec:00

Example 6-4: Removing MAC addresses from specific ports

ML1200(port-security)##

remove mac=00:c1:00:7f:ec:00 port=3

Specified MAC address(es) removedfrom selected

port(s)

ML1200(port-security)##

show port-security port=3

PORT

STATE

SIGNAL

ACTION

LEARN

COUNT

MAC ADDRESS

----

-----

------

------

-----

-----

-----------

3

ENABLE

NONE

NONE

ENABLE

0

Not Configured

ML1200(port-security)##

Advertising