Ringkasan Instruksi / Perintah Konfigurasi Switch
-
Upload
bintang-alfian -
Category
Documents
-
view
20 -
download
0
description
Transcript of Ringkasan Instruksi / Perintah Konfigurasi Switch
Masuk privileged EXEC modeswitch>enable
menghapus file informasi database VLANswitch#delete flash:vlan.dat
menghapus file konfigurasi startup NVRAMswitch#erase startup-config
mengecek informasi VLANswitch#show vlanatauswitch#show vlan brief
restart perangkatswitch#reload
mengecek konfigurasi switch yang sedang berjalanswitch#show running-config
mengecek interface VLANswitch#show interface vlanX
mengecek IP interface VLANswitch#show ip interface vlanX
menampilkan informasi Cisco IOSswitch#show version
menampilkan interface fast ethernetswitch#show interface faX/X
menampilkan Flash Memoryswitch#dir flash:switch#show flashswitch#dir flash:nama-directori
mengganti nama switchswitch(config)#hostname XX
menyimpan isi running configuration file ke NVRAMswitch#copy running-config startup-config
memberi password masuk consoleswitch(config)#line console 0switch(config-line)#password xxxxxxswitch(config-line)#login
memberi password masuk vtyswitch(config)#line vty 0 15switch(config-line)#password xxxxxxswitch(config-line)#login
memberi password privilaged modeswitch(config)#enable secret xxxxxx
konfigurasi VLANswitch(config)#vlan xxswitch(config)#int vlan xxswitch(config-if)#ip add "ip" "subnetmask"
switch(config-if)#no shut
konfigurasi port switch ke VLAN xxswitch(config)#int faX/X switch(config-if)#switchport mode accessswitch(config-if)#switchport access vlan xx
mengatur default gateway switchswitch(config)#ip default-gateway "ip"
konfigurasi port speed dan duplex settingswitch(config)#int faX/Xswitch(config-if)#speed 100switch(config-if)#duplex full
melihat MAC Address yang disimpan switchswitch#show mac-address-table
konfigurasi port securityswitch(config)#int faX/Xswitch(config-if)#switchport mode accessswitch(config-if)#switchport port-securityswitch(config-if)#switchport port-security maximum 2switch(config-if)#switchport port-security mac-address stickyswitch(config-if)#switchport port-security violation protect
melihat pengaturan port securityswitch#show port-security
Konfigurasi Trunkswitch(config)#int faX/Xswitch(config-if)#switchport mode trunkswitch(config-if)#switchport trunk native vlan 99switch(config-if)#switchport trunk allowed vlan add xx,xx,xx
menghapus trunkswitch(config)#int faX/Xswitch(config-if)#no switchport trunk allowed vlanswitch(config-if)#no switchport trunk native vlan
Konfigurasi VTPswitch(config)#vtp mode server/client/transparentswitch(config)#vtp domain xxxxswitch(config)#vtp password xxx
Konfigurasi VLAN di VTP serverswitch(config)#vlan xxswitch(config-vlan)#name xxxx