Sunday, May 27, 2012

Konfigurasi Cisco


masuk switch/router dengan kabel konsul :
pilih no pada auto configurasi
selanjutnya : 
Setting Password
router>enable
router#configure terminal
router(config)#enable secret PASS-EN-ANDA
Setting Host Name
router>enable
router#configure terminal
router(config)#hostname nama-host
setting password console dengan username
router(config)# username USER password WORD
router(config)# line console 0
routerconfig)# login local (local hanya jika ada username)
setting password telnet dengan username
router(config)# username USER password WORD
router(config)# line vty 0 4
routerconfig)# login local
setting password ssh dengan username

# line vty 0 4
(config-line)# transport input ssh
(config-line)# login local
(config-line)# password 7
(config-line)# exit
setting encryption password
router(config)# service password encryptiton
setting banner
router(config)# banner motd # [enter]
pada akhir pesan diakhiri tanda #
atau
router(config)# banner exec # [enter]
pada akhir pesan diakhiri tanda #

Setting Vlan
router>en
router#configure terminal
router(config)#vlan nomor-vlan
router(config-vlan)#name nama-vlan
Setting IP Address pada Vlan
router>enable
router#configure terminal
router(config)#interface vlan ?????
router(config-if)#ip address address mask
router(config-if)#no shutdown

Setting snmp

router>en
router#configure terminal
router(config)#snmp-server community ???????
router(config)#snmp-server contact ??????
router(config)#snmp-server location ??????

Setting DNS-Name
router>en
router#configure terminal
router(config)#ip name-server ip-dns-anda

test switch/router dari komputer