Hot answers tagged

13 votes
Accepted

How can I find what optic is in an interface for a Juniper MX-series router?

You need to be looking under the show chassis hardware stanza. That gives you all the inner-workings of the devices plugged into the chassis, including VC members. On an MX platform, this is along ...
user avatar
  • 5,449
10 votes
Accepted

What are FPC and Linecards?

FPC's are similar to Linecards. When dealing with Juniper you will hear FPC more often. FPC's (Flexible PIC Concentrator) houses multiple PICs (Physical Interface Cards) which connect to the physical ...
user avatar
  • 136
8 votes

Juniper Switching - Cheap Lab

* UPDATED Dec 2017 * Juniper renamed this product to the vSRX (virtual SRX). You can still download a trial copy - https://www.juniper.net/uk/en/products-services/security/srx-series/vsrx/ You can ...
user avatar
8 votes

Juniper Switching - Cheap Lab

The SSG-20 only runs ScreenOS, not JunOS. Juniper switches run JunOS, so this won't help you test your scripts and test configs. Personally, I'd look for a cheap 2nd hand low end model Juniper, but it ...
user avatar
  • 15.6k
8 votes
Accepted

Is it possible to set idle-timeout for the Junos root user?

UPDATE: As of 16.1 this is possible with the following configuration: set system login idle-timeout n Where n is the number of minutes. https://www.juniper.net/documentation/us/en/software/junos/...
user avatar
  • 6,440
8 votes
Accepted

How to detect loops created by unmanaged switches?

Preventing Unmanaged Switches and Loops: The best solution would be to block unmanaged switches entirely, except those that you explicitly allow. This can be done by enabling bpduguard on access ...
user avatar
8 votes
Accepted

set cli complete-on-space Cisco equivalent

The Cisco command completion uses the <TAB> key (one of the Juniper options). Cisco commands also do not even need to be complete to work; they only need to be complete enough to be unambiguous....
user avatar
  • 93.5k
8 votes
Accepted

Why eBGP don't need config local-address?

There's no real difference between iBGP and eBGP here since you can specify a local-address for both. If you do not specify a local-address, the router will pick the address itself, typically the IP ...
user avatar
  • 15.6k
7 votes
Accepted

Juniper Filesystem Full

There are 3 real ways to fix this, all of which are fairly simple. Automated Storage Cleanup Juniper has a system cleanup tool for handling this automatically. It operates almost exclusively under ...
user avatar
  • 5,449
7 votes
Accepted

Is it possible to stitch a L2VPN connection into a VPLS domain on Juniper MX

So it seems the way to go is to use a logical tunnel interface on MX. Just put one end of the lt Interface in the VPLS instance and the other end in the L2VPN instance: lt-1/2/0 { mtu 1514; ...
user avatar
7 votes

Juniper user creation and password

I don't think that will work, Juniper will just refuse the login since there's no valid authentication mechanism configured. The only way to do this properly is by actually setting a password: user@...
user avatar
  • 15.6k
7 votes
Accepted

What is the difference between "set community" and "add community" in juniper?

set replaces the current communities on a route with the specified community, while add adds the specified community to any communities already present on that route.
user avatar
  • 15.6k
7 votes
Accepted

Is it possible to limit a IP's traffic in gateway Juniper switch?

You can apply a filter to an interface in the interface: irb { unit 9 { family inet { address 40.224.224.14/29; filter input my-filter; } } } And then ...
user avatar
  • 15.6k
6 votes
Accepted

Juniper MX-5 EOPE Drop Pkt Cnt Incrementing

Just to provide an answer for anyone else experiencing similar issues, this was a cosmetic bug that was fixed from JUNOS 12.3 onwards. Actual update from TAC "There is an issue with the stats ...
user avatar
  • 1,609
6 votes

why we can't create multiple loopback interfaces in Junos?

You can add an individual lo0.x to each routing-instance present. So if you configure multiple routing-instances, you can configure multiple, separate loopback interfaces. And this is 'the proper way ...
user avatar
  • 381
6 votes

why we can't create multiple loopback interfaces in Junos?

Because it's entirely unnecessary. In JunOS you can have multiple addresses on a single logical interface. > show configuration interfaces lo0.0 family inet { address 127.0.0.1/32; ...
user avatar
  • 847
6 votes

How to observe logs/steps MX has taken to peer BGP

I think you're looking for traceoptions for BGP. From the documentation on Juniper's site: Configuring Traceoptions [edit protocols bgp traceoptions] user@router# set file bgp.log size 10m files 10 ...
user avatar
6 votes
Accepted

How to specify username for SSH in Juniper router?

For some reason the Juniper documentation (http://www.juniper.net/techpubs/en_US/junos13.2/topics/reference/command-summary/ssh.html) doesn't mention it, but it is possible. The command is: ssh <...
user avatar
  • 1,899
6 votes
Accepted

Juniper EX4200 How to read SNMP traffic counters for specific VLAN id from trunk interface?

Sadly the EX4200 (or any EX) is not able to do this. You would need a separate logical unit for the VLAN which has its own VLAN counters. This works for example on Junipers MX routers but not on EX. ...
user avatar
6 votes
Accepted

EVPN/VXLAN RD & RT

I'll try to help where I can. I know next to nothing about Juniper, but the theory should be the same. Implementation should be the only difference. So let's start with RD's. Each tenant has one VRF. ...
user avatar
  • 201
6 votes

Can we have multiple AS number in the same router?

Sort of. You can have an AS number configured globally for the router and a local AS defined for a specific peer. From Juniper documentaion page Examples: Configuring BGP Local AS: Overview ...
user avatar
  • 18.4k
6 votes
Accepted

Junos how to execute a lot of repetitive commands?

The easiest way to do this is: create a file with the set statements (probably using some script) copy that file to your router use load set <filename> to execute the set of statements More ...
user avatar
  • 15.6k
6 votes
Accepted

How can I retrieve a configuration programmatically on a JunOS device?

There are a number of ways to do this. You can do a 'show configuration | display xml' to get an XML output from the router. Another, probably better option would be to use netconf, which uses the ...
user avatar
  • 15.6k
6 votes
Accepted

There have uncommitted changes, but `show | compare` do not show it

Try this one: show | compare rollback 1 Also this situation may rise in case when you change value(option), then in the same session revert this changed value to previous state. < This is my ...
user avatar
6 votes
Accepted

What's the difference between "show arp no-resolve" and "show arp" in Juniper?

no-resolve indicates you don't want to do DNS lookups for every IP address in the ARP table: teun@juniper> show arp ? Possible completions: ... no-resolve Don't attempt to print ...
user avatar
  • 15.6k
6 votes
Accepted

How does a Juniper PE associate frames from the CE with correct route in <VPN_name>.l2vpn.0 table in case of Kompella L2 VPNs?

There are two labels, so as traffic ingresses the PE from the CE there is a double push. Inner Label Every interface gets a label from that L2VPNs label block. The inner label is based on this ...
user avatar
  • 6,440
5 votes
Accepted

How can I see what interfaces belong to the default routing instance on the SRX?

There are a couple of ways you can check show interfaces routing-instance all terse which will list all interfaces and their routing instance (See example) show confiuration routing-instances which ...
user avatar
5 votes
Accepted

how to create managment access to SRX Lsys.

There are three steps to this. Create a logical system Create a user class bound to the logical system Create a user with the class Here is a very incomplete example: set logical-system lsys1 set ...
user avatar
  • 847

Only top scored, non community-wiki answers of a minimum length are eligible