Skip to main content

Configuring in the JunOS CLI (Standalone vMX)

Happy 2021!

A lot of the information came from this video by Network Direction, full disclaimer. It also showed me how to use these virtual labs. Usually I just showed up, clicked random buttons, and moved onto local .iso because I knew how to get those started.

Use Juniper vLabs for an online lab space to work in.

Let the setup commence, click the arrow, then SSH!


Two modes: Operational, Configuration. 

In Cisco talk, it's the > prompt and the # prompt after you hit config t.

Most prevalent thought: How many Cisco configurations also work here? What context clues can I use to look around? 

Turns out, yes, you can use the ? to figure out where to go next.



The show configuration layout looks kind of like a JSON or Python file, without the double quotes.


Check out show chassis routing-engine: How much of a system's resources are being used, broken down.



The syntax error was from me pressing the spacebar after 'edit protocols' in an attempt to just get to bgp. You can do that, if you start at top:

Notice the edit banner has gone back to [edit] and then [edit protocols bgp]

After editing the name (much more involved than 'hostname R1'), we can compare the actions.



I like how it uses math symbols. Minus is like "Well, no need for you anymore huh".



Pretend you have bare-bones knowledge about CLIs for routers. You can figure out what 'hostname' means.

What would you find easier to get the understanding of: 

copy running-config startup-config (copy run start)

or

commit and-quit? 


After years of use, I would say the former. For the newcomer, it may still be the former, because context is there.

                                                set address 1.1.1.1/32


Easier to write and read. Unless you find it easier to have your subnet masks spelled out. No shaming here. You can also stick the entire command - the interface setting, the number, the IP addressing scheme family, the address itself - all on one line. That's amazing!

This was my first foray into configuring Junos routers, and it was easier and clearer than I thought. Let's try a VLAN. Today's resource comes from MustBeGeek.




I can set them on the vMX router, but I can't actually show them. Am I missing a command somewhere.




I like how if you mistype something, JunOS is quick to say "Nope. Wrong. Try again!"

A unit is a logical interface - What you need to create a VLAN!

It's time for that torrential troublemaker, DNS, using Juniper's own documentation.



It doesn't recognize some commands the documentation lists despite being in the proper drop-down. Again, it stops before I can add a space to continue the command and throws a "?"


Hey, at least that works!


When I was configuring a NAT Pool, I swear it automatically finished the 'match-direction' command in the line. Some of them do get rather lengthy.

Appreciate how it tells you, clearly, what statements you may be missing:

 ## Warning: missing mandatory statement(s): 'translation-type'


So, that's the first look at JunOS CLI! Fun, clear, can't wait to do more.

Comments

Popular posts from this blog

What Do You Need? [AKA; List of Offered Services / My Next Role] (2020)

I am a trusted outsourced remote consultant for your company.   I enjoy having the flexibility to take on temporary projects from time to time! I start at part-time, temp work for now. If we like each other, we can renegotiate. If anything sounds weird, out there, or unusual - Feel free to e-mail me .  3 Services Offered Writing :      You want to pay me to write more of *waves hand* this blog? I am game .     I write B2C e-mails going out to over 280 people weekly. [ Example Job Description ]        Auditing :        Something doesn't work on your page. I can find it, or you can lose business. [ Here ] [ Example Job Description ]   Technical: Still as-needed, always remote, contract, or temporary. IT Operations Tech [ Example Job Description ]     Hardware and SaaS support.     Cisco routing and switching (Networking). CCNA, A+, Sec+, Azure certified WORKING ON: Junos Networking Cloud Technician     Azure [ See tag ]  Support [Web: Example Job Description ] [Text : Example

Portfolio of UX/Product Feedback [Vol. 1]

Have You Looked at Your Webpage From the Customer's View Lately? You have probably been linked here from a form or my resume. If you have any questions about what I'm looking for in a role, click here .   This post is not to shame, but to point out errors and hopefully make my talent for finding and documenting such mistakes clear to someone hiring. Contents: Instances where I offer constructive feedback on someone's website, logo, or app. Actions that were taken by the developers or artists.  I'm glad you want your webpages to be the best they can be with my help; If you need your sites audited, e-mail me . Latest Update -  November 20th, 2020.   Vol. 2 is here .

Wireless Diagnostics on Mac OS; Packet Sniffing on a WLAN

There's a post sitting in my drafts about Wireshark and how to sniff packets out of the air that was going to be about sniffing for authentication packets for Wi-Fi hotspots that aren't broadcasting SSID (Which you shouldn't do apparently! It's still not safe). I was watching this video to find a little more information about how to properly use Monitoring mode on my Macbook to sniff for WLAN packets on the network. So when he said "Just open up Wireless Diagnostics and sniff your network (check your width and channel)." It was shocking to me.