Network#31: Juniper Switch Configuration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome to the new episode of the network tutorial for beginner CI which is here and in today's tutorial we are working on juniper switches and learn how to do basic configuration setup villain and setup svi which is known as an IRB or our VI in juniper world so let's consult the switch originally Jennifer works on UNIX FreeBSD system so when you first time login to this device you need to login as a root which don't have any password so now you are logging the FreeBSD version of your device and you no need to go to the Junos since this device is ready for a zero touch configuration it's looking for a DHCP server to get the IP address and update its friend by typing CLI you are in earnest an equivalent of the show run in juniper world is show configuration by show configuration we can see the current running configuration on the device on a Juniper world so let's scroll down and zoom in let's take a look at some our interfaces gigabit interface are here they have a logical unit of 0 and there belong to the family of eternal switching and the storm control is set as a default on this interface as we continue scrolling down the configuration and important things about the naming convention in juniper world G is gigabit one gig and XP is thanking interfaces so as you can see that we have all the interface configuration one by one here let's continue and see what else is configured on this switch you can see some protocols like lldp link layer discovery protocol is already enabled on all interfaces and rhtp as a spanning tree version is running on this switch one important thing is that like Cisco switches juniper seizures also come within the native VLAN 1 which is given 1 and L 3 interfaces also you can set for these switches so let's do the configuration by typing the configure so you can see we are in the configuration or edit mode in a Juniper world so let's get rid of this prompt which is annoying for first configuration we need to setup the password for a root account the command to do that is a set system root authentication plaintext password and you put the password and retype the password confirm the password password is set and any configuration in juniper world need to be committed despite in the Cisco world when we King in the configuration is immediately take effect but in Geneva rule you need to come in so to get rid of the auto upgrade image upgrade we use the delete chances auto image upgrade command delete engineer award is equivalent of know in a Cisco world so then we commit after coming successfully so we don't disturb with that command let's take a closer look in a configuration with it set system root authentication plaintext password in the password delete chases Auto image upgrade which is switched not looking for any DHCP server so we can configure the switch properly without any joke ok so now after this configuration we set the hostname for this device set system hostname and put the hostname for the switch take a closer look set system root authentication plaintext password set the password ok we commit after that then we can set the system hostname switch - 0 1 whatever name you want you can put in your juniper switch okay after successful commit the configuration is their next step we want to set some villain over this switch so as you can see after the comment the host name is changed to the stable you - zero one which we are in said okay let's configure some villain on this switch we have two way to set the villains an interface is assigning but first of all let's set up the villains so one command show we Lance when you're in edit as you can see it's different when you run show VLANs which is like a do in a Cisco world so edit you can see we have a configuration of the villain when we are in config mode or edit mode but Ron show wheel and run the show wheel and comment in a privilege mode so we have a villain one which is default and all the interfaces are assigned by default to that villain so the comments to create the villain on a switch set villain will our name will an ID with an ID number so we create one ITV line on a villain 10 set in an IT will an ID 10 and we create another villain we call it server with the brilliant idea of 20 so like VLAN VLAN ID with a name here is the equivalent command in juniper you have to come in without commit doesn't take effect so check the comment successful so now your own show will end and we can see two new villains 10 and 20 are added to our villain database in a switch ITV's VLAN 10 and 7 with tag of 20 so this command set villain villain named villain - ID and the number of the villa but still we don't assign any interfaces into the villain there are two ways to assign the interfaces to the villains one is from the global edit another from the interface editor so we set interface interface name in this we had the Gigabit Ethernet five with a logical unit of zero with the family of eternal sweets to the VLAN member of let's say in this case ten you either can call the villain by ID or name so we lent 10 and we assign another interface interface number six to the same VLAN 10 as mentioned we can call the villain by the name also so and we assign two other interfaces in VLAN 20 let's do it on an interface edit mode so with editing interface go to the interface config file sign that interface to the VLAN so let's take a look before doing that so as you can see run show VLANs we have a wheel and ten IT so set interface Gigabit 0/0 is like six in a zero family internet switch wheel and members 10 and 2 interface 5 and 6 now is a member of that wheel and 10 let's go to the interface editing mode so we can edit interface Gigabit 0 is like 0/10 ok so now I need to tomorrow set now as you can see I mean edit interface mode so we can set the logical unit of 0 family eternal switch VLAN member we assign VLAN 20 ok so now we learn 10 is now a member of the VLAN 20 interface 10 is belong to the VLAN 20 we do the same thing on villain 11 we have to use it said you need 0 family ok let's take a look at the commands go to the interface coughing mode by this command edit interface interface number when you are in a interface configured we can set unit 0 family eternal switching we and remember what we learned that do the same thing or interface 11 commit don't forget and now we can take a look at the villain status run show villains and all VLAN 10 and 20 got their own members so now let's create one trunk port in this case I assign the last interface for a trunk most juniper switches start from the zero so when in 24 ports switches 0 up to 23 is total 24 for interfaces I need to go to the global edit mode of global company then go to the Edit interface so when you not familiar with the juniper even just you can use the context space help is really helpful as usual so I did interface G 0 slide 0 slash 23 which is the last port okay LLL if I can type actually yeah he is music let me delete and use the tab no mistake much more easier always learn to use the tab shortcut on the keyboard its reduce mistake so we set unit 0 in this interface just family of eternal to each and we want to change the mode to the trunk why default interfaces are in a excess mode so we go to the interface mode and we have to option use question mark we see we have access and trunk options so we set trunk now we want to allow all the lands go through this trunk so we set logical unit of 0 and the family of internet so we land members or so all the villains are assigned to this trunk I need the same configuration on another switch so after we set the SVI or Ayari we can actually test the ping between two switches let's take a closer look in an interface configuration mode it didn't interface we set the switch interface mode to the trunk and also around all the billions member commit everything and let's take a look at the villain database so run show.we lands now we have a villain ten twenty eighteen server with a representative member plus that the one trunk for all of them as you can see the trunks are have a star Astrix you can realize that oh this interface is trunk and what we learn is carry as you can see on the ten twenty and one which is native VLAN in this case having that y default if carrying the trunk all the villains so let's do the show we learn in a configuration mode and we can see here get an IT we learn ID 10 will answer villain ID 20 and the default villain one is configured so now let's set the interface IRB which is integrated routing and bridging in their face and is as a mention is equivalent of the svr juniper sometimes referred to the IRB interface and our IV which both of them provide the same functionality is a layer tree addressing so let's set the interface for both VLAN 10 and 20 cette ville an IT layer 3 interface and be assigned to the IRB interface then we still not committing so I have to come it first so let's create another also is jesus said interface IRB you need logical unit 20 so in previous for VLAN 10 we put 10 family I net interface address is 1 & 2 1 6 8 xx dot 1/24 it come it now we created to IRB with the two logical you need 10 and 20 for each VLAN now we can set the VLAN IT layer 3 interface and bind it by using the question mark you can see the IRB 10 and 20 are here are we 0 is by default or we land one where we can we just created and 20 me just created now we binding these interfaces to the layer 3 interface belongs that villain slightly confusing compared if your family of the Cisco Ward but yeah you need to learn set villain server which is willing to until a tree interface we bonding to the IR V dot twenty interface we just created so we commit everything and we checking that IRB interfaces show we lens so we have all the villains layer interface is born to the IRB 10 for VLAN 10 and RB dot twenty four billion twenty so everything looks ok useful command to check that RB we can use show interface arbiters and exists privilege mode show configuration so we can take a look at the configuration let see what we have done so far let's take a closer look on an interface five and six which we assign them as a member of the villain ten so now they are a member of villain ten alrighty check the interface ten and eleven yes both of them are members of villain 20 as we said and finally we check the interface 23 which is the last interface on this switch yeah we change that interface mode to the trunk and we hello all the villains exist in this switch go to this trunk next thing we can check is a villain status just less quick review we have the villain IT if we scroll up we can see the IRB ten and RB dot twenty interfaces we just created here you go I have interface in a global we learn one which is set for DHCP or VLAN 10 and 20 we assign the logical unit ten and twenty then assigned the IP under the villain we assigned is IRB to the layer 3 interface of the villain so interface are be there sir okay here we go Oh IRB 10 and 20 up and running sorry my zoom in slightly unsure they everything so now let's the ping de IRB interface on other switch 1 I 2 1 6 8 10 . 2 and the ping goes on nicely so we have a full connectivity between these two switches and the test for other VLAN 20 show interface and we can see the status of all the interfaces I didn't plug any computer yet yeah but we can see here the IRB interfaces which are up and running open up and both of them got their own IP addresses so I hope this short quick tutorial is useful for you to compare that juniper wood with the Cisco world thanks for watching please send your comments watch learn subscribe and share our channel thanks for watching
Info
Channel: SASiteNet
Views: 38,577
Rating: 4.8874998 out of 5
Keywords: Juniper, JUNOS, JNCIA-Junos, Junper Switch, VLAN, SVI, IRB, RVI, Integrated Routing and Bridging Interfaces, Routed VLAN Interfaces, Cisco, CCNA Tutorial, SASite, skazemi, Siavash Kazemi, CCNA, CCENT, Network Tutorial, Sasite.net, Packet Tracer, Real World Scenario, Network Virtual Academy
Id: MnZBWgZ9Njw
Channel Id: undefined
Length: 17min 20sec (1040 seconds)
Published: Sat Feb 10 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.