[j-nsp] 1000BASE-T SFP sets interface status "up" once inserted into EX4200-24F

2010-11-04 Thread Martin T
I have few ProLabs GLC-T-C 1000BASE-T SFP's. If I insert this SFP into EX4200-24F switch, both Admin and Link status are immediately "up". Admin status should be "up" by default, but I find it odd, that Link status stays "up" as well even if there is no cable connected to the SFP. When I insert th

Re: [j-nsp] 1000BASE-T SFP sets interface status "up" once inserted into EX4200-24F

2010-11-05 Thread Martin T
n/a Methode Elec. SP7041-M1-JN n/a > > > > Kind Regards, > Peter Krupl > Siminn Danmark A/S > > > > > -----Original Message- > > From: juniper-nsp-boun...@puck.nether.net [mailto:juniper-nsp- > > boun...@puck.nether.net] On Behalf Of Martin T &g

Re: [j-nsp] Juniper M20 does not clear "show chassis alarms"/"show system alarms" although problem not present any more

2011-01-30 Thread Martin T
It looks like if one turns power supply of M20 ON and then OFF(or vice-versa) in less than 60s, then "show chassis alarms" and "show system alarms" stay present and only restart of chassisd(or router reboot) would help. This "After powering off a power supply, wait at least 60 seconds before turnin

[j-nsp] Cisco "show processes cpu history" analog under Juniper

2011-02-03 Thread Martin T
Hello, as far as I know, there is no possibility to check CPU or memory utilization history under JUNOS. Any rumors, will there be "show processes cpu history" analog for JUNOS in future versions? Or do most users query CPU and memory utilization over SNMP periodically and draw graphs in NMS? reg

[j-nsp] How to access routing engine BIOS

2011-02-09 Thread Martin T
At the very beginning of the RE-850 bootup process, there is a following message displayed: < Award Modular BIOS v4.51PG, An Energy Star Ally Copyright (C) 1984-98, Award Software, Inc. BIOS Version 1.2 11/02/2004-i440GX-SMC67X-2A69TU00C-00 Press DEL to enter SETUP > Howe

Re: [j-nsp] How to access routing engine BIOS

2011-02-09 Thread Martin T
Ok :) Any hints? Even if I press DEL rapidly, it still continues with normal boot process.. regards, martin 2011/2/9 Richard A Steenbergen : > On Wed, Feb 09, 2011 at 07:41:36PM +0200, Martin T wrote: >> >> Press DEL to enter SETUP >> >>>>> >> >&g

[j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-09 Thread Martin T
I have a RE-850 with Compact Flash and PATA 2.5" form factor HDD installed. However, both of these are zero-filled. What are the general guidelines to get JONOS running on this RE? Boot order in BIOS is following: PCMCIA ATA Flash Card Compact Flash Primary IDE Hard Disk Ethernet As I have no "P

Re: [j-nsp] How to access routing engine BIOS

2011-02-09 Thread Martin T
t you know. regards, martin 2011/2/9 Chris Adams : > Once upon a time, Martin T said: >> Ok :) Any hints? Even if I press DEL rapidly, it still continues with >> normal boot process.. > > Make sure your serial program is sending the correct code when you hit > DEL.  I believe

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-09 Thread Martin T
.@windstream.com  or alex@kdlinc.com > Phone) +1-262-792-4993 > Fax) +1-812-206-4682 > = > > -Original Message- > From: juniper-nsp-boun...@puck.nether.net > [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of Martin T > Sent: Wednesday, February 09,

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-10 Thread Martin T
Probe Networks) : > Martin, > > yes thats the correct way to do it. Only the pc-card slot is able to > fully partition both CF and HDD using a install-media image and get you > a fresh and blank JunOS installed. > It will install on both CF and HDD and thus you will have a redundant

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-10 Thread Martin T
try without bs=64k. Also no real need to blank the CF first. > > Regards, > Jonas > > > Am Donnerstag, den 10.02.2011, 16:11 + schrieb Martin T: >> Looks like I'm unable to boot from "PCMCIA ATA Flash Card": >> >> <<<<< >> Award

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-11 Thread Martin T
The exact model of CF I'm using in SanDisk "CompactFlash PC Card Adapter" is a 1GB "SiliconDrive CF"(SiliconSystems, Inc. Now owned by Western Digital) SSD-C01G-3596. Any experience with this particular CF card? Any other ideas/suggestions what to try? regards, ma

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-14 Thread Martin T
Ok, so for example those two should work for sure: SDCFB-512-A10(http://www.amazon.com/SanDisk-CompactFlash-SDCFB-512-A10-Retail-Package/dp/B6B9QF) and SDCFB-1024-A10(http://www.amazon.com/SanDisk-SDCFB-1024-A10-Type-Retail-Package/dp/B6AE3K)? Any other CF cards, which are confirmed to wor

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-02-20 Thread Martin T
? Any other CF cards, which are confirmed to work? regards, martin 2011/2/14 Martin T : > Ok, so for example those two should work for sure: > SDCFB-512-A10(http://www.amazon.com/SanDisk-CompactFlash-SDCFB-512-A10-Retail-Package/dp/B6B9QF) > and > SDCFB-1024-A10(http://www.amazon

[j-nsp] 64-bit Junos Install Media

2011-03-23 Thread Martin T
Has anyone tried to install for example install-media64-10.4R3.4-export? I tried to install this on M10i(RE-850, Intel Pentium III i686) with not much luck as I ended up in debugging subshell: ERROR: Package jbundle is not compatible - amd64 vs {i386} ERROR: jbundle-10.4R3.4-export fails requireme

Re: [j-nsp] general guidelines for installing JUNOS to RE, where HDD and CF are blank

2011-03-23 Thread Martin T
eme" models and stuck to "Standard" speed CF instead, because of > issue reports from others. Hope this helps. > > good luck, > Christian > >>-Original Message- >>From: juniper-nsp-boun...@puck.nether.net >>[mailto:juniper-nsp-boun...@puck.

Re: [j-nsp] 64-bit Junos Install Media

2011-03-23 Thread Martin T
ok, thanks for the clarification! regards, martin 2011/3/23 Chris Adams : > Once upon a time, Anton Delport said: >> I believe this image is supported on the new RE-S-1800's as well at the >> JCS. I does not work on the m10i. > > The download page should probably note this better; right now, the

[j-nsp] Juniper "firewall policer" inner workings

2011-04-04 Thread Martin T
I made a following setup: http://img690.imageshack.us/img690/3162/iperftest.png In a laptop, an Iperf server is listening like this: "iperf -s -u -fm". In a workstation, an Iperf client is executed like this: "iperf -c 192.168.2.1 -u -fm -t60 -d -b 10m". This will execute simultaneous 10Mbps UDP

Re: [j-nsp] Juniper "firewall policer" inner workings

2011-04-04 Thread Martin T
fic > > and you should see the loss go away. > > Cheers, > > Ben > > On 04/04/2011, at 7:41 PM, Martin T wrote: > >> I made a following setup: >> >> http://img690.imageshack.us/img690/3162/iperftest.png >> >> In a laptop, an Iperf server is listening

Re: [j-nsp] Juniper "firewall policer" inner workings

2011-04-04 Thread Martin T
then I don't find this normal.. regards, martin 2011/4/4 Gabriel Blanchard : > The policer is dropping packets in order to slow down your connection to > 10mbps. In my opinion this is working perfectly. > > > > On 2011-04-04, at 8:30 AM, "Martin T" wrote: >

Re: [j-nsp] Does any one knows who fix Juniper Power Supply?

2011-04-04 Thread Martin T
Is it an AC or DC PSU? In addition, check you revision number as well. You might be affected with following issue: 8<- Bulletin: PSN-2003-12-001 Title: Recommended replacement of older revisions of M20 power supply Products Affected: This issue affects the following power supplies.

Re: [j-nsp] Juniper "firewall policer" inner workings

2011-04-04 Thread Martin T
Ben, thanks for this "filter-specific" explanation! Gabriel, Stefan, Chuck, Sthaug: Packet loss, which Iperf rapports, boils down to how the "bandwidth-limit" and "burst-size-limit" works. As Stefan mentioned, it would be logical that everything below IP header is counted into this "10m" as poli

[j-nsp] "Yellow led" and "Red led" alarms in Juniper

2011-04-04 Thread Martin T
As far as I know, all Juniper routers have "Yellow led" and "Red led" indicators on "craft interface". Few examples: http://www.juniper.net/techpubs/software/nog/nog-hardware/html/craft-interfacea11.gif http://www.juniper.net/techpubs/software/nog/nog-hardware/html/craft-interfacea4.gif http://www

Re: [j-nsp] "Yellow led" and "Red led" alarms in Juniper

2011-04-05 Thread Martin T
major alarms > When first configuration yellow indicate the rescue configuration is not set > > Best Regards, > -Masagung Nugroho- > > -Original Message- > From: juniper-nsp-boun...@puck.nether.net > [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of Ido Sz

Re: [j-nsp] Juniper "firewall policer" inner workings

2011-04-07 Thread Martin T
Stefan, I see. If policer counts in the IPv4 header as well, it would do (51021*28)/(1024*1024)=1.4MB which is rather close to 71.5-69.8=1.7MB. Could you please explain this "larger buffer to smooth things out" argument? As I understand, in simple terms, larger buffer is able to hold larger amount

Re: [j-nsp] Does any one knows who fix Juniper Power Supply?

2011-04-08 Thread Martin T
Juan, was your PSU 740-001465 one of those? M20 AC PWR-M20-AC-S 740-001465 Revision 7 and earlier M20 DC PWR-M20-DC-S 740-001466 Revision 8 and earlier regards, martin 2011/4/4 Juan C. Crespo R. : > You're completely right > > Thanks > On 04/04/2011 10:03 a.m., Paul Stewart wrote: >> >> Presume

[j-nsp] JUNOS (undocumented) hardware diagnostics commands

2011-04-08 Thread Martin T
I found an unofficial guide on juniper.cluepon.net which describes following memory testing technique:    *  start shell user root    * vty ssb/feb    * bringup chassis slot-state 0 diag    * diagnostic set mode manufacturing    * diag clear log    * diag bchip 0 sdram Example(Juniper M20): SSB1

Re: [j-nsp] Juniper "firewall policer" inner workings

2011-04-11 Thread Martin T
Keegan, policer configuration is shown here: http://img690.imageshack.us/img690/3162/iperftest.png Sthaug, thanks for explanation! So basically one might describe small buffer vs larger buffer with following drawing: http://img24.imageshack.us/img24/3777/leakybucket.png (I'm not very good with Gi

Re: [j-nsp] Does any one knows who fix Juniper Power Supply?

2011-04-11 Thread Martin T
t? > > Thanks > > > > On 08/04/2011 10:40 a.m., Martin T wrote: >> >> Juan, >> was your PSU 740-001465 one of those? >> >> M20 AC PWR-M20-AC-S 740-001465 Revision 7 and earlier >> M20 DC PWR-M20-DC-S 740-001466 Revision 8 and earlier >>

Re: [j-nsp] "Yellow led" and "Red led" alarms in Juniper

2011-04-11 Thread Martin T
In addition, has anybody used those alarm relays on craft interface? If yes, then how? Connect a blinker? :-) regards, martin 2011/4/5 Martin T : > I see. And as I understand, there is no SNMP OID for "set chassis > alarm services rx-errors", "set chassis alarm ethern

[j-nsp] interface errors under "show interfaces xe-x/x/x extensive" output

2011-05-30 Thread Martin T
I have one 10GE interface(XFP-10G-LR, average utilization is ~1Gbps) in my Juniper router facing the ISP constantly producing small amount of errors: Input errors: Errors: 20, Drops: 0, Framing errors: 20, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch ti

[j-nsp] difference between "halt" and "power-off"

2011-06-14 Thread Martin T
What is the difference between "request system halt" and "request system power-off" under JUNOS? Is there a possibility to completely turn off the router remotely(for example in case of Cisco it's impossible)? regards, martin ___ juniper-nsp mailing list

Re: [j-nsp] difference between "halt" and "power-off"

2011-06-15 Thread Martin T
thoughts/experiences? regards, Martin 2011/6/15 Chuck Anderson : > On Tue, Jun 14, 2011 at 08:22:57PM -0700, Michel de Nostredame wrote: >> On Tue, Jun 14, 2011 at 3:28 PM, Martin T wrote: >> > What is the difference between "request system halt" and "request >>

Re: [j-nsp] difference between "halt" and "power-off"

2011-06-20 Thread Martin T
. Sebastian, in case one executes "request system power-off" under MX platform, then physical power-cycle is needed for the router in order to boot it up again? regards, martin 2011/6/16 Sebastian Wiesinger : > * Martin T [2011-06-15 00:30]: >> What is the difference between &q

Re: [j-nsp] Alarm for non-existant PEM

2011-06-20 Thread Martin T
I'm rather sure that Stacy is correct. In addition, for example M10i, which has 4 PSU's as well, requires at least two of them to be operational at a time. regards, martin 2011/6/21 Stacy W. Smith : > I think this is expected. > > http://www.juniper.net/techpubs/en_US/release-independent/junos/to

[j-nsp] acceptable/good laser receive power in case of different interfaces

2011-08-02 Thread Martin T
What is the acceptable Rx power in case of SFP/XFP? For example, here are XFP Tx and Rx signals from six FXP's: 1: Laser output power: 1.2920 mW / 1.11 dBm Laser rx power: 0.0285 mW / -15.45 dBm 2: Laser output power:

Re: [j-nsp] acceptable/good laser receive power in case of different interfaces

2011-08-07 Thread Martin T
gt; http://www.cisco.com/en/US/prod/collateral/modules/ps2797/ps5138/product_data_sheet09186a008007cd00_ps5455_Products_Data_Sheet.html >> > >> > Check Table-2. >> > >> > As far as I know, an optic will output power within a specified range >> > as acc

[j-nsp] BGP "Holdtime", " Active Holdtime" and "Preference" values

2011-08-09 Thread Martin T
Hi, in case one has following settings active with it's BGP peer: Holdtime: 90 Preference: 170 Active Holdtime: 90 Keepalive Interval: 30 ..then what do they mean? As I understand, "Holdtime" is the maximum number of seconds allowed to elapse between the time that a BGP system receives succ

Re: [j-nsp] BGP "Holdtime", " Active Holdtime" and "Preference" values

2011-08-09 Thread Martin T
David, Stefan: I configured "hold-time 20" and BGP session came up with an "Active Holdtime: 20" as expected. Thank you for explanations! regards, martin 2011/8/9 Stefan Fouant : > On 8/9/2011 7:55 AM, Martin T wrote: >> >> Hi, >> in case one has fol

[j-nsp] management daemon of M20(9.4R4.5) is not running

2011-08-09 Thread Martin T
I have a Juniper M20 with Junos 9.4R4.5, which all of the sudden doesn't support SSH login: martint@martin:~> ssh 192.168.1.254 Enter passphrase for key '/home/martin/.ssh/id_dsa': --- JUNOS 9.4R4.5 built 2009-11-16 16:23:14 UTC could not open user interface connection: management daemon not run

Re: [j-nsp] M20 SSB E Memory seller required

2011-08-10 Thread Martin T
I have one M20 SSB-E(710-001951) which uses SMS SM57208809WDTX6 64MB SDRAM DIMM. It uses Samsung K4E6408120-TL50 memory chips. Maybe this information helps if you should accidentally find a SM57208809WDTX6 from second-hand market. regards, martin 2011/8/10 Juan C. Crespo R. : > Guys > >    Does

Re: [j-nsp] management daemon of M20(9.4R4.5) is not running

2011-08-14 Thread Martin T
Cold reboot of the router helped :) regards, martin 2011/8/10 Martin T : > I have a Juniper M20 with Junos 9.4R4.5, which all of the sudden > doesn't support SSH login: > > > martint@martin:~> ssh 192.168.1.254 > > Enter passphrase for key '/home/martin/.ssh/

[j-nsp] "ping: sendto: Operation not permitted" in LAN

2011-08-18 Thread Martin T
I have a ge-0/0/0 interface in Juniper M20(JUNOS 9.4R4.5), which has unit 10 configured to it. Configuration of the interface is basically following: ge-0/0/0 { unit 10 { family inet { rpf-check; mtu 1500; filter {

Re: [j-nsp] "ping: sendto: Operation not permitted" in LAN

2011-08-21 Thread Martin T
Stefan, Stacy: thank you for explanations! I made a following setup for testing this: http://img853.imageshack.us/img853/3366/88435449.png ..and as you can see, I enabled "protocol tcp" under "established" term and now the results are following: root> ping 192.168.1.1 source 192.168.1.14 count

[j-nsp] best practices for cleaning the router for new deployment

2011-08-21 Thread Martin T
What are the best practices for cleaning the router in order to deploy it in some other site? I did "set system root-authentication plain-text-password" in order to have some sort of temporary root password. Then I set configuration file to defaults using the "load factory-default". After this I di

[j-nsp] traffic load balancing between Juniper and Cisco equipment

2011-08-21 Thread Martin T
Is it possible to load-balance traffic between a Juniper M10i and Cisco 1812 using two different last-mile(ADSL2+) providers? Topology should be like this: http://img803.imageshack.us/img803/8766/loadb.png Idea is to use both ADSL2+ links simultaneously in order to achieve better speed. In case o

Re: [j-nsp] best practices for cleaning the router for new deployment

2011-08-21 Thread Martin T
't affect system files- I mean after executing the zeroize and rebooting the router, it boot's up nicely with the currently installed JUNOS just all the configuration, log and temporary files are deleted? regards, martin 2011/8/22 Dale Shaw : > Hi Martin, > > On Mon, Aug 22, 201

Re: [j-nsp] best practices for cleaning the router for new deployment

2011-08-22 Thread Martin T
ome/* ..or will there be any personal information left after those three steps? regards, martin 2011/8/22 Martin T : > Chris, Dale: > > "request system zeroize" will according to description "Erase all > data, including configuration and log files". Are the files

[j-nsp] reliability of ping to router physical-, sub- or loopback interface

2011-08-24 Thread Martin T
Very often customers or NMS send ICMP "echo request" packages to a router physical interface, subinterface or loopback interface and expect ICMP "echo reply" as a response in order to test packet loss on the connection. How reliable are Juniper routers in terms of replying to ICMP "echo request" pa

[j-nsp] what happens in JUNOS when interface is disabled/enabled

2011-10-02 Thread Martin T
I have a subinterface which has /29 globally routable IP network associated with it. Today after recovery of a major routing instability in the network, this particular /29 network still behaved tricky- hosts behind this subinterface were able to reach some Internet hosts, but there was no consiste

[j-nsp] JUNOS ping utility and fragmented ICMP "echo request" probes

2011-10-11 Thread Martin T
Hello, I have a following setup: Cisco891[Gi0] <-> L2 last-mile provider <-> [ae0.266]M10i MTU of Cisco891 interface Gi0 is 1500 bytes: CISCO891-K9>show interfaces Gi0 | i MTU MTU 1500 bytes, BW 10 Kbit/sec, DLY 100 usec, CISCO891-K9> ..and MTU of M10i interface ae0.266 is 1500 bytes a

Re: [j-nsp] JUNOS ping utility and fragmented ICMP "echo request" probes

2011-10-11 Thread Martin T
Steinar, yes, I agree. Packets should be fragmented and they are fragmented. However, why doesn't Cisco 891 send back fragmented ICMP "echo replies"? Unfortunately I don't manage this Cisco 891 so I'm not able to run debug on the Cisco 891. Or does JUNOS drop fragmented ICMP "echo replies" by defau

[j-nsp] understanding interface traffic counters of Juniper router

2011-11-07 Thread Martin T
I made a following setup: http://img4.imageshack.us/img4/9311/switchvsroutertraffic.png "Setup with Juniper router" uses Juniper router and "Setup with Cisco router" uses Cisco router. Both computers sent data(Iperf sends 1470 byte datagrams) for 300 seconds at 9Mbps. As you can see, in case of C

[j-nsp] questions regarding submarine cables

2011-12-11 Thread Martin T
This isn't directly related with Juniper, but hopefully not totally off-topic as well :) At least here might be some industry insiders, who have some experience with submarine cables. 1) According to engineer in this video: http://vimeo.com/29975179 ..modern submarine cables are often built as sel

[j-nsp] high CPU usage of RPD process

2012-01-04 Thread Martin T
RPD process(/usr/sbin/rpd -N) has a high ~80-90% CPU usage: PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 1278 root 1 1220 552M 538M RUN215.0H 86.13% rpd ..on M10i platform(RE-850) without an obvious reason- there has been no changes in network

[j-nsp] DHCP option 82 under "forwarding-options helpers bootp" configuration

2012-09-17 Thread Martin T
Hi, JUNOS(10.4R9.2 at M10i) supports DHCP relay agent information option configuration under "forwarding-options helpers bootp". However, despite the configuration, DHCP messages received by DHCP server do not have option 82 present. For example I made such configuration: root@labM10i> show confi

Re: [j-nsp] DHCP option 82 under "forwarding-options helpers bootp"configuration

2012-09-17 Thread Martin T
gured together in different > VRs/VRFs. > Thanks > Alex > > - Original Message - From: "Martin T" > To: > Sent: Monday, September 17, 2012 1:15 PM > Subject: [j-nsp] DHCP option 82 under "forwarding-options helpers > bootp"configuration > &g

[j-nsp] clear license related system alarms on M10i platform

2012-09-28 Thread Martin T
Hi, I had "dhcp-relay" configuration active on M10i(10.4R9.2). This feature requires "scale-subscriber" license. I replaced "dhcp-relay" configuration with "helpers bootp" configuration. However, the "show system license" and "show system alarms" still indicate that I'm using "dhcp-relay" feature:

[j-nsp] LACP support on forwarding plane on M10i?

2012-10-30 Thread Martin T
Is LACP supported on forwarding plane on M10i? According to "Disabling Distributed Periodic Packet Management on the Packet Forwarding Engine"(http://goo.gl/uDwYm) document LACP is supported on packet forwarding engine only on MX series. On the other hand, "show pfe statistics traffic" displays L

[j-nsp] understanding PFE "Hardware input drops" on M10i(CFEB, Internet Processor II)

2012-10-30 Thread Martin T
Hi, "Hardware input drops" counter in "show pfe statistics traffic" output increases rapidly in case one floods router interface with small UDP datagrams. "Software input medium drops" counter increases as well. "show pfe statistics traffic" output can be seen below: root@M10i> show pfe statistic

Re: [j-nsp] LACP support on forwarding plane on M10i?

2012-10-30 Thread Martin T
ort engineer - Orange France > Ph. +33 2 99 87 64 72 - Mob. +33 6 85 52 22 13 > david@orange.com > > JNCIE-M&T/SP #703 - JNCIE-ENT #305 - JNCIP-SEC > > -----Message d'origine- > De : juniper-nsp-boun...@puck.nether.net > [mailto:juniper-nsp-boun...@puck.nethe

[j-nsp] police multiple family CCC interfaces with a single shared policer on M(or MX) series?

2012-12-11 Thread Martin T
Hi, I have a setup where two Linux workstations are connected to each other via Juniper remote LSP circuit cross-connect(remote-interface-switch). Simplified setup looks like this: workstation1 <-> M20 <-> M10i <-> workstation2 Both workstations have three sub-interfaces(VLAN interfaces). "work

Re: [j-nsp] police multiple family CCC interfaces with a single shared policer on M(or MX) series?

2012-12-12 Thread Martin T
edit] root@M20# ..but such configuration broke the connectivity between the "workstation1" and "workstation2". Any ideas how to police multiple family ccc interfaces with one shared policer on M(or MX) series? regards, Martin 2012/12/12 Martin T : > Hi, > > I have a

[j-nsp] understanding M5 RE-333-256 memory usage

2013-04-03 Thread Martin T
Hi, I have a Juniper M5(8.5R4.3) with RE-333-256 routing-engine in remote location. I guess it has either 1x 256MiB PC66/PC100/PC133 SDRAM or 2x 128MiB PC66/PC100/PC133 SDRAM memory-modules. Under "show chassis routing-engine" output memory utilization is 90%: root@M5> show chassis routing-engine

Re: [j-nsp] understanding M5 RE-333-256 memory usage

2013-04-04 Thread Martin T
. regards, Martin 2013/4/3, Martin T : > Hi, > > I have a Juniper M5(8.5R4.3) with RE-333-256 routing-engine in remote > location. I guess it has either 1x 256MiB PC66/PC100/PC133 SDRAM or 2x > 128MiB PC66/PC100/PC133 SDRAM memory-modules. Under "show chassis > routing-

[j-nsp] auto-negotiation on 1000BASE-X ports

2013-05-06 Thread Martin T
Hi, Juniper routers support enabling(this is the default setting) and disabling auto-negotiation both on 1000BASE-T(copper) and 1000BASE-X(optical) interfaces. Auto-negotiation on copper ports makes sense because copper ports(for example on tri-rate DPC's on MX960) support 10BASE-T and 100BASE-TX

Re: [j-nsp] auto-negotiation on 1000BASE-X ports

2013-05-13 Thread Martin T
Nick, Oliver: by flow control you mean the 'regular' Ethernet flow control using the PAUSE frame mechanism? Olivier: I wasn't aware that remote fault detection is part of the autonegotiation. Thanks! I tested this out with two directly connected Juniper M series routers and it works exactly as

Re: [j-nsp] auto-negotiation on 1000BASE-X ports

2013-05-15 Thread Martin T
Olivier, I thought that "auto-negotiation remote-fault local-interface-online" translates to "keep the local interface online despite the fact that remote-fault detection, which is part of the autonegotiation, has detected that link is unidirectional". If I connect both optical cables, enable auto

[j-nsp] optical transceivers recommended "Rx power" levels and signal measurement intervals

2013-06-16 Thread Martin T
Hi, 1) As I understand, XFP vendors store the recommended "Rx power" levels in transceiver non-volatile memory during the manufacturing process and those are read by switch/router over I2C bus. Are those values usually reliable? I mean for example if "show interfaces diagnostics optics" displays t

Re: [j-nsp] optical transceivers recommended "Rx power" levels and signal measurement intervals

2013-06-17 Thread Martin T
> On (2013-06-16 20:40 +0300), Martin T wrote: > > Hi Martin, > >> 1) As I understand, XFP vendors store the recommended "Rx power" levels >> in >> transceiver non-volatile memory during the manufacturing process and >> those >> are read by swit

[j-nsp] what happens if HDD on routing-engine fails during the router operation?

2013-06-25 Thread Martin T
Hi, M and MX series routing-engines have HDD(or SSD) installed which has a UFS and is mounted to /var. /var directory contains many important sub-directories like "log" for log files, "crash" for core-dumps, "tmp" for some temporary files etc. However, what happens if HDD fails while the routing-e

Re: [j-nsp] what happens if HDD on routing-engine fails during the router operation?

2013-06-26 Thread Martin T
Hi, I did now :) However, it had no effect. On the other hand, dismounting the /var is not near the same as completely removing or failure of the HDD on a working routing-engine. Example with M20: root@M20> show configuration chassis routing-engine { on-disk-failure disk-failure-action rebo

Re: [j-nsp] what happens if HDD on routing-engine fails during the router operation?

2013-06-26 Thread Martin T
n-disk-failure disk-failure-action reboot > set chassis redundancy failover on-disk-failure > > Did you try both? > > > -Original Message- > From: Martin T [mailto:m4rtn...@gmail.com] > Sent: Wednesday, June 26, 2013 11:58 AM > To: Per Granath > Cc: mer...@geeks.o

[j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

2014-05-05 Thread Martin T
Hi, I have a GigE port with flexible-ethernet-services encapsulation and bunch of VLAN sub-interfaces. I would like to poll this GigE interface for troubleshooting purposes at certain times with 1s interval over SNMP in order to understand traffic usage(both bps and pps) on this interface. In "sho

Re: [j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

2014-05-05 Thread Martin T
ive" output. Any ideas? regards, Martin On Mon, May 5, 2014 at 4:41 PM, Saku Ytti wrote: > On (2014-05-05 18:41 +0300), Martin T wrote: > >> poll the ifInOctets and ifInUcastPkts counters for ge-0/0/3(SNMP >> IfIndex 723) over SNMP: >> >> $ for i in 0 1; do snm

[j-nsp] interface used on mini-PIM modules on Juniper SRX platform

2014-05-05 Thread Martin T
Hi, has anyone investigated what interface is used in case of mini-PIM modules? Physically it looks similar to 68-pin SCSI-3 connector: http://i.imgur.com/UxhCS6g.jpg Do they use some proprietary protocol or is it indeed SCSI? It would probably appear in kernel message buffer(seen with dmesg/"show

Re: [j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

2014-05-06 Thread Martin T
Saku, to be technically correct, I could poll the 32 bit counters as well in case of short polling interval, but it's easier to poll the 64 bit counters as I do not need to take counter roll over into consideration. regards, Martin On 5/6/14, Martin T wrote: > Saku, > > as yo

Re: [j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

2014-05-06 Thread Martin T
stPkts.723 374757384876 $ Sorry for overlooking this. However, I'm afraid that 5 second interval is too long for me in this case and I'll still need to log into router and parse the output of CLI command. regards, Martin On 5/6/14, Saku Ytti wrote: > On (2014-05-05 18:39 +), Martin

Re: [j-nsp] interface used on mini-PIM modules on Juniper SRX platform

2014-05-06 Thread Martin T
has for expansion is 32-bit 66MHz PCI. That would give you just over 2Gbps > of bandwidth on the PCI bus shared between the single mini-PIM slot and > anything else Junpier have hooked up to the PCI bus, with the biggest > mini-PIM that you can get being 1x1Gbps. > > Edward Dore &

[j-nsp] purpose of br-ext-nic and br-int-vmx1-nic interfaces in case of vMX 16.1R2.11

2018-06-04 Thread Martin T
Hi! When I deploy a vMX named "vmx1" with vmx.sh orchestration script, then it automatically creates tap devices "br-ext-nic" and "br-int-vmx1-nic": $ ip tuntap | grep -E "br-ext-nic|br-int-vmx1-nic" br-ext-nic: tap UNKNOWN_FLAGS:800 br-int-vmx1-nic: tap UNKNOWN_FLAGS:800 $ "br-ext-nic" is one o

[j-nsp] How does internal communication between vMX virtual control plane and virtual forwarding plane work?

2018-06-04 Thread Martin T
Hi! When I deploy a vMX using orchestration scripts, then I end up with following virtualized topology: https://i.imgur.com/bBTXGM0.png Now when I execute "file copy root@192.168.122.1:/tmp/1G_file /dev/zero" in vMX, then I can see that traffic traverses virbr0[ge-0.0.0-vmx1] <-> [ge-0/0/0]vcp-v

Re: [j-nsp] How does internal communication between vMX virtual control plane and virtual forwarding plane work?

2018-06-06 Thread Martin T
On Wed, Jun 6, 2018 at 11:17 AM, James Bensley wrote: > On 4 June 2018 at 13:46, Martin T wrote: >> Hi! > > Hi! > >> When I deploy a vMX using orchestration scripts, then I end up with >> following virtualized topology: >> >> https://i.imgur.com/bBTXG

[j-nsp] negation operator in SLAX

2018-06-14 Thread Martin T
Hi! I have quite often used "!" negation operator familiar from other languages. For example: /* If string does not match the pattern, then terminate the script. */ if ( ! jcs:regex( $pattern, $string ) ) { terminate 'Invalid input string!'; } However, I have not found this method in the of

Re: [j-nsp] negation operator in SLAX

2018-06-16 Thread Martin T
Hi! > There is not() : Oh, yes. I forgot the not() function. I made a small comparison between not(), jcs:empty() and ! using five data types in SLAX: 1) False boolean value: As expected "not( $boolean )" returns true. Also, the "jcs:empty( $boolean )" returns true because jcs:empty() always co

Re: [j-nsp] negation operator in SLAX

2018-06-19 Thread Martin T
On Mon, Jun 18, 2018 at 9:40 PM Phil Shafer wrote: > > Martin T writes: > >Oh, yes. I forgot the not() function. I made a small comparison > >between not(), jcs:empty() and ! using five data types in SLAX: > > "!" and "not" are identical. The "!&

[j-nsp] terminate endless loop in SLAX

2018-06-25 Thread Martin T
Hi! Is there a way to terminate endless loop in SLAX? For example, if I configure something as simple as that: match / { { while ( true() ) { terminate; } } } ..then according to the debugger, the while loop does not seem to be looping but simply hangs. tha

Re: [j-nsp] terminate endless loop in SLAX

2018-06-26 Thread Martin T
On Mon, Jun 25, 2018 at 7:32 PM Phil Shafer wrote: > > Martin T writes: > >Hi! > > > >Is there a way to terminate endless loop in SLAX? For example, if I > >configure something as simple as that: > > > >match / { > > { > &

Re: [j-nsp] terminate endless loop in SLAX

2018-06-26 Thread Martin T
On Tue, Jun 26, 2018 at 9:35 PM Phil Shafer wrote: > > Martin T writes: > >Thanks Phil! So in short, at the moment "terminate" statement inside > >the while loop works in a way that when "terminate" statement is > >executed, then immediately next it

[j-nsp] format of minimum and maximum value of math:random() in SLAX

2018-07-05 Thread Martin T
Hi! According to the documentation, math:random() function returns a random number with a minimum value of 0 and a maximum value of 1. Larger values than 0 and smaller values than 1 have a format similar to 0.663341003779015. What is the format of minimum and maximum value? Simply 0 and 1? 0.0

Re: [j-nsp] format of minimum and maximum value of math:random() in SLAX

2018-07-06 Thread Martin T
On Thu, Jul 5, 2018 at 11:37 PM Phil Shafer wrote: > > Michael Loftis writes: > >idk if there's a floor function but the general solution is floor(rand() * > >16) when rand() produces values 0-1(exclusive) IE if random does not > >generate 1.0 - dunno implementation details for slax > > Yes, XPath

[j-nsp] Is it possible to pass apostrophe character(ASCII dec code 39) as an argument value to SLAX script?

2018-07-12 Thread Martin T
Hi! Is it possible to pass apostrophe character(ASCII dec code 39) as an argument value to SLAX script? I have tried to escape it, but it does not seem to work: root@vmx1> op test chr ' ''':(null):(2) Invalid expression error: runtime error error: Evaluating user parameter chr failed root@vmx1>

Re: [j-nsp] Is it possible to pass apostrophe character(ASCII dec code 39) as an argument value to SLAX script?

2018-07-12 Thread Martin T
On Thu, Jul 12, 2018 at 11:20 PM Phil Shafer wrote: > > Martin T writes: > >Is it possible to pass apostrophe character(ASCII dec code 39) as an > >argument value to SLAX script? I have tried to escape it, but it does > >not seem to work: > > Quote it: &g

Re: [j-nsp] Is it possible to pass apostrophe character(ASCII dec code 39) as an argument value to SLAX script?

2018-07-17 Thread Martin T
On Fri, Jul 13, 2018 at 12:35 AM Phil Shafer wrote: > > Martin T writes: > >aren't you using grave accent("echo -e "\x60"") character? I was using > >"echo -e "\x27"" character. > > Doh! I read apostrophe (even named the scrip

[j-nsp] set:difference() function in SLAX returns different results while input node-sets are the same

2018-09-07 Thread Martin T
Hi! I encountered an interesting behavior where set:difference() function does not work when node-set variable is manually defined like this: var $vlan-range_ := { { "99"; } { "100"; } { "101"; } { "102"; } } However, the se

Re: [j-nsp] set:difference() function in SLAX returns different results while input node-sets are the same

2018-09-21 Thread Martin T
Hi Phil, > Two issues: first is that it is really comparing nodes not contents Yes, that I understand. For example, here both element nodes contain the same text node, but set:difference() still returns a node-set 99: $ cat foo.slax version 1.2; var $v1 := { { "99"; } {

[j-nsp] How to trim the text node of a specific element node in SLAX node-set?

2018-10-24 Thread Martin T
Hi! I need to trim the text node of a specific element node in SLAX. All other elements should remain as in the original node-set. At the moment, I do it like this: $ cat trim_node-set.slax version 1.2; main { var $alphabet := { { { "bbb "; "ccc "; }

Re: [j-nsp] How to trim the text node of a specific element node in SLAX node-set?

2018-11-02 Thread Martin T
On Thu, Oct 25, 2018 at 10:08 PM Phil Shafer wrote: > > Martin T writes: > >I need to trim the text node of a specific element node in SLAX. All > >other elements should remain as in the original node-set. At the > >moment, I do it like this: > > Use apply-te

[j-nsp] high RTT on vMX(virtio mode) interfaces

2018-11-02 Thread Martin T
Hi! I have a simple network topology where tap interface named ge-0.0.1-vmx1(generated by vMX orchestration scripts) is connected to virbr1 bridge port 1. This ge-0.0.1-vmx1 is mapped to ge-0/0/1 interface in Junos and has IPv4 address 10.210.0.1/24 configured. virbr1 has 10.210.0.2/24 configured:

Re: [j-nsp] high RTT on vMX(virtio mode) interfaces

2018-12-10 Thread Martin T
On Fri, Nov 2, 2018 at 6:15 PM Martin T wrote: > > Hi! > > I have a simple network topology where tap interface named > ge-0.0.1-vmx1(generated by vMX orchestration scripts) is connected to > virbr1 bridge port 1. This ge-0.0.1-vmx1 is mapped to ge-0/0/1 > interface in Junos

[j-nsp] break statement in SLAX

2018-12-13 Thread Martin T
Hi! I have a XML text node which contains random integers between 1 and 10 and are separated by LF(0x0a). I convert this text node into a string and use jcs:break-lines() to put those numbers into a node-set. This means, that eventually I have an object like this: (sdb) print $int_ns [node-set] (

  1   2   >