cisco router failover connection

There are often requests for information regarding Cisco failovers. The following seems to work with 12.4 and higher. It should also work with 12.3, but this has not been tested.

Cisco provides a little known item called a tracking object. None of the following can be done through the SDM. It must be done through the CLI, however, it's recommended that you do everything through the CLI. The SDM has some interesting inadequacies (for another article).

You will need at least two remote IPs to use as a test. For example, you can use 4.2.2.1 for the first and 4.2.2.2 for the second. These two IPs are never down. You will need to create a host static route for each of the IPs going out the interface to test. There is an example of this in the config. Also included are the overload statements.

Hopefully the following helps. If you know if a better way to do this, please share it here. This was created using a known good configuration of a real client.

LEGEND

  • your_first_test_ip = the ip you will use to test your primary connection.
  • your _second_test_ip = the ip you will use to test your secondary connection.
  • your_primary_firsthop_ip = the first outside hop of your primary connection. Default route for primary connection.
  • your_secondary_firsthop_ip = the first outside hop of your secondary connection. Default route for secondary connection.
  • primary_interface = the interface name of your primary Internet connection.
  • secondary_interface = the interface name of your secondary Internet connection.
  • internal_ip_range = ip range of your internal devices.

This sample config assumes 2 connections. Once secondary and one primary.

Config:
IP sla monitor 1
type echo protocol ipIcmpEcho your_first_test_ip source-ipaddr your_source_ip
timeout 2000
threshold 2000
frequency 3
IP sla monitor schedule 1 life forever start-time now

IP sla monitor 2
type echo protocol ipIcmpEcho your_second_test_ip source-ipaddr your_source_ip
timeout 2000
threshold 2000
frequency 3
IP sla monitor schedule 2 life forever start-time now

track 100 rtr 1 reachability
track 200 rtr 2 reachability

IP route 0.0.0.0 0.0.0.0 your_primary_firsthop_ip track 100
IP route 0.0.0.0 0.0.0.0 your_secondary_firsthop_ip track 200
IP route your_first_test_ip 255.255.255.255 your_primary_firsthop_ip
IP route your_second_test_ip 255.255.255.255 your_secondary_firsthop_ip

IP nat inside source route-map primary interface primary_interface overload
IP nat inside source route-map secondary interface secondary_interface overload

IP access-list extended primary-route
10 permit ip internal_ip_range 0.0.0.255 any

IP access-list extended secondary-route
10 permit ip internal_ip_range 0.0.0.255 any

route-map primary permit 10
match ip address primary-route
set ip next-hop your_primary_firsthop_ip

route-map secondary permit 10
match ip address secondary-route
set ip next-hop your_secondary_firsthop_ip


Two notes for troubleshooting.

Sh track

  • This will show you what state your tracking objects are in.

sh ip access-list

  • Watch for hits to your acl's. This way you can verify your natting.

netflow cisco ios

Configuring NetFlow Export on an IOS Device


Follow the steps below to configure NetFlow export on a Cisco IOS device.

Tip Refer the Cisco Version Matrix for information on Cisco platforms and IOS versions supporting NetFlow

Enabling NetFlow Export

Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable NetFlow:

interface {interface} {interface_number}

ip route-cache flow

bandwidth

exit

Tip In some recent IOS releases Cisco Express Forwarding has to be enabled. Issue the command ip cef in global configuration mode on the router or MSFC for this.

This enables NetFlow on the specified interface alone. Remember that on a Cisco IOS device, NetFlow is enabled on a per-interface basis. The bandwidth command is optional, and is used to set the speed of the interface in kilobits per second. Interface speed or link speed value is used to later calculate percentage utilization values in traffic graphs.

Exporting NetFlow Data

Issue the following commands to export NetFlow data to the server on which NetFlow Analyzer is running:

Command Purpose
ip flow-export destination {hostname|ip_address} 9996 Exports the NetFlow cache entries to the specified IP address. Use the IP address of the NetFlow Analyzer server and the configured NetFlow listener port. The default port is 9996.
ip flow-export source {interface} {interface_number} Sets the source IP address of the NetFlow exports sent by the device to the specified IP address. NetFlow Analyzer will make SNMP requests of the device on this address.
ip flow-export version 5 [peer-as | origin-as] Sets the NetFlow export version to version 5. NetFlow Analyzer supports only version 5, version 7 and version 9. If your router uses BGP you can specify that either the origin or peer AS is included in exports - it is not possible to include both.
ip flow-cache timeout active 1

Breaks up long-lived flows into 1-minute fragments. You can choose any number of minutes between 1 and 60. If you leave it at the default of 30 minutes your traffic reports will have spikes.

It is important to set this value to 1 minute in order to generate alerts and view troubleshooting data.

ip flow-cache timeout inactive 15 Ensures that flows that have finished are periodically exported. The default value is 15 seconds. You can choose any number of seconds between 10 and 600. However, if you choose a value greater than 250 seconds, NetFlow Analyzer may report traffic levels that are too low.
snmp-server ifindex persist Enables ifIndex persistence (interface names) globally. This ensures that the ifIndex values are persisted during device reboots.

Tip
For more information on BGP reporting in NetFlow Analyzer, look up the section on Configuring NetFlow for BGP

Verifying Device Configuration

Issue the following commands in normal (not configuration) mode to verify whether NetFlow export has been configured correctly:

Command Purpose
show ip flow export Shows the current NetFlow configuration
show ip cache flow These commands summarize the active flows and give an indication of how much NetFlow data the device is exporting
show ip cache verbose flow

A Sample Device Configuration

The following is a set of commands issued on a router to enable NetFlow version 5 on the FastEthernet 0/1 interface and export to the machine 192.168.9.101 on port 9996.

router#enable
Password:*****
router#configure terminal
router-2621(config)#interface FastEthernet 0/1
router-2621(config-if)#ip route-cache flow
router-2621(config-if)#exit

router-2621(config)#ip flow-export destination 192.168.9.101 9996
router-2621(config)#ip flow-export source FastEthernet 0/1
router-2621(config)#ip flow-export version 5
router-2621(config)#ip flow-cache timeout active 1
router-2621(config)#ip flow-cache timeout inactive 15
router-2621(config)#snmp-server ifindex persist
router-2621(config)#^Z
router#write
router#show ip flow export
router#show ip cache flow

*repeat these commands to enable NetFlow for each interface


impo

Please note that NetFlow data export has to be enabled on all interfaces of a router in order to see accurate IN and OUT traffic. Suppose you have a router with interface A and B. Since NetFlow, by default, is done on an ingress basis, when you enable NetFlow data export on interface A, it will only export the IN traffic for interface A and OUT traffic for interface B. The OUT traffic for interface A will be contributed by the NetFlow data exported from interface B.

Even if you are interested in managing only interface A, please enable NetFlow data export on A and B. You may subsequently unmanage interface B from the License Management link.

Turning off NetFlow

Issue the following commands in global configuration mode to stop exporting NetFlow data:

Command Purpose
no ip flow-export destination {hostname|ip_address} {port_number} This will stop exporting NetFlow cache entries to the specified destination IP address on the specified port number
interface {interface} {interface_number} This will disable NetFlow export on the specified interface. Repeat the commands for each interface on which you need to disable NetFlow.
no ip route-cache flow
exit

Tip

For further information on configuring your IOS device for NetFlow data export, refer Cisco's NetFlow commands documentation

Prev

Blackberry menjadi modem

Blackberry jadi Modem

E-mail Print PDF

Ada kalanya Anda membutuhkan modem untuk koneksi ke PC atau Laptop anda, selain screen yang luas, browsing dengan PC atau Laptop juga bisa menjadi solusi jika browsing pake BB anda dirasa kurang maksimal.


Berikut cara yang bisa dilakukan untuk menjadikan Blackberry anda sebagai Modem:

  • Anda tentu sudah punya Blackberry Desktop Manager di komputer anda, jika belum silahkan download di http://blackberry.com , kemudian buka aplikasi tersebut dan hubungkan BB Handset dengan komputer pake kabel USB.

  • Kemudian buka Control Panel caranya klik Start, pilih Control Panel

  • Lalu pilih Phone and Modem Options

  • Pada Box Phone and Modem Options, klik tab Modem

  • Kemudian Pilih Standard Modem, lalu klik Properties

  • Kemudian Pilih tab Diagnostics, klik tombol Query Modem, lalu akan muncul informasi modem dengan simbol AT

  • Kira-kira lebih hasil query modem adalah seperti ini:

  • Langkah terakhir untuk setting modem yaitu mengisi kode pada Extra Initialization, dengan cara klik tab Advanced pada kotak isian Extra Initialization commands: tulis command sesuai dengan operator yang anda gunakan :

- Untuk Telkomsel : at+cgdcont=1,"IP","Telkomsel"

- Untuk Indosat : at+cgdcont=1,"IP","www.indosatgprs"

- Untuk XLl : at+cgdcont=1,"IP","www.xlgprs.net"

PERHATIAN! silahkan anda lihat di website masing-masing operator untuk kejelasan command ini

Setelah selesai setting Modem langkah berikutnya anda perlu menambah koneksi Internet, caranya baca di bagian menambah koneksi internet blackberry



Artikel ini adalah lanjutan dari menjadikan Blackberry sebagai modem, silahkan anda baca caranya disini setelah selesai menjadikan Blackberry anda sebagai modem, langkah selanjutnya adalah menambah koneksi Internet dengan cara

  • Klik Start lalu klik Control Panel

  • Klik Create a new connection

  • Pada Box New connection wizard pilih Connect to the Internet

  • Klik Next lalu pilih pilihan kedua Set up my connection manually

  • klik Next lalu pilih Connect using a dial-up modem

  • Lalu select device Modem-standard modem (yang telah kita create sebelumnya-baca artikel sebelumnya)

  • Kasih nama connection yang akan dibuat (penamaan terserah anda :)

  • Pada pertanyaan Phone number, isikan *99# atau *99***1# (perhatian! jika belum jelas silahkan anda check atau tanyakan pada operator masing-masing untuk kejelasan pengisian ini)

  • Pada isian username dan password silahkan dikosongkan saja.

  • Klik Next Kemudian klik tombol Finish

  • Klik Dial Kini anda siap mengarungi dunia maya dengan Blackberry anda sebagai modem.

WARNING! apa yang anda di lihat di gambar mungkin sedikit berbeda, dikarenakan versi windows atau yang lainnya, silahkan anda tanyakan ke operator masing-masing jika ada yang belum jelas, Andapun dapat mendiskusikan artikel ini di bagian Forum FORUMBLACKBERRY.COM

Allowing New port in Juniper Firewall SSG5

I was digging for allowing a new port in Juniper SSG5 firewall, an entry level firewall which used for internet connection, after long R&D i was able to do that, and planning to share it with you
A step by step approach for more clarity

1.Internet explorer take http://192.168.x.x or https://192.168.x.x Userid: netscreen
and password

Step - I

Creating a port

1.Policy ->Policy elements ->Services -> Custom -> Click on New
a.Give service name abc(for which purpose you are opening port give
description of that ex- if you are opening port 1111 for abc give service
name abc)
b.Select Transport protocol -> TCP
c.Source port -> Low =0 High -> 65535 (default)
d.Destination port -> Low= 1111(the port you want to open ex-1111)
High=1111(the port you want to open ex-1111) low and high should be same

Step - II
Assigning new port to group

1.Policy -> Policy elements -> Services -> Group -> edit group1
a. Select the service name you have given from left side and add them

konfigurasi tftp server untuk cisco devices

untuk mendownload menggunakan TFTP Server, ada beberapa langkah yang perlu dilakukan:

  1. Personal Computer (PC)�
    • Instal terlebih dahulu TFTP server ke PC/Remote Host
    • Pastikan TFTP server berjalan dengan baik [service TFTP running]
    • Atur di Folder mana file TFTP akan di simpan, Defaultnya berada di C:\TFTP-Root, [menggunakan Solarwinds TFTP Server]
    • Jangan lupa untuk mengkonfigurasi IP pada PC dengan Network dan Subnet yang sama dengan cisco equipment yang ada
    • PC harus terhubung ke cisco equipment dengan menggunakan Cable Console (untuk bisa masuk ke Command line Interface) dan Patch Cord (untuk download)
    • Pastikan port yang digunakan untuk jalur download sudah AKTIF [No SHUTDOWN]
    • INGAT, jangan lupa untuk mematikan FIREWALL, klo Firewall dalam keadaan ON, maka pada saat kita melakukan download akan terjadi error. “Error Opening TFTP://192.168.12.10/s72033-ipservices_wan-vz.122-18.SFX9.bin (Time out) lebih kurangnya kaya gini”
  2. Cisco Equipment (CE)�
    • Selanjutnya, Konfigurasi cisco equipement dengan memberikan IP dan subnet yang sama dengan PC
    • Jangan lupa untuk mengkatifkan interface yang sudah diberi IP tadi, dengan memberikan perintah “No Shutdown“. (biasanya kita konfigurasi interface di native vlan 1/default)
    • cek koneksi antara cisco equipment dengan PC yang kita gunakan sebagai TFTP server, dengan memberi perintah “PING 192.168.12.1 dari Command From PC dan PING 192.168.12.10 dari console cisco equipment”
    • selanjutnya kembali ke console, dan lakukan urutan2 berikut ini:
      • ! Cek terlebih dahulu konfigurasi yang sedang berjalan
      • switch#show running-config
      • ! Cek version IOS dan path-nya
      • switch#show version
      • ! pastikan dengan langsung menuju direktori dari IOS itu berada
      • switch#show bootflash: | sup-bootflash: | sup-bootdisk0: | flash:
      • switch#copy flash:s72033-ipservices_wan-vz.122-18.SFX9.bin tftp:
      • Address or Name of Remote host []?192.168.12.10
      • Destination Filename [s72033-ipservices_wan-vz.122-18.SFX9.bin]?
      • ! Tunggu proses download hingga selesai.
      • !
      • !
      • ! download running-config ke TFTP-Root Directory
      • switch#copy running-config tftp:
      • source filename []?
      • Address or Name of Remote host []?192.168.12.10
      • destination filename[switch_config.cfg]? |
      • tunggu proses download hingga selesai

Selamat Mencoba. semoga bermanfaat.

paket bb one dan bb gaul xl

[Info] BB GAUL - Rp. 2.000/hr

01. 02. 2010 um 16:16 Uhr

Per tanggal 1 Februari 2009, layanan Blackberry Chat RESMI di launch dengan nama BLACKBERRY GAUL

FITUR YANG DI DAPAT
• Mendapatkan fitur ”Chat networking” seperti Facebook, mySpace
• Mendapatkan fitur chatting standar seperti Yahoo Messenger, MSN, Google Talk, Blackberry Messenger

FITUR YANG DI TUTUP
• Tidak mendapatkan fitur untuk Browsing
• Tidak mendapatkan fitur untuk Email

CARA REGISTRASI
*** I. SMS [Prepaid & Postpaid]
☑ HARIAN
• Ketik “BB [spasi] Gaul” kirim ke 568
BB Gaul - kirim ke 568
• Setelah terima sms notifikasi lalu Ketik “YA [spasi] Gaul” Kirim ke 568
YA Gaul - kirim ke 568

asa behind router cisco vpn nat

WORK IN PROGRESS...

The following devices are in this scenario:

* An end-user device on a public network with the Cisco VPN client.
* A Cisco 3845 router connected to a public network and a private network
* A Cisco ASA 5540 firewall behind the router, configured with private networks.

Cisco 3845 base configuration

interface GigabitEthernet0/0
description Outside interface
ip address 67.211.112.133 255.255.255.224
ip nat outside
interface GigabitEthernet0/1
description Inside interface
ip address 192.168.255.12 255.255.255.248
ip nat inside
ip route 0.0.0.0 0.0.0.0 67.211.112.129
ip nat inside source list 1 interface GigabitEthernet0/0 overload
access-list 1 permit 192.168.255.0 0.0.0.255



Cisco ASA 5540 base configuration

interface GigabitEthernet0/0
nameif eth0
security-level 0
ip address 192.168.255.9 255.255.255.248


Cisco 3845 configuration

ip nat inside source static esp 192.168.255.9 interface gigabitEthernet 0/0
ip nat inside source static udp 192.168.255.9 500 interface gigabitEthernet 0/0 500
ip nat inside source static udp 192.168.255.9 4500 interface gigabitEthernet 0/0 4500


ip nat inside source static tcp 192.168.255.9 22 67.211.112.133 1022 extendable


Cisco ASA 5540 configuration
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption 3des
isakmp policy 1 hash md5
isakmp policy 1 group 2
isakmp policy 1 lifetime 3600
isakmp enable eth0
ip local pool vpnpool 172.16.15.10-172.16.15.200 mask 255.255.255.0
crypto ipsec transform-set vpn-transform esp-3des esp-md5-hmac
tunnel-group vpn-tunnel-group type ipsec-ra
tunnel-group vpn-tunnel-group general-attributes
address-pool vpnpool
tunnel-group vpn-tunnel-group ipsec-attributes
pre-shared-key Test9847
crypto dynamic-map dynmap 1 set transform-set vpn-transform
crypto map mymap 1 ipsec-isakmp dynamic dynmap
crypto map mymap interface eth0



Configuring the VPN client
Host: 67.211.112.133
Group Authentication Name: vpn-tunnel-group
Password: Test9847

Daftar Blog Saya

My Blog List

bmti test

Click to view my Personality Profile page

Subscribe

Pingbox

Followers

About Me

Foto Saya
mohammad radityas maliki hansa
Lihat profil lengkapku

Followers