Juniper Networks, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. in
the United States and other countries. JUNOSe is a trademark of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or
registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or
otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed
to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347,
6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
Writing: William Rogers
Editing: Taffy Everts
Illustration: William Rogers
Revision History
29 January 2010—Revision 3
26 October 2009—Revision 2
28 August 2009—Revision 1
The information in this document is current as of the date listed in the revision history.
SOFTWARE LICENSE
The terms and conditions for using this software are described in the software license contained in the acknowledgment to your purchase order or, to the
extent applicable, to any reseller agreement or end-user purchase agreement executed between you and Juniper Networks. By using this software, you
indicate that you understand and agree to be bound by those terms and conditions.
Generally speaking, the software license restricts the manner in which you are permitted to use the software and may contain prohibitions against certain
uses. The software license may state conditions under which the license is automatically terminated. You should consult the license for further details.
For complete product documentation, see the Juniper Networks Web site at http://www.juniper.net/techpubs.
ii
Table of Contents
About This Guidexi
Objectives ....................................................................................................... xi
Audience......................................................................................................... xi
Supported Platforms ....................................................................................... xi
Documentation Conventions.......................................................................... xii
List of Technical Publications ........................................................................ xiii
Documentation Feedback ............................................................................. xiii
Requesting Technical Support ....................................................................... xiii
Self-Help Online Tools and Resources..................................................... xiv
Opening a Case with JTAC ...................................................................... xiv
Part 1EX2500 Ethernet Switch Applications
Chapter 1Accessing the Switch3
Configuring the Management Interface ............................................................ 3
Table 15: Class Selector.................................................................................63
Table 16: Default QoS Service Levels............................................................. 64
List of Tables ix
EX2500 Ethernet Switch Configuration Guide
x List of Tables
About This Guide
This preface provides the following guidelines for using the Juniper Networks
EX2500 Ethernet Switch Configuration Guide:
Objectives on page xi
Audience on page xi
Supported Platforms on page xi
Documentation Conventions on page xii
List of Technical Publications on page xiii
Documentation Feedback on page xiii
Requesting Technical Support on page xiii
Objectives
This guide describes how to configure and use the software on the EX2500
Ethernet Switch.
NOTE: This guide documents Release 3.1 of the EX2500 Ethernet Switch. For
additional information—either corrections to or information that might have been
omitted from this manual—see the EX2500 Ethernet Switch3.1B3 Release Notes at
http://www.juniper.net/.
Audience
This guide is intended for network installers and system administrators engaged in
configuring and maintaining a network. Administrators must be familiar with
Ethernet concepts, IP addressing, the IEEE 802.1D Spanning Tree Protocol (STP),
and SNMP configuration.
Supported Platforms
The features described in this guide are supported by only the EX2500 software
running on EX2500 Ethernet Switches only.
Objectives xi
EX2500 Ethernet Switch Configuration Guide
Documentation Conventions
Table 1 describes the notice icons used in this manual.
Table 2 describes the EX2500 text and syntax conventions.
Table 1: Notice Icons
IconMeaningDescription
Informational noteIndicates important features or instructions.
CautionIndicates a situation that might result in loss of data or
hardware damage.
WarningAlerts you to the risk of personal injury or death.
Laser warningAlerts you to the risk of personal injury from a laser.
Table 2: EX2500 Text and Syntax Conventions
ConventionUsageExamples
Bold text like thisNames of windows, dialog boxes, buttons, tabs,
Click the Submit button on the bottom of the form.
and other objects in a user interface that you
click or select.
Bold text like this
In syntax descriptions and set-off command
Main# sys
examples, text you must type exactly as shown
Braces { }Required elements in syntax that has more
than one option. You must choose one of the
options. Do not type the braces.
Brackets [ ]Optional elements in syntax descriptions. Do
not type the brackets.
Fixed-width text
like this
Onscreen computer output
Italic text like thisBook titles, special terms, and words to be
show portchannel {<1-12> | hash | information}
(For example, you can enter either show portchannel 3,
show portchannel hash, or show portchannel
information
copy running config tftp [data-port | mgt-port]
(You enter either copy running config tftp data-port, copy
running config tftp mgt-port
ex2500(config)# reload
Reset will use software “image2”...
See the EX2500 Ethernet Switch Command Reference.
emphasized
<Italic text like this in
angle brackets>
Plain text like this
Variables in command syntax. Replace the
italic text with the appropriate real name or
value when entering the command. Do not
type the brackets.
Names of commands, files, and directories
To establish a Telnet session, enter
host# telnet <IP address>
(For example, you can enter telnet 192.32.10.12.)
View the
used within the text
Vertical line |Separates choices for command keywords and
arguments. Enter only one choice. Do not type
the vertical line.
copy running config tftp [data-port | mgt-port]
(You enter either copy running config tftp data-port, copy
running config tftp mgt-port
.)
, or copy running config tftp.)
readme.txt file.
, or copy running config tftp.)
xii Documentation Conventions
About This Guide
List of Technical Publications
Table 3 lists the documentation supporting the EX2500 Ethernet Switch. All
documentation for EX Series Ethernet Switches is available at
EX2500 Ethernet Switch Hardware GuideProvides information and instructions for installing an EX2500 Ethernet Switch.
EX2500 Ethernet Switch Web Device
Manager Guide
EX2500 Ethernet Switch Configuration Guide Describes how to configure and use the software on the EX2500 Ethernet Switch.
EX2500 Ethernet Switch Command Reference Describes how to configure and use the software with your EX2500 Ethernet
EX2500 Ethernet Switch 3.1 Release NotesSummarize EX2500 switch features and known problems, provide information
Provides an overview of how to access and use the EX2500 Web Device
Manager.
Switch. The reference lists each EX2500 command-line interface (CLI) command
and includes the complete syntax and a functional description.
that might have been omitted from the manuals, and provide upgrade
instructions.
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation. Send e-mail to
the following information:
Document URL or title
Page number
Software version
Your name and company
Requesting Technical Support
Technical product support is available through the Juniper Networks Technical
Assistance Center (JTAC). If you are a customer with an active J-Care or JNASC
support contract, or are covered under warranty, and need postsales technical
support, you can access our tools and resources online or open a case with JTAC.
JTAC policies—For a complete understanding of our JTAC procedures and
JTAC hours of operation—The JTAC centers have resources available 24 hours a
day, 7 days a week, 365 days a year.
List of Technical Publications xiii
EX2500 Ethernet Switch Configuration Guide
Self-Help Online Tools and Resources
For quick and easy problem resolution, the Juniper Networks online self-service
portal—the Customer Support Center (CSC)—provides the following features:
This configuration guide will help you plan, implement, and administer EX2500
software. Where possible, each chapter provides feature overviews, usage
examples, and configuration instructions.
“Accessing the Switch” on page 3 describes how to access the switch to
perform administration tasks. This chapter also discusses different methods to
manage the switch for remote administrators using specific IP addresses,
authentication, and Secure Shell (SSH).
“VLANs” on page 23 describes how to configure Virtual Local Area Networks
(VLANs) for creating separate network segments, including how to use VLAN
tagging for devices that use multiple VLANs. This chapter also describes private
VLANs.
“Spanning Tree Protocol” on page 33 discusses how Spanning Trees configure
the network so that the switch uses the most efficient path when multiple paths
exist.
“Ports and Trunking” on page 45 describes how to group multiple physical
ports together to aggregate the bandwidth between large-scale network
devices.
“Quality of Service” on page 53 discusses Quality of Service features, including
IP filtering using Access Control Lists, Differentiated Services, and IEEE 802.1p
priority values.
“Remote Monitoring” on page 67 discusses how to configure and use the
Remote Monitoring (RMON) agent on the switch.
“IGMP” on page 73,” describes how the EX2500 software implements IGMP
Snooping to handle multicast traffic efficiently.
“High Availability Through Uplink Failure Detection” on page 79 describes how
to use Uplink Failure Detection (UFD) to ensure that network resources remain
available if one switch is removed for service.
EX2500 Ethernet Switch Applications 1
EX2500 Ethernet Switch Configuration Guide
2 EX2500 Ethernet Switch Applications
Chapter 1
Accessing the Switch
The EX2500 software provides a means for accessing, configuring, and viewing
information and statistics about the EX2500 Ethernet Switch. This chapter
discusses different methods of accessing the switch and ways to secure the switch
for remote administrators:
Configuring the Management Interface on page 3
Dynamic Host Configuration Protocol on page 4
Using Telnet on page 5
Using the EX2500 Web Device Manager on page 5
Using SNMP on page 7
Securing Access to the Switch on page 10
Configuring the Management Interface
To manage the switch through the management port, you must configure an IP
interface. Configure the following IP parameters:
IP address
Subnet mask
Default gateway address
To configure the IP parameters, use the following procedure:
1. Log on to the switch.
2. Enter Global Configuration mode.
ex2500> enable
ex2500# configure terminal
Configuring the Management Interface 3
EX2500 Ethernet Switch Configuration Guide
3. Configure the management IP address, subnet mask, and default gateway.
Once you configure the IP address for your switch, you can connect to the
management port and use the Telnet program from an external management
station to access and control the switch. The management port provides
out-of-band management.
You also can configure in-band management through any of the switch data ports.
To allow in-band management, use the following procedure:
ex2500> enable
ex2500# configure terminal
ex2500(config)# interface ip 1
3. Configure the management IP interface, subnet mask, and VLAN assignment.
Enable the interface.
ex2500(config-ip-if)# ip address 10.10.10.2
ex2500(config-ip-if)# ip netmask 255.255.255.0
ex2500(config-ip-if)# ipvlan 1
ex2500(config-ip-if)# enable
4. Configure the default gateway. Enable the gateway.
ex2500(config-ip-if)# ip gateway address 10.10.10.1
ex2500(config-ip-if)# ip gateway enable
ex2500(config-ip-if)# exit
Once you configure the IP address and you have an existing network connection,
you can use the Telnet program from an external management station to access
and control the switch. Once the default gateway is enabled, the management
station and your switch do not need to be on the same IP subnet.
Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP) is a transport protocol that provides a
framework for automatically assigning IP addresses and configuration information
to other IP hosts or clients in a large TCP/IP network. Without DHCP, the IP address
must be entered manually for each network device. DHCP allows a network
administrator to distribute IP addresses from a central point and automatically send
a new IP address when a device is connected to a different place in the network.
4 Dynamic Host Configuration Protocol
Using Telnet
Chapter 1: Accessing the Switch
DHCP is an extension of another network IP management protocol, Bootstrap
Protocol (BOOTP), with an additional capability of being able to allocate reusable
network addresses and configuration parameters for client operation.
Built on the client/server model, DHCP allows hosts or clients on an IP network to
obtain their configurations from a DHCP server, thereby reducing network
administration. The most significant configuration the client receives from the
server is its required IP address; (other optional parameters include the “generic”
filename to be booted, the address of the default gateway, and so forth).
To enable DHCP on an IP interface, use the following commands:
ex2500(config)# interface ip 1
ex2500(config-ip-if)# dhcp enable
ex2500(config-ip-if)# exit
A Telnet connection offers the convenience of accessing the switch from any
workstation connected to the network. Telnet access provides the same options for
user access and administrator access as those available through the console port.
To configure the switch for Telnet access, you need to have a device with Telnet
software located on the same network as the switch. The switch must have an IP
address. The switch can get its IP address in one of two ways:
Dynamically, from a DHCP server on your network
Manually, when you configure the switch IP address
Once you have configured the switch with an IP address and gateway, you can
access the switch from any workstation connected to the management network.
Telnet access provides the same options for user and administrator access as those
available through the console port.
By default, Telnet access is enabled. Use the following command to disable or
enable Telnet access:
ex2500(config)# [no] access telnet
To establish a Telnet connection with the switch, you can run the Telnet program
on your workstation and issue the
telnet <switch IP address>
telnet command with the switch IP address:
Using the EX2500 Web Device Manager
The EX2500 Web Device Manager is a Web-based management interface for
interactive switch access through your Web browser.
The Web Device Manager provides access to the common configuration,
management and operation features of the switch through your Web browser. For
more information, see the EX2500 Ethernet SwitchWeb Device Manager Guide.
Using Telnet 5
EX2500 Ethernet Switch Configuration Guide
By default, EX2500 Web Device Manager access is enabled on the switch.
Configuring EX2500 Web Device Manager Access via HTTP
By default, EX2500 Web Device Manager access via HTTP is enabled. Use the
following command to disable or enable EX2500 Web Device Manager access on
the switch via HTTP:
ex2500(config)# [no] access http enable
The default HTTP Web server port to access the EX2500 Web Device Manager is
port 80. However, you can change the default Web server port with the following
command:
ex2500(config)# access http port<TCP port number>
For workstation access to your switch via the EX2500 Web Device Manager, open a
Web browser window and type in the URL using the IP interface address of the
switch, such as:
http://10.10.10.1
Configuring EX2500 Web Device Manager Access via HTTPS
The EX2500 Web Device Manager can be accessed via a secure HTTPS connection
over management and data ports. By default, EX2500 Web Device Manager access
via HTTPS is disabled.
To enable EX2500 Web Device Manager access on the switch via HTTPS, use the
following command:
ex2500(config)# access https enable
To change the HTTPS Web server port number from the default port 443, use the
following command:
ex2500(config)# access https port<TCP port number>
Accessing the EX2500 Web Device Manager via HTTPS requires a SSL certificate to
be used during the key exchange. A default certificate is created the first time
HTTPS is enabled, but you can import a new certificate that defines the information
you want to be used. Use the following command to import the SSL certificate:
ex2500(config)# access https import-certificate
The certificate is saved to Flash memory for use once the switch is rebooted.
When a client (e.g. Web browser) connects to the switch, the client is asked to
accept the certificate and verify that the fields match what is expected. Once
EX2500 Web Device Manager access is granted to the client, the Web Device
Manager can be used as described in the EX2500 Ethernet SwitchWeb Device Manager Guide.
6 Using the EX2500 Web Device Manager
Chapter 1: Accessing the Switch
The EX2500 Web Device Manager is organized at a high level as follows:
Context tabs—These tabs allow you to select the type of action you wish to
perform. The Configure tab provides access to the configuration elements for the
entire switch. The Monitor tab provides access to the switch statistics and state
information. The Dashboard tab allows you to display settings and operating status
of a variety of switch features.
Navigation Window—This window provides a menu list of switch features and
functions, as follows:
System—This folder provides access to the configuration elements for the
entire switch.
Switch Ports—Configure each of the physical ports on the switch.
Port-Based Port Mirroring—Configure port mirroring and mirror ports.
Layer 2 Management—Configure Layer 2 features, such as VLANs and
Spanning Tree.
Using SNMP
SNMPv1, SNMPv2
RMON Menu—Configure Remote Monitoring (RMON).
Layer 3 Management—Configure the switch interface, default gateway, and
Internet Group Multicast Protocol (IGMP).
QoS—Configure Quality of Service (QoS) features for the switch.
Access Control—Configure Access Control Lists (ACLs) to filter IP packets.
Uplink Failure Detection—Configure Uplink Failure Detection to provide high
availability.
The EX2500 switch provides SNMPv1, SNMPv2, and SNMPv3 support for access
through any network management software, such as IBM Director or
HP-OpenView.
To access the SNMP agent on the EX2500 switch, the read and write community
strings on the SNMP manager should be configured to match those on the switch.
The default read community string on the switch is public, and the default write
community string is private.
The read and write community strings on the switch can be changed with the
following commands on the CLI:
The SNMP manager should be able to reach the management interface or any one
of the IP interfaces on the switch.
Using SNMP 7
EX2500 Ethernet Switch Configuration Guide
SNMPv3
SNMPv3 is an enhanced version of the Simple Network Management Protocol,
approved by the Internet Engineering Steering Group in March, 2002. SNMPv3
contains additional security and authentication features that provide data origin
authentication, data integrity checks, timeliness indicators, and encryption to
protect against threats such as masquerade, modification of information, message
stream modification, and disclosure.
SNMPv3 ensures that the client can use SNMPv3 to query the MIBs, mainly for
security.
For more information on SNMP MIBs and the commands used to configure SNMP
on the switch, see the EX2500 Ethernet Switch Command Reference.
Default Configuration
The EX2500 switch has two SNMPv3 users by default. Both of the following users
have access to all the MIBs supported by the switch:
1. username 1: adminmd5 (password adminmd5). Authentication used is MD5.
2. username 2: adminsha (password adminsha). Authentication used is SHA.
To configure an SNMP username, enter the following command from the CLI:
ex2500(config)# snmp-server user <1-16> name<1-32>
User Configuration
Users can be configured to use the authentication and privacy options. The EX2500
switch supports two authentication algorithms: MD5 and SHA, as specified in the
following command:
1. To configure a user with name admin, authentication type MD5, authentication
password
the following CLI commands:
ex2500(config)# snmp-server user 5 name admin
ex2500(config)# snmp-server user 5 authentication-protocol md5
authentication-password
Changing authentication password; validation required:
Enter current admin password: <admin. password>
Enter new authentication password: <auth. password>
Re-enter new authentication password: <auth. password>
New authentication password accepted.
admin, and privacy option DES with a privacy password of admin, use
8 Using SNMP
ex2500(config)# snmp-server user 5 privacy-protocol des privacy-password
Changing privacy password; validation required:
Enter current admin password: <admin. password>
Enter new privacy password: <privacy password>
Re-enter new privacy password: <privacy password>
New privacy password accepted.
2. Configure a user access group, along with the views the group may access. Use
the access table to configure the group’s access level. Because the read view,
write view, and notify view are all set to
private and public MIBs.
ex2500(config)# snmp-server access 5 name admingrp
ex2500(config)# snmp-server access 5 level authpriv
ex2500(config)# snmp-server access 5 read-view iso
ex2500(config)# snmp-server access 5 write-view iso
ex2500(config)# snmp-server access 5 notify-view iso
3. Assign the user to the user group. Use the group table to link the user to a
particular access group.
ex2500(config)# snmp-server group 5 user-name admin
ex2500(config)# snmp-server group 5 group-name admingrp
Configuring SNMP Trap Hosts
Chapter 1: Accessing the Switch
iso, the user type has access to all
SNMPv1 Trap Host Configuration
1. Configure an entry in the notify table.
ex2500(config)# snmp-server notify 10 name public
ex2500(config)# snmp-server notify 10 tag v1trap
2. Specify the IP address and other trap parameters in the targetAddr and
targetParam tables. Use the following command to specify the username used
with this
snmp-server target-parameters <1-16> user-name
targetParam table:
For example:
ex2500(config)# snmp-server target-address 10 name v1trap address
The SNMPv2 trap host configuration is similar to the SNMPv1 trap host
configuration. Wherever you specify the model, use snmpv2 instead of snmpv1.
ex2500(config)# snmp-server read-community public
ex2500(config)# snmp-server target-address 1 name v2trap2 address 10.70.70.190
ex2500(config)# snmp-server target-address 1 parameters-name v2param2
ex2500(config)# snmp-server target-address 1 taglist v2param2
ex2500(config)# snmp-server target-parameters 1 name v2param2
ex2500(config)# snmp-server target-parameters 1 user-name v2only
ex2500(config)# snmp-server target-parameters 1 message snmpv2
ex2500(config)# snmp-server notify 1 name public
ex2500(config)# snmp-server notify 1 tag v2param2
Using SNMP 9
EX2500 Ethernet Switch Configuration Guide
SNMPv3 Trap Host Configuration
To configure a user for SNMPv3 traps, you can choose to send the traps with both
privacy and authentication, with authentication only, or without privacy or
authentication.
This is configured in the access table with the following commands:
It is not necessary to configure the community table for SNMPv3 traps because the
community string is not used by SNMPv3.
The following example shows how to configure a SNMPv3 user v3trap with
authentication only:
ex2500(config)# snmp-server user 11 name v3trap
ex2500(config)# snmp-server user 11 authentication-protocol md5
authentication-password
Changing authentication password; validation required:
Enter current admin password: <admin. password>
Enter new authentication password: <auth. password>
Re-enter new authentication password: <auth. password>
New authentication password accepted.
ex2500(config)# snmp-server access 11 notify-view iso
ex2500(config)# snmp-server access 11 level authnopriv
ex2500(config)# snmp-server group 11 user-name v3trap
ex2500(config)# snmp-server group 11 tag v3trap
ex2500(config)# snmp-server notify 11 name v3trap
ex2500(config)# snmp-server notify 11 tag v3trap
ex2500(config)# snmp-server target-address 11 name v3trap address 47.81.25.66
ex2500(config)# snmp-server target-address 11 taglist v3trap
ex2500(config)# snmp-server target-address 11 parameters-name v3param
ex2500(config)# snmp-server target-parameters 11 name v3param
ex2500(config)# snmp-server target-parameters 11 user-name v3trap
ex2500(config)# snmp-server target-parameters 11 level authNoPriv
Securing Access to the Switch
Secure switch management is needed for environments that perform significant
management functions across the Internet. Common functions for secured
management are described in the following sections:
10 Securing Access to the Switch
RADIUS Authentication and Authorization on page 11
TACACS+ Authentication on page 14
End User Access Control on page 19
RADIUS Authentication and Authorization
The EX2500 switch supports the RADIUS (Remote Authentication Dial-in User
Service) method to authenticate and authorize remote administrators for managing
the switch. This method is based on a client/server model. The Remote Access
Server (RAS)—the switch—is a client to the back-end database server. A remote
user (the remote administrator) interacts only with the RAS, not the back-end
server and database.
RADIUS authentication consists of the following components:
A protocol with a frame format that utilizes UDP over IP (based on RFC 2138
and RFC 2866)
A centralized server that stores all the user authorization information
A client, in this case, the switch
The EX2500 switch—acting as the RADIUS client—communicates to the RADIUS
server to authenticate and authorize a remote administrator using the protocol
definitions specified in RFCs 2138 and 2866. Transactions between the client and
the RADIUS server are authenticated by a shared key that is not sent over the
network. In addition, the remote administrator passwords are sent encrypted
between the RADIUS client (the switch) and the back-end RADIUS server.
Chapter 1: Accessing the Switch
How RADIUS Authentication Works
1. The remote administrator connects to the switch and provides username and
password.
2. Using Authentication/Authorization protocol, the switch sends request to
authentication server.
3. The authentication server checks the request against the user ID database.
4. Using RADIUS protocol, the authentication server instructs the switch to grant
or deny administrative access.
Configuring RADIUS on the Switch
Use the following procedure to configure RADIUS authentication on your switch:
1. Configure the Primary and Secondary RADIUS servers, and enable RADIUS
authentication.
Allows a RADIUS secret password of up to 32 bytes and less than 16 octets.
Supports a secondary authentication server so that when the primary
authentication server is unreachable, the switch can send client authentication
requests to the secondary authentication server. Use the following command to
show the currently active RADIUS authentication server:
ex2500# show radius-server
Supports user-configurable RADIUS server retry and time-out values:
Time-out value = 1 to 10 seconds
Retries = 1 through 3
The switch will time out if it does not receive a response from the RADIUS
server in 1 through 3 retries. The switch will also automatically retry
connecting to the RADIUS server before it declares the server down.
Supports a user-configurable RADIUS application port. The default is
1812/UDP, based on RFC 2138. Port 1645 is also supported.
Allows the network administrator to define privileges for one or more specific
users to access the switch at the RADIUS user database.
12 Securing Access to the Switch
Chapter 1: Accessing the Switch
Switch User Accounts
The user accounts listed in Table 4 can be defined in the RADIUS server dictionary
file.
Table 4: User Access Levels
User AccountDescription and Tasks PerformedPassword
UserThe User has no direct responsibility for switch management.
He or she can view all switch status information and statistics
but cannot make any configuration changes to the switch.
OperatorThe Operator manages all functions of the switch. The
Operator can reset ports, except the management port.
AdministratorThe super-user Administrator has complete access to all
commands, information, and configuration commands on the
switch, including the ability to change both the user and
administrator passwords.
user
oper
admin
RADIUS Attributes for EX2500 User Privileges
When the user logs in, the switch authenticates his or her level of access by sending
the RADIUS access request, that is, the client authentication request, to the RADIUS
authentication server.
If the remote user is successfully authenticated by the authentication server, the
switch will verify the privileges of the remote user and authorize the appropriate
access. The administrator has an option to allow secure backdoor access via Telnet,
SSH, or the Web Device Manager. Secure backdoor provides switch access when
the RADIUS servers cannot be reached. You always can access the switch via the
console port, by using noradius and the administrator password, whether secure
backdoor is enabled or not.
NOTE: To obtain the RADIUS backdoor password for your EX2500 switch, contact
technical support.
All user privileges, other than those assigned to the Administrator, have to be
defined in the RADIUS dictionary. RADIUS attribute 6, which is built into all
RADIUS servers, defines the administrator. The filename of the dictionary is
RADIUS vendor-dependent. Table 5 shows the RADIUS attributes defined for
EX2500 user privilege levels.
Table 5: EX2500-Proprietary Attributes for RADIUS
Username/AccessUser-Service-TypeValue
UserVendor-supplied255
OperatorVendor-supplied252
AdminVendor-supplied 6
Securing Access to the Switch 13
EX2500 Ethernet Switch Configuration Guide
Accounting
Accounting is the action of recording a user's activities on the device for the
purposes of billing and security. It follows the authentication and authorization
actions. If the authentication and authorization are not performed through a
RADIUS server, no RADIUS accounting messages are sent out. The EX2500 switch
supports the following RADIUS accounting attributes:
Accounting Start—The RADIUS Accounting Start record typically contains the
following information:
IP address
User name
Session ID
Server ID
Accounting Stop—The RADIUS Accounting Stop record typically contains the
TACACS+ Authentication
The EX2500 switch supports authentication and authorization with networks using
the TACACS+ protocol. The EX2500 switch functions as the Network Access Server
(NAS) by interacting with the remote client and initiating authentication and
authorization sessions with the TACACS+ access server. The remote user is
defined as someone requiring management access to the EX2500 switch either
through a data port or a management port.
TACACS+ offers the following advantages over RADIUS:
TACACS+ uses TCP-based connection-oriented transport, whereas RADIUS is
Accounting status type (start)
following information:
Elapsed time
Reason for termination
Accounting status type (stop)
UDP-based. TCP offers a connection-oriented transport, while UDP offers
best-effort delivery. RADIUS requires additional programmable variables such
as re-transmit attempts and time-outs to compensate for best-effort transport,
but it lacks the level of built-in support that a TCP transport offers.
14 Securing Access to the Switch
TACACS+ offers full packet encryption, whereas RADIUS offers password-only
encryption in authentication requests.
TACACS+ separates authentication, authorization, and accounting.
Chapter 1: Accessing the Switch
How TACACS+ Authentication Works
TACACS+ works in much the same way as RADIUS authentication, as described on
page 11. The remote administrator connects to the switch and provides a
username and password.
1. Using Authentication/Authorization protocol, the switch sends a request to
authentication server.
2. The authentication server checks the request against the user ID database.
3. Using TACACS+ protocol, the authentication server instructs the switch to
grant or deny administrative access.
During a session, if additional authorization checking is needed, the switch checks
with a TACACS+ server to determine if the user is granted permission to use a
particular command.
TACACS+ Authentication Features in the EX2500 Switch
Authentication is the action of determining the identity of a user, and is generally
done when the user first attempts to log in to a device or gain access to its services.
The EX2500 switch supports ASCII inbound login to the device. PAP, CHAP, and
ARAP login methods; TACACS+ change password requests; and one-time
password authentication are not supported.
Authorization
Authorization is the action of determining a user’s privileges on the device, and
usually takes place after authentication.
The default mapping between TACACS+ authorization levels and EX2500
management access levels is shown in Table 6. The authorization levels must be
defined on the TACACS+ server.
Table 6: Default TACACS+ Authorization Levels
EX2500 User Access LevelTACACS+ level
user0
oper3
admin6
Alternate mapping between TACACS+ authorization levels and EX2500
management access levels is shown in Table 7. Use the following command to set
the alternate TACACS+ authorization levels:
ex2500(config)# tacacs-server privilege-mapping
Table 7: Alternate TACACS+ Authorization Levels
EX2500 User Access LevelTACACS+ level
user0 - 1
oper6 - 8
admin14 - 15
Securing Access to the Switch 15
EX2500 Ethernet Switch Configuration Guide
If the remote user is successfully authenticated by the authentication server, the
switch verifies the privileges of the remote user and authorizes the appropriate
access. The administrator has an option to allow secure backdoor access via Telnet
or SSH. Secure backdoor provides switch access when the TACACS+ servers
cannot be reached. You always can access the switch via the console port by using
notacacs and the administrator password, whether secure backdoor is enabled or
not.
NOTE: To obtain the TACACS+ backdoor password for your EX2500 switch,
contact technical support.
Accounting
Accounting is the action of recording a user's activities on the device for the
purposes of billing and/or security. It follows the authentication and authorization
actions. If the authentication and authorization are not performed via TACACS+,
no TACACS+ accounting messages are sent out. The EX2500 switch supports the
following TACACS+ accounting attributes:
protocol (console, telnet, ssh, or http)
start_time
stop_time
elapsed_time
disc_cause
NOTE: When you are using the EX2500 Web Device Manager, the TACACS+
Accounting Stop records are sent only if the Logout button on the browser is
clicked.
Command Authorization and Logging
When TACACS+ Command Authorization is enabled, EX2500 configuration
commands are sent to the TACACS+ server for authorization. Use the following
command to enable TACACS+ Command Authorization:
When TACACS+ Command Logging is enabled, EX2500 configuration commands
are logged on the TACACS+ server. Use the following command to enable
TACACS+ Command Logging:
16 Securing Access to the Switch
ex2500(config)# tacacs-server command-logging
The following examples illustrate the format of EX2500 commands sent to the
TACACS+ server:
authorization request, cmd=shell, cmd-arg=interface ip
Loading...
+ 76 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.