one-nda.com

Simple is Good …

Mencari mac address dan ip address di cisco

IP address, Mac address dan port berapa?
Itulah tiap hari kalo kita bekerja di jaringan komputer.
ye intinya utak-utik layer 2 lah, hee..hee kayaknya
berikut sedikit perintah dalam command cisco yang digunakan.
oh ya kalo ada yang lain silahkan posting ye supaya bisa share knowledge gitu…

show arp

Router#show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.2.42.11             50   000e.3838.6a7f  ARPA   Vlan14
Internet  10.128.14.4            76   000d.6578.8dc0  ARPA   Vlan14
Internet  10.128.14.5           128   0017.e0d6.6680  ARPA   Vlan14
<Ouput Omitted>

show mac-address-table

Router#sh mac-address-table
          Mac Address Table
——————————————-

Vlan    Mac Address       Type        Ports
—-    ———–       ——–    —–
 All    000d.ed5f.3080    STATIC      CPU
 All    0100.0ccc.cccc    STATIC      CPU
 All    0100.0ccc.cccd    STATIC      CPU
 All    0100.0cdd.dddd    STATIC      CPU
  24    0007.0e18.cfd0    DYNAMIC     Gi0/2
  24    0007.0e18.d696    DYNAMIC     Gi0/2
<Ouput Omitted>

sh mac-address-table address mac-address

Router#sh mac-address-table address 001b.789e.c46d
          Mac Address Table
——————————————-

Vlan    Mac Address       Type        Ports
—-    ———–       ——–    —–
  14    001b.789e.c46d    DYNAMIC     Fa0/32
Total Mac Addresses for this criterion: 1

sh mac address-table address mac-address

Router#sh mac address-table address 001b.789e.c46d
          Mac Address Table
——————————————-

Vlan    Mac Address       Type        Ports
—-    ———–       ——–    —–
  14    001b.789e.c46d    DYNAMIC     Fa0/32
Total Mac Addresses for this criterion: 1

show mac address-table vlan no-owvlan

Router#sh mac address-table vlan 14
          Mac Address Table
——————————————-

Vlan    Mac Address       Type        Ports
—-    ———–       ——–    —–
  14    000d.ed5f.3080    STATIC      CPU
  14    0100.0ccc.cccc    STATIC      CPU
  14    000e.3838.6a7f    DYNAMIC     Gi0/2
  14    0011.8581.4b0c    DYNAMIC     Gi0/2
  14    0013.205b.f702    DYNAMIC     Fa0/16
  14    0013.205b.f7d8    DYNAMIC     Fa0/16

show ip arp [ip address | mac address]

Router#sh ip arp  001b.789e.c46d
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.128.14.20           14   001b.789e.c46d  ARPA   Vlan14

Router#sh ip arp 10.128.14.20
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.128.14.20           15   001b.789e.c46d  ARPA   Vlan14

Summary
- sh arp  
- sh ip arp …
- show mac
- address-table …
- show mac …

November 4, 2008 Posted by wyulansa | Cisco | | No Comments Yet

Configuring OSPF Authentication

Two types of authentication used in OSPF

  • Simple password or plain-text authentication

 Assign a password to be used with neighboring routers
router(config-if)# ip ospf authenctication-key password 

Specifies the authentication type for an interface (since IOS 12.0)
router(config-if)# ip ospf authentication [message-digest | null]

Specifies the authentication type for an area (before IOS 12.0)
router(config-router)# area area-id authencation [message-digest]

Example :

 

R2-2503
interface Loopback0
  ip address 70.70.70.70 255.255.255.255
 !
 interface Serial0
  ip address 192.16.64.2 255.255.255.0
  ip ospf authentication-key kal
  clockrate 64000
  !
 router ospf 10
  log-adjacency-changes
  network 70.0.0.0 0.255.255.255 area 0
  network 192.16.64.0 0.0.0.255 area 0
  area 0 authentication

R1-2503
interface Loopback0
ip address 172.16.10.36 255.255.255.240
!
interface Serial0
ip address 192.16.64.1 255.255.255.0
ip ospf authentication-key kal
!
router ospf 10
network 172.16.0.0 0.0.255.255 area 0
network 192.16.64.0 0.0.0.255 area 0
area 0 authentication

  • Message diggest 5 (MD5) authentication

R2-2503
interface Loopback0
  ip address 70.70.70.70 255.255.255.255
 !
 interface Serial0
  ip address 192.16.64.2 255.255.255.0
  ip ospf message-digest-key 1 md5 kal 
  clockrate 64000
 !
 router ospf 10
  network 192.16.64.0 0.0.0.255 area 0
  network 70.0.0.0 0.255.255.255 area 0
  area 0 authentication message-digest

R1-2503
interface Loopback0
 ip address 172.16.10.36 255.255.255.240
!
interface Serial0
 ip address 192.16.64.1 255.255.255.0
 ip ospf message-digest-key 1 md5 kal 
!
router ospf 10
 network 172.16.0.0 0.0.255.255 area 0
 network 192.16.64.0 0.0.0.255 area 0
 area 0 authentication message-digest

Note : kal is password

TROUBLESHOOT

- show ip ospf neighbor
- show ip ospf interface serial0
- show ip route
- ping (ip address)
- debug ip ospf adj

 

November 3, 2008 Posted by wyulansa | Cisco | | No Comments Yet

Setting SSH2 client di cisco

1. Langkah-langkah setting ssh 2 client dicisco menggunakan RSA Key Pairs:

Step 1

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3

ip ssh rsa keypair-name keypair-name

Example:

Router (config)# ip ssh rsa keypair-name sshkeys

Specifies which RSA keypair to use for SSH usage.

Note A Cisco IOS router can have many RSA key pairs.

Step 4

crypto key generate rsa usage-keys label
key-label modulus modulus-size

Example:

Router (config)# crypto key generate rsa
usage-keys label sshkeys modulus 768

Enables the SSH server for local and remote authentication on the router.

For SSH Version 2, the modulus size must be at least 768 bits.

Note To delete the RSA key-pair, use the crypto key zeroize rsa command. After you have deleted the RSAcommand, you automatically disable the SSH server.

Step 5

ip ssh [timeout seconds | authentication-retries integer]

Example:

Router (config)# ip ssh timeout 120

Configures SSH control variables on your router.

Step 6

ip ssh version [1 | 2]

Example:

Router (config)# ip ssh version 1

Specifies the version of SSH to be run on a router.

2. masuk ke interface

Router (config)#line vty 0 4

TarDtl-3745-sto(config-line)#transport input all

link : http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gt_ssh2.html

October 16, 2008 Posted by wyulansa | Cisco | | No Comments Yet

Protocol Traffic Capturing pada Cisco

October 14, 2008 Posted by wyulansa | Cisco | | No Comments Yet

Setting Routing Protokol

Cara redistribute Routing Protokol : ditulis pada router (routing protokol)

* OSPF ke EIGRP = redistribute eigrp 10 subnets

* EIGRP ke OSPF = redistribute ospf 10 metric 10000 1000 255 1 1500

* RIP ke EIGRP = redistribute eigrp 10 metric

* RIP ke OSPF = redistribute ospf 10 metric 1

July 31, 2007 Posted by wyulansa | Cisco | | No Comments Yet