Catatan Pribadi Command Line Interface Cisco Gue
![]() |
| catatan buat pribadi astfandto cisco |
conf t
hostname xxxx
banner motd # switch xxxxx #
vlan 500
name 00_lab_mgmt
vlan 501
name 01_lab_public
dst.....
interface Gi0/1
switchport mode access
switchport access vlan 504
exit
interface Gi0/2
switchport mode trunk
exit
wr --> untuk nyimpen
do show vlan
*cara membuat ssh*
hostname xxxxx
ip domain-name xxxxx
int fa0/23
sw mo acc
sw acc vlan 503
no sh
exit
enable secret xxx
username xxxxx secret xxxxxx
crypto key generate rsa -> 512 (untuk 1)
1024 (untuk 2)
line vty 0 4
(config line) login local
(config line) transport ssh
cek IP switch
# show ip interface brief
# sh run --> running configuration (melihat seluruh konfigurasi yang berjalan)
*membuat vlan native*
# switchport trunk allowed vlan all
# switchport trunk native vlan 503
*membuat beberapa port*
# int range fa0/2 - 12
*membuat ip addresss switch*
#int vlan 503
ip address 172.23.x.xxxxx 255.255.255.0
*enkripsi password*
enable password xxxxx
#service password-encryption
atau pakai
# enable secret xxxxxxx
*vtp client & master*
vtp domain xxxxxx
vtp mode client|server|transparent|off vlan|mst|unknown
vtp password xxxxxx
end
show vtp status
*disable port*
# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# shutdown
(config-subif)# end
# write
*enbale port*
# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# no shutdown
(config-subif)# end
# write
copy running-config atau wr (menyimpan konfigurasi)

Komentar
Posting Komentar