user@switch#
set data-vlan
interface
ge-0/0/2.0
3.
Configure the interface as an access interface, configure support for Ethernet
switching, and add the
data-vlan
VLAN:
[edit interfaces]
user@switch#
set ge-0/0/2 unit 0 family ethernet-switching vlan
members
data-vlan
user@switch#
set ge-0/0/2 unit 0 family ethernet-switching
port-mode access
4.
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
5.
Configure LLDP-MED protocol support:
[edit protocols]
user@switch#
set
lldp-med
interface ge-0/0/2.0
6.
To authenticate an IP phone and a PC connected to the IP phone on the interface,
configure 802.1X authentication support and specify
multiple
supplicant mode:
NOTE:
If you do not want to authenticate any device, skip the 802.1X
configuration on this interface.
[edit protocols]
user@switch#
set dot1x authenticator interface ge-0/0/2.0
supplicant
multiple
Results
Display the results of the configuration:
[edit]
user@switch# show configuration
interfaces {
ge-0/0/2 {
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members data-vlan;
}
}
}
}
}
protocols {
lldp-med {
interface ge-0/0/2.0;
}
dot1x {
authenticator {
interface {
ge-0/0/2.0 {
2585
Copyright © 2010, Juniper Networks, Inc.
Chapter 82: Examples: Access Control Configuration
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 ...