CREATE VRF DI JUNIPER

November 1, 2008 oleh g4rismerah

set policy-options community KATROK-target members target:65535:51700000

set policy-options policy-statement KATROK-export term 1 from protocol direct

set policy-options policy-statement KATROK-export term 1 from protocol static

set policy-options policy-statement KATROK-export term 1 from protocol bgp

set policy-options policy-statement KATROK-export term 1 then community add KATROK-target

set policy-options policy-statement KATROK-export term 1 then accept

set policy-options policy-statement KATROK-export term 2 then reject

set policy-options policy-statement KATROK-import term 1 from protocol direct

set policy-options policy-statement KATROK-import term 1 from protocol bgp

set policy-options policy-statement KATROK-import term 1 from protocol static

set policy-options policy-statement KATROK-import term 1 from community KATROK-target

set policy-options policy-statement KATROK-import term 1 then accept

set policy-options policy-statement KATROK-import term 2 then reject

 

set routing-instances KATROK instance-type vrf

set routing-instances KATROK interface lo0.627

set routing-instances KATROK route-distinguisher 65535:51700000

set routing-instances KATROK vrf-import KATROK-import

set routing-instances KATROK vrf-export KATROK-export

set routing-instances KATROK vrf-target target:65535:51700000

 

set interfaces lo0 unit 627 description KATROK

set interfaces lo0 unit 627 family inet filter input protect-cpe

set interfaces lo0 unit 627 family inet address 10.1.1.1/32

 

sudah….:D

SET DHCP CISCO

November 1, 2008 oleh g4rismerah

!

ip dhcp excluded-address 192.168.1.1 255.255.255.0

!

ip dhcp pool (^_^)

   network 192.168.1.0 255.255.255.0

   default-router 192.168.1.1

   dns-server 202.18.3.16 202.18.3.17

!

Setting Routing BGP

September 18, 2008 oleh g4rismerah

Routing BGP Cisco di Interface Router remote

interface FastEthernet0/0
description LAN
ip address 10.172.100.1 255.255.255.0 secondary
ip address 10.142.100.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
description WAN
ip address 10.200.97.222 255.255.255.252
duplex auto
speed auto
!
router bgp 65250
bgp log-neighbor-changes
neighbor 1.255.253.30 remote-as 65535
neighbor 1.255.253.30 ebgp-multihop 10
neighbor 1.255.253.30 update-source FastEthernet0/1
!
address-family ipv4
neighbor 1.255.253.30 activate
neighbor 1.255.253.30 send-community both
no auto-summary
no synchronization
network 10.142.100.0 mask 255.255.255.0
network 10.172.100.0 mask 255.255.255.0
exit-address-family
!
ip route 1.255.253.28 255.255.255.252 10.200.97.221

VIEW PVC

September 9, 2008 oleh g4rismerah

kalo mau ngliat posisi pvc dah naek apa blom…. :)

ruterkatrok#sh frame-relay pvc 100

PVC Statistics for interface Serial1/3:0 (Frame Relay DTE)

DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/3:0.100

input pkts 238291        output pkts 179033       in bytes 26479981
out bytes 88748222       dropped pkts 1           in pkts dropped 0
out pkts dropped 1                out bytes dropped 548
late-dropped out pkts 1           late-dropped out bytes 548
in FECN pkts 1           in BECN pkts 0           out FECN pkts 0
out BECN pkts 0          in DE pkts 0             out DE pkts 0
out bcast pkts 0         out bcast bytes 0
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 7w5d, last time pvc status changed 05:13:46
cir 128000    bc 128000    be 0         byte limit 2000   interval 125
mincir 128000    byte increment 2000  Adaptive Shaping none
pkts 179034    bytes 88748770  pkts delayed 0         bytes delayed 0
shaping inactive
traffic shaping drops 0
service policy VPN-KATROK
Serial1/3:0.100: DLCI 100 -

Service-policy output: VPN-KATROK

Class-map: KATROK-VOICE (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name KATROK-VOICE
0 packets, 0 bytes
5 minute rate 0 bps
Match: ip precedence 5
0 packets, 0 bytes
5 minute rate 0 bps
Match: ip dscp 5
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
Strict Priority
Output Queue: Conversation 24
Bandwidth 50 (%)
Bandwidth 64 (kbps) Burst 1600 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0
QoS Set
precedence 5
Packets marked 0

Class-map: KATROK-DATA (match-any)
179034 packets, 88748770 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 2
10 packets, 1040 bytes
5 minute rate 0 bps
Match: ip precedence 0
177551 packets, 88679716 bytes
5 minute rate 0 bps
Match: access-group name KATROK-DATA
1473 packets, 68014 bytes
5 minute rate 0 bps
Queueing
Output Queue: Conversation 25
Bandwidth 40 (%)
Bandwidth 51 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
QoS Set
precedence 2
Packets marked 179034

Class-map: KATROK-BGP (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name BGP-KATROK
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
Output Queue: Conversation 26
Bandwidth 10 (%)
Bandwidth 12 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
QoS Set
precedence 6
Packets marked 0

Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 16
(total queued/total drops/no-buffer drops) 0/0/0
exponential weight: 9

class    Transmitted      Random drop      Tail drop    Minimum Maximum  Mark
pkts/bytes       pkts/bytes       pkts/bytes    thresh  thresh  prob
0       0/0               0/0              0/0           20      40  1/10
1       0/0               0/0              0/0           22      40  1/10
2       0/0               0/0              0/0           24      40  1/10
3       0/0               0/0              0/0           26      40  1/10
4       0/0               0/0              0/0           28      40  1/10
5       0/0               0/0              0/0           30      40  1/10
6       0/0               0/0              0/0           32      40  1/10
7       0/0               0/0              0/0           34      40  1/10
rsvp       0/0               0/0              0/0           36      40  1/10

Output queue size 0/max total 600/drops 0

create vrf

September 8, 2008 oleh g4rismerah

create vrf di router yang belum ada vrf-nya, tapi di network sudah ada.

ruterkatrok#conf t
ruterkatrok(config)#ip vrf KATROK
ruterkatrok(config-vrf)#rd 65535:51785600
ruterkatrok(config-vrf)#route-target both 65535:51785600
ruterkatrok(config-vrf)#exit
ruterkatrok(config)#router bgp 65535
ruterkatrok(config-router)#address-family ipv4 vrf forwar
ruterkatrok(config-router)#address-family ipv4 vrf KATROK
ruterkatrok(config-router-af)#redistribute static
ruterkatrok(config-router-af)#redistribute connected
ruterkatrok(config-router-af)#exit
ruterkatrok(config)#exit
ruterkatrok#

sudah…..begitu saja cukup….. :)

Hello world!

Agustus 26, 2008 oleh g4rismerah

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!