Switching

last person joined: 3 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Can't create voice port - config

    Posted 08-11-2016 08:38

    Dear Experts, 

     

    I am new to Juniper and switched from Cisco. Here is simple situation:  i am in configuration mode and already have port ge-2/0/15 as ether switch and assigned to vlan 20 - I am trying to delete the config from port 20 and set up as:

     

    set interfaces ge-2/0/15 unit 0 family ethernet-switching
    set interfaces ge-2/0/15 unit 0 family ethernet-switching vlan members 20
    set ethernet-switching-options voip interface ge-2/0/15.0 vlan 80


    edit ethernet-switching-options

    set voip interface ge-2/0/15.0 forwarding-class ezqos-voice-fc

     

    But when I try to put line: set ethernet-switching-options voip interface ge-2/0/15.0 vlan 80

     

    I get the syntax error. When I configure new port from scratch all commands are working fine. This case is regarding reconfiguring existing port assigned to vlan. What is best practice to reset port to factory defaults like in cisco word I could do that. Thank You so much Juniper Experts, - Adam



  • 2.  RE: Can't create voice port - config

     
    Posted 08-11-2016 09:10

    Hi, 

     

    I believe the command would be:

    set ethernet-switching-options voip interface ge-2/0/15.0 vlan "vlan-name"

    For vlan member, the vlan name should be specified instead of the vlan-id [compared to Cisco].

    Could you check the vlans in operational mode and look for  vlan name for vlan-id 80:

    show vlans

    To zeroize config on a port, you can do "delete interfaces x/x/x". 

     

    Cheers,

    Ashvin



  • 3.  RE: Can't create voice port - config

    Posted 08-11-2016 09:18

    Hi LOGTECH,

     

    IN your case you can just issue the following command to delete all configurations on an interface ( i.e. reset it ) :

     

    delete interfaces ge-2/0/15

     

     



  • 4.  RE: Can't create voice port - config

    Posted 08-15-2016 05:57

    Thank You so much Gentelmen, I will try it today. -Logtech



  • 5.  RE: Can't create voice port - config

    Posted 08-15-2016 06:38

    well stil can't run this line:

     

    set ethernet-switching-options voip interface ge-3/0/4.0 vlan v80-voice - I have syntax error 

     

    Again from configuration mode from top I run:

     

    set interfaces ge-3/0/4 unit 0 family ethernet-switching  ENTER
    set interfaces ge-3/0/4 unit 0 family ethernet-switching vlan members "v20-2nd-floor"  ENTER

     

    set ethernet-switching-options voip interface ge-3/0/4.0 vlan "v80-voice"

     

    set ether ..... syntax error - what am I doing wrong? 

     

    i have tried to do edit ether - same thing, the point is I cannot run:

     

    set ethernet-switching-options voip interface ge-3/0/4.0 vlan v80-voice

     

    I have tried that on 2200C and it worked but on the 4300 Virtual Chasis does not work 😞

     

     



  • 6.  RE: Can't create voice port - config

     
    Posted 08-15-2016 07:34

    Hi, 
    Could you check this command:

    set switch-options voip interface ge-3/0/4.0 vlan "v80-voice"

    Cheers,

    Ashvin



  • 7.  RE: Can't create voice port - config

    Posted 08-15-2016 07:44

    looks like switch-option works at least I can type it and no sytax error, but now:

     

    set interfaces ge-2/0/15 unit 0 family ethernet-switching
    set interfaces ge-2/0/15 unit 0 family ethernet-switching vlan members "v20-2nd-floor"
    set switching-options voip interface ge-2/0/15.0 vlan 80     <=     should be vlan 80 or "v80-voide"  ???????


    edit ethernet-switching-options

    set voip interface ge-2/0/15.0 forwarding-class ezqos-voice-fc



  • 8.  RE: Can't create voice port - config
    Best Answer

     
    Posted 08-15-2016 08:00

    Hi, 

     

    switch-options work because EX4300s use Enhance L2 software [ELS]

    http://www.juniper.net/techpubs/en_US/junos13.2/topics/task/configuration/getting-started-els.html

     

    The commands should  be as per syntax below:

     

    switch-options {
    	voip {
    		interface (all | [interface-name | access-ports]) {
    			forwarding-class (assured-forwarding | best-effort | expedited-forwarding | network-control);
    			vlan vlan-name;
    			...
    		}
    	}
    }

    Config:

     

     

    set switching-options voip interface ge-2/0/15.0 vlan v80-voice
    set switching-options voip interface ge-2/0/15.0 forwarding-class ezqos-voice-fc

     

    Cheers,

    Ashvin



  • 9.  RE: Can't create voice port - config

    Posted 08-15-2016 08:04

    Yes that worked. Thank You so much for Your help and explanation. 



  • 10.  RE: Can't create voice port - config

    Posted 08-15-2016 07:56

    finally it works:

     

    set interfaces ge-2/0/15 unit 0 family ethernet-switching
    set interfaces ge-2/0/15 unit 0 family ethernet-switching vlan members "v20-2nd-floor"

    edit switch-options

    set voip interface ge-2/0/15.0 vlan 80
    set voip interface ge-2/0/15.0 forwarding-class ezqos-voice-fc

     

    Thank You all for helping me !!!!! You are awesome.