Huawei Quidway S9300 Configuration Manual page 36

Terabit routing switch
Table of Contents

Advertisement

1 Ethernet Interface Configuration
[Quidway-GigabitEthernet1/0/1] port-security protect-action protect
# Set the maximum number of MAC addresses that the port can learn.
[Quidway-GigabitEthernet1/0/1] port-security maximum 4
# Enable the sticky MAC function on the port.
[Quidway-GigabitEthernet1/0/1] port-security mac-address sticky
To enable port security protection on other ports, repeat the preceding steps.
Step 2 Verify the configuration.
If PC1 is replaced by another PC, this PC cannot access the intranet of the company.
----End
Configuration Files
Configuration file of the S9300
#
sysname Quidway
#
interface GigabitEthernet1/0/1
port-security enable
port-security protect-action protect
port-security mac-address sticky
port-security maximum 4
#
return
1-16
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents