3.
Configure VoIP on the interface and specify the
assured-forwarding
forwarding
class to provide the most dependable class of service:
[edit ethernet-switching-options]
user@switch#
set voip interface ge-0/0/2.0
vlan
voice-vlan
user@switch#
set voip interface ge-0/0/2.0
forwarding-class
assured-forwarding
4.
Add the interface as a member of the voice VLAN:
[edit interfaces]
set ge-0/0/2 unit 0 family ethernet-switching vlan
members
voice-vlan
5.
Configure
data-vlan
as native to this trunk interface:
[edit interfaces]
user@switch#
set ge-0/0/2 unit 0 family ethernet-switching
native-vlan-id
data-vlan
Results
Display the results of the configuration:
[edit]
user@switch# show configuration
interfaces {
ge-0/0/2 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members voice-vlan;
}
native-vlan-id data-vlan;
}
}
}
}
vlans {
data-vlan {
vlan-id 77;
interface {
ge-0/0/2.0;
}
}
voice-vlan {
vlan-id 99;
}
}
ethernet-switching options {
voip {
interface ge-0/0/2.0 {
vlan voice-vlan;
forwarding-class assured-forwarding;
}
}
}
Copyright © 2010, Juniper Networks, Inc.
2596
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...