Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual page 294

Network interfaces configuration
Table of Contents

Advertisement

JUNOS 10.1 Network Interfaces Configuration Guide
Source routers A and B use loopback addresses as the prefixes to be monitored. Most
Complete SCU
of the configuration tasks and actual monitoring occur on transit Router SCU.
Configuration
The loopback address on Router A contains the origin of the prefix that is to be
assigned to source class A on Router SCU. However, no SCU processing happens on
this router. Therefore, configure Router A for basic Open Shortest Path First (OSPF)
routing and include your loopback interface and interface
process.
Router A
Last, apply the policy to the forwarding table.
Router SCU
Router SCU handles the bulk of the activity in this example. On Router SCU, enable
source class usage on the inbound and outbound interfaces at the
interface-name unit unit-number family inet accounting]
specify the expected traffic: input, output, or, in this case, both.
Next, configure a route filter policy statement that matches the prefixes of the
loopback addresses from routers A and B. Include statements in the policy that
classify packets from Router A in one group named
Router B in a second class named
policy containing multiple terms.
224
Enabling Source Class and Destination Class Usage
[edit]
interfaces {
so-0/0/2 {
unit 0 {
family inet {
address 10.255.50.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.255.192.10/32;
}
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface so-0/0/2.0;
interface lo0.0;
}
}
}
[edit]
interfaces {
so-0/0/1 {
unit 0 {
family inet {
accounting {
so-0/0/2
hierarchy level. Make sure you
scu-class-a
scu-class-b
. Notice the efficient use of a single
in the OSPF
[edit interfaces
and packets from

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents