Technical Documentation

Configuring the R2CP Radio-to-Router Protocol

To configure the R2CP protocol:

  1. Configure the interfaces.

    The following example creates four logical interfaces on ge-0/0/2, using unit 52 for R2CP control messages and units 101-193 for data traffic. The per-unit-scheduler statement is required for R2CP.

    interfaces {ge-0/0/2 {per-unit-scheduler;vlan-tagging;unit 52 {vlan-id 52;family inet {address 52.1.1.1/24;}}unit 101 {vlan-id 101;family inet {address 101.1.1.1/24;}}unit 102 {vlan-id 102;family inet {address 102.1.1.1/24;}}unit 103 {vlan-id 103;family inet {address 103.1.1.1/24;}}}}
  2. Configure the R2CP protocol.

    The following example configures g2-0/0/2.52 as the interface for R2CP control messages, vg1 as the virtual-channel group, and ge-0/0/2.101-103 as data interfaces using the radio-interface statement.

    protocols {r2cp {radio myRadio {interface ge-0/0/2.52;virtual-channel-group vg1;radio-interface ge-0/0/2.101;radio-interface ge-0/0/2.102;radio-interface ge-0/0/2.103;}}}
  3. Configure class of service.

    The following example defines virtual-channels, their initial shaping-rates, and the virtual-channel-group to which they belong. It also makes the association between radio-interface interfaces and virtual-channel-group. In the class of service configuration, the vc-shared-scheduler configuration statement is required for each interface configured as a radio interface in the R2CP protocol configuration.

    class-of-service {virtual-channels {vc1;vc2;vc3;vc4;}virtual-channel-groups {vg1 {vc1 {scheduler-map sm;shaping-rate 15m;default;}vc2 {scheduler-map sm;shaping-rate 20m;}vc3 {scheduler-map sm;shaping-rate 20m;}vc4 {scheduler-map sm;shaping-rate 20m;}}}forwarding-classes {queue 0 DATA-queue;}interfaces {ge-0/0/2 {unit 101 {virtual-channel-group vg1;vc-shared-scheduler;}unit 102 {virtual-channel-group vg1;vc-shared-scheduler;}unit 103 {virtual-channel-group vg1;vc-shared-scheduler;}}}scheduler-maps {sm {forwarding-class DATA-queue scheduler sm-scheduler;}}schedulers {sm-scheduler {transmit-rate percent 20;buffer-size percent 20;priority low;}}}

Related Topics

  • For information on configuring network interfaces, see the JUNOS Software Network Interfaces Configuration Guide.

Published: 2010-06-14

Help
|
My Account
|
Log Out