Difference between revisions of "Creating a Data and Voice Vlan with SSH access"

From WTFwiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
First we need to create the vlans;
 
First we need to create the vlans;
 
+
<pre>
 
set vlans datavlan vlan-id 10
 
set vlans datavlan vlan-id 10
 
set vlans voicevlan vlan-d 20
 
set vlans voicevlan vlan-d 20
 
+
</pre>
 
Next to speed things up we need to create an interface range;
 
Next to speed things up we need to create an interface range;
 
+
<pre>
 
set interfaces interface-range range0 member-range ge-0/0/0 to ge-0/0/23
 
set interfaces interface-range range0 member-range ge-0/0/0 to ge-0/0/23
 
+
</pre>
 
If you have a 48 port switch or don't want the full range of the 24 port you can adjust this;
 
If you have a 48 port switch or don't want the full range of the 24 port you can adjust this;
  

Revision as of 14:46, 29 August 2018

To set-up separate VLANS for data and voice, the process is really quite simple. This will insure traffic is somewhat segregated between the two. Polish your toes and hold onto you straps as we dive into this one;

This document will be directed towards the EX line.

Login to the switch and enable cli then configure;

First we need to create the vlans;

set vlans datavlan vlan-id 10
set vlans voicevlan vlan-d 20

Next to speed things up we need to create an interface range;

set interfaces interface-range range0 member-range ge-0/0/0 to ge-0/0/23

If you have a 48 port switch or don't want the full range of the 24 port you can adjust this;


Notes:

Since we will not be using the MGMT port we can turn the alarm off by;

  1. config mode:

set chassis alarm management-ethernet link-down ignore

  1. cli mode:

request system configuration rescue save