Ethernet Switching
Highlighted
Ethernet Switching

Can't create voice port - config

‎08-11-2016 08:37 AM

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

9 REPLIES 9
Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-11-2016 09:10 AM

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

Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-11-2016 09:18 AM

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

 

 

Thanks,
Hisham

Please accept my comment as a solution, if it helped in resolving your issue, to help guide other commentators and encourage others.
Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-15-2016 05:57 AM

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

Highlighted
Ethernet Switching

Re: Can't create voice port - config

[ Edited ]
‎08-15-2016 06:38 AM

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 😞

 

 

Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-15-2016 07:34 AM

Hi, 
Could you check this command:

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

Cheers,

Ashvin

Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-15-2016 07:44 AM

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

Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-15-2016 07:56 AM

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. 

Highlighted
Ethernet Switching
Solution
Accepted by topic author LOGTECH
‎08-15-2016 08:04 AM

Re: Can't create voice port - config

‎08-15-2016 08:00 AM

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

Highlighted
Ethernet Switching

Re: Can't create voice port - config

‎08-15-2016 08:04 AM

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

Feedback