Project

General

Profile

Juniper ACX2100 » History » Version 2

laforge, 10/30/2021 10:27 AM

1 2 laforge
{{>toc}}
2
3 1 laforge
h1. Juniper ACX2100
4
5
This is an Access Router that can carry up to 16x E1/T1 lines over SAToP/MPLS/Ethernet
6
7 2 laforge
h2. Pseudowire formats
8
9
The ACX2100 supports the following formats:
10
# SAToP (structure agnostic TDM over packet)
11
# Cisco-HDLC compatible framing
12
# PPP
13
# Inverse ATM Multiplex (used in classic 3G NodeB with Iub over ATM)
14
15
h3. SAToP
16
17
In this format, the pseudowire format consists of 256 bytes unaligned E1 bitstream sent every 1ms.
18
19
Layer stacking is:
20
* 14-byte Ethernet II, ethtype MPLS (0x8847)
21
* 4-byte MPLS header containing the label
22
* 4-byte Pseudowire Ethernet Control Word containing sequence number
23
24
25
h2. Configuration related to E1/T1 pseudowires
26
27
The ACX2100 supports so-called _pseudowires_ which is the option of encapsulating/transporting E1/T1 circuits via Ethernet.  Contrary to other equipment, the ACX seems to be constrained to transport over MPLS only.
28
29
h3. Normal usage with OSPF, LDP and RSVP
30
31
First, the ACX establishes dynamic routing to its peers via OSPF. You can interface this to a Linux machine running FRR ospfd.
32
33
Second, the ACX establishes LDP.  You can interface this to a Linux machine running FRR ldpd.
34
35
Third, the ACX uses RSVP to configure the lables used for the individual pseudowires. There is currently no known Linux implementation that understands the specific RSVP use case for E1 pseudowires.
36
37
h4. Configuration on ACX side
38
39
<pre>
40
chassis {
41
    fpc 0 {
42
        pic 0 {
43
            framing e1;
44
        }
45
    }
46
}
47
interfaces {
48
    ce1-0/0/0 {
49
        no-partition interface-type e1;
50
    }
51
    e1-0/0/0 {
52
        encapsulation satop;
53
        unit 0;
54
    }
55
    ge-1/0/0 {
56
        unit 0 {
57
            family inet {
58
                address 20.1.1.2/24;
59
            }
60
            family mpls;
61
        }
62
    }
63
}
64
protocols {
65
    rsvp {
66
        traceoptions {
67
            file rsvp-log;
68
            flag all;
69
        }
70
        interface ge-1/0/0.0;
71
    }
72
    mpls {
73
        no-cspf;
74
        label-switched-path PE1-to-PE2 {
75
            to 20.1.1.222;
76
        }
77
        interface ge-1/0/0.0;
78
    }
79
    ospf {
80
        area 0.0.0.0 {
81
            interface ge-1/0/0.0;
82
        }
83
    }
84
    ldp {
85
        traceoptions {
86
            file ldp-log;
87
            flag all;
88
        }
89
        interface ge-1/0/0.0;
90
    }                                   
91
    l2circuit {
92
        neighbor 20.1.1.222 {
93
            interface e1-0/0/0.0 {
94
                virtual-circuit-id 1;
95
            }
96
        }
97
    }
98
}
99
</pre>
100
101
h3. static pseudowires
102
103
Much less documented/publicized, one can also simply crate a "static" label configuration for a  given l2circuit:
104
105
Example:
106
107
<pre>
108
protocols { 
109
    l2circuit {
110
        neighbor 20.1.1.222 {
111
            interface e1-0/0/0.0 {
112
                static {
113
                    incoming-label 1000023;
114
                    outgoing-label 23;
115
                    send-oam;
116
                }
117
                virtual-circuit-id 1;
118
            }
119
        }
120
    }
121
}
122
</pre>
123
124
In this configuration the E1 interface 0/0/0 is associated with the incoming label 1000023 and outgoing label 23.  You can send and receive the pseudowire payload using the above-mentioned mpls labels. The Ethernet destination address is the one associated with the neighboring router 20.1.1.122.
125 1 laforge
126
h2. boot log
127
128
<pre>
129
ELF file is 32 bit
130
Loading .text @ 0x00010060 (194856 bytes)
131
Loading .rodata @ 0x0003f988 (13601 bytes)
132
Loading .rodata.str1.4 @ 0x00042eac (16496 bytes)
133
Loading set_Xcommand_set @ 0x00046f1c (92 bytes)
134
Loading .rodata.cst4 @ 0x00046f78 (36 bytes)
135
Loading .data @ 0x00047000 (13544 bytes)
136
Loading .data.rel.ro @ 0x0004a4e8 (120 bytes)
137
Loading .data.rel @ 0x0004a560 (320 bytes)
138
Loading .data.rel.ro.local @ 0x0004a6a0 (288 bytes)
139
Loading .data.rel.local @ 0x0004a7c0 (68 bytes)
140
Loading .got2 @ 0x0004a804 (4172 bytes)
141
Loading .fixup @ 0x0004b850 (584 bytes)
142
Loading .sdata @ 0x0004ba98 (80 bytes)
143
Clearing .sbss @ 0x0004bae8 (128 bytes)
144
Clearing .bss @ 0x0004bb68 (9440 bytes)
145
## Starting application at 0x00010060 ...
146
Consoles: U-Boot console  
147
Will try to boot from
148
nand-flash0
149
150
FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.4
151
(venky@bng-junos-pool62.juniper.net, Tue Dec  3 12:09:59 IST 2013)
152
Memory: 1536MB
153
Trying to boot from nand-flash0
154
Loading /boot/defaults/loader.conf 
155
/kernel data=0x9c9e24+0xa9f6c syms=[0x4+0x89470+0x4+0xc865f]
156
157
158
Hit [Enter] to boot immediately, or space bar for command prompt.
159
Booting [/kernel]...               
160
Kernel entry at 0xa00000c0 ...
161
GDB: debug ports: uart
162
GDB: current port: uart
163
KDB: debugger backends: ddb gdb
164
KDB: current backend: ddb
165
platform_early_bootinit: MX-PPC Series Early Boot Initialization
166
mxppc_set_re_type: hw.board.type is ACX-2100
167
WDOG initialized
168
Copyright (c) 1996-2014, Juniper Networks, Inc.
169
All rights reserved.
170
Copyright (c) 1992-2006 The FreeBSD Project.
171
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
172
        The Regents of the University of California. All rights reserved.
173
JUNOS 12.3X54-D15.3 #0: 2014-11-29 23:21:25 UTC
174
    builder@faranth.juniper.net:/volume/build/junos/12.3/service/12.3X54-D15.3/obj-powerpc/junos/bsd/kernels/JUNIPER-PPC/kernel
175
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
176
Timecounter "decrementer" frequency 62500000 Hz quality 0
177
cpu0: Freescale e500v2 core revision 5.1
178
cpu0: HID0 80004000<EMCP,TBEN>
179
real memory  = 1585446912 (1512 MB)
180
avail memory = 1553989632 (1482 MB)
181
Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
182
Security policy loaded: Junos MAC/veriexec (mac_veriexec)
183
Security policy loaded: JUNOS MAC/pcap (mac_pcap)
184
MAC/veriexec fingerprint module loaded: SHA1
185
MAC/veriexec fingerprint module loaded: SHA256
186
ETHERNET SOCKET BRIDGE initialising
187
Initializing M/T platform properties ..
188
nexus0: <PPC e500 Nexus device>
189
ocpbus0: <on-chip peripheral bus> on nexus0
190
openpic0: <OpenPIC in on-chip peripheral bus> iomem 0xf7f40000-0xf7f600b3 on ocpbus0
191
uart0: <16550 or compatible> iomem 0xf7f04500-0xf7f0450f irq 58 on ocpbus0
192
uart0: console (9600,n,8,1)
193
uart1: <16550 or compatible> iomem 0xf7f04600-0xf7f0460f irq 58 on ocpbus0
194
lbc0: <Freescale 8533 Local Bus Controller> iomem 0xf7f05000-0xf7f05fff,0xf8000000-0xffffffff irq 17,16 on ocpbus0
195
cfi0: <AMD/Fujitsu - 8MB> iomem 0xffc00000-0xffffffff on lbc0
196
fsyspld0 iomem 0xfef00000-0xfef00fff on lbc0
197
ramdev0 iomem 0xfee1f000-0xfee1ffff on lbc0
198
i2c0: <MPC85XX OnChip i2c Controller> iomem 0xf7f03000-0xf7f03014 irq 59 on ocpbus0
199
8564 rtc0: <8564 RTC> on i2c0
200
USB2513i usb hub0: <USB2513Bi usb hub> on i2c0
201
tsec0: <eTSEC ethernet controller> iomem 0xf7f24000-0xf7f24fff irq 45,46,50 on ocpbus0
202
tsec0: hardware MAC address 40:a6:77:13:89:7f
203
miibus0: <MII bus> on tsec0
204
brgphy0: <BCM54610 10/100/1000baseTX PHY> on miibus0
205
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
206
tsec1: <eTSEC ethernet controller> iomem 0xf7f25000-0xf7f25fff irq 51,52,56 on ocpbus0
207
tsec1: hardware MAC address 02:00:00:00:00:04
208
miibus1: <MII bus> on tsec1
209
gentbi0: <Generic ten-bit interface> on miibus1
210
gentbi0:  1000baseSX-FDX, 1000baseT-FDX, auto
211
ehci0: <Frescale Integrated USB 2.0 controller> iomem 0xf7f22000-0xf7f22503 irq 44 on ocpbus0
212
usb0: EHCI version 1.0
213
usb0 on ehci0
214
usb0: USB revision 2.0
215
uhub0: Freescale EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
216
uhub0: 1 port with 1 removable, self powered
217
uhub1: SMSC USB2513Bi, class 9/0, rev 2.00/b.a0, addr 2
218
uhub1: multiple transaction translators
219
uhub1: 3 ports with 3 removable, self powered
220
umass0: vendor 0x13fe USB DISK 2.0, rev 2.00/1.00, addr 3
221
umass0: SCSI over Bulk-Only; quirks = 0x0000
222
umass0:0:0:-1: Attached to scbus0
223
Initializing product: 140 ..
224
Setting up M/T interface operations and attributes
225
platform_cookie_read not implemented
226
###PCB Group initialized for udppcbgroup
227
###PCB Group initialized for tcppcbgroup
228
da0 at umass-sim0 bus 0 target 0 lun 0
229
da0: < USB DISK 2.0 PMAP> Removable Direct Access SCSI-0 device 
230
da0: 40.000MB/s transfers
231
da0: 7640MB (15646720 512 byte sectors: 255H 63S/T 973C)
232
Kernel thread "wkupdaemon" (pid 45) exited prematurely.
233
Trying to mount root from ufs:/dev/da0s2a
234
Invalid time in real time clock.
235
Check and reset the date immediately!
236
Process-1 beginning MFSROOT initialization...
237
Creating MFSROOT...
238
/dev/md0: 25.0MB (51196 sectors) block size 16384, fragment size 2048
239
        using 4 cylinder groups of 6.25MB, 400 blks, 896 inodes.
240
super-block backups (for fsck -b #) at:
241
 32, 12832, 25632, 38432
242
Populating MFSROOT...
243
Setting up mounts...
244
Changing Root to MFSROOT...
245
Continuing boot from MFSROOT...
246
Attaching /packages/jbase via /dev/mdctl...
247
Mounted jbase package on /dev/md1...
248
J
249
Verified manifest signed by PackageProduction_12_3_0
250
Verified jboot signed by PackageProduction_12_3_0
251
Verified jbase-ppc-12.3X54-D15.3 signed by PackageProduction_12_3_0
252
Setting up ACX specific options
253
Mounted jkernel package on /dev/md2...
254
Verified manifest signed by PackageProduction_12_3_0
255
Verified jkernel-ppc-12.3X54-D15.3 signed by PackageProduction_12_3_0
256
Mounted jpfe package on /dev/md3...
257
Mounted jdocs package on /dev/md4...
258
Verified manifest signed by PackageProduction_12_3_0
259
Verified jdocs-12.3X54-D15.3 signed by PackageProduction_12_3_0
260
Mounted jroute package on /dev/md5...
261
Verified manifest signed by PackageProduction_12_3_0
262
Verified jroute-ppc-12.3X54-D15.3 signed by PackageProduction_12_3_0
263
Mounted jcrypto package on /dev/md6...
264
Verified manifest signed by PackageProduction_12_3_0
265
Verified jcrypto-ppc-12.3X54-D15.3 signed by PackageProduction_12_3_0
266
swapon: adding /dev/da0s4WARNING: /var was not properly dismounted
267
b as swap device
268
Checking file systems status for recovery action...
269
/var and /var/log bsdlabel found
270
Checking sanity of /var [ /dev/da0s3f ] ... done (full)
271
Checking sanity of /var/log [ /dev/da0s3d ] ... done (full)
272
Checking sanity of /config [ /dev/da0s2e ] ... done (full)
273
** /dev/da0s1a
274
FILE SYSTEM CLEAN; SKIPPING CHECKS
275
clean, 368832 free (40 frags, 46099 blocks, 0.0% fragmentation)
276
** /dev/da0s1e
277
FILE SYSTEM CLEAN; SKIPPING CHECKS
278
clean, 47221 free (21 frags, 5900 blocks, 0.0% fragmentation)
279
kern.init_chroot_path:  -> /mfsmnt
280
Automatic reboot in progress...
281
Executing tunefs on /...
282
Enable softupdates for /...
283
tunefs: soft updates cannot be enabled until fsck is run
284
tunefs: /dev/md0: failed to write superblock
285
Enable softupdates for config...
286
tunefs: soft updates remains unchanged as enabled
287
Will be using platform specific rc.mount-var to mount var
288
*** No fsck will be done by us...
289
Enable softupdates for var...
290
tunefs: soft updates remains unchanged as enabled
291
tunefs: soft updates remains unchanged as enabled
292
Mounting var...
293
Mounting var/log...
294
Creating initial configuration...mgd: warning: could not open /config/juniper.conf.md5: No such file or directory
295
Setting up ACX specific options
296
mgd: commit complete
297
Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
298
Starting optional daemons: .
299
Doing initial network setup:
300
.
301
Initial interface configuration:
302
additional daemons:.
303
checking for core dump...
304
savecore: Reboot reason(s): 0x1: power cycle/failure 
305
No dump exists
306
Setting up ACX specific options
307
Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /modules/peertype;/modules/ifpfLoading the IMA Link Media Layer; Attaching to media services layer
308
Loading the IMA Group Media Layer; Attaching to media services layer
309
e_drv;/modules/ifpfe_media;/modules/platform;/moLoading the SONET Media Layer; Attaching to media services layer
310
dules;
311
kld netpfe media: ifpfem_ds0 ifpfem_ds1e1 ifpfem_ds3e3 iLoading the CHMIC module
312
fpfem_ima ifpfem_otn ifpfem_sonetkld netpfe drv: ifpfed_atm ifpfed_chmic ifpfed_controller ifpfed_ds0 ifpfed_ds1e1 ifpfed_ds3e3 ifpfed_eth ifpfed_irb ifpfed_lt ifpfed_ml_cmn ifpfed_ml_ha ifpfed_posLoading POS driver
313
 ifpfed_pppoe ifpfed_sa Loading Aggregate sonet driver
314
 ifpfed_svcs ifpfed_vtkld platform: mt_ifpfeLoading Multilink Services PICs module.
315
Loading the M&T Platform NETPFE module
316
kld peertype: peertype_xdpc ipsec kld.
317
Doing additional network setup:.
318
Starting final network daemons:.
319
Run ACX dual root init to setup sysctls and other stuff...
320
Boot media /dev/da0 has dual root support
321
WARNING: JUNOS versions running on dual partitions are not same
322
** /dev/da0s1a
323
FILE SYSTEM CLEAN; SKIPPING CHECKS
324
clean, 368832 free (40 frags, 46099 blocks, 0.0% fragmentation)
325
setting ldconfig path: /usr/lib /opt/lib
326
starting standard daemons: cron.
327
Initial rc.powerpc initialization:.
328
329
 Lock Manager
330
RDM Embedded 7 [04-Aug-2006] http://www.birdstep.com
331
Copyright (c) 1992-2006 Birdstep Technology, Inc.  All Rights Reserved.
332
333
Unix Domain sockets Lock manager
334
Lock manager 'lockmgr' started successfully.
335
336
Database Initialization Utility
337
RDM Embedded 7 [04-Aug-2006] http://www.birdstep.com
338
Copyright (c) 1992-2006 Birdstep Technology, Inc.  All Rights Reserved.
339
340
/var/pdb/profile_db initialized
341
342
Profile database initialized
343
Local package initialization:.
344
kern.securelevel: -1 -> 1
345
starting local daemons:.
346
Fri Jan  1 00:04:38 UTC 2010
347
platform_cookie_read not implemented
348
349
Amnesiac (ttyu0)
350
351
login: 
352
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)