Solution of QT creator's automatic replenishment slowing down.If the shutdown, When you need to recover later, You need to log in to the switch manually undo shutdown To restore the port. Restrict Lose charge data and give a prompt ,// This action is usually configured. There are three kinds of protective actions : When the port is configured for security, If there is access from an untrusted device, Port response !
HUAWEI MAC ADDRESS TABLE MAC
And you can't see the bound mac Address, Only use dis mac-addresss see. The following chart shows a comparison between error and success.
HUAWEI MAC ADDRESS TABLE PC
Port-security mac-address sticky 5489-9857-6c71 // hold MAC Address paste ( binding ) To gi0/0/2 On portīe careful : This may not be the same as we thought, Through the configuration command port-security mac-address sticky XXXX hold MAC Address bound to gi0/0/2 Port time, it is to be noted that MAC The format of :54-89-98-57-6C-71 This is PC In the plane MAC Address format, But it can't be used in configuration commands. Port-security mac-address sticky // Enable sticky,sticky It means to paste īind the port to specify MAC Address, After this configuration, Except for the bound MAC After the address allows communication, The others are not allowed to communicate. Port-security max-mac-num 2 // Maximum allowed 2 platform PC signal communicationĪt this time PC1 and PC2 It can work with the server at the same time server1 The communication. Ģ.2 Allow multiple PC signal communication. Find out pc2 Able to communicate, and pc1 But we can't communicate. We first make pc2 Go to ping The server server1, And then let pc1 Go to ping The server server1. Port-security enable // Open port security It's a lot PC In flight, The first one to communicate PC The machine MAC The address will be recorded on the switch MAC Address table, So the other PC The plane can't communicate. More than one PC Which one is allowed in China ? Whoever first communicates will be allowed to communicate first, At this time, the others PC The machine can communicate. If you pass HUB Way to connect gi0/0/2 On port, So in multiple stations PC In flight, Only one is allowed PC Machine communication. Switch port gi0/0/2 After opening port security, that gi0/0/2 Only one port is allowed MAC Address communication. Ģ、 Port security configuration ( Switch )Ģ.1 Only one is allowed PC signal communication. This is because HUB It's like transparent, A straight line ,HUB Will forward data to all ports. There's a point to pay attention to, The port of the switch, If you take HUB, As shown in the figure above ,HUB We've got a lot of stations PC machine, At this time, on the switch MAC The table will store HUB All the connected PC The machine MAC Address and corresponding port gi0/0/2. What is recorded in the switch mac A watch has a time limit, When it comes to a certain time ( Not for a long time, In seconds ), If there's no communication, Will disappear. īy dynamic when, Represents the acquired MAC The address is dynamic, When you connect to a new device and then communicate, It's going to be a new device MAC Address. among Type There are two kinds of :īy sticky when : It means this MAC The address is fixed, It's manually configured, If it doesn't change ,MAC The address will always be bound to the port, You can't communicate with a new device again, because MAC Different from configuration. MAC Address and corresponding port, also VLAN, Will be listed. Ping After the server server1 after, Check it on the switch again MAC surface. In the diagram above ,PC1 machine ping The server server when ,PC1 Sent ping Data frame, First of all, by going through HUB(hub In fact, it's a fool's machine, Will forward the data frame to all ports ), And then by the switch's gi0/0/2 Port into switch, At this time, the switch will put the source in the data frame MAC Address and gi0/0/2 Port write MAC In the table. Huawei switch port security configuration learning notesġ、 Check the records in the switch MAC surfaceĮvery MAC And the port is corresponding to, It's a mapping relationship.