Sabtu, 16 Juli 2011

Password Recovery Procedure for the Cisco 2000 & 2500

This section provides an example of the password recovery procedure. This example uses a Cisco 2500 Series Router.

Router>enable
Password:
Password:
Password:
% Bad secrets
Router>show version

Cisco Internetwork Operating System Software

IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)
RELEASE SOFTWARE (fc3)

Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade

Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.

Processor board ID 02315272, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

SuperLAT software (copyright 1990 by Meridian Technology Corp).

TN3270 Emulation software.

1 Ethernet/IEEE 802.3 interface(s)

1 Token Ring/IEEE 802.5 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2102

!— This is the current value of the configuration register.

Router>

!— The router was just power cycled and during bootup
!— break sequence is sent to the router (CTRL+Break).


System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 16384 Kbytes of main memory

Abort at 0×10EA83C (PC)
>o
Configuration register = 0×2102 at last boot

!— You can also issue the o command at the ROMmon prompt
!— in order to view the configuration register settings value.

Bit# Configuration register option settings:
15 Diagnostic mode disabled
14 IP broadcasts do not have network numbers
13 Boot default ROM software if network boot fails
12-11 Console speed is 9600 baud
10 IP broadcasts with ones
08 Break disabled
07 OEM disabled
06 Ignore configuration disabled
03-00 Boot file is cisco2-2500 (or ‘boot system’ command)

>o/r 0×2142

!— Changes the value of config-register to 2142, so that
!— the router boots and ignores the NVRAM contents.

>i

!— Initializes or resets the router; the
!— router boots with the default configuration.

System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 8192 Kbytes of main memory
F3: 13626872+197596+780568 at 0×3000060
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000
cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]:

!— Ctrl+C pressed.

!
Press RETURN to get started!
00:00:08: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial1, changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
00:01:29: %LINK-3-UPDOWN: Interface Ethernet0Translating “Router”…
domain server (255.255.255.255), changed state to up
00:01:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:31: %SYS-5-RESTART: System restarted –
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
00:01:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to down
00:01:33: %LINK-5-CHANGED: Interface Ethernet0, changed state to

administratively down

00:01:33: %LINK-5-CHANGED: Interface Serial0, changed state to

administratively down
00:01:33: %LINK-5-CHANGED: Interface Serial1, changed state to
administratively down
00:01:33: %LINK-5-CHANGED: Interface TokenRing0, changed state to

administratively down

00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface TokenRing0,
changed state to down
Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?

!— Press ENTER.

1278 bytes copied in 10.448 secs (127 bytes/sec)

Note: After you copy the configuration file from NVRAM to RAM, based on how the password is last configured, you can either:

* perform a password recovery, if the enable password is configured (which is in plain text format)

or
* perform a password replacement, if the enable secret password is configured (which is in encrypted format)

In order to check the format in which the password is configured on the router, use the show running-config command, and look for enable password or enable secret password in the configuration.

Password Replacement
This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config

!— This command can be used to view the unencrypted password.

Building configuration…

Current configuration : 431 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable password XxXxXx

!— Here the password is plain clear text. We can either maintain
!— the same password or replace with a new password for security reasons.

!— Output Suppressed.

This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config
Building configuration…
Current configuration : 835 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$Oea234/6Ppi0PZYzAj/vX0
!— Password replacement has to be done as the password is in encrypted format.

!— Output suppressed.

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret xxxxxxx
Router(config)#
00:03:39: %SYS-5-CONFIG_I: Configured from console by console

When the password recovery or replacement is complete, the next steps are the same, as shown in this example output:

Router#show ip interface brief

Router(config)#interface ethernet 0
Router(config-if)#no shutdown
*Mar 1 00:04:12.863: %LINK-3-UPDOWN: Interface Ethernet0,
changed state to up
*Mar 1 00:04:13.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
Router(config-if)#interface serial 0
Router(config-if)#no shutdown
*Mar 1 00:04:18.107: %LINK-3-UPDOWN: Interface Serial0,
changed state to up
*Mar 1 00:04:19.167: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
Router(config-if)#interface serial 1
Router(config-if)#no shutdown
Router(config-if)#
*Mar 1 00:04:27.055: %LINK-3-UPDOWN: Interface Serial1,
changed state to up
*Mar 1 00:04:28.071: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up #
Router(config-if)#^Z
Router#
00:02:35: %SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]

After you recover or replace the password, you must reset the configuration register value to 0×2102, which was changed earlier in the procedure to 0×2142 in order to ignore the startup configuration and boot the router. In order to verify the configuration register value, issue the show version command.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102

!— The config-register is changed back to load the router
!— with NVRAM configuration.

Router(config)#^Z
00:03:20: %SYS-5-CONFIG_I: Configured from console by console

When you issue the config-reg 0×2102 command, the new configuration register value is not immediately applied. The new value is applied only after the router is reloaded. The show version command shows the current value (0×2142) and the value that will be applied after the next reload (0×2102).

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142 (will be 0×2102 at next reload)
Router#

After you save the configuration, reload the router, and verify the configuration register value is 0×2102, as shown in this example:

Router#write memory
*Mar 1 00:05:09.035: %SYS-5-CONFIG_I: Configured from console by console
Building configuration…
[OK]
Router#
Router#reload
Proceed with reload? [confirm]

!— Press Enter to continue.

!— Starts to load the Cisco IOS from Flash and takes the configuration from the NVRAM.

00:17:36: %SYS-5-RELOAD: Reload requested by console.

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 14336 Kbytes of main memory

F3: 15011856+968960+947120 at 0×3000060


!— Output suppressed.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by reload
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0×2102

Router#

Password Recovery Procedure for the Cisco 1700, 2600, 3600, etc

This document describes the procedure for recovering enable password or enable secret passwords. These passwords are used to protect access to privileged EXEC and configuration modes. The enable password password can be recovered, but the enable secret password is encrypted and can only be replaced with a new password using the procedure below.
This password recovery procedure can also be used for the following products:
* Cisco 806
* Cisco 827
* Cisco uBR900
* Cisco 1003
* Cisco 1004
* Cisco 1005
* Cisco 1400
* Cisco 1600
* Cisco 1700
* Cisco 2600
* Cisco 3600
* Cisco 4500
* Cisco 4700
* Cisco AS5×00
* Cisco 6×00
* Cisco 7000 (RSP7000)
* Cisco 7100
* Cisco 7200
* Cisco 7500
* Cisco uBR7100
* Cisco uBR7200
* Cisco uBR10000
* Cisco 12000
* Cisco LS1010
* Catalyst 2948G-L3
* Catalyst 4840G
* Catalyst 4908G-L3
* Catalyst 5500 (RSM)
* Catalyst 8510-CSR
* Catalyst 8510-MSR
* Catalyst 8540-CSR
* Catalyst 8540-MSR
* Cisco MC3810
* Cisco NI-2
* Cisco VG200 Analog Gateway
* Route Processor Module
Step-by-Step Procedure

Follow this procedure to recover the enable password or enable secret passwords.
1. Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
2. If you still have access to the router, type show version and record the setting of the configuration register; it is usually 0×2102 or 0×102. Click here to see the output of a show version command.
3. If you don’t have access to the router (because of a lost login or tacacs password), you can safely consider that your configuration register is set to 0×2102.
4. Using the power switch, turn off the router and then turn it back on.
Important: To simulate step 4 on a Cisco 6400, pull out and then replace the Node Route Processor (NRP) or Node Switch Processor (NSP) card.
To simulate step 4 on a Cisco 6×00 using NI-2, pull out and then replace the NI-2 card.
5. Press Break on the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON.
If the break sequence doesn’t work, see Standard Break Key Sequence Combinations During Password Recovery for other key combinations.
6. Type confreg 0×2142 at the rommon 1> prompt to boot from Flash without loading the startup configuration from the nonvolatile RAM (NVRAM).
7. Type reset at the rommon 2> prompt.
The router reboots but ignores its saved configuration.
8. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
9. Type enable at the Router> prompt.
This puts you in enable mode where you can see the Router# prompt.
10. Important: Type configure memory or copy startup-config running-config to copy the NVRAM into memory. Do not type configure terminal or copy running-config startup-config or write memory. This erases the router configuration stored in the NVRAM.
11. Type write terminal or show running-config.
The show running-config and write terminal commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords (enable password, enable secret, vty, console passwords, and so on) either in encrypted or unencrypted format. The unencrypted passwords can be re-used; the encrypted ones have to be replaced with new passwords.
12. Type configure terminal and make the changes.
The prompt is now hostname(config)#.
13. Type enable secret < password > to change the enable secret password, for example.
14. Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, once you exit the configuration mode (Ctrl-z), every interface that you want to use should be “up up”.
15. Type config-register 0×2102, or the value you recorded in step 2. This makes the router load the startup configuration from the NVRAM during the next reload.
16. Press Ctrl-z or End to leave the configuration mode.
The prompt is now hostname#.
17. Type write memory or copy running-config startup-config to commit the changes.
Sample Output
The sample output shown here is the result of the password recovery procedure on a Cisco 4700 Series Router. Even if you are not using a 4700 router, this example should be almost exactly what you experience on your device.
Router>enable
Password:
Password:
Password:
% Bad secrets
Router>show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10),
RELEASE SOFTWARE (fc1)
Router uptime is 0 minutes
System returned to ROMby reload at 17:34:58 UTC Tue Aug 1 1995
System image file is “flash:c4500-is-mz.122-10b.bin”
cisco 4700 (R4K) processor (revision B) with 32768K/16384K bytes of memory.
Processor board ID 02169303
R4600 CPU at 133Mhz, Implementation 32, Rev 2.0, 512KB L2 Cache
G.703/E1 software, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
6 Ethernet/IEEE 802.3 interface(s)
8 Serial network interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
Configuration register is 0×2102
Router>
!— The router was just powercycled and during bootup a
!—break sequence was sent to the router.

!
monitor: command “cisco2-C4500″ aborted due to user interrupt
>
>confreg 0×2142
You must reset or power cycle for new config to take effect
>reset
System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
Copyright (c) 1995 by cisco Systems, Inc.
C4500 processor with 32768 Kbytes of main memory
Self decompressing the image : ##################################
#######################################################
################################# [OK]
program load complete, entrypt: 0×80008000, size: 0×6a6b30
Self decompressing the image : ################################
#################################### [OK]
Restricted Rights Legend
…….
< ...snip>
……
— System Configuration Dialog —
Would you like to enter the initial configuration dialog?[yes/no]:n
Press RETURN to get started!
00:00:05: %LINK-3-UPDOWN: Interface Serial0, changed state to down
…… < ..snip>
00:01:29: %LINK-5-CHANGED: Interface Ethernet5, changed state to
administratively down
Router>
Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?
1012 bytes copied in 0.276 secs (3667 bytes/sec)
Router#show running-config
Building configuration…
Current configuration : 1084 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$uQ7K$rfZtMRsWsFagqsW4/9K0b1
!— Since the password is encrypted, we need to replace
!— the password with the new one.

!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.0.0.0
media-type 10BaseT
!
interface Ethernet1
no ip address
shutdown
media-type 10BaseT
!
Ouput Omitted
!
interface Serial0
ip address 172.16.1.1 255.255.0.0
!
Ouput Omitted
!
ip classless
no ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
login
!
end
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret < password > [Choose a strong password with at least one capital letter, one number, and one special character.]
Router(config)#^Z
00:05:23: %SYS-5-CONFIG_I: Configured from console by console
Router#show ip interface brief
…< ...output omitted>
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface ethernet 0
Router(config-if)#no shutdown
Router(config-if)#
00:08:06: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Router(config-if)#^Z
Router#
00:09:21: %SYS-5-CONFIG_I: Configured from console by console
Router#
Router#
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE(fc1)
Router uptime is 10 minutes
……< ..snip>
……
8192K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
Configuration register is 0×2142
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102
Router(config)#^Z
Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE (fc1)
Router uptime is 11 minutes
…….< ..snip>
……
00:11:02: %SYS-5-CONFIG_I: Configured from console 4096K bytes of processor board
Boot flash (Read/Write)
Configuration register is 0×2142 (will be 0×2102 at next reload)
Source: cisco.com

Positioning MPLS

Positioning MPLS

MPLS Diagram
Dokumen ini berisi komponen teknologi Multi-Protocol Label Switching (MPLS), fungsi-fungsinya dan ilustrasi nilai tambah bagi Service Provider.
MPLS pada mulanya ditargetkan untuk pelanggan Service Provider; tetapi saat ini perusahaan-perusahaan sudah mulai tertarik untuk penerapan teknologi ini. Dokumen ini dapat diterapkan untuk perusahaan besar yang memiliki jaringan seperti Service Provider pada area berikut ini :
  • - Size/ukuran besarnya jaringan
  • - Menawarkan “internal services” untuk department yang berbeda dalam perusahaan
MPLS komplimen dengan teknologi IP. MPLS di desain untuk membangkitkan kecerdasan yang berhubungan dengan IP Routing, dan Paradigma Switching yang berhubungan dengan Asynchronous Transfer Mode (ATM).
MPLS terdiri dari Control Plane dan Forwarding Plane. Control Plane membuat apa yang disebut “Forwarding Table”, sementara Forwarding Plane meneruskan paket ke interface tertentu (berdasarkan Forwarding Table).
Efisien desain dari MPLS adalah menggunakan Labels untuk membungkus/encapsulate paket IP. Sebuah Forwarding Table berisi list/mengurutkan Nilai-nalai Label (Label Values), yang masing-masing berhubungan dengan penentuan “outgoing interface” untuk setiap prefix network/jaringan.

Cisco IOS Software support 2 mekanisme signalling untuk distribusi Label: Label Distribution Protocol (LDP) dan Resource Reservation Protocol/Traffic Engineering (RSVP/TE).
MPLS meliputi komponen utama sebagai berikut :
1. MPLS Virtual Private Networks (VPNs) - memberikan “MPLS-enabled IP networks” untuk koneksi Layer 3 dan Layer 2. Berisi 2 komponen utama :
  1. Layer 3 VPNs - menggunakan Border Gateway Protocol.
  2. Layer 2 VPNs - Any Transport over MPLS (AToM)
2. MPLS Traffic Engineering (TE) - menyediakan peningkatan utilisasi dari bandwidth jaringan yang ada dan untuk “protection services”.
3. MPLS Quality of Service (QoS) - menggunakan mekanisme IP QoS existing, dan menyediakan perlakuan istimewa untuk type trafik tertentu, berdasarkan atribut QoS (seperti MPLS EXP)
MPLS VPNs
Layer 3 VPNs

Layer 3 VPNs atau BGP VPNs, teknologi MPLS yang paling banyak digunakan. Layer 3 VPNs menggunakan “Virtual Routing instances” untuk membuat sebuah pemisahan table routing untuk tiap-tiap pelanggan/subscriber, dan menggunakan BGP untuk membentuk koneksi (peering relations) dan signal VPN-berLabel dengan masing-masing router Provider Edge (PE) yang sesuai. Hasilnya sangat scalable untuk diimplementasikan, karena router core (P) tidak memiliki informasi tentang VPNs.
BGP VPNs sangat berguna ketika pelanggan menginginkan koneksi Layer 3 (IP), dan lebih menyukai untuk membuang overhead routing ke Service Provider. Hal ini menjamin bahwa keanekaragaman interface Layer 2 dapat digunakan pada tiap sisi/side VPN. Contoh, Site A menggunakan interface Ethernet, sementara Site B menggunakan interface ATM; Site A dan Site B adalah bagian dari single VPN.
Relatif sederhana untuk penerapan “multiple topologies” dengan “router filtering”, Hub & Spoke atau Full Mesh:
  • Hub and Spoke - “central site” dikonfigurasi untuk “learn/mempelajari” semua “routes” dari seluruh remote sites, sementara remote sites dibatasi untuk “learn/mempelajari” routes, hanya khusus dari central site.
  • Topology Full Mesh akan menciptakan semua sites mempunyai kemampuan “learn/mempelajari” atau mengimport routes dari tiap site lainnya.
Layer 3 VPNs telah dikembangkan dalam jaringan yang mempunyai router PE sebanyak 700. Saat ini terdapat Service Provider yang memiliki sampai 500 VPNs, dengan masing-masing VPN berisi site sebanyak 1000. Banyak ragam routing protocol yang digunakan pada link akses pelanggan (yaitu link CE ke PE); Static Routes, BGP, RIP dan Open Shortest Path First (OSPF). VPNs paling banyak menggunakan Static Routes, diikuti dengan Routing BGP.
Layer 3 VPNs menawarkan kemampuan lebih, seperti Inter-AS dan Carrier Supporting Carrier (CSC). Hierarchical VPNs, memungkinkan Service Provider menyediakan koneksi melewati “multiple administrative networks”. Saat ini, penerapan awal dari fungsi seperti ini sudah tersebar luas.
Layer 2 VPNs
Layer 2 VPNs mengacu pada kemampuan dan kebutuhan dari pelanggan Service Provider untuk menyediakan Layer 2 Circuits melalui “MPLS-enabled IP backbone”. Penting untuk memahami 3 komponen utama dari Layer 2 VPNs:
  1. Layer 2 Transport over over MPLS - Layer 2 circuit - membawa data secara transparent - melalui MPLS enabled IP backbone (juga dikenal sebagai AToM).
  2. Virtual Private Wire Services - Kemampuan untuk menambahkan signalling ke AToM, dan untuk fitur-fitur seperti auto-discovery perangkat CE.
  3. Virtual Private LAN Services - Kemampuan menambahkan Virtual Switch Instances (VSIs) pada router PE untuk membentuk “LAN based services” melalui MPLS-enabled IP backbone.
Circuits Layer 2 yang dominan adalah Ethernet, ATM, Frame Relay, PPP, dan HDLC. AToM dan Layer 3 VPNs didasarkan pada konsep yang sama, tetapi AToM menggunakan sebuah “directed LDP session” untuk mendistribusikan Labels VC (analogy dengan BGP VPN Label). Oleh karena itu, router core tidak perlu mengetahui per-subscriber basis, hasinya sebuah architecture yang sangat “scalable”.
Sebelum ada AToM, Service Provider harus membangun jaringan yang berbeda untuk menyediakan koneksi Layer 2. Contoh, Service Provider harus membangun sebuah ATM dan sebuah Frame Relay Network, hasilnya peningkatan biaya operasional dan “capital expenses”. Saat ini, Layer 2 VPNs MPLS memungkinkan Service Provider untuk menggabungkan jenis jaringan yang berbeda ini, sehingga menghemat biaya operasional dan “capital expenses” secara significant.
Layer 2 VPNs dan Layer 3 VPNs dapat dikonfigurasi dalam single/satu box dan dapat difungsikan untuk meningkatkan keuntungan dari pelanggan.
Layer 2 dan Layer 3 VPNs saling melengkapi satu sama lain. Dengan berjalannya waktu, demand untuk Layer 2 VPNs bisa jadi lebih tinggi dibandingkan dengan Layer 3 VPNs.
MPLS Traffic Engineering
MPLS TE sejak awal diharapkan Service Provider sebagai teknologi yang dapat memanfaatkan bandwitdh jaringan yang tersedia secara lebih baik dengan menggunakan jalur alternatif/alternate paths (selain dari “the shortest path).
MPLS TE telah dikembangkan dengan beberapa keuntungan, termasuk Connectivity Protection menggunakan Fast ReRoute dan “Tight QoS”. “Tight QoS” dihasilkan dari penggunaan MPLS TE dan mekanisme QoS secara bersamaan.
MPLS TE menggunakan IGP, IS-IS dan OSPF untuk menyebar informasi bandwidth melalui jaringan. MPLS TE juga menggunakan RSVP Extention untuk mendistribusikan label dan “constraint-based routing” untuk menghitung jalur/paths dalam jaringan. Extention ini telah didefinisikan di rfc 3209
Service Provider yang membangun MPLS cenderung untuk menerapkan “full mesh” TE Tunnels, menciptakan logical mesh, walaupun topology physical tidak full mesh. Pada situasi seperti ini, Service Provider telah memperolah tambahan 40% - 50% ketersediaan bandiwidth di jaringan. Keuntungan ini adalah penggunaan jaringan secara optimal, yang berperan penting pada penurunan “capital expenses”.
MPLS TE menyediakan Connectivity Protection menggunakan Fast ReRoute (FRR). FRR memproteksi primary tunnels menggunakan pre-provisioned backup tunnels. Jika tunnel DOWN (failure condition), dibutuhkan waktu sekitar 50 ms untuk primary tunnel “switch over” ke backup tunnel. FRR bergantung pada proteksi Layer 3, tidak seperti proteksi SONET atau SDH yang terjadi pada level interface. Oleh karena itu, Waktu restorasi bergantung pada jumlah tunel dan jumlah prefix yang di”switch-over”. Ini adalah hal penting (key issue) yang harus dipertimbangkan ketika membuat desain FRR yang optimal.
Test internal implementasi FRR Cisco telah menghasilkan performansi lebih baik dari 50 ms; walau bagaimanapun, waktu restorasi mungkin lebih tinggi, bergantung pada konfigurasi. FRR dapat digunakan untuk proteksi Links, Nodes dan seluruh LSP Path. Sebagian besar Service Provider lebih memperhatikan local failures, dan banyak ditemukan bahwa link failures lebih sering terjadi daripada node failures.
DiffServ Aware Traffic Engineering mampu menjalankan TE untuk class trafik yang berbeda. Service Provider boleh memutuskan untuk mengoperasikan TE Tunnels yang memanfaatkan “sub-pool” untuk trafik Voice. Selanjutnya, Service Provider dapat menyakinkan bahwa tunnel ini menggunakan explicit path, dimana shortest path menghasilkan delay terpendek. Selain itu, terdapat TE Tunnels yang menggunakan “global pool” untuk trafik non-voice yang bukan “delay sensitive”.
Hal ini penting untuk dicatat bahwa MPLS TE adalah fungsi dari Control Plane. Ketika solusi Virtual Leased Line (VLL) didefinisikan, mekanisme QoS yang sesuai harus dikonfigurasi (seperti Queuing atau Policing) untuk memenuhi garansi bandiwidth. Service Provider sudah mulai menawarkan jasa VLL sebagai trunk voice untuk menghubungkan Central Office termasuk PBX.
MPLS Quality of Service
MPLS QoS mempengaruhi mekanisme existing dari IP QoS DiffServ, memungkinkan mereka bekerja pada jalur/path MPLS. Extension tertentu, termasuk kemampuan untuk melakukan “set” dan “match” pada bit-bit MPLS EXP telah ditambahkan; meskipun “fundamental behavior” dari mekanisme QoS tetap tidak berubah.
MPLS secara fundamental adalah teknik “tunneling”, jadi mekanisme QoS memungkinkan untuk penerapan yang flexible dengan “tunneling” QoS pelanggan melalui policies QoS dari Service Provider.
Oleh karena itu, Service Provider seharusnya menggunakan nilai EXP 6 untuk voice, dan nilai EXP 4 dan 3 untuk trafik non-voice. Menyediakan transparent services secara simultan untuk Enterprise dengan Maps QoS sebagai berikut :
  • Menggunakan Prec 3 untuk voice dan Prec 2 untuk trafik non-voice
  • Menggunakan Prec 5 untuk voice dan Prec 4 untuk trafic non-voice
Penawaran service QoS pada MPLS VPN telah menjadi nilai tambah bagi Service Provider, tetapi penerapan QoS bervariasi antar customer. Beberapa customer membuat hanya 2 class of services - (voice dan non-voice), sementara lainnya membuat sebanyak 5 class :
• Best Effort Data
• Interactive Data (i.e.,Telnet)
• Mission Critical Data (ERP applications; i.e., SAP, PeopleSoft)
• Video
• Voice
Kesimpulan
MPLS sedang berkembang sebagai teknologi yang dapat diterima secara luas, dibuktikan dengan lebih dari 100 customers menerapkan Cisco MPLS. Hal ini penting untuk dicatat bahwa MPLS tidak menggantikan IP. IP Control Plane adalah komponen fundamental MPLS. Kemampuan menambahkan “ATM-like Forwarding Plane” membuatnya menarik bagi Service Provider dan Enterprises.
Service Provider bisa mendapatkan keuntungan sebesar 25% dengan menerapkan MPLS VPNs, MPLS QoS dan MPLS TE, daripada sekedar menyediakan koneksi VPNs biasa.
Kesimpulan akhir adalah, keuntungan utama bagi Service Provider dan Enterprises menerapakan MPLS-enabled IP Network adalah kemampuan menyediakan koneksi Layer 3 dan Layer 2 dan “shared services” (seperti DHCP, NAT, dll) melalui “single network”, dengan tingkat optimasi dan utilisasi yang tinggi dari bandwidth yang tersedia menggunakan TE dan QoS.

Network Address Translation (NAT)



Keterbatasan alamat IPv.4 merupakan masalah pada jaringan global atau Internet. Untuk memaksimalkan penggunakan alamat IP yang diberikan oleh Internet Service Provider (ISP) dapat digunakan Network Address Translation atau NAT. NAT membuat jaringan yang menggunakan alamat lokal (private), alamat yang tidak boleh ada dalam tabel routing Internet dan dikhususkan untuk jaringan lokal/intranet, dapat berkomunikasi ke Internet dengan jalan ‘meminjam’ alamat IP Internet yang dialokasikan oleh ISP. Atau dapat juga digunakan untuk koneksi jaringan antar organisasi yang berbeda yang tidak ingin alamat jaringannya diketahui oleh organisasi lain.
Dengan NAT, jaringan internal/lokal, tidak akan terlihat oleh dunia luar/internet. IP lokal yang cukup banyak dapat dilewatkan ke Internet hanya dengan melalui translasi ke satu IP publik/global. Sehingga dengan kata lain bahwa NAT sebagai jembatan IP lokal untuk keluar ke IP internet/publik.

Desain dan konfigurasi VoIP dan Data pada Jaringan Frame Relay

Desain dan konfigurasi VoIP dapat dibuat dalam berbagai skenario, bergantung pada perangkat apa yang akan kita gunakan. Berikut contoh konfigurasi VoIP dan Data melalui Jaringan Frame Relay point-to-point menggunakan Cisco Router.
konfigurasi VoIP dan Data melalui Jaringan Frame Relay 
point-to-point
Untuk desain jaringan VoIP, di dalam perangkat Cisco router A dan B harus dirancang sebaik mungkin Alamat IP, subnet mask, serta nomor extension pesawat telepon. Seperti tabel di bawah ini:
Site A
Router A:
Network IP LAN 172.21.1.0
Subnet Mask 255.255.255.0
Alamat IP WAN 10.1.1.5
Subnet Mask 255.255.255.252
PC-A
Alamat IP 172.21.1.2
Subnet Mask 255.255.255.0
Default Gateway 172.21.1.1
Site B
Router B
Network IP LAN 192.168.1.0
Subnet Mask 255.255.255.0
Alamat IP WAN 10.1.1.6
Subnet Mask 255.255.255.252
PC-B
Alamat IP 192.168.1.2
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1
Penomoran Extension Pesawat Telepon
Site A
Voice-Port 2/0 100
Site B
Voice-Port 2/0 101
Port voice dalam router berperan melakukan emulasi koneksi telephony fisikal sehingga panggilan-panggilan voice beserta signaling dapat terkirim ke tujuan melalui jaringan. Agar komunikasi dapat berjalan dengan baik, hardware voice yang terpasang di perangkat router harus tepat, serta mengkonfigurasi port yang terhubung ke perangkat-perangkat telephony(handset, PABX, dll). Dengan demikian, perangkat dapat saling mengerti beberapa informasi signaling yang diterima dari jaringan Frame Relay. Berikut ilustrasi contoh instalasi port voice:
Sebuah port voice menghubungkan pesawat telepon ke WAN (Wide Area Network) melewati router.
Sebuah port voice menghubungkan pesawat telepon ke WAN
Dua telepon dikoneksikan melewati WAN untuk memberikan toll bypass
Dua telepon dapat berkomunikasi melalui WAN (Frame Relay)
Sebelum mengonfigurasi VoIP pada Cisco router, terlebih dahulu mengetahui gambaran urutan panggilan VoIP. Berikut ini merupakan urutan panggilan VoIP:
  1. Pemanggil mengangkat handset, memberi isyarat kondisi off-hook ke layer aplikasi signaling VoIP.
  2. Sesi layer aplikasi VoIP membuka nada dial (dial tone) dan menunggu pemanggil untuk melakukan dialing ke tujuan.
  3. Saat pemanggil melakukan dialing sebuah nomor, digit dial diakumulasi dan disimpan oleh aplikasi session.
  4. Setelah digit tertentu terakumulasi sehingga sesuai dengan pola address tujuan, nomor telepon tersebut dipetakan ke sebuah IP host. IP host tersebut memiliki hubungan koneksi langsung ke nomor telepon tujuan.
  5. Aplikasi session selanjutnya membentuk transmisi dan channel penerimaan untuk masing-masing arah jaringan IP.
  6. Coder-decoder (codec) diaktifkan untuk kedua ujung koneksi, dan percakapan diproses menggunakan RTP/UDP/IP. Berbagai sinyal voice dikompres, dipaketkan ke bentuk paket-paket, lalu ditransportasikan melalui jaringan.
  7. Signaling yang dapat dideteksi oleh port voice setelah setup panggilan lengkap, kemudian dibawa melalui jaringan IP.
Dalam suatu jaringan Private atau jaringan perusahaan, direkomendasikan menggunakan IP Private, agar tidak konflik di kemudian hari apabila jaringan ini diintegrasikan dengan Internet Public. Kelompok IP private adalah sebagai berikut:
Kelas A 10.0.0.0-10.255.255.255
Kelas B 172.16.0.0-172.31.255.255
Kelas C 192.168.0.0-192.168.255.255
Banyak type router Cisco yang bisa digunakan untuk VoIP dengan syarat mempunyai minimum fitur IOS IP Plus dan port Voice, baik fixed maupun modular. Type router cisco yang memiliki port voice modular antara lain seri 1700, 2600, 3600, dst.
Dalam desain ini digunakan 2 buah tipe router Cisco seri 1700 type 1760.
Gambar fisik router Cisco seri 1760
Gambar fisik router Cisco seri 1760
Diagram router Cisco seri 1760
Diagram router Cisco seri 1760

Konfigurasi VoIP pada Cisco Router

Konfigurasi router Cisco seri 1760 dapat dilakukan dengan menggunakan command-line, yang dihubungkan ke dalam port console. Berikut merupakan beberapa perintah esensial untuk melakukan konfigurasi awal terhadap router yang digunakan sebagai infrastruktur jaringan VoIP:
1. Konfigurasi nama host router, dengan menggunakan perintah:
router(config)#hostname <text>
2. Konfigurasi password demi alasan keamanan, dengan menggunakan perintah:
router(config)#enable password <text>
3. Setting Frame Relay pada Interface Serial 0/0
routerA(config)#int s0/0
routerA(config-if)#encapsulation Frame Relay
routerA(config-if)#exit
4. Setting alamat IP pada Sub-Interface Serial 0/0.20 dan voice compression
routerA(config)#int s0/0.20 point-to-point
routerA(config-subif)#Description Link-For-Voip
routerA(config-subif)#ip address 10.1.1.5 255.255.255.252
RouterA(config-subif)# frame-relay ip rtp header-compression
5. Setting DLCI pada Sub-Interface Serial 0/0.20
routerA(config-subif)#Frame-Relay Interface-DLCI 20
6. Setting Alamat IP pada FastEthernet 0/0
routerA(config)#int f0/0
routerA(config-if)#ip address 172.21.1.1 255.255.255.0
7. Setting untuk membuka port Telnet
routerA(config)#config t
routerA(config-line)#line vty 0 4
8. Setting Password untuk Telnet
routerA(config-line)#password cisco routerA(config-line)#login routerA(config-line)#(press Ctrl+Z)
9. Menyimpan konfigurasi ke dalam memori NVRAM (non-volatile random access memory):
routerA#write
10. Konfigurasi routing statik
routerA(config)#ip route 192.168.1.0 255.255.255.0 Serial0/0.20
11. Konfigurasi Plain-Old Telephone System (POTS) dan Nomor Extension terminal telepon yang terkoneksi pada routerA.
routerA(config)#dial-peer voice 1 POTS
routerA(config-dial-peer)#destination pattern 100
routerA(config-dial-peer)#port 2/0
routerA(config-dial-peer)#description EXT-TELEPON
12. Setting Routing VoIP
routerA(config)#dial-peer voice 2 VoIP
routerA(config-dial-peer)#destination pattern 101
routerA(config-dial-peer)#session target ipv4:10.1.1.6
routerA(config-dial-peer)#description ROUTING-VoIP
13. Setting IP Host Table
routerA(config)#ip host RouterB 10.1.1.6
.
Konfigurasi dibawah ini merupakan konfigurasi lengkap VoIP dan data melalui jaringan Frame Relay:
Konfigurasi Router A
Router#configure terminal
Router(config)#hostname RouterA
RouterA(config)#enable password cisco
RouterA(config)#ip host RouterB 10.1.1.6
RouterA(config)#interface Fastethernet 0/0
RouterA(config-if)#ip address 172.21.1.1 255.255.255.0
RouterA(config-if)#description LAN-A
RouterA(config-if)#exit
RouterA(config)#interface serial 0/0
RouterA(config-if)#encapsulation Frame-Relay
RouterA(config-if)#exit
RouterA(config)#interface serial 0/0.20 point-to-point
RouterA(config-subif)#description link-for-VoIP+Data
RouterA(config-subif)#ip address 10.1.1.5 255.255.255.252
RouterA(config-subif)#frame relay interface-dlci 20
RouterA(config-subif)#frame-relay ip rtp header-compression
RouterA(config-subif)#Ctrl Z
RouterA#configure terminal
RouterA(config)#line vty 0 4
RouterA(config-line)#password cisco
RouterA(config-line)#login
RouterA(config-line)#Ctrl Z
RouterA#configure terminal
RouterA(config)#dial-peer voice 1 POTS
RouterA(config-dial-peer)#destination pattern 100
RouterA(config-dial-peer)#port 2/0
RouterA(config-dial-peer)#description EXT-TELPON
RouterA(config-dial-peer)#exit
RouterA(config)#dial-peer voice 2 VoIP
RouterA(config-dial-peer)#destination pattern 101
RouterA(config-dial-peer)#session target ipv4 : 10.1.1.6
RouterA(config-dial-peer)#description ROUTING-VoIP
RouterA(config-dial-peer)#exit
RouterA(config)#ip route 192.168.1.0 255.255.255.0 Serial0/0.20
RouterA#write

Konfigurasi RouterB
Router#configure terminal
Router(config)#hostname RouterB
RouterB(config)#enable password cisco
RouterB(config)#frame-relay switching
RouterB(config)#ip host RouterA 10.1.1.5
RouterB(config)#interface Fastethernet 0/0
RouterB(config-if)#ip address 192.168.1.1 255.255.255.0
RouterB(config-if)#description LAN-B
RouterB(config-if)#exit
RouterB(config)#interface serial 0/0
RouterB(config-if)#clock rate 512000
RouterB(config-if)#encapsulation Frame-Relay
RouterB(config-if)#frame relay intf-type DCE
RouterB(config-if)#exit
RouterB(config)#interface serial 0/0.20 point-to-point
RouterB(config-subif)#description link-for-VoIP+Data
RouterB(config-subif)#ip address 10.1.1.6 255.255.255.252
RouterB(config-subif)#frame-relay interface-dlci 20
RouterB(config-subif)#frame-relay ip rtp header-compression
RouterB(config-subif)#exit
RouterB(config)#dial-peer voice 1 POTS
RouterB(config-dial-peer)#destination pattern 101
RouterB(config-dial-peer)#port 2/0
RouterB(config-dial-peer)#description EXT-TELPON
RouterB(config-dial-peer)#exit
RouterB(config)#dial-peer voice 2 VoIP
RouterB(config-dial-peer)#destination pattern 100
RouterB(config-dial-peer)#session target ipv4 : 10.1.1.5
RouterB(config-dial-peer)#description ROUTING-VoIP
RouterB(config-dial-peer)#exit
RouterB(config)#ip route 172.21.1.0 255.255.255.0 Serial0/0.20
RouterB(config)#line vty 0 4
RouterB(config-line)#password cisco
RouterB(config-line)#login
RouterB(config-line)#Ctrl Z
RouterB#write

ISDN (Integrated Services Digital Network)

Terdapat 2 jenis sambungan ISDN :
  1. Basic Rate Access (BRA) menggunakan interface yang disebut Basic Rate Interface (BRI)
  2. Primary Rate Access (PRA) menggunakan interface yang disebut Primary Rate Interface (PRI).
Berikut tabel kecepatan untuk BRI dan PRI :
Tipe Interface
Jumlah Channel Bearer (B). B=64 Kbps
Jumlah Channel Signalling (D)
Total
BRI
2
1 (16 kbps)
2B + D
PRI (T1)
23
1 (64 kbps)
23B + D
PRI (T2)
30
1 (64 kbps)
30B + D
BRI dan PRI
Channel ISDN dibagi 2 tipe—B dan D:
  • Channel Bearer — Channel B digunakan untuk membawa data. Maksimum kecepatannya 64 kbps. Channel B dapat membawa PCM digital voice, video, atau data. Channel B biasa digunakan untuk komunikasi “circuit-switched data” seperti High-Level Data Link Control (HDLC) dan Point-to-Point Protocol (PPP). Selain itu, ISDN dapat juga membawa “packet-switched data”.
  • Channel D — digunakan untuk signalling ke switch ISDN. Router menggunakan channel D untuk melakukan dial ke nomor telepon tujuan. Channel D mempunyai bandwidth 16 kbps untuk BRI dan 64 kbps untuk PRI. Walaupun fungsi utamanya untuk signaling, channel D dapat juga digunakan untuk membawa “packet-switched data” (X.25, Frame Relay, dll).
Topologi koneksi jaringan ISDN.
isdn.jpg
Untuk melakukan koneksi ISDN bisa dengan 3 cara, disesuaikan dengan interface yang dimiliki :
Ada 3 jenis Interface yang dapat digunakan untuk koneksi ISDN BRI:
  1. Interace S/T Type
    Jika memiliki interface S/T type di router, maka kita membutuhkan Network Terminal-1(NT-1).
  2. Interaface U Type
    Dengan interface U-Type, line ISDN langsung dimasukkan ke interface U-Type.
  3. Non-Navitve ISDN Interface
    Dengan interface ini, dibutuhkan Terminal Adapter (TA) dan NT-1.
Dalam sebuah ISDN Modem, biasanya didalamnya sudah berisi TA dan NT-1.
isdn2.jpg
PRI dapat menggunakan 2 jenis Interface :
  1. CT1/PRI-U
    Membutuhkan CSU/Modem untuk terhubung ke sentral ISDN di sisi provider.
  2. CT1/PRI-CSU
    Line ISDN dari provider langsung dihubungkan ke interface.
Konektor ke Line ISDN menggunakan RJ-45.



Jenis-jenis Switch ISDN
Tipe Switch
Keterangan
Basic-1tr6
1TR6 switch type for Germany
Basic-5ess
AT&T 5ESS switch type for the U.S.
Basic-dms100
DMS-100 switch type
Basic-net3
NET3 switch type for UK and Europe
Basic-ni1
National ISDN-1 switch type
Basic-nwnet3
NET3 switch type for Norway
Basic-nznet3
NET3 switch type for New Zealand
Basic-ts013
TS013 switch type for Australia
Ntt
NTT switch type for Japan
vn2
VN2 switch type for France
vn3
VN3 and VN4 switch types for France
Basic-1tr6
1TR6 switch type for Germany

Contoh Konfigurasi ISDN BRI.

Gambar Jaringan
bri.jpg
Konfigurasi :
Berikut Konfigurasi Router untuk jaringan di atas :
  • Remote Router
  • Main Router
Remote Router
hostname branch1
!
username main password secret1
!
isdn switch-type Basic-5ess
!
interface Ethernet 0 
ip address 131.108.64.190 255.255.255.0
!
interface BRI 0
encapsulation PPP
ip address 131.108.157.1 255.255.255.0
ppp authentication chap
dialer idle-timeout 300
dialer map IP 131.108.157.2 name main 4883
dialer-group 1
!
ip route 131.108.0.0 255.255.0.0 131.108.157.2   
!
ip route 0.0.0.0 0.0.0.0 131.108.157.2
!
dialer-list 1 protocol ip permit
Main Router
hostname main
!
username branch1 password secret1
username branch2 password secret2
!
isdn switch-type Basic-5ess
!
interface Ethernet 0
ip address 131.108.38.1 255.255.255.0
!
interface BRI 0
encapsulation PPP
ip address 131.108.157.2 255.255.255.0
ppp authentication chap
dialer idle-timeout 300
dialer map IP 131.108.157.1 name branch1 4885
dialer-group 1
!
ip route 131.108.64.0 255.255.255.0 131.108.157.1
!
dialer-list 1 protocol ip permit

Parameter Penting yang perlu diingat :

hostname name
hostname main
Hostname digunakan untuk mengidentifikasi router lain ketika melakukan koneksi menggunakan PPP.
Router mengirimkan pesan Challenge Handshake Authentication Protocol (CHAP) ke router lain untuk membentuk koneksi jaringan.
username name password secret
username branch1 password secret1
username dan password dibutuhkan untuk mengklarifikasi apakah user diperbolehkan masuk ke jaringan dengan CHAP. Dua buah router saling bertukar informasi password yang sama.
isdn switch-type switch-type
Router-router ini terhubung ke switch AT&T 5ESS. Sehingga di router di set : isdn switch-type Basic-5ess
Konfigurasi di sisi router untuk jenis Switch ISDN harus sesuai dengan Switch ISDN yang terdapat di provider. Sesuai dengan tabel Jenis-jenis Switch ISDN diatas.
Jika kita melakukan penggantian tipe switch ISDN, router cisco harus direload.
Mendefinisikan “Interesting Traffic”
  • dialer-group group number
  • dialer-list dialer-group protocol protocol-name {permit | deny}
Dialer-list dengan protocol tertentu digunakan untuk memerintahkan router melakukan “dial” untuk membentuk koneksi.
dialer-list 1 protocol ip permit
Menyatakan jika terdapat protocol IP (sebagai “Interesting Traffic”) sampai ke router, maka router akan melakukan “dial” ke sisi router lawan.
Interface BRI 0
!
Dialer-group 1
Menyatakan proses dial akan melalui Interface BRI 0.
ppp authentication chap
Command yang menyatakan bahwa di interface ini digunakan authentication/ autentikasi CHAP.
dialer idle-timeout seconds
dialer idle-timeout 300
Menyatakan dalam waktu yang telah ditentukan ( 300 second) jika tidak ada trafik yang lewat, maka router akan memutuskan koneksi jaringan ISDN.
dialer map protocol name remote-name destination-phone-number
dialer map IP 131.108.157.1 name branch1 4885 (di main Router)
dialer map digunakan untuk membedakan koneksi ke remote yang berbeda.
Dialer map me-“mapping” network-layer-ke-link-layer digunakan oleh router untuk mengirim paket ke luar dari interface. Contoh di atas, dialer map berisi nama dan nomor telepon dari router lawan untuk melakukan panggilan/call. Nama digunakan router untuk melakukan panggilan melalui CHAP.
ip route network [mask] {address | interface} [distance]
ip route 131.108.64.0 255.255.255.0 131.108.157.1
Perintah statik routing sangat penting agar paket sampai ke tujuan.

Administrative Distance (AD) pada Routing IP

Pada umumnya protocol routing mempunyai struktur metric dan algoritma yang berbeda dengan protocol yang lain. Pada jaringan yang memiliki beberapa routing protocol, pertukaran informasi routing dan kemampuan untuk memilih jalur terbaik sangatlah penting.
Administrative distance (AD) adalah fitur yang dimiliki oleh router untuk memilih jalur terbaik ketika terdapat dua atau lebih jalur menuju tujuan yang sama dari dua routing protocol yang berbeda. Administrative distance menyatakan “reliability” dari sebuah routing protocol. Tiap routing protocol diprioritaskan terhadap yang lain dengan bantuan besaran/nilai Administrative Distance (AD).
Pemilihan Jalur Tebaik [The Best Path]
Administrative distance adalah kriteria pertama yang digunakan oleh router untuk menentukan routing protocol yang harus dijalankan, jika terdapat dua routing protocol yang menyediakan jalur untuk tujuan yang sama. AD adalah sebuah ukuran “trustworthiness” dari source of routing information. AD hanya mempunyai local significance, dan tidak melakukan advertise dalam routing update.
Nilai AD yang lebih kecil, lebih dipercaya/reliable. Contoh, Jika sebuah router menerima informasi tentang jalur menuju jaringan tertentu dari Open Shortest Path First (OSPF) (default administrative distance - 110) dan Interior Gateway Routing Protocol (IGRP) (default administrative distance - 100), Router akan memilih IGRP karena IGRP lebih dipercaya/reliable karena memiliki AD yang lebih kecil dibandingkan OSPF.
Jika source address untuk IGRP hilang atau tidak dikenal, maka router akan memilih/menjalankan routing OSPF sampai IGRP aktif kembali.
Tabel Nilai Default Administrative Distance (AD) pada Router Cisco:

Route Source Default Distance Values
Connected interface 0
Static route 1
Enhanced Interior Gateway Routing Protocol (EIGRP) summary route 5
External Border Gateway Protocol (BGP) 20
Internal EIGRP 90
IGRP 100
OSPF 110
Intermediate System-to-Intermediate System (IS-IS) 115
Routing Information Protocol (RIP) 120
Exterior Gateway Protocol (EGP) 140
On Demand Routing (ODR) 160
External EIGRP 170
Internal BGP 200
Unknown* 255
* Jika administrative distance 255, artinya router tidak mengenali source, sehingga route/jalur tidak akan diinstall/disimpan dalam table routing.
Jika anda menggunakan “route redistribution”, anda harus memodifikasi administrative distance dari Routing Protocol yang digunakan sehingga bisa melakukan prioritas. Contoh, anda ingin router memilih protocol RIP (AD 120) daripada IGRP (AD 100) ke tujuan yang sama. Anda harus memperbesar administrative distance untuk IGRP lebih dari 120, atau menurunkan administrative distance RIP lebih kecil dari 100.
Anda juga bisa memodifikasi administrative distance dengan menggunakan “distance command” pada “routing process subconfiguration mode”. Command ini menunjukkan bahwa “administrative distance” diterapkan pada “route/jalur” yang digunakan oleh “routing protocol” tertentu. Anda harus menggunakan prosedur ini ketika melakukan migrasi jaringan dari satu “routing protocol” tertentu ke “routing protocol” yang lain, dan route/jalur yang dipilih paling akhir adalah yang mempunyai nilai “administrative distance” terbesar. Perubahan administrative distance bisa menyebabkan “routing loops” dan “black holes”. Jadi, harap berhati-hati jika anda ingin merubah administrative distance.
Berikut contoh 2 routers, R1 & R2, yang terhubung via Ethernet. Interface Loopback melakukan “advertise” RIP dan IGRP pada kedua router. Terlihat bahwa IGRP lebih disukai (preferred) daripada RIP pada tabel routing karena administrative distance-nya 100.

R1#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
I 10.0.0.0/8 [100/1600] via 172.16.1.200, 00:00:01, Ethernet0
C 192.168.1.0/24 is directly connected, Loopback0

R2#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
C 10.0.0.0/8 is directly connected, Loopback0
I 192.168.1.0/24 [100/1600] via 172.16.1.100, 00:00:33,
Agar router R1 lebih memilih RIP daripada IGRP, ubah distance seperti dibawah ini:

R1(config)#router rip
R1(config-router)#distance 90
Sekarang lihat pada routing tabel. Router lebih memilih RIP. Router melihat RIP dengan AD 90, walaupun defaultnya 120. Catatan, bahwa nilai baru AD hanya untuk router proses dari single router (dalam hal ini R1). R2 masih memiliki IGRP dalam routing tabelnya.

R1#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
R 10.0.0.0/8 [90/1] via 172.16.1.200, 00:00:16, Ethernet0
C 192.168.1.0/24 is directly connected, Loopback0

R2#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
C 10.0.0.0/8 is directly connected, Loopback0
I 192.168.1.0/24 [100/1600] via 172.16.1.100, 00:00:33,
Tidak ada panduan secara umum merubah AD, karena kebutuhan setiap jaringan berbeda dan bervariasi. Anda harus menentukan matrix AD yang sesuai untuk jaringan secara keseluruhan.
Penerapan lain Administrative Distance
Salah satu alasan merubah nilai administrative distance adalah ketika anda menggunakan Routing Static untuk membackup routing lain seperti IGP. Hal ini digunakan untuk mengaktifkan link backup ketika primay link down/fail.
Contoh, anda menggunakan routing tabel R1. Dalam hal ini terdapat line ISDN yang berfungsi sebagai backup jika link utama/primary down/fail. Berikut contoh “Floating Static” untuk rute ini:

ip route 10.0.0.0 255.0.0.0 Dialer 1 250

!— Note: The Administrative Distance is set to 250. 
Jika interface Ethernet down/fail, atau secara manual dijatuhkan (shutdown) pada interface Ethernet, “floating static route” segera beraksi dalam tabel routing. Semua traffic yang menuju network 10.0.0.0/8 selanjutnya akan melalui interface Dialer 1 sebagai link backup. Berikut tabel routing setelah primary link down:

R1#show ip route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
S 10.0.0.0/8 is directly connected, Dialer1
C 192.168.1.0/24 is directly connected, Loopback0

Sabtu, 16 Juli 2011

Password Recovery Procedure for the Cisco 2000 & 2500

Diposting oleh Belajar bareng di 11.13 0 komentar
This section provides an example of the password recovery procedure. This example uses a Cisco 2500 Series Router.

Router>enable
Password:
Password:
Password:
% Bad secrets
Router>show version

Cisco Internetwork Operating System Software

IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)
RELEASE SOFTWARE (fc3)

Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade

Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.

Processor board ID 02315272, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

SuperLAT software (copyright 1990 by Meridian Technology Corp).

TN3270 Emulation software.

1 Ethernet/IEEE 802.3 interface(s)

1 Token Ring/IEEE 802.5 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2102

!— This is the current value of the configuration register.

Router>

!— The router was just power cycled and during bootup
!— break sequence is sent to the router (CTRL+Break).


System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 16384 Kbytes of main memory

Abort at 0×10EA83C (PC)
>o
Configuration register = 0×2102 at last boot

!— You can also issue the o command at the ROMmon prompt
!— in order to view the configuration register settings value.

Bit# Configuration register option settings:
15 Diagnostic mode disabled
14 IP broadcasts do not have network numbers
13 Boot default ROM software if network boot fails
12-11 Console speed is 9600 baud
10 IP broadcasts with ones
08 Break disabled
07 OEM disabled
06 Ignore configuration disabled
03-00 Boot file is cisco2-2500 (or ‘boot system’ command)

>o/r 0×2142

!— Changes the value of config-register to 2142, so that
!— the router boots and ignores the NVRAM contents.

>i

!— Initializes or resets the router; the
!— router boots with the default configuration.

System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 8192 Kbytes of main memory
F3: 13626872+197596+780568 at 0×3000060
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000
cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]:

!— Ctrl+C pressed.

!
Press RETURN to get started!
00:00:08: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial1, changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
00:01:29: %LINK-3-UPDOWN: Interface Ethernet0Translating “Router”…
domain server (255.255.255.255), changed state to up
00:01:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:31: %SYS-5-RESTART: System restarted –
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
00:01:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to down
00:01:33: %LINK-5-CHANGED: Interface Ethernet0, changed state to

administratively down

00:01:33: %LINK-5-CHANGED: Interface Serial0, changed state to

administratively down
00:01:33: %LINK-5-CHANGED: Interface Serial1, changed state to
administratively down
00:01:33: %LINK-5-CHANGED: Interface TokenRing0, changed state to

administratively down

00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface TokenRing0,
changed state to down
Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?

!— Press ENTER.

1278 bytes copied in 10.448 secs (127 bytes/sec)

Note: After you copy the configuration file from NVRAM to RAM, based on how the password is last configured, you can either:

* perform a password recovery, if the enable password is configured (which is in plain text format)

or
* perform a password replacement, if the enable secret password is configured (which is in encrypted format)

In order to check the format in which the password is configured on the router, use the show running-config command, and look for enable password or enable secret password in the configuration.

Password Replacement
This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config

!— This command can be used to view the unencrypted password.

Building configuration…

Current configuration : 431 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable password XxXxXx

!— Here the password is plain clear text. We can either maintain
!— the same password or replace with a new password for security reasons.

!— Output Suppressed.

This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config
Building configuration…
Current configuration : 835 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$Oea234/6Ppi0PZYzAj/vX0
!— Password replacement has to be done as the password is in encrypted format.

!— Output suppressed.

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret xxxxxxx
Router(config)#
00:03:39: %SYS-5-CONFIG_I: Configured from console by console

When the password recovery or replacement is complete, the next steps are the same, as shown in this example output:

Router#show ip interface brief

Router(config)#interface ethernet 0
Router(config-if)#no shutdown
*Mar 1 00:04:12.863: %LINK-3-UPDOWN: Interface Ethernet0,
changed state to up
*Mar 1 00:04:13.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
Router(config-if)#interface serial 0
Router(config-if)#no shutdown
*Mar 1 00:04:18.107: %LINK-3-UPDOWN: Interface Serial0,
changed state to up
*Mar 1 00:04:19.167: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
Router(config-if)#interface serial 1
Router(config-if)#no shutdown
Router(config-if)#
*Mar 1 00:04:27.055: %LINK-3-UPDOWN: Interface Serial1,
changed state to up
*Mar 1 00:04:28.071: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up #
Router(config-if)#^Z
Router#
00:02:35: %SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]

After you recover or replace the password, you must reset the configuration register value to 0×2102, which was changed earlier in the procedure to 0×2142 in order to ignore the startup configuration and boot the router. In order to verify the configuration register value, issue the show version command.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102

!— The config-register is changed back to load the router
!— with NVRAM configuration.

Router(config)#^Z
00:03:20: %SYS-5-CONFIG_I: Configured from console by console

When you issue the config-reg 0×2102 command, the new configuration register value is not immediately applied. The new value is applied only after the router is reloaded. The show version command shows the current value (0×2142) and the value that will be applied after the next reload (0×2102).

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142 (will be 0×2102 at next reload)
Router#

After you save the configuration, reload the router, and verify the configuration register value is 0×2102, as shown in this example:

Router#write memory
*Mar 1 00:05:09.035: %SYS-5-CONFIG_I: Configured from console by console
Building configuration…
[OK]
Router#
Router#reload
Proceed with reload? [confirm]

!— Press Enter to continue.

!— Starts to load the Cisco IOS from Flash and takes the configuration from the NVRAM.

00:17:36: %SYS-5-RELOAD: Reload requested by console.

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 14336 Kbytes of main memory

F3: 15011856+968960+947120 at 0×3000060


!— Output suppressed.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by reload
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0×2102

Router#

Password Recovery Procedure for the Cisco 1700, 2600, 3600, etc

Diposting oleh Belajar bareng di 11.09 0 komentar
This document describes the procedure for recovering enable password or enable secret passwords. These passwords are used to protect access to privileged EXEC and configuration modes. The enable password password can be recovered, but the enable secret password is encrypted and can only be replaced with a new password using the procedure below.
This password recovery procedure can also be used for the following products:
* Cisco 806
* Cisco 827
* Cisco uBR900
* Cisco 1003
* Cisco 1004
* Cisco 1005
* Cisco 1400
* Cisco 1600
* Cisco 1700
* Cisco 2600
* Cisco 3600
* Cisco 4500
* Cisco 4700
* Cisco AS5×00
* Cisco 6×00
* Cisco 7000 (RSP7000)
* Cisco 7100
* Cisco 7200
* Cisco 7500
* Cisco uBR7100
* Cisco uBR7200
* Cisco uBR10000
* Cisco 12000
* Cisco LS1010
* Catalyst 2948G-L3
* Catalyst 4840G
* Catalyst 4908G-L3
* Catalyst 5500 (RSM)
* Catalyst 8510-CSR
* Catalyst 8510-MSR
* Catalyst 8540-CSR
* Catalyst 8540-MSR
* Cisco MC3810
* Cisco NI-2
* Cisco VG200 Analog Gateway
* Route Processor Module
Step-by-Step Procedure

Follow this procedure to recover the enable password or enable secret passwords.
1. Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
2. If you still have access to the router, type show version and record the setting of the configuration register; it is usually 0×2102 or 0×102. Click here to see the output of a show version command.
3. If you don’t have access to the router (because of a lost login or tacacs password), you can safely consider that your configuration register is set to 0×2102.
4. Using the power switch, turn off the router and then turn it back on.
Important: To simulate step 4 on a Cisco 6400, pull out and then replace the Node Route Processor (NRP) or Node Switch Processor (NSP) card.
To simulate step 4 on a Cisco 6×00 using NI-2, pull out and then replace the NI-2 card.
5. Press Break on the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON.
If the break sequence doesn’t work, see Standard Break Key Sequence Combinations During Password Recovery for other key combinations.
6. Type confreg 0×2142 at the rommon 1> prompt to boot from Flash without loading the startup configuration from the nonvolatile RAM (NVRAM).
7. Type reset at the rommon 2> prompt.
The router reboots but ignores its saved configuration.
8. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
9. Type enable at the Router> prompt.
This puts you in enable mode where you can see the Router# prompt.
10. Important: Type configure memory or copy startup-config running-config to copy the NVRAM into memory. Do not type configure terminal or copy running-config startup-config or write memory. This erases the router configuration stored in the NVRAM.
11. Type write terminal or show running-config.
The show running-config and write terminal commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords (enable password, enable secret, vty, console passwords, and so on) either in encrypted or unencrypted format. The unencrypted passwords can be re-used; the encrypted ones have to be replaced with new passwords.
12. Type configure terminal and make the changes.
The prompt is now hostname(config)#.
13. Type enable secret < password > to change the enable secret password, for example.
14. Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, once you exit the configuration mode (Ctrl-z), every interface that you want to use should be “up up”.
15. Type config-register 0×2102, or the value you recorded in step 2. This makes the router load the startup configuration from the NVRAM during the next reload.
16. Press Ctrl-z or End to leave the configuration mode.
The prompt is now hostname#.
17. Type write memory or copy running-config startup-config to commit the changes.
Sample Output
The sample output shown here is the result of the password recovery procedure on a Cisco 4700 Series Router. Even if you are not using a 4700 router, this example should be almost exactly what you experience on your device.
Router>enable
Password:
Password:
Password:
% Bad secrets
Router>show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10),
RELEASE SOFTWARE (fc1)
Router uptime is 0 minutes
System returned to ROMby reload at 17:34:58 UTC Tue Aug 1 1995
System image file is “flash:c4500-is-mz.122-10b.bin”
cisco 4700 (R4K) processor (revision B) with 32768K/16384K bytes of memory.
Processor board ID 02169303
R4600 CPU at 133Mhz, Implementation 32, Rev 2.0, 512KB L2 Cache
G.703/E1 software, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
6 Ethernet/IEEE 802.3 interface(s)
8 Serial network interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
Configuration register is 0×2102
Router>
!— The router was just powercycled and during bootup a
!—break sequence was sent to the router.

!
monitor: command “cisco2-C4500″ aborted due to user interrupt
>
>confreg 0×2142
You must reset or power cycle for new config to take effect
>reset
System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
Copyright (c) 1995 by cisco Systems, Inc.
C4500 processor with 32768 Kbytes of main memory
Self decompressing the image : ##################################
#######################################################
################################# [OK]
program load complete, entrypt: 0×80008000, size: 0×6a6b30
Self decompressing the image : ################################
#################################### [OK]
Restricted Rights Legend
…….
< ...snip>
……
— System Configuration Dialog —
Would you like to enter the initial configuration dialog?[yes/no]:n
Press RETURN to get started!
00:00:05: %LINK-3-UPDOWN: Interface Serial0, changed state to down
…… < ..snip>
00:01:29: %LINK-5-CHANGED: Interface Ethernet5, changed state to
administratively down
Router>
Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?
1012 bytes copied in 0.276 secs (3667 bytes/sec)
Router#show running-config
Building configuration…
Current configuration : 1084 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$uQ7K$rfZtMRsWsFagqsW4/9K0b1
!— Since the password is encrypted, we need to replace
!— the password with the new one.

!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.0.0.0
media-type 10BaseT
!
interface Ethernet1
no ip address
shutdown
media-type 10BaseT
!
Ouput Omitted
!
interface Serial0
ip address 172.16.1.1 255.255.0.0
!
Ouput Omitted
!
ip classless
no ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
login
!
end
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret < password > [Choose a strong password with at least one capital letter, one number, and one special character.]
Router(config)#^Z
00:05:23: %SYS-5-CONFIG_I: Configured from console by console
Router#show ip interface brief
…< ...output omitted>
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface ethernet 0
Router(config-if)#no shutdown
Router(config-if)#
00:08:06: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Router(config-if)#^Z
Router#
00:09:21: %SYS-5-CONFIG_I: Configured from console by console
Router#
Router#
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE(fc1)
Router uptime is 10 minutes
……< ..snip>
……
8192K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
Configuration register is 0×2142
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102
Router(config)#^Z
Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000
ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)
BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE (fc1)
Router uptime is 11 minutes
…….< ..snip>
……
00:11:02: %SYS-5-CONFIG_I: Configured from console 4096K bytes of processor board
Boot flash (Read/Write)
Configuration register is 0×2142 (will be 0×2102 at next reload)
Source: cisco.com

Positioning MPLS

Diposting oleh Belajar bareng di 11.07 0 komentar

Positioning MPLS

MPLS Diagram
Dokumen ini berisi komponen teknologi Multi-Protocol Label Switching (MPLS), fungsi-fungsinya dan ilustrasi nilai tambah bagi Service Provider.
MPLS pada mulanya ditargetkan untuk pelanggan Service Provider; tetapi saat ini perusahaan-perusahaan sudah mulai tertarik untuk penerapan teknologi ini. Dokumen ini dapat diterapkan untuk perusahaan besar yang memiliki jaringan seperti Service Provider pada area berikut ini :
  • - Size/ukuran besarnya jaringan
  • - Menawarkan “internal services” untuk department yang berbeda dalam perusahaan
MPLS komplimen dengan teknologi IP. MPLS di desain untuk membangkitkan kecerdasan yang berhubungan dengan IP Routing, dan Paradigma Switching yang berhubungan dengan Asynchronous Transfer Mode (ATM).
MPLS terdiri dari Control Plane dan Forwarding Plane. Control Plane membuat apa yang disebut “Forwarding Table”, sementara Forwarding Plane meneruskan paket ke interface tertentu (berdasarkan Forwarding Table).
Efisien desain dari MPLS adalah menggunakan Labels untuk membungkus/encapsulate paket IP. Sebuah Forwarding Table berisi list/mengurutkan Nilai-nalai Label (Label Values), yang masing-masing berhubungan dengan penentuan “outgoing interface” untuk setiap prefix network/jaringan.

Cisco IOS Software support 2 mekanisme signalling untuk distribusi Label: Label Distribution Protocol (LDP) dan Resource Reservation Protocol/Traffic Engineering (RSVP/TE).
MPLS meliputi komponen utama sebagai berikut :
1. MPLS Virtual Private Networks (VPNs) - memberikan “MPLS-enabled IP networks” untuk koneksi Layer 3 dan Layer 2. Berisi 2 komponen utama :
  1. Layer 3 VPNs - menggunakan Border Gateway Protocol.
  2. Layer 2 VPNs - Any Transport over MPLS (AToM)
2. MPLS Traffic Engineering (TE) - menyediakan peningkatan utilisasi dari bandwidth jaringan yang ada dan untuk “protection services”.
3. MPLS Quality of Service (QoS) - menggunakan mekanisme IP QoS existing, dan menyediakan perlakuan istimewa untuk type trafik tertentu, berdasarkan atribut QoS (seperti MPLS EXP)
MPLS VPNs
Layer 3 VPNs

Layer 3 VPNs atau BGP VPNs, teknologi MPLS yang paling banyak digunakan. Layer 3 VPNs menggunakan “Virtual Routing instances” untuk membuat sebuah pemisahan table routing untuk tiap-tiap pelanggan/subscriber, dan menggunakan BGP untuk membentuk koneksi (peering relations) dan signal VPN-berLabel dengan masing-masing router Provider Edge (PE) yang sesuai. Hasilnya sangat scalable untuk diimplementasikan, karena router core (P) tidak memiliki informasi tentang VPNs.
BGP VPNs sangat berguna ketika pelanggan menginginkan koneksi Layer 3 (IP), dan lebih menyukai untuk membuang overhead routing ke Service Provider. Hal ini menjamin bahwa keanekaragaman interface Layer 2 dapat digunakan pada tiap sisi/side VPN. Contoh, Site A menggunakan interface Ethernet, sementara Site B menggunakan interface ATM; Site A dan Site B adalah bagian dari single VPN.
Relatif sederhana untuk penerapan “multiple topologies” dengan “router filtering”, Hub & Spoke atau Full Mesh:
  • Hub and Spoke - “central site” dikonfigurasi untuk “learn/mempelajari” semua “routes” dari seluruh remote sites, sementara remote sites dibatasi untuk “learn/mempelajari” routes, hanya khusus dari central site.
  • Topology Full Mesh akan menciptakan semua sites mempunyai kemampuan “learn/mempelajari” atau mengimport routes dari tiap site lainnya.
Layer 3 VPNs telah dikembangkan dalam jaringan yang mempunyai router PE sebanyak 700. Saat ini terdapat Service Provider yang memiliki sampai 500 VPNs, dengan masing-masing VPN berisi site sebanyak 1000. Banyak ragam routing protocol yang digunakan pada link akses pelanggan (yaitu link CE ke PE); Static Routes, BGP, RIP dan Open Shortest Path First (OSPF). VPNs paling banyak menggunakan Static Routes, diikuti dengan Routing BGP.
Layer 3 VPNs menawarkan kemampuan lebih, seperti Inter-AS dan Carrier Supporting Carrier (CSC). Hierarchical VPNs, memungkinkan Service Provider menyediakan koneksi melewati “multiple administrative networks”. Saat ini, penerapan awal dari fungsi seperti ini sudah tersebar luas.
Layer 2 VPNs
Layer 2 VPNs mengacu pada kemampuan dan kebutuhan dari pelanggan Service Provider untuk menyediakan Layer 2 Circuits melalui “MPLS-enabled IP backbone”. Penting untuk memahami 3 komponen utama dari Layer 2 VPNs:
  1. Layer 2 Transport over over MPLS - Layer 2 circuit - membawa data secara transparent - melalui MPLS enabled IP backbone (juga dikenal sebagai AToM).
  2. Virtual Private Wire Services - Kemampuan untuk menambahkan signalling ke AToM, dan untuk fitur-fitur seperti auto-discovery perangkat CE.
  3. Virtual Private LAN Services - Kemampuan menambahkan Virtual Switch Instances (VSIs) pada router PE untuk membentuk “LAN based services” melalui MPLS-enabled IP backbone.
Circuits Layer 2 yang dominan adalah Ethernet, ATM, Frame Relay, PPP, dan HDLC. AToM dan Layer 3 VPNs didasarkan pada konsep yang sama, tetapi AToM menggunakan sebuah “directed LDP session” untuk mendistribusikan Labels VC (analogy dengan BGP VPN Label). Oleh karena itu, router core tidak perlu mengetahui per-subscriber basis, hasinya sebuah architecture yang sangat “scalable”.
Sebelum ada AToM, Service Provider harus membangun jaringan yang berbeda untuk menyediakan koneksi Layer 2. Contoh, Service Provider harus membangun sebuah ATM dan sebuah Frame Relay Network, hasilnya peningkatan biaya operasional dan “capital expenses”. Saat ini, Layer 2 VPNs MPLS memungkinkan Service Provider untuk menggabungkan jenis jaringan yang berbeda ini, sehingga menghemat biaya operasional dan “capital expenses” secara significant.
Layer 2 VPNs dan Layer 3 VPNs dapat dikonfigurasi dalam single/satu box dan dapat difungsikan untuk meningkatkan keuntungan dari pelanggan.
Layer 2 dan Layer 3 VPNs saling melengkapi satu sama lain. Dengan berjalannya waktu, demand untuk Layer 2 VPNs bisa jadi lebih tinggi dibandingkan dengan Layer 3 VPNs.
MPLS Traffic Engineering
MPLS TE sejak awal diharapkan Service Provider sebagai teknologi yang dapat memanfaatkan bandwitdh jaringan yang tersedia secara lebih baik dengan menggunakan jalur alternatif/alternate paths (selain dari “the shortest path).
MPLS TE telah dikembangkan dengan beberapa keuntungan, termasuk Connectivity Protection menggunakan Fast ReRoute dan “Tight QoS”. “Tight QoS” dihasilkan dari penggunaan MPLS TE dan mekanisme QoS secara bersamaan.
MPLS TE menggunakan IGP, IS-IS dan OSPF untuk menyebar informasi bandwidth melalui jaringan. MPLS TE juga menggunakan RSVP Extention untuk mendistribusikan label dan “constraint-based routing” untuk menghitung jalur/paths dalam jaringan. Extention ini telah didefinisikan di rfc 3209
Service Provider yang membangun MPLS cenderung untuk menerapkan “full mesh” TE Tunnels, menciptakan logical mesh, walaupun topology physical tidak full mesh. Pada situasi seperti ini, Service Provider telah memperolah tambahan 40% - 50% ketersediaan bandiwidth di jaringan. Keuntungan ini adalah penggunaan jaringan secara optimal, yang berperan penting pada penurunan “capital expenses”.
MPLS TE menyediakan Connectivity Protection menggunakan Fast ReRoute (FRR). FRR memproteksi primary tunnels menggunakan pre-provisioned backup tunnels. Jika tunnel DOWN (failure condition), dibutuhkan waktu sekitar 50 ms untuk primary tunnel “switch over” ke backup tunnel. FRR bergantung pada proteksi Layer 3, tidak seperti proteksi SONET atau SDH yang terjadi pada level interface. Oleh karena itu, Waktu restorasi bergantung pada jumlah tunel dan jumlah prefix yang di”switch-over”. Ini adalah hal penting (key issue) yang harus dipertimbangkan ketika membuat desain FRR yang optimal.
Test internal implementasi FRR Cisco telah menghasilkan performansi lebih baik dari 50 ms; walau bagaimanapun, waktu restorasi mungkin lebih tinggi, bergantung pada konfigurasi. FRR dapat digunakan untuk proteksi Links, Nodes dan seluruh LSP Path. Sebagian besar Service Provider lebih memperhatikan local failures, dan banyak ditemukan bahwa link failures lebih sering terjadi daripada node failures.
DiffServ Aware Traffic Engineering mampu menjalankan TE untuk class trafik yang berbeda. Service Provider boleh memutuskan untuk mengoperasikan TE Tunnels yang memanfaatkan “sub-pool” untuk trafik Voice. Selanjutnya, Service Provider dapat menyakinkan bahwa tunnel ini menggunakan explicit path, dimana shortest path menghasilkan delay terpendek. Selain itu, terdapat TE Tunnels yang menggunakan “global pool” untuk trafik non-voice yang bukan “delay sensitive”.
Hal ini penting untuk dicatat bahwa MPLS TE adalah fungsi dari Control Plane. Ketika solusi Virtual Leased Line (VLL) didefinisikan, mekanisme QoS yang sesuai harus dikonfigurasi (seperti Queuing atau Policing) untuk memenuhi garansi bandiwidth. Service Provider sudah mulai menawarkan jasa VLL sebagai trunk voice untuk menghubungkan Central Office termasuk PBX.
MPLS Quality of Service
MPLS QoS mempengaruhi mekanisme existing dari IP QoS DiffServ, memungkinkan mereka bekerja pada jalur/path MPLS. Extension tertentu, termasuk kemampuan untuk melakukan “set” dan “match” pada bit-bit MPLS EXP telah ditambahkan; meskipun “fundamental behavior” dari mekanisme QoS tetap tidak berubah.
MPLS secara fundamental adalah teknik “tunneling”, jadi mekanisme QoS memungkinkan untuk penerapan yang flexible dengan “tunneling” QoS pelanggan melalui policies QoS dari Service Provider.
Oleh karena itu, Service Provider seharusnya menggunakan nilai EXP 6 untuk voice, dan nilai EXP 4 dan 3 untuk trafik non-voice. Menyediakan transparent services secara simultan untuk Enterprise dengan Maps QoS sebagai berikut :
  • Menggunakan Prec 3 untuk voice dan Prec 2 untuk trafik non-voice
  • Menggunakan Prec 5 untuk voice dan Prec 4 untuk trafic non-voice
Penawaran service QoS pada MPLS VPN telah menjadi nilai tambah bagi Service Provider, tetapi penerapan QoS bervariasi antar customer. Beberapa customer membuat hanya 2 class of services - (voice dan non-voice), sementara lainnya membuat sebanyak 5 class :
• Best Effort Data
• Interactive Data (i.e.,Telnet)
• Mission Critical Data (ERP applications; i.e., SAP, PeopleSoft)
• Video
• Voice
Kesimpulan
MPLS sedang berkembang sebagai teknologi yang dapat diterima secara luas, dibuktikan dengan lebih dari 100 customers menerapkan Cisco MPLS. Hal ini penting untuk dicatat bahwa MPLS tidak menggantikan IP. IP Control Plane adalah komponen fundamental MPLS. Kemampuan menambahkan “ATM-like Forwarding Plane” membuatnya menarik bagi Service Provider dan Enterprises.
Service Provider bisa mendapatkan keuntungan sebesar 25% dengan menerapkan MPLS VPNs, MPLS QoS dan MPLS TE, daripada sekedar menyediakan koneksi VPNs biasa.
Kesimpulan akhir adalah, keuntungan utama bagi Service Provider dan Enterprises menerapakan MPLS-enabled IP Network adalah kemampuan menyediakan koneksi Layer 3 dan Layer 2 dan “shared services” (seperti DHCP, NAT, dll) melalui “single network”, dengan tingkat optimasi dan utilisasi yang tinggi dari bandwidth yang tersedia menggunakan TE dan QoS.

Network Address Translation (NAT)

Diposting oleh Belajar bareng di 10.56 0 komentar


Keterbatasan alamat IPv.4 merupakan masalah pada jaringan global atau Internet. Untuk memaksimalkan penggunakan alamat IP yang diberikan oleh Internet Service Provider (ISP) dapat digunakan Network Address Translation atau NAT. NAT membuat jaringan yang menggunakan alamat lokal (private), alamat yang tidak boleh ada dalam tabel routing Internet dan dikhususkan untuk jaringan lokal/intranet, dapat berkomunikasi ke Internet dengan jalan ‘meminjam’ alamat IP Internet yang dialokasikan oleh ISP. Atau dapat juga digunakan untuk koneksi jaringan antar organisasi yang berbeda yang tidak ingin alamat jaringannya diketahui oleh organisasi lain.
Dengan NAT, jaringan internal/lokal, tidak akan terlihat oleh dunia luar/internet. IP lokal yang cukup banyak dapat dilewatkan ke Internet hanya dengan melalui translasi ke satu IP publik/global. Sehingga dengan kata lain bahwa NAT sebagai jembatan IP lokal untuk keluar ke IP internet/publik.

Desain dan konfigurasi VoIP dan Data pada Jaringan Frame Relay

Diposting oleh Belajar bareng di 10.48 0 komentar
Desain dan konfigurasi VoIP dapat dibuat dalam berbagai skenario, bergantung pada perangkat apa yang akan kita gunakan. Berikut contoh konfigurasi VoIP dan Data melalui Jaringan Frame Relay point-to-point menggunakan Cisco Router.
konfigurasi VoIP dan Data melalui Jaringan Frame Relay 
point-to-point
Untuk desain jaringan VoIP, di dalam perangkat Cisco router A dan B harus dirancang sebaik mungkin Alamat IP, subnet mask, serta nomor extension pesawat telepon. Seperti tabel di bawah ini:
Site A
Router A:
Network IP LAN 172.21.1.0
Subnet Mask 255.255.255.0
Alamat IP WAN 10.1.1.5
Subnet Mask 255.255.255.252
PC-A
Alamat IP 172.21.1.2
Subnet Mask 255.255.255.0
Default Gateway 172.21.1.1
Site B
Router B
Network IP LAN 192.168.1.0
Subnet Mask 255.255.255.0
Alamat IP WAN 10.1.1.6
Subnet Mask 255.255.255.252
PC-B
Alamat IP 192.168.1.2
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1
Penomoran Extension Pesawat Telepon
Site A
Voice-Port 2/0 100
Site B
Voice-Port 2/0 101
Port voice dalam router berperan melakukan emulasi koneksi telephony fisikal sehingga panggilan-panggilan voice beserta signaling dapat terkirim ke tujuan melalui jaringan. Agar komunikasi dapat berjalan dengan baik, hardware voice yang terpasang di perangkat router harus tepat, serta mengkonfigurasi port yang terhubung ke perangkat-perangkat telephony(handset, PABX, dll). Dengan demikian, perangkat dapat saling mengerti beberapa informasi signaling yang diterima dari jaringan Frame Relay. Berikut ilustrasi contoh instalasi port voice:
Sebuah port voice menghubungkan pesawat telepon ke WAN (Wide Area Network) melewati router.
Sebuah port voice menghubungkan pesawat telepon ke WAN
Dua telepon dikoneksikan melewati WAN untuk memberikan toll bypass
Dua telepon dapat berkomunikasi melalui WAN (Frame Relay)
Sebelum mengonfigurasi VoIP pada Cisco router, terlebih dahulu mengetahui gambaran urutan panggilan VoIP. Berikut ini merupakan urutan panggilan VoIP:
  1. Pemanggil mengangkat handset, memberi isyarat kondisi off-hook ke layer aplikasi signaling VoIP.
  2. Sesi layer aplikasi VoIP membuka nada dial (dial tone) dan menunggu pemanggil untuk melakukan dialing ke tujuan.
  3. Saat pemanggil melakukan dialing sebuah nomor, digit dial diakumulasi dan disimpan oleh aplikasi session.
  4. Setelah digit tertentu terakumulasi sehingga sesuai dengan pola address tujuan, nomor telepon tersebut dipetakan ke sebuah IP host. IP host tersebut memiliki hubungan koneksi langsung ke nomor telepon tujuan.
  5. Aplikasi session selanjutnya membentuk transmisi dan channel penerimaan untuk masing-masing arah jaringan IP.
  6. Coder-decoder (codec) diaktifkan untuk kedua ujung koneksi, dan percakapan diproses menggunakan RTP/UDP/IP. Berbagai sinyal voice dikompres, dipaketkan ke bentuk paket-paket, lalu ditransportasikan melalui jaringan.
  7. Signaling yang dapat dideteksi oleh port voice setelah setup panggilan lengkap, kemudian dibawa melalui jaringan IP.
Dalam suatu jaringan Private atau jaringan perusahaan, direkomendasikan menggunakan IP Private, agar tidak konflik di kemudian hari apabila jaringan ini diintegrasikan dengan Internet Public. Kelompok IP private adalah sebagai berikut:
Kelas A 10.0.0.0-10.255.255.255
Kelas B 172.16.0.0-172.31.255.255
Kelas C 192.168.0.0-192.168.255.255
Banyak type router Cisco yang bisa digunakan untuk VoIP dengan syarat mempunyai minimum fitur IOS IP Plus dan port Voice, baik fixed maupun modular. Type router cisco yang memiliki port voice modular antara lain seri 1700, 2600, 3600, dst.
Dalam desain ini digunakan 2 buah tipe router Cisco seri 1700 type 1760.
Gambar fisik router Cisco seri 1760
Gambar fisik router Cisco seri 1760
Diagram router Cisco seri 1760
Diagram router Cisco seri 1760

Konfigurasi VoIP pada Cisco Router

Konfigurasi router Cisco seri 1760 dapat dilakukan dengan menggunakan command-line, yang dihubungkan ke dalam port console. Berikut merupakan beberapa perintah esensial untuk melakukan konfigurasi awal terhadap router yang digunakan sebagai infrastruktur jaringan VoIP:
1. Konfigurasi nama host router, dengan menggunakan perintah:
router(config)#hostname <text>
2. Konfigurasi password demi alasan keamanan, dengan menggunakan perintah:
router(config)#enable password <text>
3. Setting Frame Relay pada Interface Serial 0/0
routerA(config)#int s0/0
routerA(config-if)#encapsulation Frame Relay
routerA(config-if)#exit
4. Setting alamat IP pada Sub-Interface Serial 0/0.20 dan voice compression
routerA(config)#int s0/0.20 point-to-point
routerA(config-subif)#Description Link-For-Voip
routerA(config-subif)#ip address 10.1.1.5 255.255.255.252
RouterA(config-subif)# frame-relay ip rtp header-compression
5. Setting DLCI pada Sub-Interface Serial 0/0.20
routerA(config-subif)#Frame-Relay Interface-DLCI 20
6. Setting Alamat IP pada FastEthernet 0/0
routerA(config)#int f0/0
routerA(config-if)#ip address 172.21.1.1 255.255.255.0
7. Setting untuk membuka port Telnet
routerA(config)#config t
routerA(config-line)#line vty 0 4
8. Setting Password untuk Telnet
routerA(config-line)#password cisco routerA(config-line)#login routerA(config-line)#(press Ctrl+Z)
9. Menyimpan konfigurasi ke dalam memori NVRAM (non-volatile random access memory):
routerA#write
10. Konfigurasi routing statik
routerA(config)#ip route 192.168.1.0 255.255.255.0 Serial0/0.20
11. Konfigurasi Plain-Old Telephone System (POTS) dan Nomor Extension terminal telepon yang terkoneksi pada routerA.
routerA(config)#dial-peer voice 1 POTS
routerA(config-dial-peer)#destination pattern 100
routerA(config-dial-peer)#port 2/0
routerA(config-dial-peer)#description EXT-TELEPON
12. Setting Routing VoIP
routerA(config)#dial-peer voice 2 VoIP
routerA(config-dial-peer)#destination pattern 101
routerA(config-dial-peer)#session target ipv4:10.1.1.6
routerA(config-dial-peer)#description ROUTING-VoIP
13. Setting IP Host Table
routerA(config)#ip host RouterB 10.1.1.6
.
Konfigurasi dibawah ini merupakan konfigurasi lengkap VoIP dan data melalui jaringan Frame Relay:
Konfigurasi Router A
Router#configure terminal
Router(config)#hostname RouterA
RouterA(config)#enable password cisco
RouterA(config)#ip host RouterB 10.1.1.6
RouterA(config)#interface Fastethernet 0/0
RouterA(config-if)#ip address 172.21.1.1 255.255.255.0
RouterA(config-if)#description LAN-A
RouterA(config-if)#exit
RouterA(config)#interface serial 0/0
RouterA(config-if)#encapsulation Frame-Relay
RouterA(config-if)#exit
RouterA(config)#interface serial 0/0.20 point-to-point
RouterA(config-subif)#description link-for-VoIP+Data
RouterA(config-subif)#ip address 10.1.1.5 255.255.255.252
RouterA(config-subif)#frame relay interface-dlci 20
RouterA(config-subif)#frame-relay ip rtp header-compression
RouterA(config-subif)#Ctrl Z
RouterA#configure terminal
RouterA(config)#line vty 0 4
RouterA(config-line)#password cisco
RouterA(config-line)#login
RouterA(config-line)#Ctrl Z
RouterA#configure terminal
RouterA(config)#dial-peer voice 1 POTS
RouterA(config-dial-peer)#destination pattern 100
RouterA(config-dial-peer)#port 2/0
RouterA(config-dial-peer)#description EXT-TELPON
RouterA(config-dial-peer)#exit
RouterA(config)#dial-peer voice 2 VoIP
RouterA(config-dial-peer)#destination pattern 101
RouterA(config-dial-peer)#session target ipv4 : 10.1.1.6
RouterA(config-dial-peer)#description ROUTING-VoIP
RouterA(config-dial-peer)#exit
RouterA(config)#ip route 192.168.1.0 255.255.255.0 Serial0/0.20
RouterA#write

Konfigurasi RouterB
Router#configure terminal
Router(config)#hostname RouterB
RouterB(config)#enable password cisco
RouterB(config)#frame-relay switching
RouterB(config)#ip host RouterA 10.1.1.5
RouterB(config)#interface Fastethernet 0/0
RouterB(config-if)#ip address 192.168.1.1 255.255.255.0
RouterB(config-if)#description LAN-B
RouterB(config-if)#exit
RouterB(config)#interface serial 0/0
RouterB(config-if)#clock rate 512000
RouterB(config-if)#encapsulation Frame-Relay
RouterB(config-if)#frame relay intf-type DCE
RouterB(config-if)#exit
RouterB(config)#interface serial 0/0.20 point-to-point
RouterB(config-subif)#description link-for-VoIP+Data
RouterB(config-subif)#ip address 10.1.1.6 255.255.255.252
RouterB(config-subif)#frame-relay interface-dlci 20
RouterB(config-subif)#frame-relay ip rtp header-compression
RouterB(config-subif)#exit
RouterB(config)#dial-peer voice 1 POTS
RouterB(config-dial-peer)#destination pattern 101
RouterB(config-dial-peer)#port 2/0
RouterB(config-dial-peer)#description EXT-TELPON
RouterB(config-dial-peer)#exit
RouterB(config)#dial-peer voice 2 VoIP
RouterB(config-dial-peer)#destination pattern 100
RouterB(config-dial-peer)#session target ipv4 : 10.1.1.5
RouterB(config-dial-peer)#description ROUTING-VoIP
RouterB(config-dial-peer)#exit
RouterB(config)#ip route 172.21.1.0 255.255.255.0 Serial0/0.20
RouterB(config)#line vty 0 4
RouterB(config-line)#password cisco
RouterB(config-line)#login
RouterB(config-line)#Ctrl Z
RouterB#write

ISDN (Integrated Services Digital Network)

Diposting oleh Belajar bareng di 10.46 0 komentar
Terdapat 2 jenis sambungan ISDN :
  1. Basic Rate Access (BRA) menggunakan interface yang disebut Basic Rate Interface (BRI)
  2. Primary Rate Access (PRA) menggunakan interface yang disebut Primary Rate Interface (PRI).
Berikut tabel kecepatan untuk BRI dan PRI :
Tipe Interface
Jumlah Channel Bearer (B). B=64 Kbps
Jumlah Channel Signalling (D)
Total
BRI
2
1 (16 kbps)
2B + D
PRI (T1)
23
1 (64 kbps)
23B + D
PRI (T2)
30
1 (64 kbps)
30B + D
BRI dan PRI
Channel ISDN dibagi 2 tipe—B dan D:
  • Channel Bearer — Channel B digunakan untuk membawa data. Maksimum kecepatannya 64 kbps. Channel B dapat membawa PCM digital voice, video, atau data. Channel B biasa digunakan untuk komunikasi “circuit-switched data” seperti High-Level Data Link Control (HDLC) dan Point-to-Point Protocol (PPP). Selain itu, ISDN dapat juga membawa “packet-switched data”.
  • Channel D — digunakan untuk signalling ke switch ISDN. Router menggunakan channel D untuk melakukan dial ke nomor telepon tujuan. Channel D mempunyai bandwidth 16 kbps untuk BRI dan 64 kbps untuk PRI. Walaupun fungsi utamanya untuk signaling, channel D dapat juga digunakan untuk membawa “packet-switched data” (X.25, Frame Relay, dll).
Topologi koneksi jaringan ISDN.
isdn.jpg
Untuk melakukan koneksi ISDN bisa dengan 3 cara, disesuaikan dengan interface yang dimiliki :
Ada 3 jenis Interface yang dapat digunakan untuk koneksi ISDN BRI:
  1. Interace S/T Type
    Jika memiliki interface S/T type di router, maka kita membutuhkan Network Terminal-1(NT-1).
  2. Interaface U Type
    Dengan interface U-Type, line ISDN langsung dimasukkan ke interface U-Type.
  3. Non-Navitve ISDN Interface
    Dengan interface ini, dibutuhkan Terminal Adapter (TA) dan NT-1.
Dalam sebuah ISDN Modem, biasanya didalamnya sudah berisi TA dan NT-1.
isdn2.jpg
PRI dapat menggunakan 2 jenis Interface :
  1. CT1/PRI-U
    Membutuhkan CSU/Modem untuk terhubung ke sentral ISDN di sisi provider.
  2. CT1/PRI-CSU
    Line ISDN dari provider langsung dihubungkan ke interface.
Konektor ke Line ISDN menggunakan RJ-45.



Jenis-jenis Switch ISDN
Tipe Switch
Keterangan
Basic-1tr6
1TR6 switch type for Germany
Basic-5ess
AT&T 5ESS switch type for the U.S.
Basic-dms100
DMS-100 switch type
Basic-net3
NET3 switch type for UK and Europe
Basic-ni1
National ISDN-1 switch type
Basic-nwnet3
NET3 switch type for Norway
Basic-nznet3
NET3 switch type for New Zealand
Basic-ts013
TS013 switch type for Australia
Ntt
NTT switch type for Japan
vn2
VN2 switch type for France
vn3
VN3 and VN4 switch types for France
Basic-1tr6
1TR6 switch type for Germany

Contoh Konfigurasi ISDN BRI.

Gambar Jaringan
bri.jpg
Konfigurasi :
Berikut Konfigurasi Router untuk jaringan di atas :
  • Remote Router
  • Main Router
Remote Router
hostname branch1
!
username main password secret1
!
isdn switch-type Basic-5ess
!
interface Ethernet 0 
ip address 131.108.64.190 255.255.255.0
!
interface BRI 0
encapsulation PPP
ip address 131.108.157.1 255.255.255.0
ppp authentication chap
dialer idle-timeout 300
dialer map IP 131.108.157.2 name main 4883
dialer-group 1
!
ip route 131.108.0.0 255.255.0.0 131.108.157.2   
!
ip route 0.0.0.0 0.0.0.0 131.108.157.2
!
dialer-list 1 protocol ip permit
Main Router
hostname main
!
username branch1 password secret1
username branch2 password secret2
!
isdn switch-type Basic-5ess
!
interface Ethernet 0
ip address 131.108.38.1 255.255.255.0
!
interface BRI 0
encapsulation PPP
ip address 131.108.157.2 255.255.255.0
ppp authentication chap
dialer idle-timeout 300
dialer map IP 131.108.157.1 name branch1 4885
dialer-group 1
!
ip route 131.108.64.0 255.255.255.0 131.108.157.1
!
dialer-list 1 protocol ip permit

Parameter Penting yang perlu diingat :

hostname name
hostname main
Hostname digunakan untuk mengidentifikasi router lain ketika melakukan koneksi menggunakan PPP.
Router mengirimkan pesan Challenge Handshake Authentication Protocol (CHAP) ke router lain untuk membentuk koneksi jaringan.
username name password secret
username branch1 password secret1
username dan password dibutuhkan untuk mengklarifikasi apakah user diperbolehkan masuk ke jaringan dengan CHAP. Dua buah router saling bertukar informasi password yang sama.
isdn switch-type switch-type
Router-router ini terhubung ke switch AT&T 5ESS. Sehingga di router di set : isdn switch-type Basic-5ess
Konfigurasi di sisi router untuk jenis Switch ISDN harus sesuai dengan Switch ISDN yang terdapat di provider. Sesuai dengan tabel Jenis-jenis Switch ISDN diatas.
Jika kita melakukan penggantian tipe switch ISDN, router cisco harus direload.
Mendefinisikan “Interesting Traffic”
  • dialer-group group number
  • dialer-list dialer-group protocol protocol-name {permit | deny}
Dialer-list dengan protocol tertentu digunakan untuk memerintahkan router melakukan “dial” untuk membentuk koneksi.
dialer-list 1 protocol ip permit
Menyatakan jika terdapat protocol IP (sebagai “Interesting Traffic”) sampai ke router, maka router akan melakukan “dial” ke sisi router lawan.
Interface BRI 0
!
Dialer-group 1
Menyatakan proses dial akan melalui Interface BRI 0.
ppp authentication chap
Command yang menyatakan bahwa di interface ini digunakan authentication/ autentikasi CHAP.
dialer idle-timeout seconds
dialer idle-timeout 300
Menyatakan dalam waktu yang telah ditentukan ( 300 second) jika tidak ada trafik yang lewat, maka router akan memutuskan koneksi jaringan ISDN.
dialer map protocol name remote-name destination-phone-number
dialer map IP 131.108.157.1 name branch1 4885 (di main Router)
dialer map digunakan untuk membedakan koneksi ke remote yang berbeda.
Dialer map me-“mapping” network-layer-ke-link-layer digunakan oleh router untuk mengirim paket ke luar dari interface. Contoh di atas, dialer map berisi nama dan nomor telepon dari router lawan untuk melakukan panggilan/call. Nama digunakan router untuk melakukan panggilan melalui CHAP.
ip route network [mask] {address | interface} [distance]
ip route 131.108.64.0 255.255.255.0 131.108.157.1
Perintah statik routing sangat penting agar paket sampai ke tujuan.

Administrative Distance (AD) pada Routing IP

Diposting oleh Belajar bareng di 10.44 0 komentar
Pada umumnya protocol routing mempunyai struktur metric dan algoritma yang berbeda dengan protocol yang lain. Pada jaringan yang memiliki beberapa routing protocol, pertukaran informasi routing dan kemampuan untuk memilih jalur terbaik sangatlah penting.
Administrative distance (AD) adalah fitur yang dimiliki oleh router untuk memilih jalur terbaik ketika terdapat dua atau lebih jalur menuju tujuan yang sama dari dua routing protocol yang berbeda. Administrative distance menyatakan “reliability” dari sebuah routing protocol. Tiap routing protocol diprioritaskan terhadap yang lain dengan bantuan besaran/nilai Administrative Distance (AD).
Pemilihan Jalur Tebaik [The Best Path]
Administrative distance adalah kriteria pertama yang digunakan oleh router untuk menentukan routing protocol yang harus dijalankan, jika terdapat dua routing protocol yang menyediakan jalur untuk tujuan yang sama. AD adalah sebuah ukuran “trustworthiness” dari source of routing information. AD hanya mempunyai local significance, dan tidak melakukan advertise dalam routing update.
Nilai AD yang lebih kecil, lebih dipercaya/reliable. Contoh, Jika sebuah router menerima informasi tentang jalur menuju jaringan tertentu dari Open Shortest Path First (OSPF) (default administrative distance - 110) dan Interior Gateway Routing Protocol (IGRP) (default administrative distance - 100), Router akan memilih IGRP karena IGRP lebih dipercaya/reliable karena memiliki AD yang lebih kecil dibandingkan OSPF.
Jika source address untuk IGRP hilang atau tidak dikenal, maka router akan memilih/menjalankan routing OSPF sampai IGRP aktif kembali.
Tabel Nilai Default Administrative Distance (AD) pada Router Cisco:

Route Source Default Distance Values
Connected interface 0
Static route 1
Enhanced Interior Gateway Routing Protocol (EIGRP) summary route 5
External Border Gateway Protocol (BGP) 20
Internal EIGRP 90
IGRP 100
OSPF 110
Intermediate System-to-Intermediate System (IS-IS) 115
Routing Information Protocol (RIP) 120
Exterior Gateway Protocol (EGP) 140
On Demand Routing (ODR) 160
External EIGRP 170
Internal BGP 200
Unknown* 255
* Jika administrative distance 255, artinya router tidak mengenali source, sehingga route/jalur tidak akan diinstall/disimpan dalam table routing.
Jika anda menggunakan “route redistribution”, anda harus memodifikasi administrative distance dari Routing Protocol yang digunakan sehingga bisa melakukan prioritas. Contoh, anda ingin router memilih protocol RIP (AD 120) daripada IGRP (AD 100) ke tujuan yang sama. Anda harus memperbesar administrative distance untuk IGRP lebih dari 120, atau menurunkan administrative distance RIP lebih kecil dari 100.
Anda juga bisa memodifikasi administrative distance dengan menggunakan “distance command” pada “routing process subconfiguration mode”. Command ini menunjukkan bahwa “administrative distance” diterapkan pada “route/jalur” yang digunakan oleh “routing protocol” tertentu. Anda harus menggunakan prosedur ini ketika melakukan migrasi jaringan dari satu “routing protocol” tertentu ke “routing protocol” yang lain, dan route/jalur yang dipilih paling akhir adalah yang mempunyai nilai “administrative distance” terbesar. Perubahan administrative distance bisa menyebabkan “routing loops” dan “black holes”. Jadi, harap berhati-hati jika anda ingin merubah administrative distance.
Berikut contoh 2 routers, R1 & R2, yang terhubung via Ethernet. Interface Loopback melakukan “advertise” RIP dan IGRP pada kedua router. Terlihat bahwa IGRP lebih disukai (preferred) daripada RIP pada tabel routing karena administrative distance-nya 100.

R1#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
I 10.0.0.0/8 [100/1600] via 172.16.1.200, 00:00:01, Ethernet0
C 192.168.1.0/24 is directly connected, Loopback0

R2#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
C 10.0.0.0/8 is directly connected, Loopback0
I 192.168.1.0/24 [100/1600] via 172.16.1.100, 00:00:33,
Agar router R1 lebih memilih RIP daripada IGRP, ubah distance seperti dibawah ini:

R1(config)#router rip
R1(config-router)#distance 90
Sekarang lihat pada routing tabel. Router lebih memilih RIP. Router melihat RIP dengan AD 90, walaupun defaultnya 120. Catatan, bahwa nilai baru AD hanya untuk router proses dari single router (dalam hal ini R1). R2 masih memiliki IGRP dalam routing tabelnya.

R1#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
R 10.0.0.0/8 [90/1] via 172.16.1.200, 00:00:16, Ethernet0
C 192.168.1.0/24 is directly connected, Loopback0

R2#show ip route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
C 10.0.0.0/8 is directly connected, Loopback0
I 192.168.1.0/24 [100/1600] via 172.16.1.100, 00:00:33,
Tidak ada panduan secara umum merubah AD, karena kebutuhan setiap jaringan berbeda dan bervariasi. Anda harus menentukan matrix AD yang sesuai untuk jaringan secara keseluruhan.
Penerapan lain Administrative Distance
Salah satu alasan merubah nilai administrative distance adalah ketika anda menggunakan Routing Static untuk membackup routing lain seperti IGP. Hal ini digunakan untuk mengaktifkan link backup ketika primay link down/fail.
Contoh, anda menggunakan routing tabel R1. Dalam hal ini terdapat line ISDN yang berfungsi sebagai backup jika link utama/primary down/fail. Berikut contoh “Floating Static” untuk rute ini:

ip route 10.0.0.0 255.0.0.0 Dialer 1 250

!— Note: The Administrative Distance is set to 250. 
Jika interface Ethernet down/fail, atau secara manual dijatuhkan (shutdown) pada interface Ethernet, “floating static route” segera beraksi dalam tabel routing. Semua traffic yang menuju network 10.0.0.0/8 selanjutnya akan melalui interface Dialer 1 sebagai link backup. Berikut tabel routing setelah primary link down:

R1#show ip route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
S 10.0.0.0/8 is directly connected, Dialer1
C 192.168.1.0/24 is directly connected, Loopback0
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger