Jump to content


Photo

Create a VLAN on a Juniper switch


  • Please log in to reply
No replies to this topic

#1 John

John

    Administrator

  • Administrators
  • 73 posts

Posted 24 November 2013 - 01:02 PM

Login to the switch via telnet. When you are logged in you will see something like this:

— JUNOS 12.3R3.4 built 2013-06-14 00:06:34 UTC
{master:0}
admin@PrivateRack-1>

 

Now enter the configuration mode by entering “configure”

configure

Now create a VLAN: “set vlans vlan-id <#>”

set vlans internal vlan-id 10

Not you have to enable the VLAN:

commit

Now define VLAN members: “set interfaces unit 0 family ethernet-switching vlan
members ”

set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members internal

Now just add all the interfaces you want to add to the VLAN. After you are done, enter “commit” and you are done!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users