Virtual Trunking Protocol (1)

13
Aug 2024
Category : Cisco
Author : admin
Views : 55x

Mengaktifkan SSH
(config)#hostname SW-1
(config)#no ip domain-lookup
(config)#ip domain-name kursus-it.com
(config)#enable secret 123456
(config)#service password-encrypstion
(config)#username kursus-it secret 12345
(config)#crypto key generate rsa

(config)#line vty 0 4
(config-line)#login local
(config-line)#transport input ssh

Mengaktifkan VTP Server

(config)#vtp domain kursus-it.com
(config)#vtp mode server
(config)#vtp password 12345

Konfigurasi Vlan

(config)#vlan 10
(config)#name TKJ
(config)#vlan 20
(config)#name RPL
(config)#vlan 30
(config)#name MM
(config)#vlan 200

Mengaktifkan Port Management

(config)#name MANAGEMENT
(config)#int fa0/24
(config)#switchport mode trunk

(config)#interface fa0/23
(config)#switch mode access

(config)#switch access vlan 200
(config)#interface vlan 200
(config)#ip address 192.168.200.1 255.255.255.0
(config)#no shut down

Perintah Pengecekan
sh run = menampil semua konfigurasi
sh ip int brief = menampilkan ip interface
sh trunking brief = menampilkan konfigurasi int trunk
sh vlan brief = menampilkan vlan
sh vtp status = menampilkan status VTP
hasil ping !!!!! = ping berhasil
ssh –l (nama_user) (ip address) = untuk SSH

No Comments

Leave a Comment

 

× Ada yang bisa saya bantu.