Ads 468x60px

Thursday, April 28, 2011

Multicasting




This Section, I will be discussing Multicast. What is multicast? Why it is useful? What are advantages and disadvantages of Multicast and all Theory about Multicast related topics and some configurations. This section is divided into many topics which are listed below. You can find all into Multicast Label.

Topics included:

Multicasting
Multicast Address Ranges
Mapping of Multicast IP address to Mac address
Distribution Trees :
Source Tree
Shared Tree
PIM
PIM Dense Mode
PIM Sparse Mode
PIM Sparse Dense Mode
RPF Check
IGMP
Bootstrap (BSR)


Let’s see Types of Communications:
Unicast – One to one
Broadcast – One to All

In this two modes of communication, We don’t have any method of communication. Where we can address specified group of host.

Multicast – One to Many  (Specific host form Group)

Unicast  Vs Multicast


 Multicast - is the delivery of a single stream or information to a group of destination host simultaneously in a single transmission from the source creating copies automatically in other network using Network Devices like routers for efficient bandwidth utilization.

For example Radio:
                As you want to listen Radio , you will tune to particular Radio frequency and you can listen it. It’s same in multicast, you can join the multicast group you will access the real time applications.
Multicast is majorly used in Real time applications like, Voice, Video, Stock Broking applications, etc.

Why Multicast:
–    Used when sending same data to multiple receivers
      Better bandwidth utilization
      Used when addresses of receivers unknown
      Used when simultaneous delivery of information for a group of receivers is required


 Plz comment if you like the post... We will be discussing  further topics in coming posts...
For any queries,Comment with your mail id... Will revert you soon   



Wednesday, April 27, 2011

MAIPU - Configuration for QOS and IPSLA


Maipu configuration Example – QOS , IPSLA.

Here we have one example, How to configure Maipu router for QOS, IPSLA and SNMP traps. I think this configuration template you can use as reference.

Functions Included : 
QOS  – LLQ + CBWFQ + Traffic shaping.
 IP SLA – Jitter,ICMPEcho,ICMP Path Jitter, Flow statistics,UDP Echo.
SNMP traps

After doing  below configuration,  you can monitor Maipu device from your NMS. Make sure that Maipu MIBs are integrated in your NMS.

Device used: Maipu 1800

Configuration :

Building Configuration...done

! Current configuration : 5621 bytes
!
! Last configuration change at UTC THU APR 14 18:56:15 2011
! Flash config last updated at UTC THU JAN 01 01:24:26 1970
! Configuration version 0.18
!

!software version 6.1.38(JSJR-35)(integrity)
!software image file flash0: /system/rp5-c-6.1.38(JSJR-35).bin
!compiled on Jan  4 2011, 12:34:35

hostname XXXX
service timestamps debug datetime
service timestamps log datetime
service taskname debug
service taskname log
no service password-encrypt
no service new-encrypt
service login-secure
enable timeout 0


enable password OW encrypt



no exception reboot

ip mef

ip load-sharing per-destination

ip flow enable

ip access-list extended 1001
 10 permit ip host 22.0.0.1 130.255.0.0 0.0.255.255
 exit
ip access-list extended 1002
 10 permit ip any host 130.255.153.120
 exit
ip access-list extended xx
 10 permit ip host 68.1.1.2 any
 exit







vlan 1
 description default
 port 0-7 untagged
 exit

class-map match-all xx
  match access-group xx
 exit
class-map match-all snmp
  match access-group 1001
 exit
class-map match-all telnet
  match access-group 1002
 exit
policy-map test
 class xx
  priority 1000
  exit
 class snmp
  priority 2000
  exit
 class telnet
  bandwidth 1000
  exit
 class class-default
  shape average 1000000
  exit
 exit
policy-map test1
 class class-default
  set qos-group 1
  exit
 exit



interface fastethernet0
 ip address 17.1.1.2 255.255.255.0
 service-policy input test1
 exit


interface fastethernet0.1
 ip address 19.1.1.2 255.255.255.0
 encapsulation dot1q 1
 traffic-shape 1000000 10000
 exit



interface fastethernet1
 ip address 192.168.2.84 255.255.252.0
 service-policy output test
 traffic-shape 1000000 50000
 exit


interface fastethernet1.1
 exit


interface null0
 exit


router rip
 version 2
 network fastethernet0
 no auto-summary
 exit

ip route 12.1.1.0 255.255.255.0 18.1.1.1
ip route 17.1.1.0 255.255.255.0 22.0.0.2
ip route 130.255.0.0 255.255.0.0 22.0.0.2




line vty 0 15
 exec-timeout 0 0
 no login
 exit

ntp master 8
ntp authenticate
ntp authentication-key 520915 md5 SYSZXZ encrypt


check cpu enable
check cpu time-interval 1

snmp-server start
snmp-server view default 1.3.6.1 include
snmp-server community public view default ro
snmp-server host 130.255.153.200 traps community public version 2
snmp-server host 130.255.153.120 traps community public version 2
snmp-server host 192.168.2.85 traps community public version 2
snmp-server enable traps bgp established
snmp-server enable traps bgp backward-transition
snmp-server enable traps frame-relay dlci-status-change
snmp-server enable traps frame-relay pvc-connect-status-change
snmp-server enable traps frame-relay pvc-connect-status-notify
snmp-server enable traps ospf if-authen-failure
snmp-server enable traps ospf virtif-authen-failure
snmp-server enable traps ospf if-config-error
snmp-server enable traps ospf virtif-config-error
snmp-server enable traps ospf if-state-change
snmp-server enable traps ospf virtif-state-change
snmp-server enable traps ospf nbr-state-change
snmp-server enable traps ospf virtnbr-state-change
snmp-server enable traps ospf if-rx-bad-packet
snmp-server enable traps ospf virtif-rx-bad-packet
snmp-server enable traps ospf tx-retransmit
snmp-server enable traps ospf virtif-tx-retransmit
snmp-server enable traps ospf originate-lsa
snmp-server enable traps ospf max-age-lsa
snmp-server enable traps ospf lsdb-approaching-overflow
snmp-server enable traps ospf lsdb-overflow
snmp-server enable traps snmp authentication
snmp-server enable traps snmp coldstart
snmp-server enable traps snmp warmstart
snmp-server enable traps snmp linkdown
snmp-server enable traps snmp linkup
snmp-server enable traps snmp enterprise snmp-agent-up
snmp-server enable traps snmp enterprise snmp-agent-down
snmp-server enable traps snmp enterprise rmon-rising
snmp-server enable traps snmp enterprise rmon-falling
snmp-server enable traps veth remote-status
snmp-server enable traps remote-ping probe-failed
snmp-server enable traps remote-ping test-failed
snmp-server enable traps remote-ping test-complete
snmp-server enable traps vrf




rtr enable

rtr 1 jitter
 set dest-ipaddr 17.1.1.1 dest-port 200 g711alaw
 number-of-history-kept 100
 CreatedTime WED JAN 26 17:12:38 2011
 LatestModifiedTime THU JAN 01 01:38:09 1970

 exit

rtr 2 icmpecho
 set 17.1.1.1 1 70 2
 number-of-history-kept 100
 CreatedTime MON JAN 19 16:58:24 1970
 LatestModifiedTime THU JAN 01 01:38:32 1970

 exit

rtr 3 icmp-path-echo
 set dest-ipaddr 17.1.1.1 source-ipaddr 18.1.1.2
 number-of-history-kept 90
 CreatedTime TUE MAR 15 19:21:11 2011
 LatestModifiedTime THU APR 14 18:55:47 2011

 exit

rtr 4 icmp-path-jitter
 set dest-ipaddr 17.1.1.1
 number-of-history-kept 100
 CreatedTime THU APR 14 18:53:12 2011
 LatestModifiedTime THU APR 14 18:53:34 2011

 exit

rtr 5 flow-statistics
 flow-statistics interface fastethernet0 interval 10
 CreatedTime THU APR 14 18:53:59 2011
 LatestModifiedTime THU APR 14 18:54:20 2011

 exit

rtr 6 udpecho
 set dest-ipaddr 17.1.1.1 dest-port 300
 number-of-history-kept 100
 CreatedTime THU APR 14 18:54:36 2011
 LatestModifiedTime THU APR 14 18:54:53 2011

 exit

rtr group 1
 member 3
 exit

rtr schedule 1 entity 1 start now ageout 900 life forever

rtr schedule 2 entity 2 start now ageout 900 life forever


rtr schedule 4 entity 4 start now ageout 900 life forever

rtr schedule 5 entity 5 start now ageout 900 life forever

rtr schedule 6 entity 6 start now ageout 900 life forever

rtr schedule 10 group 1 start now ageout 900 life forever

rtr responder
!end


1800#
1800#sh ver
               MyPower (R) Operating System Software
MP1800 system image file (flash0: /system/rp5-c-6.1.38(JSJR-35).bin), version 6.1.38(JSJR-35)(integr
ity), Compiled on Jan  4 2011, 12:34:35
Copyright (C) 1999 Maipu Communication Technology Co., Ltd. All Rights Reserved.

MP1800 Version Information
        System ID           : 00017a0c6124
        Hardware Model      : MPC8270 with 128 MBytes SDRAM, 32 MBytes flash
        Hardware Version    : 020(Hotswap Unsupported)
        MPU CPLD Version    : 001
        Monitor Version     : 2.18
        Software Version    : 6.1.38(JSJR-35)(integrity)
        Software Image File : flash0: /system/rp5-c-6.1.38(JSJR-35).bin
        Compiled            : Jan  4 2011, 12:34:35

System Uptime is 1 week 5 days

I am using this configuration for my use. I am sharing this, May be it will be useful for you ..
Plz let me know if you have any queries.


Related Posts Plugin for WordPress, Blogger...