Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Cisco switch

Shulou Source: shulou.com Published: 2022-06-01 09:51:42 11月12日 Update

Cisco switch command

one。 Characteristics of the switch:

1. Integrator insecure collision domain broadband sharing

two。 The switch forwards the learned mac address based on the destination mac address

3. Port exclusive broadband no collision broadcast FF.

two。 Switch port security-controls the number of computers:

Config t

Switch (config) interface fastEthernet 0amp 4

Switch (config) switchport mode access entry port

Switch (config) switchport port-security turns off the interface in violation of security

Switch (config) switchport port-security violation shut down

Switch (config) switchport port-security maximum 2 connects up to 2 computers

Switch (config) show mac-address-table View switch MAC address

three。 Switch port security-bind MAC address:

Config t

Switch (config) interface range fastEthernet 0ram 1-24 interface range

Switch (config) switchport port-security mac-address sricky

Bind an existing MAC address

Switch (config) switchport mode access

Switch (config) switchport port-security

Switch (config) switchport port-swcurity shut down

Become static

four。 Spanning Tree Protocol:

1. There is a loop to connect the LAN switch for high availability.

two。 In order to block the broadcast in the network, there is a spanning tree protocol.

Spanning tree:

1. Select the root switch

two。 Select Root Port

3. Select a designated port for each network segment.

five。 Change to the priority of the root switch:

Config t

Switch#show spanning-tree View switch Port

Switch (config) spanning-tree vlan 1 priority 4096

The smaller the priority value that changes to the root switch, the higher the priority.

Switch (config) no spanning-tree vlan 1

Turn off spanning Tree Protocol

Tags: Switches ports addresses security generation priority selection interfaces computers broadband collisions broadcasts Cisco commands local area networks quantities features loops targets Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Microsoft Xiaomi Shulou Technology Apple