Project

General

Profile

Juniper ACX2100 » History » Version 3

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