3550 学习
?Basics ip address ip-address subnet-mask ip default-gateway ip-address hostname string prompt string ?CDP Default CDP Configuration CDP global state Enabled CDP interface state Enabled CDP timer (packet update frequency) 60 seconds CDP ho
?Basics
ip address ip-address subnet-mask
ip default-gateway ip-address
hostname string
prompt string
?CDP
Default CDP Configuration
CDP global state Enabled
CDP interface state Enabled
CDP timer (packet update frequency) 60 seconds
CDP holdtime (before discarding) 180 seconds
CDP version-2 advertisements Enabled
cdp timer seconds (Optional)
Set the transmission frequency of CDP updates in seconds.
The range is from 5 to 254; the default is 60 seconds.
cdp holdtime seconds (Optional)
Specify the amount of time a receiving device should hold the information sent by
your device before discarding it.
The range is from 10 to 255 seconds; the default is 180 seconds.
cdp advertise-v2 (Optional)
Configure CDP to send version-2 advertisements. This is the default state.
?DNS
ip name-server server-address1
ip domain-name name
ip domain-lookup
?SNMP
snmp-server host host-addr {traps | informs} {version {1 | 2c}} community-string notification-type
recipient of the trap message.
snmp-server enable traps mac-notification
send MAC address traps to
snmp-server enable traps mac-notification
Enable the switch to send MAC address traps
mac-address-table notification
Enable the MAC address notification feature.
mac-address-table notification [interval value] | [history-size value]
Enter the trap interval time and the history table size.
snmp trap mac-notification {added | removed}
Enable the MAC address notification trap.
Switch(config)# snmp-server host 172.20.10.10 traps private
Switch(config)# snmp-server enable traps mac-notification
Switch(config)# mac-address-table notification
Switch(config)# mac-address-table notification interval 60
Switch(config)# mac-address-table notification history-size 100
Switch(config)# interface fastethernet0/4
Switch(config-if)# snmp trap mac-notification added
mac-address-table static mac-addr vlan vlan-id interface interface-id
Add a static address to the MAC address table.
show mac-address-table address
Displays MAC address table information for the specified MAC address.
show mac-address-table aging-time
Displays the aging time in all VLANs or the specified VLAN.
show mac-address-table count
Displays the number of addresses present in all VLANs or the specified VLAN.
show mac-address-table dynamic
Displays dynamic MAC address table entries only.
show mac-address-table interface
Displays the MAC address table information for the specified interface.
show mac-address-table multicast
Displays the Layer 2 multicast entries for all VLANs or the specified VLAN.
show mac-address-table static
Displays static MAC address table entries only.
show mac-address-table vlan
Displays the MAC address table information for the specified VLAN.
snmp-server community private RW
snmp-server community public RO
snmp-server community private@es0 RW
snmp-server community public@es0 RO
snmp-server chassis-id 0x12
?NTP
Configure the switch to synchronize only to devices providing authentication key 42
in the device? NTP packets:
Switch(config)# ntp authenticate
Switch(config)# ntp authentication-key 42 md5 aNiceKey
Switch(config)# ntp trusted-key 42
An NTP association can be a peer association (this switch can either synchronize to
the other device or allow the other device to synchronize to it), or it can be a
server association (meaning that only this switch synchronizes to the other device,
and not the other way around).
ntp peer ip-address [version number] [key keyid] [source interface] [prefer]
ntp server ip-address [version number] [key keyid] [source interface] [prefer]
ntp broadcast client
ntp broadcastdelay microseconds
ntp broadcast [version number] [key keyid] [destination-address]
ntp access-group {query-only | serve-only | serve | peer} access-list-number
NTP services are enabled on all interfaces by default.
ntp disable
ntp source type number
?SDM
By using Switch Database Management (SDM) templates, you can configure memory
resources in the switch to optimize support for specific features, depending on how
the switch is used in your network.
The four templates prioritize system memory to optimize support for these types of features:
?QoS and security ACEs?he access template might typically be used in an access switch at the network edge where the route table sizes might not be substantial. Filtering and QoS might be more important because an access
switch is the entry to the whole network.
?Routing?he routing template maximizes system resources for unicast routing,
typically required for a router or aggregator in the center of a network.
?VLANs?he VLAN template disables routing and supports the maximum number of
unicast MAC addresses. It would typically be selected for a Catalyst 3550
used as a Layer 2 switch.
?Default?he default template gives balance to all functionalities (QoS, ACLs,
unicast routing, multicast routing, VLANs and MAC addresses).
sdm prefer {access | routing | vlan}
1.1. Vlan's
?Normal VLAN's
To configure normal-range VLANs (VLAN IDs 1 to 1005), use the vlan vlan-id global
configuration command to enter config-vlan mode or the vlan database
privileged EXEC command to enter VLAN configuration mode.
Add ports to a VLAN by using the switchport interface configuration commands:
Normal-range VLANs are identified with a number between 1 and 1001.
vlan database
vlan vlan-id name vlan-name
Assign a port to a VLAN in the VLAN
interface interface-id
switchport mode access
switchport access vlan vlan-id
?Extended VLAN's
The VLAN configurations for VLAN IDs 1 to 1005 are saved in the VLAN database.
To configure extended-range VLANs (VLAN IDs 1006 to 4094), you must use config-vlan
mode with V

Alat AI Hot

Undresser.AI Undress
Apl berkuasa AI untuk mencipta foto bogel yang realistik

AI Clothes Remover
Alat AI dalam talian untuk mengeluarkan pakaian daripada foto.

Undress AI Tool
Gambar buka pakaian secara percuma

Clothoff.io
Penyingkiran pakaian AI

AI Hentai Generator
Menjana ai hentai secara percuma.

Artikel Panas

Alat panas

Notepad++7.3.1
Editor kod yang mudah digunakan dan percuma

SublimeText3 versi Cina
Versi Cina, sangat mudah digunakan

Hantar Studio 13.0.1
Persekitaran pembangunan bersepadu PHP yang berkuasa

Dreamweaver CS6
Alat pembangunan web visual

SublimeText3 versi Mac
Perisian penyuntingan kod peringkat Tuhan (SublimeText3)

Topik panas



Keupayaan carian teks penuh InnoDB sangat kuat, yang dapat meningkatkan kecekapan pertanyaan pangkalan data dan keupayaan untuk memproses sejumlah besar data teks. 1) InnoDB melaksanakan carian teks penuh melalui pengindeksan terbalik, menyokong pertanyaan carian asas dan maju. 2) Gunakan perlawanan dan terhadap kata kunci untuk mencari, menyokong mod boolean dan carian frasa. 3) Kaedah pengoptimuman termasuk menggunakan teknologi segmentasi perkataan, membina semula indeks dan menyesuaikan saiz cache untuk meningkatkan prestasi dan ketepatan.

Artikel ini membincangkan menggunakan pernyataan jadual Alter MySQL untuk mengubah suai jadual, termasuk menambah/menjatuhkan lajur, menamakan semula jadual/lajur, dan menukar jenis data lajur.

Artikel membincangkan mengkonfigurasi penyulitan SSL/TLS untuk MySQL, termasuk penjanaan sijil dan pengesahan. Isu utama menggunakan implikasi keselamatan sijil yang ditandatangani sendiri. [Kira-kira aksara: 159]

Artikel membincangkan alat MySQL GUI yang popular seperti MySQL Workbench dan PHPMyAdmin, membandingkan ciri dan kesesuaian mereka untuk pemula dan pengguna maju. [159 aksara]

Artikel membincangkan strategi untuk mengendalikan dataset besar di MySQL, termasuk pembahagian, sharding, pengindeksan, dan pengoptimuman pertanyaan.

Pengimbasan jadual penuh mungkin lebih cepat dalam MySQL daripada menggunakan indeks. Kes -kes tertentu termasuk: 1) jumlah data adalah kecil; 2) apabila pertanyaan mengembalikan sejumlah besar data; 3) Apabila lajur indeks tidak selektif; 4) Apabila pertanyaan kompleks. Dengan menganalisis rancangan pertanyaan, mengoptimumkan indeks, mengelakkan lebih banyak indeks dan tetap mengekalkan jadual, anda boleh membuat pilihan terbaik dalam aplikasi praktikal.

Perbezaan antara indeks clustered dan indeks bukan cluster adalah: 1. Klustered Index menyimpan baris data dalam struktur indeks, yang sesuai untuk pertanyaan oleh kunci dan julat utama. 2. Indeks Indeks yang tidak berkumpul indeks nilai utama dan penunjuk kepada baris data, dan sesuai untuk pertanyaan lajur utama bukan utama.

Ya, MySQL boleh dipasang pada Windows 7, dan walaupun Microsoft telah berhenti menyokong Windows 7, MySQL masih serasi dengannya. Walau bagaimanapun, perkara berikut harus diperhatikan semasa proses pemasangan: Muat turun pemasang MySQL untuk Windows. Pilih versi MySQL yang sesuai (komuniti atau perusahaan). Pilih direktori pemasangan yang sesuai dan set aksara semasa proses pemasangan. Tetapkan kata laluan pengguna root dan simpan dengan betul. Sambung ke pangkalan data untuk ujian. Perhatikan isu keserasian dan keselamatan pada Windows 7, dan disyorkan untuk menaik taraf ke sistem operasi yang disokong.
