ROXII v2.7 RX1400 UserGuide 12455432222
ROXII v2.7 RX1400 UserGuide 12455432222
Introduction 1
Using ROX II 2
RUGGEDCOM ROX II
v2.7 Device Management 3
System Administration 4
For RX1400
1/2015
RC1169-EN-02
RUGGEDCOM ROX II
User Guide
Disclaimer Of Liability
Siemens has verified the contents of this manual against the hardware and/or software described. However, deviations between the product
and the documentation may exist.
Siemens shall not be liable for any errors or omissions contained herein or for consequential damages in connection with the furnishing,
performance, or use of this material.
The information given in this document is reviewed regularly and any necessary corrections will be included in subsequent editions. We
appreciate any suggested improvements. We reserve the right to make technical improvements without notice.
Registered Trademarks
ROX™, Rugged Operating System On Linux™, CrossBow™ and ELAN™ are trademarks of Siemens Canada Ltd. . ROS® is a registered
trademark of Siemens Canada Ltd..
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a
world-wide basis.
Other designations in this manual might be trademarks whose use by third parties for their own purposes would infringe the rights of the
owner.
Open Source
RUGGEDCOM ROX II is based on Linux®. Linux® is made available under the terms of the GNU General Public License Version 2.0 [http://
www.gnu.org/licenses/gpl-2.0.html].
RUGGEDCOM ROX II contains additional Open Source Software. For license conditions, refer to the associated License Conditions
document.
Security Information
Siemens provides products and solutions with industrial security functions that support the secure operation of plants, machines, equipment
and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens ' products and solutions
undergo continuous development. Siemens recommends strongly that you regularly check for product updates.
For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept)
and integrate each component into a holistic, state-of-the-art industrial security concept. Third-party products that may be in use should also
be considered. For more information about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visit http://
support.automation.siemens.com.
Warranty
Refer to the License Agreement for the applicable warranty terms and conditions, if any.
For warranty details, visit www.siemens.com/ruggedcom or contact a Siemens customer service representative.
Contacting Siemens
Address Telephone E-mail
Siemens Canada Ltd. Toll-free: 1 888 264 0006 ruggedcom.info.i-ia@siemens.com
Industry Sector Tel: +1 905 856 5288 Web
300 Applewood Crescent Fax: +1 905 856 1995
Concord, Ontario www.siemens.com/ruggedcom
Canada, L4K 5C7
ii
RUGGEDCOM ROX II
User Guide Table of Contents
Table of Contents
Preface ............................................................................................................. xxvii
Conventions ................................................................................................................................... xxvii
Alerts ..................................................................................................................................... xxvii
CLI Command Syntax ............................................................................................................. xxvii
Related Documents ....................................................................................................................... xxviii
System Requirements .................................................................................................................... xxviii
Accessing Documentation .............................................................................................................. xxviii
Training ........................................................................................................................................... xxix
Customer Support ........................................................................................................................... xxix
Chapter 1
Introduction .......................................................................................................... 1
1.1 Features and Benefits .................................................................................................................. 1
1.2 Security Recommendations .......................................................................................................... 4
1.3 Available Services by Port ............................................................................................................ 6
1.4 User Permissions ......................................................................................................................... 7
Chapter 2
Using ROX II ..................................................................................................... 11
2.1 Connecting to ROX II ................................................................................................................. 11
2.1.1 Connecting Directly .......................................................................................................... 11
2.1.2 Connecting Through the Network ..................................................................................... 12
2.2 Default Usernames and Passwords ............................................................................................. 12
2.3 Logging In ................................................................................................................................. 13
2.4 Logging Out ............................................................................................................................... 14
2.5 Using Network Utilities ................................................................................................................ 14
2.5.1 Pinging a Host ................................................................................................................ 14
2.5.2 Dumping Raw Data to a Terminal or File ........................................................................... 14
2.5.3 Tracing the Route to a Remote Host ................................................................................ 15
2.5.4 Tracing Activities on a Serial Port ..................................................................................... 15
2.6 Using the Command Line Interface ............................................................................................. 16
2.6.1 Accessing Different CLI Modes ........................................................................................ 16
2.6.2 Using Command Line Completion .................................................................................... 17
2.6.3 Displaying Available Commands ....................................................................................... 17
2.6.4 Editing Commands .......................................................................................................... 17
iii
RUGGEDCOM ROX II
Table of Contents User Guide
Chapter 3
Device Management .......................................................................................... 41
3.1 Determining the Product Version ................................................................................................. 41
3.2 Viewing Chassis Information and Status ...................................................................................... 42
3.2.1 Viewing Flash Card Storage Utilization ............................................................................. 42
3.2.2 Viewing the Slot Status .................................................................................................... 43
3.2.3 Viewing the Slot Sensor Status ........................................................................................ 44
3.3 Viewing the Parts List ................................................................................................................. 44
3.4 Shutting Down the Device .......................................................................................................... 45
3.5 Rebooting the Device ................................................................................................................. 45
3.6 Restoring Factory Defaults .......................................................................................................... 46
3.7 Decommissioning the Device ...................................................................................................... 46
3.8 Viewing a List of Line Module Configurations ............................................................................... 47
3.9 Managing Logs .......................................................................................................................... 47
3.9.1 Viewing Logs ................................................................................................................... 48
3.9.2 Deleting Logs .................................................................................................................. 49
3.9.3 Managing Diagnostic Logs ............................................................................................... 49
3.9.3.1 Enabling/Disabling the Developer's Log .................................................................. 49
3.9.3.2 Enabling/Disabling the SNMP Log ......................................................................... 50
3.9.3.3 Enabling/Disabling the NETCONF Summary Log .................................................... 50
3.9.3.4 Enabling/Disabling the NETCONF Trace Log .......................................................... 51
3.9.3.5 Enabling/Disabling the XPATH Trace Log ............................................................... 51
3.9.3.6 Enabling/Disabling the WebUI Trace Log ................................................................ 52
3.9.4 Managing Remote Syslog Servers .................................................................................... 52
3.9.4.1 Viewing a List of Remote Servers .......................................................................... 52
iv
RUGGEDCOM ROX II
User Guide Table of Contents
v
RUGGEDCOM ROX II
Table of Contents User Guide
vi
RUGGEDCOM ROX II
User Guide Table of Contents
Chapter 4
System Administration ...................................................................................... 109
4.1 Configuring the System Name and Location ............................................................................... 109
4.2 Configuring the Hostname ........................................................................................................ 110
4.3 Customizing the Welcome Screen ............................................................................................. 110
4.4 Setting the User Authentication Mode ........................................................................................ 111
4.5 Setting the Maximum Number of Sessions ................................................................................. 111
4.6 Managing Alarms ..................................................................................................................... 111
4.6.1 Viewing a List of Active Alarms ...................................................................................... 112
vii
RUGGEDCOM ROX II
Table of Contents User Guide
viii
RUGGEDCOM ROX II
User Guide Table of Contents
Chapter 5
Setup and Configuration .................................................................................. 139
5.1 Configuring a Basic Network ..................................................................................................... 140
5.1.1 Configuring a Basic IPv4 Network ................................................................................... 140
5.1.2 Configuring a Basic IPv6 Network ................................................................................... 141
5.2 Configuring ICMP Control ......................................................................................................... 141
5.3 Enabling and Configuring CLI Sessions ..................................................................................... 142
5.4 Enabling and Configuring SFTP Sessions .................................................................................. 142
5.5 Enabling and Configuring WWW Interface Sessions ................................................................... 143
5.6 Enabling/Disabling Brute Force Attack Protection ....................................................................... 144
5.7 Viewing the Status of IPv4 Routes ............................................................................................ 145
5.8 Viewing the Status of IPv6 Routes ............................................................................................ 146
5.9 Viewing the Memory Statistics ................................................................................................... 147
5.10 Managing NETCONF .............................................................................................................. 147
5.10.1 Enabling and Configuring NETCONF Sessions .............................................................. 148
5.10.2 Viewing NETCONF Statistics ........................................................................................ 149
5.11 Managing SNMP .................................................................................................................... 150
5.11.1 MIB Files and SNMP Traps .......................................................................................... 151
5.11.2 Enabling and Configuring SNMP Sessions ..................................................................... 152
5.11.3 Viewing Statistics for SNMP ......................................................................................... 153
5.11.4 Discovering SNMP Engine IDs ...................................................................................... 154
5.11.5 Managing SNMP Communities ..................................................................................... 154
5.11.5.1 Viewing a List of SNMP Communities ................................................................. 154
5.11.5.2 Adding an SNMP Community ............................................................................. 155
5.11.5.3 Deleting an SNMP Community ........................................................................... 155
5.11.6 Managing SNMP Target Addresses ............................................................................... 155
5.11.6.1 Viewing a List of SNMP Target Addresses .......................................................... 155
5.11.6.2 Adding an SNMP Target Address ....................................................................... 156
5.11.6.3 Deleting an SNMP Target Address ..................................................................... 157
5.11.7 Managing SNMP Users ................................................................................................ 157
5.11.7.1 Viewing a List of SNMP Users ........................................................................... 157
5.11.7.2 Adding an SNMP User ...................................................................................... 158
5.11.7.3 Deleting an SNMP User ..................................................................................... 159
5.11.8 Managing SNMP Security Model Mapping ..................................................................... 159
ix
RUGGEDCOM ROX II
Table of Contents User Guide
x
RUGGEDCOM ROX II
User Guide Table of Contents
xi
RUGGEDCOM ROX II
Table of Contents User Guide
xii
RUGGEDCOM ROX II
User Guide Table of Contents
xiii
RUGGEDCOM ROX II
Table of Contents User Guide
xiv
RUGGEDCOM ROX II
User Guide Table of Contents
xv
RUGGEDCOM ROX II
Table of Contents User Guide
xvi
RUGGEDCOM ROX II
User Guide Table of Contents
xvii
RUGGEDCOM ROX II
Table of Contents User Guide
xviii
RUGGEDCOM ROX II
User Guide Table of Contents
xix
RUGGEDCOM ROX II
Table of Contents User Guide
xx
RUGGEDCOM ROX II
User Guide Table of Contents
xxi
RUGGEDCOM ROX II
Table of Contents User Guide
xxii
RUGGEDCOM ROX II
User Guide Table of Contents
xxiii
RUGGEDCOM ROX II
Table of Contents User Guide
xxiv
RUGGEDCOM ROX II
User Guide Table of Contents
xxv
RUGGEDCOM ROX II
Table of Contents User Guide
Chapter 6
Troubleshooting ................................................................................................ 477
6.1 Ethernet Ports .......................................................................................................................... 477
6.2 Multicast Filtering ..................................................................................................................... 477
6.3 Spanning Tree ......................................................................................................................... 478
6.4 VLANs ..................................................................................................................................... 480
xxvi
RUGGEDCOM ROX II
User Guide Preface
Preface
This guide describes the CLI user interface for ROX II v2.7 running on the RUGGEDCOM RX1400 family of
products. It contains instructions and guidelines on how to use the software, as well as some general theory.
It is intended for use by network technical support personnel who are familiar with the operation of networks. It is
also recommended for use by network and system planners, system programmers, and line technicians.
Conventions
This User Guide uses the following conventions to present information clearly and effectively.
Alerts
The following types of alerts are used when necessary to highlight important information.
DANGER!
DANGER alerts describe imminently hazardous situations that, if not avoided, will result in death or
serious injury.
WARNING!
WARNING alerts describe hazardous situations that, if not avoided, may result in serious injury and/or
equipment damage.
CAUTION!
CAUTION alerts describe hazardous situations that, if not avoided, may result in equipment damage.
IMPORTANT!
IMPORTANT alerts provide important information that should be known before performing a procedure
or step, or using a feature.
NOTE
NOTE alerts provide additional information, such as facts, tips and details.
Conventions xxvii
RUGGEDCOM ROX II
Preface User Guide
Example Description
command parameter1 parameter2 Parameters are listed in the order they must be entered.
command parameter1 parameter2 Parameters in italics must be replaced with a user-defined value.
command [parameter1 | parameter2] Alternative parameters are separated by a vertical bar (|).
Square brackets indicate a required choice between two or more
parameters.
command parameter1 parameter2 {parameter3 | All commands and parameters are presented in the order they must
parameter4} be entered.
Related Documents
Other documents that may be of interest include:
• RUGGEDCOM RX1400 Installation Guide
• RUGGEDCOM RX1400 Data Sheet
• RUGGEDCOM Fiber Guide
• RUGGEDCOM Wireless Guide
• White Paper: Rapid Spanning Tree in Industrial Networks
System Requirements
Each workstation used to connect to the ROX II Rugged CLI interface must meet the following system
requirements:
• Must have a working Ethernet interface compatible with at least one of the port types on the RX1400
• The ability to configure an IP address and netmask on the computer’s Ethernet interface
• A suitable Ethernet cable
• An SSH client application installed on a computer
Accessing Documentation
The latest Hardware Installation Guides and Software User Guides for most RUGGEDCOM products are
available online at www.siemens.com/ruggedcom.
For any questions about the documentation or for assistance finding a specific document, contact a Siemens
sales representative.
Training
Siemens offers a wide range of educational services ranging from in-house training of standard courses on
networking, Ethernet switches and routers, to on-site customized courses tailored to the customer's needs,
experience and application.
Siemens' Educational Services team thrives on providing our customers with the essential practical skills to make
sure users have the right knowledge and expertise to understand the various technologies associated with critical
communications network infrastructure technologies.
Siemens' unique mix of IT/Telecommunications expertise combined with domain knowledge in the utility,
transportation and industrial markets, allows Siemens to provide training specific to the customer's application.
For more information about training services and course availability, visit www.siemens.com/ruggedcom or
contact a Siemens sales representative.
Customer Support
Customer support is available 24 hours, 7 days a week for all Siemens customers. For technical support or
general information, contact Siemens Customer Support through any of the following methods:
• Online
Visit http://www.siemens.com/automation/support-request to submit a Support Request (SR) or check on the
status of an existing SR.
• Telephone
Call a local hotline center to submit a Support Request (SR). To locate a local hotline center, visit http://
www.automation.siemens.com/mcms/aspa-db/en/automation-technology/Pages/default.aspx.
• Mobile App
Install the Industry Online Support app by Siemens AG on any Android, Apple iOS or Windows mobile device
and be able to:
▪ Access Siemens' extensive library of support documentation, including FAQs, manuals, and much more
▪ Submit SRs or check on the status of an existing SR
▪ Find and contact a local contact person
▪ Ask questions or share knowledge with fellow Siemens customers and the support community
▪ And much more...
Training xxix
RUGGEDCOM ROX II
User Guide Preface
Introduction
Welcome to the RUGGEDCOM ROX II (Rugged Operating System on Linux®) v2.7 User Guide for the RX1400 .
This document details how to configure the RX1400 via the ROX II Command Line Interface (CLI). ROX II also
features a Web interface, which is described in a separate User Guide.
IMPORTANT!
This User Guide describes all features of ROX II , but some features can only be configured through
the Web interface. This is indicated throughout the User Guide where applicable.
Section 1.1
SSH/SSL Extends capability of password protection to add encryption of passwords and data as
they cross the network
802.1Q VLAN Provides the ability to logically segregate traffic between predefined ports on switches
Some networking applications such as real-time control or VoIP (Voice over IP) require predictable arrival
times for Ethernet frames. Switches can introduce latency in times of heavy network traffic due to the internal
queues that buffer frames and then transmit on a first come first serve basis. ROX II supports Class of Service,
which allows time critical traffic to jump to the front of the queue, thus minimizing latency and reducing jitter to
allow such demanding applications to operate correctly. ROX II allows priority classification by port, tags, MAC
address, and IP Type of Service (ToS). A configurable weighted fair queuing algorithm controls how frames are
emptied from the queues.
• VLAN (IEEE 802.1Q)
Virtual Local Area Networks (VLAN) allow the segregation of a physical network into separate logical networks
with independent broadcast domains. A measure of security is provided since hosts can only access other
hosts on the same VLAN and traffic storms are isolated. ROX II supports 802.1Q tagged Ethernet frames
and VLAN trunks. Port based classification allows legacy devices to be assigned to the correct VLAN. GVRP
support is also provided to simplify the configuration of the switches on the VLAN.
• Simple Network Management Protocol (SNMP)
SNMP provides a standardized method, for network management stations, to interrogate devices from different
vendors. SNMP versions supported by ROX II are v1, v2c and v3. SNMPv3 in particular provides security
features (such as authentication, privacy, and access control) not present in earlier SNMP versions. ROX II
also supports numerous standard MIBs (Management Information Base) allowing for easy integration with
any Network Management System (NMS). A feature of SNMP supported by ROX II is the ability to generate
traps upon system events. RUGGEDCOM NMS, the Siemens management solution, can record traps from
multiple devices providing a powerful network troubleshooting tool. It also provides a graphical visualization of
the network and is fully integrated with all Siemens products.
• Remote Monitoring and Configuration with RUGGEDCOM NMS
RUGGEDCOM NMS (RNMS) is Siemens 's Network Management System software for the discovery,
monitoring and management of RUGGEDCOM products and other IP enabled devices on a network. This
highly configurable, full-featured product records and reports on the availability and performance of network
components and services. Device, network and service failures are quickly detected and reported to reduce
downtime.
RNMS is especially suited for remotely monitoring and configuring RUGGEDCOM routers, switches,
serial servers and WiMAX wireless network equipment. For more information, contact a Siemens Sales
representative.
• NETCONF Configuration Interface
The NETCONF configuration interface allows administrators to set device parameters and receive device
updates through the use of XML-based commands. This standard, supported by multiple vendors, makes it
possible to greatly simplify the task of network management.
For more information about how to use NETCONF to configure ROX II , refer to the RUGGEDCOM ROX II
NETCONF Reference Guide available on www.siemens.com/ruggedcom.
• NTP (Network Time Protocol)
NTP automatically synchronizes the internal clock of all ROX II devices on the network. This allows for
correlation of time stamped events for troubleshooting.
• Port Rate Limiting
ROX II supports configurable rate limiting per port to limit unicast and multicast traffic. This can be essential to
managing precious network bandwidth for service providers. It also provides edge security for Denial of Service
(DoS) attacks.
• Broadcast Storm Filtering
Broadcast storms wreak havoc on a network and can cause attached devices to malfunction. This could be
disastrous on a network with mission critical equipment. ROX II limits this by filtering broadcast frames with a
user-defined threshold.
• Port Mirroring
ROX II can be configured to duplicate all traffic on one port to a designated mirror port. When combined with a
network analyzer, this can be a powerful troubleshooting tool.
• Port Configuration and Status
ROX II allows individual ports to be hard configured for speed, duplex, auto-negotiation, flow control and more.
This allows proper connection with devices that do not negotiate or have unusual settings. Detailed status of
ports with alarm and SNMP trap on link problems aid greatly in system troubleshooting.
• Port Statistics and RMON (Remote Monitoring)
ROX II provides continuously updating statistics per port that provide both ingress and egress packet and byte
counters, as well as detailed error figures.
Also provided is full support for RMON statistics. RMON allows for very sophisticated data collection, analysis
and detection of traffic patterns.
• Event Logging and Alarms
ROX II records all significant events to a non-volatile system log allowing forensic troubleshooting. Events
include link failure and recovery, unauthorized access, broadcast storm detection, and self-test diagnostics
among others. Alarms provide a snapshot of recent events that have yet to be acknowledged by the network
administrator. An external hardware relay is de-energized during the presence of critical alarms, allowing an
external controller to react if desired.
• HTML Web Browser User Interface
ROX II provides a simple, intuitive user interface for configuration and monitoring via a standard graphical Web
browser or via a standard telcom user interface. All system parameters include detailed online help to make
setup a breeze. ROX II presents a common look and feel and standardized configuration process, allowing
easy migration to other RUGGEDCOM managed products.
• Command Line Interface (CLI)
A command line interface used in conjunction with remote shell to automate data retrieval, configuration
updates, and firmware upgrades. A powerful Telecom Standard style Command Line Interface (CLI) allows
expert users the ability to selectively retrieve or manipulate any parameters the device has to offer.
• Link Backup
Link backup provides an easily configured means of raising a backup link upon the failure of a designated
main link. The main and backup links can be Ethernet or Cellular. The feature can back up to multiple remote
locations, managing multiple main: backup link relationships. The feature can also back up a permanent high
speed WAN link to a permanent low speed WAN link and can be used to migrate the default route from the
main to the backup link.
• OSPF (Open Shortest Path First)
OSPF is a routing protocol that determines the best path for routing IP traffic over a TCP/IP network based on
link states between nodes and several quality parameters. OSPF is an Interior Gateway Protocol (IGP), which
is designed to work within an autonomous system. It is also a link state protocol, meaning the best route is
determined by the type and speed of the inter-router links, not by how many router hops they are away from
each other (as in distance-vector routing protocols such as RIP).
• BGP (Border Gateway Protocol)
BGPv4 is a path-vector routing protocol where routing decisions are made based on the policies or rules laid
out by the network administrator. It is typically used where networks are multi-homed between multiple Internet
Service Providers, or in very large internal networks where internal gateway protocols do not scale sufficiently.
• RIP (Routing Information Protocol)
RIP version 1 and version 2 are distance-vector routing protocols that limit the number of router hops to 15
when determining the best routing path. This protocol is typically used on small, self-contained networks, as
any router beyond 15 hops is considered unreachable.
• IS-IS (Intermediate System - Intermediate System)
IS-IS is one of a suite of routing protocols tasked with sharing routing information between routers. The job of
the router is to enable the efficient movement of data over sometimes complex networks. Routing protocols are
designed to share routing information across these networks and use sophisticated algorithms to decide the
shortest route for the information to travel from point A to point B. One of the first link-state routing protocols
was IS-IS developed in 1985 and adopted by the ISO in 1998 (ISO/IEC 10589:2002). It was later republished
as an IETF standard (RFC 1142 [http://tools.ietf.org/html/rfc1142]).
• Brute Force Attack Prevention
Protection against Brute Force Attacks (BFAs) is standard in ROX II. If an external host fails to log in to the
CLI, NETCONF or Web interfaces after a fixed number of attempts, the host's IP address will be blocked for a
period of time. That period of time will increase if the host continues to fail on subsequent attempts.
Section 1.2
Security Recommendations
To prevent unauthorized access to the device, note the following security recommendations:
Authentication
CAUTION!
Accessibility hazard – risk of data loss. Do not misplace the passwords for the device. If both the
maintenance and boot passwords are misplaced, the device must be returned to Siemens Canada Ltd.
for repair. This service is not covered under warranty. Depending on the action that must be taken to
regain access to the device, data may be lost.
• Replace the default passwords for all user accounts and processes (where applicable) before the device is
deployed.
• Use strong passwords. Avoid weak passwords such as password1, 123456789, abcdefgh, etc. For more
information about creating strong passwords, refer to the password requirements in Section 4.10, “Managing
Passwords and Passphrases”.
• Make sure passwords are protected and not shared with unauthorized personnel.
• Passwords should not be re-used across different user names and systems, or after they expire.
• Record passwords in a safe, secure, off-line location for future retrieval should they be misplaced.
• When RADIUS authentication is done remotely, make sure all communications are within the security perimeter
or on a secure channel.
Physical/Remote Access
• It is highly recommended to keep Brute Force Attack (BFA) protection enabled to prevent a third-party from
obtaining unauthorized access to the device. For more information, refer to Section 5.6, “Enabling/Disabling
Brute Force Attack Protection”.
4 Security Recommendations
RUGGEDCOM ROX II Chapter 1
User Guide Introduction
• SSH and SSL keys are accessible to users who connect to the device via the serial console. Make sure to take
appropriate precautions when shipping the device beyond the boundaries of the trusted environment:
▪ Replace the SSH and SSL keys with throwaway keys prior to shipping.
▪ Take the existing SSH and SSL keys out of service. When the device returns, create and program new keys
for the device.
• Restrict physical access to the device to only trusted personnel. A person with malicious intent in possession
of the flash card could extract critical information, such as certificates, keys, etc. (user passwords are protected
by hash codes), or reprogram the card.
• Control access to the serial console to the same degree as any physical access to the device. Access to
the serial console allows for potential access to BIST mode, which includes tools that may be used to gain
complete access to the device.
• Deactivate SSLv3 in all Web browsers used to access ROX II and use the recommended TLSv1 protocol
when connecting to ROX II via HTTPS. SSLv3 is known to be vulnerable to the POODLE (Padding
Oracle On Downgraded Legacy Encryption) security flaw. For more information, refer to the ROX II
Security Advisory SSB-583110 (PDF) [http://www.siemens.com/innovation/pool/de/forschungsfelder/
siemens_security_advisory_ssb-583110.pdf].
• When connecting to ROX II via SSH, configure the SSH client to:
▪ Use Counter (CTR) operation mode based ciphers. CTR mode is considered more secure than Cipher Block
Chaining (CBC) operation mode.
▪ Use SHA1 (256 bit) and SHA2 (512 bit) MAC algorithms. These are considered more secure than MD5 and
96 bit MAC algorithms.
• If SNMP is enabled, limit the number of IP addresses that can connect to the device and change the
community names. Also configure SNMP to raise a trap upon authentication failures. For more information,
refer to Section 5.11, “Managing SNMP”.
• Limit the number of simultaneous Web Server, CLI, SFTP and NETCONF sessions allowed.
• If a firewall is required, configure and start the firewall before connecting the device to a public network. Make
sure the firewall is configured to accept connections from a specific domain. For more information, refer to
Section 5.17, “Managing Firewalls”.
• Configure remote system logging to forward all logs to a central location. For more information, refer to
Section 3.9, “Managing Logs”.
• Configuration files are provided in either NETCONF or CLI format for ease of use. Make sure configuration files
are properly protected when they exist outside of the device. For instance, encrypt the files, store them in a
secure place, and do not transfer them via insecure communication channels.
• It is highly recommended that critical applications be limited to private networks, or at least be accessible only
through secure services, such as IPsec. Connecting a ROX II device to the Internet is possible. However,
the utmost care should be taken to protect the device and the network behind it using secure means such as
firewall and IPsec. For more information about configuring firewalls and IPsec, refer to Section 5.17, “Managing
Firewalls” and Section 5.28, “Managing IPsec Tunnels”.
• Management of the certificates and keys is the responsibility of the device owner. Before returning the device
to Siemens Canada Ltd. for repair, replace the current certificates and keys with temporary throwaway
certificates and keys that can be destroyed upon the device's return.
• Be aware of any non-secure protocols enabled on the device. While some protocols, such as HTTPS, SSH
and 802.1x, are secure, others, such as Telnet and RSTP, were not designed for this purpose. Appropriate
safeguards against non-secure protocols should be taken to prevent unauthorized access to the device/
network.
Security Recommendations 5
Chapter 1 RUGGEDCOM ROX II
Introduction User Guide
• Prevent access to external, untrusted Web pages while accessing the device via a Web browser. This can
assist in preventing potential security threats, such as session hijacking.
• Make sure the device is fully decommissioned before taking the device out of service. For more information,
refer to Section 3.7, “Decommissioning the Device”.
• Configure port security features on access ports to prevent a third-party from launching various attacks that can
harm the network or device. For more information, refer to Section 3.15.3, “Configuring Port Security”.
Hardware/Software
CAUTION!
Configuration hazard – risk of data corruption. Maintenance mode is provided for troubleshooting
purposes and should only be used by Siemens Canada Ltd. technicians. As such, this mode is not fully
documented. Misuse of this maintenance mode commands can corrupt the operational state of the
device and render it inaccessible.
• Make sure the latest firmware version is installed, including all security-related patches. For the latest
information on security patches for Siemens products, visit the Industrial Security website [http://
www.industry.siemens.com/topics/global/en/industrial-security/news-alerts/Pages/alerts.aspx] or the
ProductCERT Security Advisories website [http://www.siemens.com/innovation/en/technology-focus/siemens-
cert/cert-security-advisories.htm]. Updates to Siemens Product Security Advisories can be obtained by
subscribing to the RSS feed on the Siemens ProductCERT Security Advisories website, or by following
@ProductCert on Twitter.
• Only enable the services that will be used on the device, including physical ports. Unused physical ports could
potentially be used to gain access to the network behind the device.
• Use the latest Web browser version compatible with ROX II to make sure the most secure Transport Layer
Security (TLS) versions and ciphers available are employed.
Policy
• Periodically audit the device to make sure it complies with these recommendations and/or any internal security
policies.
• Review the user documentation for other Siemens products used in coordination with device for further security
recommendations.
Section 1.3
NOTE
In certain cases, the service might be disabled, but the port can still be open (e.g. TFTP)
• Port Default
The default state of the port (i.e. open or closed)
• Access Authorized
Denotes whether the ports/services are authenticated during access
Port Access
Services Port Number Port Open
Default Authorized
RADIUS UDP/1812 to send, opens random port Open (if configured) Closed Yes
to listen
Section 1.4
User Permissions
The following table lists the operation, configuration, and action commands permitted to the administrator,
operator, and guest users.
Types of user access:
• Create (C) - can create and remove optional parameters
• Execute (E) - can run an action or command
• No - no read/write/execute access
• Read (R) - read access
• Update (U) - can modify existing parameter
User Permissions 7
Chapter 1 RUGGEDCOM ROX II
Introduction User Guide
Access
Commands/Paths Permitted Notes
Administrator Operator Guest
/admin/software-upgrade R/U No No
/admin/rox-imaging R/U No No
/admin/authentication R/U No No
/admin/authentication/password- R/U R No
complexity
/admin/logging C/R/U No No
/admin/users C/R/U No No
/admin/snmp C/R/U No No
/admin/netconf R/U No No
/admin/dns C/R/U No No
/admin/scheduler C/R/U No No
/admin/time (status) R R No
/admin/delete-all-ssh-known-hosts (action) E E No
/admin/delete-logs (action) E No No
8 User Permissions
RUGGEDCOM ROX II Chapter 1
User Guide Introduction
Access
Commands/Paths Permitted Notes
Administrator Operator Guest
/admin/delete-ssh-known-host (action) E E No
/admin/reboot (action) E E No
/admin/shutdown (action) E E No
/chassis/part-list R/U R R
/chassis/line-module-list R/U R R
/interfaces R C/R/U R
/security/crypto C/R/U R R
/security/crypto/private-key C/R/U No No
/services/time/ntp/key/ C/R/U No No
/tunnel/ipsec C/R/U No No
User Permissions 9
Chapter 1 RUGGEDCOM ROX II
Introduction User Guide
Access
Commands/Paths Permitted Notes
Administrator Operator Guest
/switch/port-security R/U No No
/global C/R/U No No
hints E E E
monitor E E No
mpls-ping E E No
mpls-traceroute E E No
ping E E No
ping6 E E No
reportstats E E No
ssh E No No
tcpdump E E No
telnet E E No
traceroute E E No
traceroute6 E E No
traceserial E E No
wizard E No No
10 User Permissions
RUGGEDCOM ROX II Chapter 2
User Guide Using ROX II
Using ROX II
This chapter describes how to use the ROX II interface. It describes the following tasks:
• Section 2.1, “Connecting to ROX II”
• Section 2.2, “Default Usernames and Passwords”
• Section 2.3, “Logging In”
• Section 2.4, “Logging Out”
• Section 2.5, “Using Network Utilities”
• Section 2.6, “Using the Command Line Interface”
• Section 2.7, “Configuring the CLI Interface”
• Section 2.8, “Accessing Different Modes”
Section 2.1
Connecting to ROX II
The following describes the various methods for connecting the device:
• Section 2.1.1, “Connecting Directly”
• Section 2.1.2, “Connecting Through the Network”
Section 2.1.1
Connecting Directly
ROX II can be accessed through a direct serial connection.
To establish a serial connection to the device, do the following:
1. Connect a serial terminal or a computer running terminal emulation software to the RS232 console port on
the device.
Connecting to ROX II 11
Chapter 2 RUGGEDCOM ROX II
Using ROX II User Guide
Section 2.1.2
Section 2.2
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. To prevent unauthorized access to
the device, change the default passwords before commissioning the device. For more information,
refer to Section 4.10, “Managing Passwords and Passphrases”.
NOTE
A default password does not exist for Maintenance mode.
Section 2.3
Logging In
To log in to ROX II, do the following:
1. Connect to the device. For more information about the various methods of connecting to the device, refer
Section 2.1, “Connecting to ROX II”.
2. Once a connection is established with the device, press Enter. The login prompt appears.
NOTE
ROX II features three default user accounts: admin, operator and guest. Additional user accounts
can be added. For information about adding user accounts, refer to Section 4.9.2, “Adding a User”.
3. Type the user name and press Enter. The password prompt appears.
NOTE
If a unique password/passphrase has not been configured, use the factory default password. For
more information, refer to Section 2.2, “Default Usernames and Passwords”.
IMPORTANT!
ROX II features a Brute Force Attack (BFA) protection system to detect potentially malicious
attempts to access the device. When enabled, the protection system will block an IP address after
15 failed login attempts over a 10 minute period. The IP address will be blocked for 720 seconds
or 12 minutes the first time. If the same IP address fails again 15 times in a 10 minute period, it will
be blocked again, but the waiting period will be 1.5 times longer than the previous wait period.
Siemens strongly recommends that BFA protection be enabled. For more information about
enabling BFA protection, refer to Section 5.6, “Enabling/Disabling Brute Force Attack Protection”.
BFA protection is enabled by default for new installations of ROX II.
4. Type the password associated with the username and press Enter.
Logging In 13
Chapter 2 RUGGEDCOM ROX II
Using ROX II User Guide
Section 2.4
Logging Out
To log out of the device, type exit at the root level.
ruggedcom# exit
Section 2.5
Section 2.5.1
Pinging a Host
To ping a host, type:
Where:
• address is the IP address of the host
• attempts is the number of ping attempts
• interface is the interface to use
• seconds is the maximum number of seconds to for a response from the host
Section 2.5.2
Parameter Description
14 Logging Out
RUGGEDCOM ROX II Chapter 2
User Guide Using ROX II
Parameter Description
proto {tCP | uDP | iCMP | aRP | vRRP | The protocol(s) to filter out. To select more than one protocol, string the lowercase letters
IqMP | oSPF | eSP | Ah} together. For example, tui will filter out TCP, UDP and ICMP packets.
To ignore a protocol, place an n before the protocol name (e.g. ntui).
Section 2.5.3
Where:
• name is the name of the remote host
• address is the IP address of the remote host
Section 2.5.4
Where:
• port slot port defines the port to trace
• hex displays the content of serial data in a hex
• protocol traces the serial protocol on the serial port
• tcp-udp traces TCP-UDP events on the serial port
Section 2.6
Section 2.6.1
Operational Mode Operational mode is the default mode after a user logs in to the device. It allows users to perform general
device management actions and provides troubleshooting and maintenance utilities. It is used for viewing
the system status, controlling the CLI environment, monitoring and troubleshooting network connectivity, and
launching the Configuration mode.
Configuration Mode Configuration mode is launched from the Operational Mode. It allows users to change the actual configuration
of the device.
All changes to the configuration are made on a copy of the active configuration, called the candidate
configuration. Changes do not take effect until they are committed.
In both modes, the CLI prompt indicates the current mode. In Operational mode, the prompt is:
ruggedcom#
ruggedcom(config)#
As a user navigates through the configuration data hierarchy, the prompt indicates the user's location in the
configuration. For example, after navigating to interface » serial » serport » 1, the CLI prompt will be:
ruggedcom(config-serial-serport/1)#
Section 2.6.2
NOTE
Automatic completion is disabled inside quotation marks. If the name of a command or parameter
contains a space, such as a filename, escape the space with a \ or enclose the string in quotation
marks. For example:
who file foo\ bar
or
who file "foo bar"
NOTE
Auto-completion also applies to filenames and directories, but cannot be initiated using a space. Auto-
completion using a space is disabled when typing a filename or directory name.
Section 2.6.3
ruggedcom# ?
Possible completions:
admin Configures the general device characteristics
autowizard Automatically query for mandatory elements
clear Clear parameter
commit Confirm a pending commit
compare Compare running configuration to another configuration or a file
.
.
.
traceserial Trace serial ports activities
who Display currently logged on users
write Write configuration
ruggedcom#
Section 2.6.4
Editing Commands
The following commands can be used to edit command lines and move around the command history.
Ctrl+a or Home Moves the cursor to the beginning of the command line
Ctrl+e or End Moves the cursor to the end of the command line
Deleting Characters
Command Description
Ctrl+k Delete all characters from the cursor to the end of the line
Ctrl+y Inserts the most recently deleted text at the cursor's location
Ctrl+n or Down Arrow Shows the next command in the command history
Capitalization
Command Description
Esc+c Capitalizes the first letter of the word at the cursor's location and sets all other characters to lowercase
18 Editing Commands
RUGGEDCOM ROX II Chapter 2
User Guide Using ROX II
Special Actions
Command Description
Ctrl+v or Esc+q Treats the next character(s) as character data, not a command
Section 2.6.5
Parameter Description
The resulting file contains the results of show interface appended to the results of show
admin (lines truncated with ... are shortened for illustrative purposes only):
Parameter Description
admin
time
gmtime "Thu Oct 2 19:35:17 2014"
localtime "Thu Oct 2 15:35:17 2014"
rox-imaging
roxflash-progress
phase Inactive
status message ""
image flashing 0
netconf
statistics
in bad hellos 0
in sessions 0
dropped sessions 0
in rpcs 0
in bad rpcs 0
out rpc errors 0
out notifications 0
software-upgrade
upgrade-progress
software partition "Partition #1"
current version "ROX 2.7.0-QA3.1 (2014-10-21 14:59)"
upgrade state Inactive
status message ""
filesystem copy 0
package download 0
package installation 0
last upgrade attempt "Thu Oct 2 09:57:46 EDT 2014"
last upgrade result "Upgrade Successful"
begin Begins the output with the line containing the specified text. Regular expressions can
be used with this redirect. For more information about regular expressions, refer to
Section 2.6.6, “Using Regular Expressions”.
For example, show admin | begin netconf returns all of the admin information
following the netconf line:
exclude Excludes lines containing the specified text. Information that is a child of the excluded line
is also excluded. Regular expressions can be used with this redirect. For more information
about regular expressions, refer to Section 2.6.6, “Using Regular Expressions”.
For example, show admin | exclude netconf shows the admin information, excluding the
netconf lines.
Parameter Description
statistics
in sessions 0 in xml parse errs 0 in bad hellos 0 in rpcs 0 in
bad rpcs 0 in not...
supported rpcs 0 out rpc replies 0 out rpc errors 0 out
notifications 0
include Includes lines containing the specified text. Information that is a child of the included line
is usually included, but may not be in some cases. Regular expressions can be used with
this redirect. For more information about regular expressions, refer to Section 2.6.6, “Using
Regular Expressions”.
For example, show admin | include time shows the time lines from the admin information.
more Paginates the output. When the output reaches the screen-length setting, the CLI prompts
you to press a key for more. Press Enter to advance line-by-line; press space to advance
page-by-page.
For example, show chassis | begin line-modules | notab suppresses the table formatting:
Parameter Description
repeat Repeats the term at the specified interval. Specify an interval in seconds. The term repeats
until you cancel it with Ctrl-C.
For example, show admin | repeat 10s repeats the show admin term every 10 seconds.
until Includes output until a line containing the specified text appears. Regular expressions
can be used with this redirect. For more information about regular expressions, refer to
Section 2.6.6, “Using Regular Expressions”.
For example, show chassis | begin line-modules | until status returns the chassis
information beginning with line-modules and ending with status:
Section 2.6.6
_ (underscore) The underscore character has special meanings in an autonomous system _100,100_, _100_
path. It matches to:
• Each space ( ) and comma (,)
For example, to show all the IP interfaces that are in the up state:
Section 2.6.7
Parameter Description
ssh [host | address/name] {bind- Opens a secure shell on another host. Parameters include:
address | address} {cipher-spec • host is the name or IP address of the host. It is mandatory.
| cipher} {login | name} {port | • bind-address is the source address of the connection. Only useful on systems with
number} {sub-system} more than one address.
• cipher-spec is the cipher specification for encrypting the session. Supported cipher
options include aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour128, arcfour256,
arcfour, aes192-cbc, aes256-cbc, aes128-ctr, aes192-ctr and aes256-ctr.
• login is the users login name on the host.
• port is the TCP port number to open an SSH session to.
• sub-system invokes a subsystem on the remote system, such as NETCONF.
telnet {host | address/name} Opens a telnet session to another host. Parameters include:
• host is the name or IP address of the host
Further information about these well-known applications is publicly available on the Internet.
Section 2.6.8
Specifying a Range
Some CLI commands accept a range of values, such as 3-6, to specify multiple targets. In the following example,
a command is applied to ports 1, 2 and 3 on the swport slot:
When available, the range parameter can be included before the value range:
Section 2.6.9
Common Commands
The following sections describe common commands that can be used in the CLI:
• Section 2.6.9.1, “Basic CLI Commands”
• Section 2.6.9.2, “File Commands”
• Section 2.6.9.3, “Interface and Services Commands”
• Section 2.6.9.4, “Administration Commands”
• Section 2.6.9.5, “Configuration Mode General Commands”
Section 2.6.9.1
Basic CLI Commands
Use the following commands to perform basic CLI functions.
Parameter Description
ruggedcom# id
user = admin(0), gid=0, groups=admin, gids=
logout [logout | sessionid] Terminates the specified session. A session can by specified based on its user ID or
session ID.
send [all | admin] message Sends a message to all users of the specified type. The message appears in both the CLI
and web interface. For example:
24 Common Commands
RUGGEDCOM ROX II Chapter 2
User Guide Using ROX II
Parameter Description
show [admin | chassis | Shows selected configuration information. Use auto completion to display the list of options
interface | interfaces | netconf available at each configuration level. For example:
| routing | services]
ruggedcom# show chassis hardware slot-hardware
ORDER SERIAL
SLOT FIELD DETECTED MODULE NUMBER
--------------------------------------------------
swport SM0001 SM M88E6097F, 4FT 2GP
serport SER0001 2xRS232/422/485
celport CELL0001 Cellular Modem
show parser dump command Displays all possible commands starting with the specified command.
show running-config option Displays the current configuration. If an option parameter is not specified, the entire
configuration will be displayed by default . Use auto completion to see a list of configuration
options. Use | and one or more output redirects to restrict the information to be shown.
Section 2.6.9.2
File Commands
Operational mode provides commands for managing log and configuration files on the device.
Parameter Description
compare file Compares the running configuration to a file. A > character indicates text that is present
in the selected file but not in the running configuration. A < character indicates text that is
present in the running configuration, but not in the selected file. In the following example, the
user information is present in the configuration, but not in the selected file:
File Commands 25
Chapter 2 RUGGEDCOM ROX II
Using ROX II User Guide
Parameter Description
< !
ruggedcom#
file compare-config filename1 Compares the contents of two files. A < character indicates text that is present in the first
filename2 selected file but not in the second file. A > character indicates text that is present in the
second selected file but not in the first file. In the following example, the user information is
present in the second file, but not in the first:
file copy-config current- Copies a configuration file. After typing the command, press Tab to view a list of available
filename new-filename files. For example, the following command copies the deleted_users file to the
archive001 file:
file delete-config filename Deletes a configuration file. After typing the command, press Tab to view a list of available
files. For example, the following command deletes the deleted_users file:
file rename-config current- Renames a configuration file. For example, the following command renames the test002
filename new-filename file to production_config:
file scp-config-from-url Securely copies a configuration file from a remote computer to the device. The remote
user@host:/path/current-filename computer must have an SCP or SSH (secure shell) service or client installed and running.
new-filename To use this command, the user credentials for the remote computer, the IP address or
hostname of the remote computer, the directory path to the configuration file on the remote
computer, and the configuration file filename must all be known.
Type the command in the following format:
26 File Commands
RUGGEDCOM ROX II Chapter 2
User Guide Using ROX II
Parameter Description
Where:
• user is a user name with access rights to the remote computer.
• host is the hostname or IP address of the remote computer.
• path path is the path to the configuration file on the remote computer.
• current-filename is the current filename of the configuration file.
• new-filename is the new filename for the configuration file. To use the current filename,
specify the current filename or exclude this parameter from the command.
When prompted, type the password to connect to the remote computer. For example:
file scp-config-to-url current- Securely copies a configuration file from the device to a remote computer. The remote
filename user@host:/path/new- computer must have an SCP or SSH (secure shell) service or client installed and running.
filename To use this command, the user credentials for the remote computer, the IP address or
hostname of the remote computer, the directory path to the configuration file on the remote
computer, and the configuration file filename must all be known.
Type the command in the following format:
Where:
• current-filename is the current filename of the configuration file.
• user is a user name with access rights to the remote computer.
• host is the hostname or IP address of the remote computer.
• path path specifies where to save the configuration file on the remote computer.
• new-filename is the new filename for the configuration file. To use the current filename,
specify the current filename or exclude this parameter from the command.
When prompted, type the password to connect to the remote computer. For example:
file scp-log-to-url current- Securely copies a log file to a remote computer from the device. The remote computer must
filename user@host:/path/new- have an SCP or SSH (secure shell) service or client installed and running.
filename To use this command, the user credentials for the remote computer, the IP address or
hostname of the remote computer, the directory path to the log file on the remote computer,
scp-log-to-url and the log file filename must all be known.
Where:
• current-filename is the current filename of the log file.
• user is a user name with access rights to the remote computer.
• host is the hostname or IP address of the remote computer.
• path path specifies where to save the log file on the remote computer.
• new-filename is the new filename for the log file. To use the current filename, specify
the current filename or exclude this parameter from the command.
When prompted, type the password to connect to the remote computer. For example:
File Commands 27
Chapter 2 RUGGEDCOM ROX II
Using ROX II User Guide
Parameter Description
file show-config filename Displays the content of a specified file. Use auto completion to display a list of available
files. For example:
Section 2.6.9.3
Interface and Services Commands
Operational mode provides commands for restarting and displaying information for various interfaces and
services.
Parameter Description
interfaces cellmodem cel-1 lte Sends an AT or reset command to the specified modem. Use auto completion to display a
[at | reset] list of available modems.
• at: Sends an AT command to the selected modem. To send multiple AT commands,
separate each command with a : colon.
• reset: Resets the modem.
interfaces switch swport port Clears statistics for the selected port.
clearportstats
Section 2.6.9.4
Administration Commands
Operational mode provides commands for performing device administration tasks.
Parameter Description
Parameter Description
admin delete-ssh-known-hosts Deletes the host entry from the list of known hosts.
admin restore-factory-defaults Restores the factory default configuration and settings, but does not erase any files you
have saved on the device.
admin restore-factory-defaults Restores the factory default configuration and settings, but does not erase any files you
have saved on the device.
admin set-system-clock time Sets the date and time on the device. To specify just the date, type the date in the format
YYYY-MM-DD HH:MM:SS YYYY-MM-DD. To specify just the time, type the time in the format HH:MM:SS. To specify
both date and time, enclose the string in quotation marks and type the date and time in the
format "YYYY-MM-DD HH:MM:SS".
NOTE
When setting the time, specifying seconds seconds (SS) is optional.
admin software-upgrade decline- Cancels (or declines) a recent software upgrade that is waiting for a reboot to the upgraded
upgrade partition.
admin software-upgrade rollback- Boots to a previous software release on the alternate partition.
reboot
maint-login
CAUTION!
Configuration hazard – risk of data loss/corruption. Maintenance mode is
provided for troubleshooting purposes and should only be used by Siemens
Canada Ltd. technicians. Maintenance mode is provided for troubleshooting
purposes and all possible commands are not documented. Misuse of
maintenance mode commands can corrupt the operational state of the device
and render the device inaccessible.
Logs in to the underlying operating system as the root user. The user must be an
administrator and be able to provide the maint-login password.
monitor start filename Starts displaying the specified system log or tracing the specified file. If necessary, the
output can be redirected to a file. For information on how to redirect output, refer to
Section 2.6.5, “Using Output Redirects”. Use auto completion to view a list of available logs
and files.
monitor stop filename Stops displaying the specified system log or tracing the specified file. Use auto completion
to view a list of available logs and files.
reportstats Displays an extensive collection of device-specific statistics. If necessary, the output can be
redirected to a file. For information on how to redirect output, refer to Section 2.6.5, “Using
Output Redirects”.
config private Enters a configuration mode where users can make changes to the system. This is
the primary mode for most users who want to make changes to the device/network
configuration. It can be accessed by multiple Operator and Admin users.
Administration Commands 29
Chapter 2 RUGGEDCOM ROX II
Using ROX II User Guide
Parameter Description
All changes made during a private configuration session are hidden from other users until
they are committed. Each change must be committed before it is applied to the active
system.
If a user opens an exclusive configuration session during another user's private
configuration session, the user in the private configuration session cannot commit their
changes until the other user ends their session.
config exclusive Enters a configuration mode where users can make changes to the system. This mode is
similar to the private configuration mode, except all other users are blocked from committing
their changes until the user using the exclusive configuration mode exits. Only one Operator
or Admin user can use the exclusive configuration mode at a time per device.
When committing changes in exclusive configuration mode, use the confirmed option
to set a timeout period. Changes will be applied for the set period of time, after which
the configuration will be reset to its previous settings. This allows users to test their
configuration changes before fully applying them to the active system.
For more information about the confirmed option, refer to Section 2.6.9.5, “Configuration
Mode General Commands”.
IMPORTANT!
Always log out of the exclusive configuration mode or exit the transaction. If
the session is terminated before a user exits properly, other users logged in to
the device will continue to be blocked from making changes until the session
timeout period expires.
Section 2.6.9.5
Configuration Mode General Commands
Configuration mode provides a set of general commands that allow users to work with configuration data.
Parameter Description
NOTE
In an edit exclusive session, any pending unconfirmed commits will not be
cancelled until their timeout periods expire. A new edit exclusive session
cannot be opened until the timeout period ends.
commit no-confirm Immediately commits the current set of configuration changes. This command will prompt
the user to confirm the action. Use the no-confirm parameter to revert the configuration
without requiring confirmation.
commit abort In an edit exclusive session, this command aborts/cancels all confirmed commits.
commit and-quit Commits all confirmed and unconfirmed changes and exits the configuration mode.
commit confirmed timeout Temporarily commits changes for a period of time, allowing users to test the configuration
before fully committing the changes. The changes must be committed using a standard
commit command before the timeout period ends. If changes are not committed before
the timeout period ends, they are automatically discarded and the previous settings are
restored.
Parameter Description
A timeout period can be specified at the end of the command. The default timeout period is
10 minutes. The minimum timout period is 1 minute. For example:
To cancel a commit before the time elapses and discard the changes, type:
commit abort
commit
commit comment text Immediately commits the current set of configuration changes along with a custom
comment. The comment will appear next to the commit in a list of pending of commits.
commit label text Immediately commits the current set of configuration changes along with a custom label. In
a list of pending commits, the label will appear instead of the auto-generated commit ID.
commit persist-id text Immediately commits the current set of configuration changes and assigns a user-specified
ID or flag.
commit save-running file Immediately commits the current set of configuration changes and saves them to the
specified file. It does not save the complete running configuration.
copy Copies a configured element to a new element. For example, the following command copies
the userid admin to the new userid wsmith:
The new item has all of the attributes of the item from which it is copied. In this example,
userid wsmith will have the same password and role attributes as the userid admin.
details When used in combination with the save command, the details command includes
default values in the saved configuration file. For example:
The details command can also be used to show default configuration values. For example:
do Performs an Operational mode command. For example, the following command performs
the Operational mode ping command in the Configuration mode session:
end Terminates the configuration session. The system prompts the user to commit uncommitted
changes.
exit Exits from the current mode. Unlike the end command, the system does not prompt the
user to commit uncommitted changes.
load [merge | override] filename Loads a configuration from an ASCII CLI configuration file.
Two parameters are available for the CLI load command: override and merge.
• Override: this parameter is for users who have a full configuration file saved and want
to load it back on to the device. The full configuration file can be previously created with
the CLI save command executed from the top level in the configuration tree or with the
admin full-configuration-save command. With the override parameter, the
entire running configuration is overwitten by the contents of the configuration file.
The override option has the following restrictions:
Parameter Description
▪ The configuration file must be a complete configuration for the device. A complete
configuration is the entire configuration tree.
▪ The load command must be invoked at the base of the configuration tree.
• Merge: this parameter is for users who want to build a template configuration and load it
to many devices. The template configuration file can be obtained by using the CLI save
command. With the merge parameter, the contents of the configuration file will be merged
with the running configuration. The remaining configurations, which are not included in the
configuration file, will remain unchanged.
After loading the configuration, use the commit command to commit the changes.
move [after | before | first | Moves an existing IPv4 address to a new position in the list of addresses. The address can
last | ipv4] be moved to the first or last (default) position in the list, or before or after another address.
For example, the following command moves 172.30.137.37/9 before 172.30.137.31/19:
no Negates a command or sets it to its default setting. For example, the following command
deletes the IP address 172.30.137.37/19:
NOTE
The no command affects only the parameter or setting of the node explicitly
specified in the command. When using no to negate a parameter or setting
that has dependencies, clearing the specific parameter does not clear the
related dependencies.
For example, the following command adds an IPv4 route with a gateway:
The following command deletes the gateway, but it does not delete the route:
pwd Displays the path to the current node. For example, after navigating to an IPv4 address, the
following command displays the path through the command hierarchy to the current node:
ruggedcom(config-address-172.30.137.31/19)# pwd
Current submode path:
ip fe-3-1 \ ipv4 \ address 172.30.137.31/19
rename Changes the value of a parameter. For example, the following command changes the IPv4
address 172.30.137.36/19 to 172.30.137.40/19:
resolved Issue this command when conflicts have been resolved. Conflicts are normally discovered
when the commit operation is performed. Conflicts typically arise when multiple users edit
the same parts of a configuration.
revert no-confirm Copies the running configuration into the current configuration. This discards all changes to
the current configuration. This command will prompt the user to confirm the action. Use the
no-confirm parameter to revert the configuration without requiring confirmation.
Parameter Description
rollback configuration number Returns the configuration to a previously committed configuration. The system stores
a limited number of old configurations. After reaching the maximum number of old
configurations, storing a new configuration deletes the oldest configuration in the list. The
most recently committed configuration (the running configuration) appears as item 0 in the
list. Select a number from the list and press Enter.
After rolling back the configuration, use the commit command to commit the changes.
save filename Saves the current configuration, without default values, to an ASCII file. Specify a filename
for the file.
Current configuration means the configuration of the user's current level in the configuration
data hierarchy. For example, if the user is at the top level, the save command will save the
complete/full configuration of the device.
If the user is at a level other than the top level, such as the firewall level, the save
command will save a partial configuration of the current level.
ruggedcom(config)#security firewall
ruggedcom(config-firewall)# save {firewall-configuration-filename}
Use this command along with the details command to include default values in the saved
configuration file. For example:
show Shows configuration, history or command line interface parser information. Type show and
press Tab to navigate through the items available to display.
This command can also be combined with the details command to display the default
configuration values. For example:
top command Exits to the top level of the command hierarchy and, optionally, runs a command.
wizard [rox_flash | rox_upgrade] Runs the rox_flash or rox_upgrade wizards. For more information, refer to Section 3.11.5.2,
“Downgrading Using ROXflash” and Section 3.11.3, “Upgrading the ROX II Software”.
Section 2.7
Parameter Description
autowizard {true | false} When enabled, the CLI prompts for required settings when a new identifier is created.
history integer Determines the number of items to record in the CLI history.
output-file {filename | Directs CLI output to the specified ASCII text file, or to the terminal. Output is directed to
terminal} the specified destination until another destination is set with a subsequent output-file
command.
paginate {true | false} Lengthy output is paginated by default. When the output reaches the screen-length setting,
the CLI prompts the user to press a key for more output. Press Enter to advance line-by-line
or press Space to advance page-by-page. When disabled, output is not paginated.
show-defaults {true | false} Determines if default values are shown when displaying the configuration. When enabled,
default values appear as comments after the configured value. In the following example, the
default value for the contact value is shown as a comment following the configured contact
string of wsmith@example.com:
Default values only appear for parameters that have default values. If a parameter does not
have a default value, no default appears when show-defaults is set to true.
terminal {dumb | vt100 | xterm | Determines the terminal type and controls how line editing is performed. Supported
linux | ansi} terminals are: dumb, vt100, xterm, linux, and ansi. Other terminals may also work but have
no explicit support.
Section 2.8
Section 2.8.1
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. Access to BIST mode should be
restricted to admin users only.
CAUTION!
Configuration hazard – risk of data corruption. BIST mode is provided for troubleshooting and
advanced configuration purposes and should only be used by Siemens Canada Ltd. technicians. As
such, this mode is not fully documented. Misuse of the commands available in this mode can corrupt
the operational state of the device and render it inaccessible.
NOTE
BIST mode opens port 222.
IMPORTANT!
Do not connect the device to the network when it is in BIST mode. The device will generate excess
multicast traffic in this mode.
NOTE
In the example above, the text Auto booting [4-0] indicates the active partition is Boot
Partition 4.
5. Enter boot mode on the active partition by typing the associated target number. For example, if the active
partition is Boot Partition 6, type 6-1 and press Enter. The self-test cycle begins.
6. Press Ctrl+c to stop the self-test cycle and halt the excess multicast traffic. A BIST prompt appears.
BIST:~#
BIST:~#
Section 2.8.2
CAUTION!
Configuration hazard – risk of data corruption. Service mode is provided for troubleshooting and
advanced configuration purposes and should only be used by Siemens technicians. As such, this
mode is not fully documented. Misuse of the commands available in this mode can corrupt the
operational state of the device and render it inaccessible.
IMPORTANT!
Changes made to the configuration in this mode will override the current configuration settings (e.g. IP
addresses, VLAN settings, etc.), but are discarded following a system reboot.
NOTE
Service mode opens port 222.
1. Connect to ROX II through the RS232 console connection and a terminal application. For more information,
refer to Section 2.1.1, “Connecting Directly”.
2. Reboot the device. For more information, refer to Section 3.5, “Rebooting the Device”.
3. As soon as the device starts to boot up, press ESC. A list of possible boot modes for each partition appears.
NOTE
In the example above, the text
Auto booting [4-0]
indicates the active partition is Boot Partition 4.
4. Enter service mode on the active partition by typing the associated target number. For example, if the active
partition is Boot Partition 6, type 6-3. A login prompt for service mode appears.
5. Type root and press Enter. A password prompt appears.
NOTE
If a unique password/passphrase has not been configured, use the factory default password. For
more information, refer to Section 2.2, “Default Usernames and Passwords”.
NOTE
The current service mode password/passphrase is the same as the password/passphrase for
accessing maintenance mode.
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
root@ruggedcom:~#
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. Upon accessing service mode
on a device that is connected to a network, make sure SSH is disabled. Failure to disable SSH
once in service mode would allow anyone with remote access to the device and the root password
to access the Linux shell.
NOTE
SSH is enabled automatically once the device is rebooted. It can also be enabled manually by
typing:
/etc/init.d/ssh start
If a RUGGEDCOM APE module is installed, SSH can be permanently disabled. For more
information, refer to the RUGGEDCOM APE User Guide.
Section 2.8.3
CAUTION!
Configuration hazard – risk of data corruption. Maintenance mode is provided for troubleshooting
purposes and should only be used by Siemens Canada Ltd. technicians. As such, this mode is not fully
documented. Misuse of the commands available in this mode can corrupt the operational state of the
device and render it inaccessible.
IMPORTANT!
Changes made to the configuration in this mode will override the current configuration settings (e.g. IP
addresses, VLAN settings, etc.), but are discarded following a system reboot.
1. In normal mode, type maint-login and press Enter. A password prompt appears.
NOTE
The current maintenance mode password/passphrase is the same as the password/passphrase
for accessing service mode.
ruggedcom# maint-login
Password:
Welcome to ruggedcom Partition2 (Rev ROX 2.4.0 (2013-01-24 18:20)) RX1511 SN R15R-3410-PR061
22:29:20 up 1 day, 8:42
Temperature +41.0 C (+105.8 F) Disk 25% Memory 43%
root@ruggedcom:~#
Device Management
This chapter describes how to configure and manage the device and its components, such as module interfaces,
logs and files. It describes the following tasks:
NOTE
For information about how to configure the device to work with a network, refer to Chapter 5, Setup and
Configuration.
Section 3.1
Parameter Description
Section 3.2
Section 3.2.1
Parameter Description
Section 3.2.2
Parameter Description
slot Synopsis: pm1, pm2, main, sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport,
cm, em, trnk
The slot name, as marked on the silkscreen across the top of the chassis.
uptime The total time elapsed since the start-up of the installed module.
start-date The date on which the installed module was started up.
start-time The time at which the installed module was started up.
Section 3.2.3
Parameter Description
slot Synopsis: pm1, pm2, main, sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport,
cm, em, trnk
The slot name, as marked on the silkscreen across the top of the chassis.
temperature The temperature, in degrees C, of the installed module. If multiple temperature sensors are
present on the board, the maximum reading is reported.
Section 3.3
If jobs have been configured, a table or list similar to the following example appears:
DB-CELL-LTE-1.
001
RX1400 CELL0002 CELL-LTE-0.001 1x Cell LTE NAM A/R/B/T
DB-CELL-LTE-1.
002
RX1400 CELL0003 CELL-LTE-0.001 1x Cell LTE NAM V/S
DB-CELL-LTE-1.
003
RX1400 CELL0004 CELL-LTE-0.001 1x Cell LTE APAC
DB-CELL-LTE-1.
004
DB-CELL-LTE-1.
005
RX1400 CM0001 BACKPLANE.001 CM TI-AM5726 variant 0001
RX1400 CM0001 CM-AM5726-0.00 CM TI-AM5726 variant 0001
1
RX1400 PM0001 PM-24VDC.001 12-24VDC Unmonitored PM
RX1400 PM0002 PM-48VDC.001 48VDC Unmonitored PM
RX1400 PM0003 PM-HI.001 HI AC-DC Unmonitored PM
RX1400 SER0001 SER-TP-0.001 2xRS232/422/485
DB-SER-TP-2.00
1
RX1400 SM0001 SM-L2-0.001 SM M88E6097F, 4FT 2GP
DB-ETH-FT-4.00
1
DB-ETH-GP-2.00
1
.
.
.
Section 3.4
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. Always shutdown the device before
disconnecting power. Failure to shutdown the device first could result in data corruption.
NOTE
The device never enters a permanent shutdown state. When instructed to shutdown, the devices shuts
down and provides a time-out period during which power can be disconnected from the device. The
default time-out period is 300 seconds (five minutes). At the end of the time-out period, the device
reboots and restarts.
NOTE
If wiring hinders the process of disconnecting power from the device, the power module(s) can be
removed instead.
admin shutdown
Section 3.5
Section 3.6
Parameter Description
Section 3.7
Section 3.8
NOTE
Line module configurations are not configurable.
If line modules have been configured, a table or list similar to the following example appears:
!
!
Section 3.9
Managing Logs
ROX II maintains various logs to record information about important events. Each log falls into one of the
following log types:
Security Event Logs Information related to the following security events are logged by ROX II:
NOTE
Passwords can be retried up to 3 times before the login attempt is considered a security event.
Syslogs Syslog allows users to configure local and remote syslog connections to record important, non-security event
information. The remote Syslog protocol, defined in RFC 3164 [http://tools.ietf.org/html/rfc3164], is a UDP/
IP-based transport that enables a device to send event notification messages across IP networks to event
message collectors, also known as Syslog servers. The protocol is designed to simply transport these event
messages from the generating device to the collector.
All log files are organized in the log directory (/var/log) according to the facility and priority at which they
have been logged. Remote Syslog sends the requested logs to the remote server(s) at whichever facility and
priority they were initially logged, after filtering the logs based on the selectors configured for the server.
The following log files are setup with the following default selectors:
• syslog catches all logs except daemon.debug, auth or authpriv logs
• daemon.log catches all err level (and above) logs written to the daemon facility
• messages catches all info, notice and warn level logs for all facilities except auth, authpriv, cron, daemon,
mail and news
A selector setup using the following facilities at level info and up is recommended:
• daemon
• user
• kern
• syslog
Diagnostic Logs Diagnostic logs record system information for the purposes of troubleshooting.
The following sections describe how to view, configure and manage logs:
• Section 3.9.1, “Viewing Logs”
• Section 3.9.2, “Deleting Logs”
• Section 3.9.3, “Managing Diagnostic Logs”
• Section 3.9.4, “Managing Remote Syslog Servers”
• Section 3.9.5, “Managing Remote Server Selectors”
Section 3.9.1
Viewing Logs
Select logs can be viewed directly within the CLI. Otherwise, these and other logs can be downloaded from the
device and viewed in a text editor/viewer.
NOTE
For information about downloading log files from the device, refer to Section 3.13.2, “Backing Up Files”.
Where:
• file is the log file to view
For example, to view the auth.log, type:
show log auth.log
48 Viewing Logs
RUGGEDCOM ROX II Chapter 3
User Guide Device Management
Section 3.9.2
Deleting Logs
To delete all logs stored on the device, type:
admin delete-logs
Section 3.9.3
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
The following sections describe how to configure and manage diagnostic logs:
• Section 3.9.3.1, “Enabling/Disabling the Developer's Log”
• Section 3.9.3.2, “Enabling/Disabling the SNMP Log”
• Section 3.9.3.3, “Enabling/Disabling the NETCONF Summary Log”
• Section 3.9.3.4, “Enabling/Disabling the NETCONF Trace Log”
• Section 3.9.3.5, “Enabling/Disabling the XPATH Trace Log”
• Section 3.9.3.6, “Enabling/Disabling the WebUI Trace Log”
Section 3.9.3.1
Enabling/Disabling the Developer's Log
The Developer's log records internal system transactions from the operational view.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Deleting Logs 49
Chapter 3 RUGGEDCOM ROX II
Device Management User Guide
Disable
no admin logging diagnostics developer-log enabled
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.3.2
Enabling/Disabling the SNMP Log
The SNMP log records all SNMP related events.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Disable
no admin logging diagnostics snmp-log enabled
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.3.3
Enabling/Disabling the NETCONF Summary Log
The NETCONF summary log briefly records NETCONF protocol transactions and, in particular, those which
completed successfully.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Disable
no admin logging diagnostics netconf-summary-log enabled
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.3.4
Enabling/Disabling the NETCONF Trace Log
The NETCONF trace log details all NETCONF protocol transactions, including successful and failed transactions.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Disable
no admin logging diagnostics netconf-trace-log enabled
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.3.5
Enabling/Disabling the XPATH Trace Log
The XPATH trace log records internal events related to XPATH routines that require interaction with an XPATH
component.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Disable
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.3.6
Enabling/Disabling the WebUI Trace Log
The WebUI trace log records all transactions related to the Web interface, such as configuration changes, error
messages, etc.
CAUTION!
Configuration hazard – risk of reduced performance. Enabling diagnostic logging will significantly affect
the performance of ROX II . Only enable diagnostic logging when directed by Siemens.
Disable
no admin logging diagnostics webui-trace-log enabled
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.4
Section 3.9.4.1
Viewing a List of Remote Servers
To view a list of remote servers, type:
show running-config admin logging server
If remote servers have been configured, a table or list similar to the following example appears:
If no remote servers have been configured, add servers as needed. For more information, refer to
Section 3.9.4.2, “Adding a Remote Server”.
Section 3.9.4.2
Adding a Remote Server
To add a remote server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the remote server by typing:
admin logging server address
Where:
• address is the IP address of the remote server
3. Configure the following parameter(s) as required:
Parameter Description
4. Configure one or more selectors for the server. For more information, refer to Section 3.9.5.2, “Adding a
Remote Server Selector”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.4.3
Deleting a Remote Server
To delete a remote server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the remote server by typing:
no admin logging server address
Where:
• address is the IP address of the remote server.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.5
Section 3.9.5.1
Viewing a List of Remote Server Selectors
To view a list of remote server selectors, type:
show running-config admin logging server address selector
Where:
• address is the IP address of the remote server.
If remote server selectors have been configured, a table or list similar to the following example appears:
If no remote server selectors have been configured, add selectors as needed. For more information, refer to
Section 3.9.5.2, “Adding a Remote Server Selector”.
Section 3.9.5.2
Adding a Remote Server Selector
To add a remote server selector, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the remote server selector by typing:
admin logging server address selector name
Where:
• address is the IP address of the remote server
• name is the name of the log selector identifier
3. Configure the following parameter(s) as required:
Parameter Description
negate Excludes messages defined in the Remote Server Selector fields from the log. Selecting
this option acts as a logical NOT for the selector definition.
For example: Selecting same, debug, and mail in the Comparison, Level, and Facility-
list fields includes debug messages from the mail subsystem in the log. Selecting
Negate excludes debug messages from the mail subsystem from the log.
level { level } Synopsis: emerg, alert, crit, err, warning, notice, info, debug, none, all
Default: all
The base message severity level to include in the log. all includes all messages. none
excludes all messages. Other levels are listed in order of increasing severity.
facility-list { facility-list } Synopsis: auth, authpriv, cron, daemon, ftp, kern, lpr, mail, news, security, syslog,
user, uucp, local0, local1, local2, local3, local4, local5, local6, local7, all
Synopsis: "facility-list" occurs in an array of at least 1 and at most 8 elements
The subsystems generating log messages. Messages from the selected subusystems
are included in the log. At least one subsystem must be selected; up to 8 subsystems
can be selected.
4. Configure one or more selectors for the server. For more information, refer to Section 3.9.5.2, “Adding a
Remote Server Selector”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.9.5.3
Deleting a Remote Server Selector
To delete a remote server selector, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the remote server selector by typing:
no admin logging server address selector name
Where:
• address is the IP address of the remote server
Section 3.10
Section 3.10.1
Where:
• filename is the name of the configuration file
Alternatively, to include only the default configuration parameter values in the saved configuration file, do the
following:
1. Make sure the CLI is in Configuration mode.
2. Save the default values by typing:
save filename | details
Where:
• filename is the name of the configuration file
Section 3.10.2
Loading a Configuration
To load a configuration file for ROX II, do the following:
1. Load a configuration file by typing:
admin full-configuration-load format cli file-name filename
Where:
• filename is the name of the configuration file
2. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.11
Section 3.11.1
Parameter Description
repository-url { repository-url } The URL for the upgrade server or file system. Supported URIs are http, https and ftp.
To upgrade from a USB device, the URL format is 'usb://<usb-device-name>/path-to-
repository' and only one single partition is supported.
target-version { target-version } The target software version. Specify a specific software release in the form of 'rrX.Y.Z' or
enter 'current' to upgrade to the latest software release available on the upgrade server.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.11.2
• The server must be able to accept at least as many HTTP, HTTPS or FTP connections as there are devices on
the network.
• The server must contain and publish a directory specifically for ROX II software releases. The name of this
directory will be specified in the upgrade settings for each device.
• Communication between the server and the device must be along a secure channel, such as IPsec.
• For upgrades via HTTPS, the server's public key must be signed by a trusted Certificate Authority (CA). A list of
recognized CA's is available under /etc/ssl/certs/
NOTE
Each device should be configured to upgrade at different times to minimize impact on the network. A
large upgrade (or a low bandwidth limiting value on each device) may cause all the devices to upgrade
at the same time.
Section 3.11.2.1
Adding Software Releases to the Upgrade Server
Software releases are obtained from www.siemens.com/ruggedcom as compressed ZIP files.
To add software releases to the upgrade server, do the following:
1. Download the appropriate ROX II software release from www.siemens.com/ruggedcom to the upgrade
directory on the upgrade server.
NOTE
Software release filenames take the form of rrX.Y.Z.zip, where X represents the major release
number, Y represents the minor release number, and Z represents the patch release number.
2. Extract the compressed ZIP file within the directory. The file will extract to a folder that has the same name
as the major release (i.e. "rrX"). Subsequence releases will also be extracted to this folder.
Section 3.11.2.2
Using Microsoft IIS Manager 6.0 or Higher as an Upgrade Server
When using Microsoft Internet Information Services (IIS) Manager 6.0 or higher as an upgrade server, a new
application/octet-stream MIME type named "*" must be added to the IIS properties. This is required for IIS to
consider ROX II upgrade packets as an application/octet-stream, otherwise ROX II upgrades will fail.
To add the new MIME type to the IIS properties, do the following:
1. In the Windows Start menu, right-click on My Computer and select Manage. The Computer Management
dialog appears.
2. Under Services and Applications, locate the Internet Information Services (IIS) Manager node. Right-
click on your ROX upgrade repository website and select Properties. The Properties dialog appears.
3. Select the HTTP Headers tab and click MIME Types. The MIME Types dialog appears.
4. Click New. The MIME Type dialog appears.
Section 3.11.3
NOTE
All parameters are locked during a software upgrade until the device is rebooted and the upgraded
partition is changed to an active state. This prevents post-upgrade configuration changes that are not
carried over to the upgraded partition.
If required, the software upgrade can be stopped/declined at any time before the device is rebooted.
For more information about stopping/declining a software upgrade, refer to Section 3.11.4, “Stopping/
Declining a Software Upgrade”.
NOTE
All system configurations and user files (i.e. configuration files, etc.) are carried over to the upgrade
partition.
NOTE
If a major system failure is detected upon rebooting with the newly upgraded partition, the device will
automatically roll back to the previously active partition.
The wizard will require user input to complete the upgrade. Follow the online instructions.
When the upgrade process begins, the wizard displays the status of the upgrade. For example:
Preparing to transfer files to alternate partition. You may not see activity for a few minutes....
Installing packages...
4. If the software upgrade is successful, reboot the device or decline the software upgrade. For more
information, refer to Section 3.5, “Rebooting the Device” or Section 3.11.4, “Stopping/Declining a Software
Upgrade”.
Section 3.11.4
IMPORTANT!
A software upgrade can only be declined before the device is rebooted. If the software upgrade has
already been activated following a reboot, the previous software version installed on the other partition
can be activated. For more information, refer to Section 3.11.5.1, “Rolling Back a Software Upgrade”.
Section 3.11.5
Section 3.11.5.1
Rolling Back a Software Upgrade
To activate a previous version of the ROX II software stored on the inactive partition, do the following:
1. Make sure the CLI is in Configuration mode.
2. Rollback the software version by typing:
admin software-upgrade rollback-reboot
The device will automatically reboot. Once the reboot is complete, the previously inactive partition containing
the older software version is changed to an active state.
Section 3.11.5.2
Downgrading Using ROXflash
ROXflash is used to flash any previous version of a ROX II software image to the inactive partition. Images are
obtained through a Siemens Sales representative.
After a successful software downgrade and reboot, the downgraded partition is activated.
IMPORTANT!
Use ROXflash only to install earlier versions of the ROX II software. Newer software versions should
be installed using the software upgrade functions. For more information about upgrading the ROX II
software, refer to Section 3.11.3, “Upgrading the ROX II Software”.
NOTE
If a major system failure is detected upon rebooting with the newly downgraded partition, the device
will automatically roll back to the previously active partition.
To flash the inactive partition with an earlier version of the ROX II software, do the following:
1. Make sure the CLI is in Configuration mode.
2. Launch the ROXflash wizard by typing:
wizard rox_flash
The wizard will require user input to complete the upgrade. Follow the online instructions.
When the downgrade process begins, the wizard displays the status of the downgrade. For example:
Enter the url of the ROXII image. The following protocols are supported: scp, sftp, ftp, http.
The url should take the form of protocol://user:password@host/path-to-file.
If the server does not require authentication, you may leave out 'user:password@'.
######################################################################## 100.0%
Download complete.
Preparing partition #2 to be flashed...
Flashing image to partition#2...
progress: 100%
Flashed image detected to be version ROX 2 (2011-03-29 03:04)
3. If the software downgrade is successful, reboot the device. For more information, refer to Section 3.5,
“Rebooting the Device”.
Section 3.12
Section 3.12.1
If applications have been installed, a table or list similar to the following example appears:
If no applications have been installed, install applications as needed. For more information, refer to
Section 3.12.2, “Installing an Application”.
Section 3.12.2
Installing an Application
To install an application, do the following:
Where:
• name is the name of the application to install as it appears in the repository configuration. To install more
than one application, use a comma seperated list.
Section 3.12.3
Upgrading an Application
To upgrade an application, do the following:
1. Make sure the CLI is in Configuration mode.
2. Install the application by typing:
admin software-upgrade apps upgrade-app app-name name
Where:
• name is the name of the application to upgrade as it appears in the repository configuration. To upgrade
more than one application, use a comma seperated list.
Section 3.12.4
Uninstalling an Application
To uninstall an application, do the following:
1. Make sure the CLI is in Configuration mode.
2. Install the application by typing:
admin software-upgrade apps uninstall-app app-name name
Where:
• name is the name of the application to uninstall as it appears in the repository configuration. To uninstall
more than one application, use a comma seperated list.
Section 3.12.5
NOTE
Multiple applications can be installed or upgraded at the same time. Therefore, multiple repositories
may be configured.
Upgrading an Application 63
Chapter 3 RUGGEDCOM ROX II
Device Management User Guide
The following sections describe how to configure and manage ROX application repositories:
• Section 3.12.5.1, “Viewing a List of Repositories”
• Section 3.12.5.2, “Checking the Repository Connection”
• Section 3.12.5.3, “Adding a Repository”
• Section 3.12.5.4, “Deleting a Repository”
Section 3.12.5.1
Viewing a List of Repositories
To view a list of ROX II application repositories, type:
show running-config admin software-upgrade apps repository
If repositories have been configured, a table or list similar to the following example appears:
!
!
If no repositories have been configured, add repositories as needed. For more information, refer to
Section 3.12.5.3, “Adding a Repository”.
Section 3.12.5.2
Checking the Repository Connection
To check the connection with a repository, type:
admin software-upgrade apps check-repository-connection app-name name
Where:
• name is the name of the repository as it appears in the repository configuration. To check the connection with
more than one repository, use a comma seperated list.
The connection results are displayed.
Section 3.12.5.3
Adding a Repository
To add an application repository, do the following:
NOTE
An application repository must be configured before an application can be installed or upgraded.
Where:
• name is the name of the repository as it appears in the application configuration. Consult the release notes
for the appplication.
3. Configure the following parameter(s) as required:
Parameter Description
url { url } The URL of the upgrade server hosting the app repository (http, https, and ftp are
supported).
version { version } The version of the app you are installing or upgrading.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.12.5.4
Deleting a Repository
To delete an application repository, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the repository by typing:
no admin software-upgrade apps repository app-name name
Where:
• name is the name of the repository as it appears in the application configuration. Consult the release notes
for the application.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.13
Section 3.13.1
Installing Files
To install a file on the device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to admin » install-files and configure the following parameter(s) as required:
Deleting a Repository 65
Chapter 3 RUGGEDCOM ROX II
Device Management User Guide
Parameter Description
url { url } The URL of the ROX file to copy. SCP, SFTP, FTPS, FTP, and HTTP are supported for
the file transfer. To install from a USB device, the format is 'usb://path-to-file-on-system'
and only one single partition is supported. For the rest of the protocols, the format is
'protocol://user:password@host:port/path-to-file'. If 'port' is not specified, the default port
for the protocol is used.
Section 3.13.2
Backing Up Files
To backup files stored on the device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to admin » backup-files and configure the following parameter(s) as required:
Parameter Description
url { url } The URL of the ROX file to copy. SCP, SFTP, FTPS, FTP and HTTP are supported for
the file transfer. To save to a USB device, the format is 'usb://path-to-file-on-system'
and only one single partition is supported. For the rest of the protocols, the format is
'protocol://user:password@host:port/path-to-file'. If using a path only, close it with '/'. If
'port' is not specified, the default port for the protocol is used.
Section 3.14
NOTE
Trackers only use ICMP messages to ping an IP target. Therefore, it can only provide availability for an
IP device, and only up to the IP layer.
The following sections describe how to configure and manage event trackers:
66 Backing Up Files
RUGGEDCOM ROX II Chapter 3
User Guide Device Management
Section 3.14.1
If event trackers have been configured, a table or list similar to the following example appears:
If no event trackers have been configured, add event trackers as needed. For more information, refer to
Section 3.14.3, “Adding an Event Tracker”.
Section 3.14.2
Parameter Description
Parameter Description
standard-deviation-rtt The standard deviation of the round trip time (in milliseconds).
Section 3.14.3
Parameter Description
timeout { timeout } Determines how many milliseconds to wait for the ICMP response.
interval { interval } Determines how many milliseconds to wait before sending another ICMP request.
fall { fall } The number of times a failure occurs before changing the tracking state from up to
down.
rise { rise } The number of times success occurs before changing the tracking state from down to
up.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.14.4
Section 3.15
Section 3.15.1
If switched Ethernet ports have been configured, a table or list similar to the following example appears:
mcast-filtering
no gmrp
!
cos
no inspect-tos
!
vlan
pvid 1
no gvrp-mode
!
spanning-tree
no restricted-role
no restricted-tcn
!
!
.
.
.
Section 3.15.2
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. Switched Ethernet ports are
enabled by default. It is recommended that ports that are not in use be disabled. Unused ports, if
not configured properly, could potentially be used to gain access to the network behind the device.
CAUTION!
Configuration hazard – risk of data corruption. Changing a switched Ethernet port from switchport
mode to dedicated routing mode will automatically change any configuration elements that
depended on it and potentially invalidate parts of the device configuration. For example, if a
switched Ethernet port is a trunk port, changing it to dedicated routing mode will automatically
remove it from the trunk and, therefore, make the trunk invalid. A trunk must consist of two trunk
ports.
NOTE
Switched Ethernet ports in dedicated routing port mode cannot be trunk ports.
NOTE
The configuration for a switched Ethernet port in switchport mode can be restored when it is
removed from a trunk. However, the configuration cannot be restored if the port is in dedicated
routing mode.
Parameter Description
Parameter Description
Provides the option to enable or disable this interface. When unchecked(i.e disabled),
the interface will prevent all frames from being sent and received on that interface.
speed { speed } Synopsis: auto, 1.5M, 2.4M, 10M, 100M, 1G, 10G, 1.776M, 3.072M, 7.2M, 1.2K, 2.4K,
9.6K, 19.2K, 38.4K, 57.6K, 115.2K, 230.4K, 4.8K
Speed (in megabits-per-second or gigabits-per-second). If auto-negotiation is enabled,
this is the speed capability advertised by the auto-negotiation process. If auto-
negotiation is disabled, the port is explicitly forced to this speed mode. AUTO means
advertise all supported speed modes.
switchport Sets the physical port into either switched mode or a dedicated routing mode.
flow-control Flow control is useful for preventing frame loss during times of severe network traffic
proxyarp Enables/Disables whether the VLAN will respond to ARP requests for hosts other than
itself
4. Configuring the rate Limiting settings by configuring the following parameter(s) as required:
Parameter Description
Parameter Description
• BROADCAST : only broadcast frames will be limited.
• MULTICAST : all multicast frames (including broadcast) will be limited.
• MCAST-FLOOD-UCAST : all multicast frames (including broadcast) will be limited.
Unicast will not be limited.
• ALL : all frames (both multicast and unicast) will be limited.
Parameter Description
notify Disabling notifications will prevent sending notifications and generating alarms for a
particular interface from the LLDP agent.
NOTE
Multicast filtering, CoS and VLAN parameters are only available when the port is in switchport
mode.
6. Configure the Multicast filtering settings by configuring the following parameter(s) as required:
Parameter Description
Parameter Description
inspect-tos Enables or disables parsing of the Type-of-Service (ToS) field in the IP header of the
received frames to determine what Class of Service (CoS) they should be assigned.
Parameter Description
When ToS parsing is enabled the switch will use the differentiated services bits in the
TOS field.
Parameter Description
pvid { pvid } The Port VLAN Identifier specifies the VLAN ID associated with untagged (and 802.1p
priority tagged) frames received on this port. Frames tagged with a non-zero VLAN ID
will always be associated with the VLAN ID retrieved from the frame tag.
NOTE
Once a VLAN ID has been assigned to a switched Ethernet port, a VLAN is created and can be
configured in switch » vlans » all-vlans.
9. If the port is in switchport mode, configure the VLAN for the port. For more information, refer to
Section 5.34.3.2, “Configuring VLANs for Switch Ethernet Ports”.
10. Configure the port security settings. For more information, refer to Section 3.15.3, “Configuring Port
Security”.
11. Configure the spanning tree settings. For more information, refer to Section 5.33.6, “Configuring STP for
Switched Ethernet Ports and Ethernet Trunk Interfaces”.
12. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.15.3
Using IEEE 802.1x authentication, ROX II authenticates a source device against a remote RADIUS
authentication server. Access is granted if the source device provides the proper credentials.
Using static MAC address-based authorization, ROX II authenticates the source device based on its MAC
address. Access is granted if the MAC address appears on the Static MAC Address table.
NOTE
ROX II only supports the authentication of one host per port that has the port security mode set to
802.1x or 802.1x/MAC-Auth.
NOTE
ROX II supports both PEAP and EAP-MD5. PEAP is more secure and is recommended over EAP-
MD5.
IMPORTANT!
Do not apply port security on core switch connections. Port security is applied at the end of the network
to restrict admission to specific devices.
Parameter Description
shutdown-time { shutdown-time } How long to shut down an interface if a security violation occurs.
Parameter Description
Parameter Description
The period of time not to attempt to acquire a supplicant after the authorization session
failed.
5. If IEEE 802.1x standard authentication or IEEE 802.1x with MAC authentication is selected, configure a
primary and secondary RADIUS server. For more information, refer to Section 4.8.3, “Configuring RADIUS
Authentication for Switched Ethernet Ports”.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.15.4
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
A table or list similar to the following example appears:
Parameter Description
Parameter Description
in-pkts The number of received good packets (Unicast+Multicast+Broadcast) and dropped packets.
Section 3.15.5
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
A table or list similar to the following example appears:
Parameter Description
Parameter Description
total-in-octets The total number of octets of all received packets. This includes data octets
of rejected and local packets which are not forwarded to the switching core for
transmission. It should reflect all the data octets received on the line.
total-in-pkts The number of received packets. This includes rejected, dropped and local packets, as well
as packets which are not forwarded to the switching core for transmission. It
should reflect all packets received on the line.
drop-events The number of received packets that are dropped due to lack of receive buffers.
out-mcast-pkts The number of transmitted multicast packets. This does not include broadcast
packets.
crc-align-errors The number of packets received which meet all the following conditions:
1. The packet data length is between 64 and 1536 octets inclusive.
2. The packet has invalid CRC.
3. A Collision Event has not been detected.
4. A Late Collision Event has not been detected.
undersize-pkts The number of received packets which meet all the following conditions:
1. The packet data length is less than 64 octets.
2. A Collision Event has not been detected.
3. A Late Collision Event has not been detected.
4. The packet has valid CRC.
oversize-pkts The number of packets received with data length greater than 1536 octets and
valid CRC.
fragments The number of packets received which meet all the following conditions:
1. The packet data length is less than 64 octets, or it is a packet without SFD and is less
than 64 octets in length.
2. A Collision Event has not been detected.
3. A Late Collision Event has not been detected.
4. The packet has invalid CRC.
jabbers The number of packets which meet all the following conditions:
1. The packet data length is greater that 1536 octets.
2. The packet has invalid CRC.
collisions The number of received packets for which a Collision Event has been detected.
late-collisions The number of received packets for which a Late Collision Event has been detected.
pkts-64-octets The number of received and transmitted packets with a size of 64 octets. This
includes received and transmitted packets as well as dropped and local
received packets. This does not include rejected received packets.
pkts-65to127-octets The number of received and transmitted packets with a size of 65 to 127 octets. This
includes received and transmitted packets as well as dropped and local received packets.
This does not include rejected received packets
Parameter Description
pkts-128to255-octets The number of received and transmitted packets with a size of 128 to 257 octets. This
includes received and transmitted packets as well as dropped and local received packets.
This does not include rejected received packets
pkts-256to511-octets The number of received and transmitted packets with size of 256 to 511 octets.
This includes received and transmitted packets as well as dropped and local
received packets. This does not include rejected received packets.
pkts-512to1023-octets The number of received and transmitted packets with size of 512 to 1023 octets.
This includes received and transmitted packets as well as dropped and local
received packets. This does not include rejected received packets
pkts-1024to1518-octets The number of received and transmitted packets with a size of 1024 to 1536
octets. This includes received and transmitted packets as well as dropped and
local received packets. This does not include rejected received packets.
Section 3.15.6
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
Section 3.15.7
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
Section 3.15.8
Section 3.15.8.1
Running a Cable Diagnostic Test
To run a cable diagnostic test on a specific port, type:
IMPORTANT!
When cable diagnostics are performed on a port, any established network link on the port will be
dropped and normal network traffic will not be able to pass through either the Port Under Test (PUT) or
the Partner Port. When the cable diagnostic test is done, the original network port settings for both the
PUT and the Partner Port are restored along with any established link.
interfaces switch swport port diagnostics start-cable-test run runs calibration calibration
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• runs is the total number of times cable diagnostics should be performed on the selected port. When set to 0,
cable diagnostics will be performed continuously on the selected port.
• calibration is the value used to adjust or calibrate the estimated distance to fault. To calibrate the
determine estimated distance to fault, do the following:
1. Connect an Ethernet cable with a known length (e.g. 50m) to the port that requires calibration. Do not
connect the other end of the cable to any link partner.
2. Run a cable diagnostic test a few times on the port. An OPEN fault should be detected.
3. Find the average distance to the OPEN fault recorded in the log and compare it to the known length of the
cable. The difference can be used as the calibration value.
4. Enter the calibration value and run the cable diagnostic test a few more times. The distance to the OPEN
fault should now be similar to the cable length. Use the distance value to determine the calibration value.
For information about how to view the test results, refer to Section 3.15.8.2, “Viewing Cable Diagnostic Statistics”.
Section 3.15.8.2
Viewing Cable Diagnostic Statistics
To view the statistics collected for a switched Ethernet port after a cable diagnostic test, type:
show interfaces switch swport port diagnostics cable-diagnostic-results
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
A list similar to the following example appears:
Parameter Description
good The number of times GOOD TERMINATION (no fault) is detected on the cable pairs of the
selected port.
open The number of times OPEN is detected on the cable pairs of the selected port.
short The number of times SHORT is detected on the cable pairs of the selected port.
imped The number of times IMPEDANCE MISMATCH is detected on the cable pairs of the
selected port.
pass-fail-total This field summarizes the results of the cable diagnostics performed so far.
• Pass : the number of times cable diagnostics were successfully completed on the
selected port.
• Fail : the number of times cable diagnostics failed to complete on the selected port.
• Total : the total number of times cable diagnostics have been attempted on the selected
port.
Section 3.15.8.3
Clearing Cable Diagnostic Statistics
The following describes how to clear the statistics collected when cable diagnostic tests are performed. All of the
statistics or only those for a specific switchport can be cleared.
Section 3.16
Section 3.16.1
Section 3.16.2
Parameter Description
speed Synopsis: auto, 1.5M, 2.4M, 10M, 100M, 1G, 10G, 1.776M, 3.072M, 7.2M, 1.2K, 2.4K,
9.6K, 19.2K, 38.4K, 57.6K, 115.2K, 230.4K, 4.8K
The speed (in Kilobits-per-second).
Parameter Description
Section 3.16.3
Parameter Description
transport The transport protocol (UDP or TCP) for this serial port.
Section 3.16.4
Parameter Description
remote-ip The IP address of the remote host that provides a connection to the this DNP device
address.
Section 3.16.5
Where:
• name is the name assigned to the port
Section 3.16.6
IMPORTANT!
Do not enable flow control when Modbus TCP protocol is enabled.
Parameter Description
baud-rate { baud-rate } Synopsis: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400
Default: 9600
The baud rate selection of the serial port.
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.16.7
Section 3.16.8
Where:
• name is the name assigned to the port
Section 3.17
Section 3.17.1
Message Packetization
The serial server buffers receive characters into packets in order to improve network efficiency and demarcate
messages.
The serial server uses three methods to decide when to packetize and forward the buffered characters to the
network:
• packetize on a specific character
• packetize on timeout
• packetize on a full packet
If configured to packetize on a specific character, the serial server will examine each received character,
packetize and forward it upon receiving the specific character. The character is usually a <CR> or an <LF>
character but may be any ASCII character.
If configured to packetize on a timeout, the serial server will wait for a configurable time after receiving a
character before packetizing and forwarding it. If another character arrives during the waiting interval, the timer is
restarted. This method allows characters transmitted as part of an entire message to be forwarded to the network
in a single packet, when the timer expires after receiving the very last character of the message. This is usually
the only packetizer selected when supporting Modbus TCP communications.
Finally, the serial server will always packetize and forward on a full packet, specifically when the number of
characters fills its communications buffer (1024 bytes).
Section 3.17.2
Port Numbers
The TCP port number dedicated to Modbus use is port 502. The Modbus TCP Server application can also be
configured to accept a connection on a configurable port number. This auxiliary port can be used by masters that
do not support port 502.
Retransmissions
The Server Gateway offers the ability to resend a request to a remote host should the remote host receive the
request in error or the Server Gateway receives the remote host response in error.
The decision to use retransmissions, and the number to use, depends upon factors such as:
• The probability of a line failure.
• The number of remote hosts and the amount of traffic on the port.
• The cost of retransmitting the request from the server versus timing-out and retransmitting at the master. This
cost is affected by the speed of the ports and of the network.
Section 3.17.3
DNP Concepts
ROX II supports Distributed Network Protocol (DNP) version 3.0, commonly used by utilities in process
automation systems. DNP3 protocol messages specify source and destination addresses. A destination address
specifies which device should process the data, and the source address specifies which device sent the
message. Having both destination and source addresses satisfies at least one requirement for peer-to-peer
communication since the receiver knows where to direct a response.
Each device supporting DNP must have a unique address within the collection of devices sending and receiving
DNP messages.
NOTE
Learned addresses are not recorded in the Device Address Table.
Section 3.17.4
If protocols have been configured, a table or list similar to the following example appears:
If no serial port protocols have been configured, add protocols as needed. For more information, refer to
Section 3.17.5, “Adding a Serial Port Protocol”.
Section 3.17.5
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• protocol is the protocol type
3. Configure the protocol.
• For information about configuring a DNP protocol, refer to Section 3.17.6, “Configuring the DNP Protocol”.
• For information about configuring a Modbus TCP protocol, refer to Section 3.17.7, “Configuring the
Modbus TCP Protocol”.
• For information about configuring a raw socket protocol, refer to Section 3.17.8, “Configuring the Raw
Socket Protocol”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.6
Parameter Description
4. Add a Device Address table. For more information about adding Device Address tables, refer to
Section 3.17.10.2, “Adding a Device Address Table”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.7
Parameter Description
rtu-list { rtu-list } The ID of the RTU(s) connected to the serial port. Specify multiple RTUs with a space
(e.g. 1 2 3 4) or a comma and space (e.g. 1, 2, 3, 4). A strictly comma-separated list
(e.g. 1,2,3,4) is not permitted.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.8
Parameter Description
Parameter Description
Default: off
The numeric value of the ASCII character which will force forwarding of
accumulated data to the network.
local-ip { local-ip } The IP address used to establish a connection. Leaving it blank allows an incoming
connection to any interface.
local-port { local-port } The local TCP port to use to accept incoming connections.
4. If the transport connection protocol is set to UDP, configure one or more remote hosts for the port. For more
information about adding a remote host, refer to Section 3.17.11.2, “Adding a Remote Host”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.9
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• protocol is the protocol type
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.10
Section 3.17.10.1
Viewing a List of Device Address Tables
To view a list of Device Address tables configured for a serial port using the DNP protocol, type:
show running-config interface serial slot/port protocols dnp setdnp device-table
Where:
• slot/port is the slot name and port number of the serial port
If Device Address tables have been configured, a table or list similar to the following example appears:
If no Device Address tables have been configured, add tables as needed. For more information, refer to
Section 3.17.10.2, “Adding a Device Address Table”.
Section 3.17.10.2
Adding a Device Address Table
To add a Device Address table for a serial port using the DNP protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. interface serial serport port protocols dnp setdnp device-table address
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module.
• address is the local or remote DNP device address. The address may be that of a DNP device connected
to a local serial port or one available via the serial port of a remote IP host.
3. Configure the following parameter(s) as required:
Parameter Description
remote-ip { remote-ip } The IP address of the remote host that provides a connection to the DNP device with
the configured address. Leave this field empty to forward DNP messages that match the
configured address to the local serial port.
remote-device Enables forwarding of DNP messages that match the device address to the remote IP.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.10.3
Deleting a Device Address Table
To delete a Device Address table, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the Device Address Table by typing:
no interface serial serport port protocols dnp setdnp device-table address
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module.
• address is the local or remote DNP device address. The address may be that of a DNP device connected
to a local serial port or one available via the serial port of a remote IP host.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.11
Section 3.17.11.1
Viewing a List of Remote Hosts
To view a list of remote hosts configured for a serial port using the raw socket protocol, type:
show running-config interface serial protocols rawsocket setrawsocket remote-host
If hosts have been configured, a table or list similar to the following example appears:
!
setrawsocket remote-host 172.30.151.22 63000
!
!
!
!
If no remote hosts have been configured, add hosts as needed. For more information, refer to Section 3.17.11.2,
“Adding a Remote Host”.
Section 3.17.11.2
Adding a Remote Host
To add a remote host for a serial port using the raw socket protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the remote host by typing:
interface serial serport port protocols rawsocket setrawsocket remote-host address remote-port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• address is the IP address for the remote host
• remote-port is the port number for the remote host
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.17.11.3
Deleting a Remote Host
To delete a remote host, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the remote host by typing:
no interface serial serport port protocols rawsocket setrawsocket remote-host address remote-port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• address is the IP address for the remote host
• remote-port is the port number for the remote host
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.18
Section 3.18.1
If trunks have been configured, a table or list similar to the following example appears:
If no Ethernet trunk interfaces have been configured, add trunks as needed. For more information, refer to
Section 3.18.2, “Adding an Ethernet Trunk Interface”.
Section 3.18.2
Where:
• id is the ID given to the trunk
3. Configure the interface by typing the following commands:
Parameter Description
switchport The physical port into either Switched mode or a dedicated Routing mode.
Parameter Description
Whether the IP address is static or dynamically assigned via DHCP or BOOTP. Option
DYNAMIC is a common case of a dynamically assigned IP address. It switches between
BOOTP and DHCP until it gets the response from the relevant server. This must be
static for non-management interfaces.
proxyarp Enables/Disables whether the VLAN will respond to ARP requests for hosts other than
itself
Parameter Description
Parameter Description
inspect-tos Enables or disables parsing of the Type-Of-Service (TOS) field in the IP header of the
received frames to determine what Class of Service they should be assigned. When
TOS parsing is enabled the switch will use the Differentiated Services bits in the TOS
field.
Parameter Description
pvid { pvid } The Port VLAN Identifier specifies the VLAN ID associated with untagged (and 802.1p
priority tagged) frames received on this port. Frames tagged with a non-zero VLAN ID
will always be associated with the VLAN ID retrieved from the frame tag.
Parameter Description
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.18.3
Where:
• id is the ID given to the trunk
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.18.4
Section 3.18.4.1
Viewing a List of Ethernet Trunk Ports
To view a list of Ethernet trunk interfaces, type:
show running-config interface trunks id trunk-ports
Where:
If no Ethernet trunk ports have been configured, add ports as needed. For more information, refer to
Section 3.18.4.2, “Adding an Ethernet Trunk Port”.
Section 3.18.4.2
Adding an Ethernet Trunk Port
To add an Ethernet trunk port, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the port by typing:
interface trunks id trunk-ports swport port
Where:
• id is the ID given to the trunk
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.18.4.3
Deleting an Ethernet Trunk Port
To delete an Ethernet trunk port, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the port by typing:
no interface trunks id trunk-ports swport port
Where:
• id is the ID given to the trunk
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.19
Section 3.19.1
Section 3.19.2
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• profile is the profile configured for the module
A table or list similar to the following example appears:
Parameter Description
media The wireless data communication technology that modem is compatible with{ GSM/HSPA,
CDMA/EVDO, LTE }.
Section 3.19.3
Parameter Description
Section 3.19.4
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.19.5
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.19.6
Where:
• port is is the port and profile configured for the cellular modem
Section 3.19.7
Running AT Commands
To issue AT (Hayes) commands to the cellular modem, type:
Where:
• command is the AT command
Section 3.19.8
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module.
• profile is the cellular modem profile.
8. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.19.9
Enabling/Disabling GPS
To enable or disable GPS on the cellular modem, do the following:
1. Make sure the CLI is in Configuration mode.
2. Enable or disable GPS by typing:
Enabling GPS
interface cellmodem celport interface lte gps enabled
Where:
• interface is the cellular modem interface
Disabling GPS
no interface cellmodem celport interface lte gps enabled
Section 3.20
Section 3.20.1
If switches have been configured, a table or list similar to the following example appears:
If no virtual switches have been configured, add switches as needed. For more information, refer to
Section 3.20.2, “Adding a Virtual Switch”.
Section 3.20.2
Where:
• id is the ID assigned to the virtual switch
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
proxyarp Enables/Disables whether the port will respond to ARP requests for hosts other than
itself
4. Add interfaces for the virtual switch. For more information, refer to Section 3.20.4.2, “Adding a Virtual Switch
Interface”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.20.3
Where:
• id is the ID assigned to the virtual switch
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.20.4
Section 3.20.4.1
Viewing a List of Virtual Switch Interfaces
To view a list of virtual switch interfaces, type:
show running-config interface virtualswitch id interface
Where:
• id is the ID assigned to the virtual switch
If switches have been configured, a table or list similar to the following example appears:
!
!
If no virtual switches have been configured, add switches as needed. For more information, refer to
Section 3.20.2, “Adding a Virtual Switch”.
Section 3.20.4.2
Adding a Virtual Switch Interface
To add virtual switch interface, do the following:
IMPORTANT!
At least two interfaces are required for a virtual switch bridge.
CAUTION!
Accessibility hazard – risk of access disruption. Do not select the interface used to the access the Web
interface. Active Web sessions will be lost and the Web interface will be unreachable until the virtual
switch is disabled.
Where:
• id is the ID assigned to the virtual switch
• name is the interface name
The new interface is now accessible by typing:
ip vsid
3. Assign an IPv4 or IPv6 address to the interface. For more information, refer to Section 5.37.3.2, “Adding an
IPv4 Address” or Section 5.37.6.2, “Adding an IPv6 Address”.
4. If necessary, add one or more VLANs to the virtual switch interface. For more information, refer to
Section 5.34.6.2, “Adding a Virtual Switch VLAN”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.20.4.3
Deleting a Virtual Switch Interface
To delete a virtual switch interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the chosen switch by typing:
no interface virtualswitch id interface name
Where:
• id is the ID assigned to the virtual switch
Section 3.21
Section 3.21.1
Section 3.21.1.1
Viewing a List of Domain Names
To view a list of domain names, type:
show running-config dns search
If domain names have been configured, a table or list similar to the following example appears:
If no domain names have been configured, add names as needed. For more information, refer to
Section 3.21.1.2, “Adding a Domain Name”.
Section 3.21.1.2
Adding a Domain Name
To add a domain name, do the following:
Where:
• name is the name of the domain
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.21.1.3
Deleting a Domain Name
To delete a domain name, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the domain name by typing:
no admin dns search name
Where:
• name is the name of the domain
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.21.2
Section 3.21.2.1
Viewing a List of Domain Name Servers
To view a list of domain name servers, type:
show running-config dns server
If domain name servers have been configured, a table or list similar to the following example appears:
If no domain name servers have been configured, add servers as needed. For more information, refer to
Section 3.21.2.2, “Adding a Domain Name Server”.
Section 3.21.2.2
Adding a Domain Name Server
To add a domain name server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the domain name server by typing:
admin dns server address
Where:
• address is the IP address of the domain name server.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 3.21.2.3
Deleting a Domain Name Server
To delete a domain name server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the domain name server by typing:
no admin dns server address
Where:
• address is the IP address of the domain name server.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
System Administration
This chapter describes how to perform various administrative tasks related to device identification, user
permissions, alarm configuration, certificates and keys, and more. It describes the following tasks:
• Section 4.1, “Configuring the System Name and Location”
• Section 4.2, “Configuring the Hostname”
• Section 4.3, “Customizing the Welcome Screen”
• Section 4.4, “Setting the User Authentication Mode”
• Section 4.5, “Setting the Maximum Number of Sessions”
• Section 4.6, “Managing Alarms”
• Section 4.7, “Managing Certificates and Keys”
• Section 4.8, “Managing RADIUS Authentication”
• Section 4.9, “Managing Users”
• Section 4.10, “Managing Passwords and Passphrases”
• Section 4.11, “Scheduling Jobs”
Section 4.1
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.2
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.3
Where:
• message is the custom welcome message
Section 4.4
• If localonly is selected, users will be authenticated locally, regardless of whether or not a RADIUS server has
been configured.
• If radius_local is selected, users will be authenticated against the configured RADIUS server. If the RADIUS
server is unreachable, users will be authenticated locally.
• If radius_then_local is selected, users will be authenticated first against the configured RADIUS server. If the
user cannot be authenticated, they will then be authenticated locally.
Section 4.5
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.6
Managing Alarms
The alarm system in ROX II notifies users when events of interest occur. The system is highly configurable,
allowing users to:
• Enable/disable most alarms, with the exception of mandatory alarms
• Configure whether or not an alarm triggers the failsafe relay and illuminates the alarm indicator LED on the
device
• Configure the severity of most alarms (i.e. emergency, alert, critical, error, etc.), with the exception of some
where the severity is fixed
Each alarm is categorized by its type (or subsystem):
Alarm Type Description
Admin Admin alarms are for administrative aspects of the device, such as feature-key problems.
Chassis Chassis alarms are for physical or electrical problems, or similar events of interest. This includes irregular
voltages at the power supply or the insertion or removal of a module.
Switch Switch alarms are for link up/down events on switch interfaces.
WAN WAN alarms are for T1/E1 and DDS interface related events, such as link up/down events.
Cellmodem Cellular alarms are for cellular interface related events, such as link up/down events.
Security Security alarms are for certificate expiry events. This includes warnings 30 days before a certificate is set to
expire and when an expired certificate is installed.
Section 4.6.1
For information on how to clear or acknowledge an active alarm, refer to Section 4.6.2, “Clearing and
Acknowledging Alarms”.
Section 4.6.2
Section 4.6.2.1
Clearing Alarms
Non-conditional alarms must be cleared by the user. Conditional alarms, when configured, are cleared
automatically.
To clear a non-conditional alarm, type:
admin alarms active-alarms alarm clear
Section 4.6.2.2
Acknowledging Alarms
To acknowledge an alarm, type:
admin alarms active-alarms alarm acknowledge
Section 4.6.3
Configuring an Alarm
While all alarms are pre-configured on the device, some alarms can be modified to suit the application. This
includes changing the severity and enabling/disabling certain features.
NOTE
The failrelay-enable and led-enable parameters are non-configurable for link up alarms.
Where:
• type is the type of alarm
• alarm is the alarm ID
3. Configure the following parameters as required:
NOTE
Depending on the alarm type, some of the parameters shown are not available.
Parameter Description
severity { severity } Synopsis: emergency, alert, critical, error, warning, notice, info, debug
The severity level can be one of emergency, alert, critical, error, warning, notice, info,
and debug. This cannot be changed for some alarms.
admin-enable If disabled, the alarm is not reported in the active list and does not actuate LED/failrelay.
led-enable If enabled, the main 'Alarm' LED light will be red when this alarm is asserted. If disabled,
the main 'Alarm' LED light is not affected by this alarm.
auto-clear If enabled, the LED and failrelay will be cleared automatically when condition is met.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7
NOTE
Only admin users can read/write certificates and keys on the device.
Section 4.7.1
Section 4.7.1.1
Viewing a List of CA Certificates and CRLs
To view a list of certificates issued by a Certified Authority (CA) and the Certificate Revocation Lists (CRLs)
associated with them, type:
show running-config security crypto ca
If certificates have been configured, a table or list similar to the following example appears:
If no certificates have been configured, add certificates as needed. For more information, refer to Section 4.7.1.3,
“Adding a CA Certificate and CRL”.
Section 4.7.1.2
Viewing the Status of a CA Certificate and CRL
To view the status of a CA certificate, type:
show security crypto ca certificate key-cert-sign-certificate-status
Where:
• certificate is the name of the certificate
This table or list provides the following information:
Parameter Description
issuer
subject
To view the status of a Certificate Revocation List (CRL) that was signed by a separate certificate, type:
show security crypto ca certificate crl-sign-certificate-status
Where:
• certificate is the name of the certificate
This table or list provides the following information:
Parameter Description
issuer
subject
Parameter Description
To view the status of a Certificate Revocation List (CRL) that was not signed by a separate certificate, type:
show security crypto ca certificate crl-status
Where:
• certificate is the name of the certificate
This table or list provides the following information:
Parameter Description
issuer
Section 4.7.1.3
Adding a CA Certificate and CRL
To add a certificate issued by a Certified Authority (CA) and its associated Certificate Revocation List (CRL), do
the following:
NOTE
Only admin users can read/write certificates and keys on the device.
NOTE
Before inserting the contents of the certificate, enter multi-line mode by pressing Esc+m. Press
Ctrl+d to exit multi-line mode after the certificate has been added.
Where:
• certificate is the name of the certificate
• contents is the contents of the certificate
4. Add the associated Certificate Revocation List (CRL).
NOTE
Large CRLs (bigger than 100KB) are not currently supported and may be difficult to add/view in
the configuration.
NOTE
Before inserting the contents of the CRL, enter multi-line mode by pressing Esc+m. Press Ctrl+d
to exit multi-line mode after the CRL has been added.
Where:
▪ certificate is the name of the certificate
▪ contents is the contents of the signed CRL
• If the CRL is not signed, type:
security crypto ca certificate crl contents
Where:
▪ certificate is the name of the certificate
▪ contents is the contents of the CRL
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.1.4
Deleting a CA Certificate and CRL
To delete a certificate issued by a Certified Authority (CA) and its associated Certificate Revocation List (CRL), do
the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the CA certificate and its associated Certificate Revocation List (CRL) by typing:
no security crypto ca certificate
Where:
• certificate is the name of the certificate
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.2
NOTE
Private keys are automatically encrypted using an AES-CFB-128 cipher to protect them from being
viewed by unauthorized users.
Section 4.7.2.1
Viewing a List of Private Keys
To view a list of unsigned private keys, type:
show running-config security crypto private-key
If private keys have been configured, a table or list similar to the following example appears:
If no private keys have been configured, add keys as needed. For more information, refer to Section 4.7.2.2,
“Adding a Private Key”.
Section 4.7.2.2
Adding a Private Key
To add an unsigned private key, do the following:
1. Enable auto-wizard by typing:
autowizard true
Where:
• name is the name of the private key
4. Configure the following parameter(s) as required:
NOTE
Before inserting the contents of the key, enter multi-line mode by pressing Esc+m. Press Ctrl+d to
exit multi-line mode after the key has been added.
Parameter Description
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.2.3
Deleting a Private Key
To delete an unsigned private key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the private key by typing:
no security crypto private-key key name
Where:
• name is the name of the private key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.3
Section 4.7.3.1
Viewing a List of Public Keys
To view a list of unsigned public keys, type:
show running-config security crypto public-key
If public keys have been configured, a table or list similar to the following example appears:
If no public keys have been configured, add keys as needed. For more information, refer to Section 4.7.3.2,
“Adding a Public Key”.
Section 4.7.3.2
Adding a Public Key
To add an unsigned public key, do the following:
NOTE
Do not associate the public key with the private key if the public key belongs to another device.
1. Make sure the private key associated with the public key has been added. For more information, refer to
Section 4.7.2.2, “Adding a Private Key”.
2. Enable auto-wizard by typing:
autowizard true
Where:
• name is the name of the public key
5. Configure the following parameter(s) as required:
NOTE
Before inserting the contents of the key, enter multi-line mode by pressing Esc+m. Press Ctrl+d to
exit multi-line mode after the key has been added.
Parameter Description
private-key-name { private-key-name } The private key name associated with this public key.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.3.3
Deleting a Public Key
To delete an unsigned public key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the public key by typing:
no security crypto public-key key name
Where:
• name is the name of the public key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.4
Managing Certificates
The following sections describe how to configure and manage certificates on the device:
• Section 4.7.4.1, “Viewing a List of Certificates”
• Section 4.7.4.2, “Viewing the Status of a Certificate”
• Section 4.7.4.3, “Adding a Certificate”
• Section 4.7.4.4, “Deleting a Certificate”
Section 4.7.4.1
Viewing a List of Certificates
To view a list of certificates, type:
show running-config security crypto certificate
If certificates have been configured, a table or list similar to the following example appears:
If no certificates have been configured, add certificates as needed. For more information, refer to Section 4.7.4.3,
“Adding a Certificate”.
Section 4.7.4.2
Viewing the Status of a Certificate
To view the status of a certificate, type:
show security crypto certificate certificate status
Where:
• certificate is the name of the certificate
This table or list provides the following information:
Parameter Description
issuer
subject
Section 4.7.4.3
Adding a Certificate
To add a certificate, do the following:
NOTE
Only admin users can read/write certificates and keys on the device.
1. Make sure the required CA certificates, public keys and/or private keys have been added to the device.
• For more information about adding CA Certificates, refer to Section 4.7.1.3, “Adding a CA Certificate and
CRL”
• For more information about adding public keys, refer to Section 4.7.3.2, “Adding a Public Key”
• For more information about adding private keys, refer to Section 4.7.2.2, “Adding a Private Key”
2. Enable auto-wizard by typing:
autowizard true
Where:
• certificate is the name of the certificate.
5. Configure the following parameter(s) as required:
NOTE
Before inserting the contents of the certificate, enter multi-line mode by pressing Esc+m. Press
Ctrl+d to exit multi-line mode after the certificate has been added.
Parameter Description
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.7.4.4
Deleting a Certificate
To delete a certificate, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the certificate by typing:
no security crypto certificate certificate
Where:
• certificate is the name of the certificate.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.8
NOTE
For more information about the RADIUS protocol, refer to RFC 2865 [http://tools.ietf.org/html/rfc2865].
For more information about the Extensible Authentication Protocol (EAP), refer to RFC 3748 [http://
tools.ietf.org/html/rfc3748].
IMPORTANT!
The user authentication mode must be set to radius_local for users to be authenticated against the
RADIUS server. For more information about setting the authentication mode, refer to Section 4.4,
“Setting the User Authentication Mode”.
IMPORTANT!
RADIUS messages are sent as UDP messages. The switch and the RADIUS server must use the
same authentication and encryption key.
In a RADIUS access request, the following attributes and values are typically sent by the RADIUS client to the
RADIUS server:
Attribute Value
User-Password { password }
Service-Type 1
A RADIUS server may also be used to authenticate access on ports with 802.1X security support. When this is
required, the following attributes are sent by the RADIUS client to the RADIUS server:
Attribute Value
User-Name { The username as derived from the client's EAP identity response }
Service-Type 2
Frame-MTU 1500
Attribute Value
a
EAP-Message { A message(s) received from the authenticating peer }
a
EAP-Message is an extension attribute for RADIUS, as defined by RFC 2869.
Primary and secondary RADIUS servers, typically operating from a common database, can be configured for
redundancy. If the first server does not respond to an authentication request, the request will be forwarded to the
second server until a positive/negate acknowledgement is received.
NOTE
RADIUS authentication activity is logged to the authentication log file var/log/auth.log. Details
of each authentication including the time of occurence, source and result are included. For more
information about the authentication log file, refer to Section 3.9.1, “Viewing Logs”.
ROX II supports RADIUS authenticaton for the LOGIN and PPP services. Different RADIUS servers can be
configured to authenticate both services separately or in combination.
The LOGIN services consist of the following access types:
• Local console logins via the serial port
• Remote shell logins via SSH and HTTPS
• Secure file transfers using HTTPS, SCP and SFTP (based on SSH)
Authentication requests for LOGIN services will attempt to use RADIUS first and any local authentication settings
will be ignored. Only when there is no response (positive/negative) from any of the configured RADIUS servers
will ROX II authenticate users locally.
The PPP service represents incoming PPP connections via a modem. Authentication requests to the PPP service
use RADIUS only. In the event that no response is received from any configured RADIUS server, ROX II will not
complete the authentication request.
The following sections describe how to configure and manage RADIUS authentication:
• Section 4.8.1, “Configuring RADIUS Authentication for LOGIN Services”
• Section 4.8.2, “Configuring RADIUS Authentication for PPP Services”
• Section 4.8.3, “Configuring RADIUS Authentication for Switched Ethernet Ports”
Section 4.8.1
IMPORTANT!
Passwords are case-sensitive.
3. Configure the primary or secondary RADIUS server by typing either primary or secondary and
configuring the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.8.2
IMPORTANT!
Passwords are case-sensitive.
3. Configure the primary or secondary RADIUS server by typing either primary or secondary and
configuring the following parameter(s) as required:
Parameter Description
password { password }
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.8.3
IMPORTANT!
Passwords are case-sensitive.
3. Configure the primary or secondary RADIUS server by typing either primary or secondary and
configuring the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.9
Managing Users
ROX II allows for up to three user profiles to be configured locally on the device. Each profile corresponds to one
of the following access levels:
• Guest
• Operator
• Admin
The access levels provide or restrict the user's ability to change settings and execute various commands.
User Type
Rights
Guest Operator Admin
View Settings ü ü ü
Clear Logs ü ü ü
Reset Alarms û ü ü
Clear Statistics û ü ü
Run Commands û û ü
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. To prevent unauthorized access to
the device, make sure to change the default passwords for all users before commissioning the device.
For more information, refer to Section 4.10.2, “Setting a User Password/Passphrase”.
Section 4.9.1
If users have been configured, a table or list similar to the following example appears:
If no user accounts have been configured, add user accounts as needed. For more information, refer to
Section 4.9.2, “Adding a User”.
Section 4.9.2
Adding a User
To add a new user account, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the user account by typing:
admin users name name role role
Where:
• name is the name of the user account
• role is the role of the user. The options are administrator, operator, and guest.
3. To set the user password, follow the instructions in Section 4.10.2, “Setting a User Password/Passphrase”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.9.3
Deleting a User
To delete a user account, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the user account by typing:
no admin users name
Where:
Section 4.9.4
Monitoring Users
Users currently logged in to the device are monitored by ROX II and can be viewed through the CLI. ROX II
allows administrators to monitor users, log users out, and broadcast message to all users.
To view a list of users currently logged in to the device, type:
who
ruggedcom# who
Session User Context From Proto Date Mode
*147 admin cli 192.168.0.200 ssh 11:04:54 operational
145 admin webui 192.168.0.200 https 10:51:05 operational
The following sections describe other actions that can be used to manage users logged in to the device:
• Section 4.9.4.1, “Kicking Users from the Network”
• Section 4.9.4.2, “Sending Messages to Users”
Section 4.9.4.1
Kicking Users from the Network
To log a user out of the device, type:
Type:
logout [[session | number] [user | profile]]
Where:
• number is the session number
• profile is the name of the user profile
Section 4.9.4.2
Sending Messages to Users
To broadcast a message to all users or a specific user, type:
send [profile | all] message
Where:
• profile is the name of the user profile
• message is the message
Section 4.10
NOTE
User authentication can also be verified through a RADIUS server. When enabled for authentication
and authorization, the RADIUS server will be used in the absence of any local settings. For
more information about configuring a RADIUS server, refer to Section 4.8, “Managing RADIUS
Authentication”.
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. To prevent unauthorized access to
the device, change the default passwords before commissioning the device.
CAUTION!
Accessibility hazard – risk of data loss. Do not forget the passwords for the device. If both the
maintenance and boot passwords are forgotten, the device must be returned to Siemens Canada Ltd.
for repair. This service is not covered under warranty. Depending on the action that must be taken to
regain access to the device, data may be lost.
The following sections describe how to configure and manage passwords and passphrases:
• Section 4.10.1, “Configuring Password/Passphrase Complexity Rules”
• Section 4.10.2, “Setting a User Password/Passphrase”
• Section 4.10.3, “Setting the Boot Password/Passphrase”
• Section 4.10.4, “Setting the Maintenance Password/Passphrase”
• Section 4.10.5, “Resetting the Admin Password/Passphrase”
• Section 4.10.6, “Resetting the Boot Password/Passphrase”
• Section 4.10.7, “Resetting the Maintenance Password/Passphrase”
Section 4.10.1
NOTE
Password/passphrase complexity rules do not apply to passwords/passphrases previously configured
on the device.
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.10.2
IMPORTANT!
Passwords/passphrases that contain special characters, including spaces, must be wrapped in quotes
(e.g. "password!2#").
If special characters are used, make sure to encapsulate the password in double-quotation marks (") as follows:
NOTE
ROX II supports the following special characters in passwords/passphrases: !@#$%^&*()_+-={}
[];:',<.>/?\|`~.
Where:
• profile is the user profile (e.g. admin, oper or guest)
Section 4.10.3
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. User authentication is not required to
access BIST mode. Configure a boot password/passphrase to control initial access to the device.
IMPORTANT!
The boot password/passphrase is only supported by version 2010.09RR16 or later of the uboot binary.
For information about determining and/or upgrading the uboot version installed on the device, refer to
the application note Upgrading Uboot on ROX Devices available on www.siemens.com/ruggedcom.
NOTE
To set a blank password/passphrase, type "" (double quotes).
IMPORTANT!
Passwords/passphrases that contain special characters, including spaces, must be wrapped in quotes
(e.g. "password!2#").
NOTE
A passphrase must consist of four separate words and each word must be 4 to 20 characters long.
If special characters are used, make sure to encapsulate the password in double-quotation marks (") as
follows:
NOTE
ROX II supports the following special characters in passwords/passphrases: !@#$%^&*()_+-={}
[];:',<.>/?\|`~.
Where:
Section 4.10.4
CAUTION!
Configuration hazard – risk of data corruption. Maintenance mode is provided for troubleshooting
purposes and should only be used by Siemens Canada Ltd. technicians. As such, this mode is not fully
documented. Misuse of this maintenance mode commands can corrupt the operational state of the
device and render it inaccessible.
IMPORTANT!
Passwords/passphrases that contain special characters, including spaces, must be wrapped in quotes
(e.g. "password!2#").
NOTE
A passphrase must consist of four separate words and each word must be 4 to 20 characters long.
If special characters are used, make sure to encapsulate the password in double-quotation marks (") as
follows:
NOTE
ROX II supports the following special characters in passwords/passphrases: !@#$%^&*()_+-={}
[];:',<.>/?\|`~.
Where:
• new-password-passphrase is the new password/passphrase. Make sure the password/passphrase
complies with the password complexity rules configured for this device.
• old-password-passphrase is the old password/passphrase
Section 4.10.5
NOTE
The admin password/passphrase must be reset on both partitions.
IMPORTANT!
Passwords/passphrases that contain special characters, including spaces, must be wrapped in
quotes (e.g. "password!2#").
If special characters are used, make sure to encapsulate the password in double-quotation marks (") as
follows:
NOTE
ROX II supports the following special characters in passwords/passphrases: !@#$%^&*()_+-={}
[];:',<.>/?\|`~.
Where:
• new-password-passphrase is the new password/passphrase. Make sure the password/passphrase
complies with the password complexity rules configured for this device.
8. Reboot the device. For more information, refer to Section 3.5, “Rebooting the Device”.
9. As soon as the device starts to boot up, press ESC. A list of possible boot modes for each partition appears.
NOTE
In the example above, the text Auto booting [4-0] indicates the active partition is Boot
Partition 4.
10. Enter the inactive partition by typing the associated target number. For example, if the active partition is Boot
Partition 4, type 6-0 and press Enter to enter Boot Partition 6.
11. Repeat Step 1 and Step 10 to reset the password/passphrase on the inactive partition and switch back to the
original partition.
Section 4.10.6
Section 4.10.7
CAUTION!
Configuration hazard – risk of data corruption. Maintenance mode is provided for troubleshooting
purposes and should only be used by Siemens Canada Ltd. technicians. As such, this mode is not fully
documented. Misuse of this maintenance mode commands can corrupt the operational state of the
device and render it inaccessible.
NOTE
The maintenance password/passphrase must be reset on both partitions.
NOTE
In the example above, the text Auto booting [4-0] indicates the active partition is Boot
Partition 4.
5. Enter the inactive partition by typing the associated target number. For example, if the active partition is Boot
Partition 4, type 6-0 and press Enter to enter Boot Partition 6.
6. Log in to ROX II . For more information about logging in to ROX II, refer to Section 2.3, “Logging In”.
7. Repeat Step 1 and Step 5 to reset the password/passphrase on the inactive partition and switch back to the
original partition.
Section 4.11
Scheduling Jobs
The ROX II scheduler allows users to create jobs that execute command line interface (CLI) commands at a
specific date and time, or in response to specific configuration changes. Typical applications include scheduling
the regular clearing of system logs, or performing periodic file transfers to remote servers.
Section 4.11.1
If jobs have been configured, a table or list similar to the following example appears:
If no jobs have been configured, add jobs as needed. For more information, refer to Section 4.11.2, “Adding
Scheduled Jobs”.
Section 4.11.2
Parameter Description
{ scheduler-job-name } The name of the scheduled job. The name can be up to 64 characters in length.
Parameter Description
For periodic jobs, sets the minutes portion of the job launch time. Valid values are in
the range of 0 to 59. If no value is set, the scheduler uses the default value of 0 and
launches the job every hour on the the hour.
• To specify a single value, enter the value in the field. For example, to launch the job
10 minutes past the hour, enter 10.
• To specify a list of values, enter the values as a comma-separated list. For example,
to launch the job at 15, 30, and 45 minutes past the hour, enter 15,30,45.
• To specify a range of values, enter the range as comma-separated values. For
example, to launch the job every minute between 30 and 45 minutes past the hour,
enter 30-45.
This parameter is not required for configchange jobs.
job-hour { job-hour } For periodic jobs, sets the hour portion of the job launch time, in the 24-hour clock
format. Valid values are in the range of 0 to 23. If no value is set, the job launches every
hour at the time set in the Minute field.
• To specify a single value, enter the value in the field. For example, to launch the job at
5:00 pm, enter 17.
• To specify a list of values, enter the values as a comma-separated list. For example,
to launch the job at 9:00 am, 12:00 pm, and 5:00 pm, enter 9,12,17.
• To specify a range of values, enter the range as comma-separated values. For
example, to launch the job every hour between 9:00 am and 5:00 pm, enter 9-17.
This parameter is not required for configchange jobs.
job-day-month { job-day-month } For periodic jobs, sets the day of the month on which to run the scheduled job. Valid
values are in the range of 1 to 31. If no value is set, the job launches every day.
• To specify a single value, enter the value in the field. For example, to launch the job
on the tenth day of the month, enter 10.
• To specify a list of values, enter the values as a comma-separated list. For example,
to launch the job on the first, fifteenth, and thirtieth days of the month, enter 10,15,30.
• To specify a range of values, enter the range as comma-separated values. For
example, to launch the job on days one through fifteen, enter 1-15.
This parameter is not required for configchange jobs.
job-month { job-month } For periodic jobs, sets the month in which to run the scheduled job. Valid values are in
the rage of 1 to 12. If no value is set, the job launches every day.
• To specify a single value, enter the value in the field. For example, to set the month to
February, enter 2.
• To specify a list of values, enter the values as a comma-separated list. For example,
to set the months to January, June, and December, enter 1,6,12.
• To specify a range of values, enter the range as comma-separated values. For
example, to set the months to January through June, enter 1-6.
This parameter is not required for configchange jobs.
job-day-week { job-day-week } For periodic jobs, sets the day of the week on which to run the scheduled job. Valid
entries are in the range of 0 to 6, where 0 represents Sunday, 1 represents Monday, and
so on. If no value is set, the job launches every day.
• To specify a single value, enter the value in the field. For example, to set the day to
Monday, enter 1.
• To specify a list of values, enter the values as a comma-separated list. For example,
to set the days to Friday, Saturday, and Sunday, enter 5,6,0.
• To specify a range of values, enter the range as comma-separated values. For
example, to set the days to Monday through Friday, enter 1-5.
This parameter is not required for configchange jobs.
job-command { job-command } One or more commands to execute at the scheduled time. For example, this command
saves the running configuration to a file name 'myconfig': show running-config | save
myconfig.
Parameter Description
Do not use interactive commands or commands that require a manual response or
confirmation.
When entered in the CLI, the command string must be enclosed in quotation marks.
When entered in the WebUI, the command string must not be enclosed in quotation
marks.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 4.11.3
Where:
• name is the name of the scheduled job
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
139
Chapter 5 RUGGEDCOM ROX II
Setup and Configuration User Guide
Section 5.1
Interface IP Address
switch.0001 192.168.0.2/24
Section 5.1.1
10. Make sure all computers connected to the device can ping one another.
Section 5.1.2
Section 5.2
Parameter Description
Parameter Description
Sends the ICMP redirect.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.3
Parameter Description
greeting { greeting } Sets the greeting presented when the user logs in to the CLI. The string must be
enclosed in quotation marks.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.4
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.5
Parameter Description
Parameter Description
The maximum idle time before terminating a WebUI session. If the session is waiting for
notifications, or has a pending confirmed commit, the idle timeout is not used. A value of
0 means no timeout. PT30M means 30 minutes.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.6
IMPORTANT!
The BFA protection system is not applicable to SNMP. Follow proper security practices for configuring
SNMP. For example:
• Do not use SNMP over the Internet
• Use a firewall to limit access to SNMP
• Do not use SNMPv1
NOTE
Failed logins must happen within 10 minutes of each other to be considered malicious behavior.
Once the time has expired, the host will be allowed to access the device again. If the malicious behavior
continues from the same IP address (e.g. another 15 failed login attempts), then the IP address will be blocked
again, but the time blocked will increase by a factor of 1.5. This will continue as long as the host repeats the
same behavior.
IMPORTANT!
Enabling, disabling or making a configuration change to the firewall will reset – but not disable – the
BFA protection mechanism. Any hosts that were previously blocked will be allowed to log in again. If
multiple hosts are actively attacking at the time, this could result in reduced system performance.
Jun 5 10:12:52 ruggedcom confd[3386]: audit user: admin/0 Provided bad password
Jun 5 10:12:52 ruggedcom rmfmgr[3512]: login failed, reason='Bad password', user ipaddr='172.11.150.1'
Jun 5 10:12:52 ruggedcom confd[3386]: audit user: admin/0 Failed to login over ssh: Bad password
Jun 5 14:43:04 ruggedrouter sshguard[24720]: Blocking 172.59.9.1:4 for >630secs: 60 danger in 5 attacks
over 70 seconds (all: 60d in 1 abuses over 70s).
NOTE
For information about how to view auth.log, refer to Section 3.9.1, “Viewing Logs”.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.7
NOTE
It is possible to create a route on a locally connected broadcast network (i.e. without a gateway)
without also bringing up a corresponding IP address on that interface. For example, it would
be possible to add 192.168.1.0/24 to switch.0001, which has an IP address of 10.0.1.1 but no
corresponding alias address on the 192.168.1.0/24 subnet.
If IPv4 routes have been configured, a table or list similar to the following example appears:
Parameter Description
Parameter Description
If no IPv4 routes have been configured, add routes as needed. For more information, refer to Section 5.37.3.2,
“Adding an IPv4 Address”.
Section 5.8
If IPv6 routes have been configured, a table or list similar to the following example appears:
Parameter Description
If no IPv6 routes have been configured, add routes as needed. For more information, refer to Section 5.22.3,
“Adding an IPv6 Static Route”.
Section 5.9
Parameter Description
Section 5.10
Managing NETCONF
The Network Configuration Protocol (NETCONF) is a network configuration protocol developed by the Internet
Engineering Task Force (IETF). NETCONF provides functions to download, upload, change, and delete the
configuration data on network devices. ROX II devices also support the ability to collect data and perform direct
actions on the device, such as rebooting the device, clearing statistics, and restarting services.
NOTE
For more information about NETCONF and its use, refer to the ROX II NETCONF Reference Guide.
Section 5.10.1
CAUTION!
Security hazard – risk of unauthorized access/exploitation. Configure an idle timeout period for
NETCONF to prevent unauthorized access (e.g. a user leaves their station unprotected) or denial
of access (e.g. a guest user blocks an admin user by opening the maximum number of NETCONF
sessions).
IMPORTANT!
Before configuring an idle timeout on a device managed by RUGGEDCOM NMS, make sure NMS
is configured to support a timeout period for NETCONF sessions.
Parameter Description
Parameter Description
inSessions - inBadHellos = 'The number of correctly started NETCONF sessions.'
in-bad-rpcs The total number of RPCs which were parsed correctly, but
couldn't be serviced because they contained non-conformant XML.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.10.2
Parameter Description
in-bad-rpcs The total number of RPCs which were parsed correctly, but
Parameter Description
couldn't be serviced because they contained non-conformant XML.
Section 5.11
Managing SNMP
The Simple Network Management Protocol (SNMP) is used by network management systems and the devices
they manage. It is used to report alarm conditions and other events that occur on the devices it manages.
In addition to SNMPv1 and SNMPv2, ROX II also supports SNMPv3, which offers the following features:
• Provides the ability to send a notification of an event via traps. Traps are unacknowledged UDP messages and
may be lost in transit.
• Provides the ability to notify via informs. Informs simply add acknowledgment to the trap process, resending the
trap if it is not acknowledged in a timely fashion.
• Encrypts all data transmitted by scrambling the contents of each packet to prevent it from being seen by an
unauthorized source. The AES CFB 128 and DES3 encryption protocols are supported.
• Authenticates all messages to verify they are from a valid source.
• Verifies the integrity of each message by making sure each packet has not been tampered with in-transit.
SNMPv3 also provides security models and security levels. A security model is an authentication strategy that is
set up for a user and the group in which the user resides. A security level is a permitted level of security within a
security model. A combination of a security model and security level will determine which security mechanism is
employed when handling an SNMP packet.
Before configuring SNMP, note the following:
• each user belongs to a group
• a group defines the access policy for a set of users
• an access policy defines what SNMP objects can be accessed for: reading, writing and creating notifications
• a group determines the list of notifications its users can receive
• a group also defines the security model and security level for its users
The following sections describe how to configure and manage SNMP:
• Section 5.11.1, “MIB Files and SNMP Traps”
• Section 5.11.2, “Enabling and Configuring SNMP Sessions”
• Section 5.11.3, “Viewing Statistics for SNMP”
• Section 5.11.4, “Discovering SNMP Engine IDs”
• Section 5.11.5, “Managing SNMP Communities”
• Section 5.11.6, “Managing SNMP Target Addresses”
• Section 5.11.7, “Managing SNMP Users”
• Section 5.11.8, “Managing SNMP Security Model Mapping”
• Section 5.11.9, “Managing SNMP Group Access”
Section 5.11.1
NOTE
SNMP traps are not configurable in ROX II.
coldStart
A coldStart trap signifies that the SNMP entity, supporting a notification originator
application, is reinitializing itself and that its configuration may have been altered.
warmStart
A warmStart trap signifies that the SNMP entity, supporting a notification originator
application, is reinitializing itself such that its configuration is unaltered.
topologyChange
A topologyChange trap is sent by a bridge when any of its configured ports
transitions from the Learning state to the Forwarding state, or from the Forwarding
state to the Blocking state. The trap is not sent if a newRoot trap is sent for the
same transition. Implementation of this trap is optional.
linkDown
A linkDown trap signifies that the SNMP entity, acting in an agent role, has
detected that the ifOperStatus object for one of its communication links is about
to enter the down state from some other state (but not from the notPresent state).
This other state is indicated by the included value of ifOperStatus.
trapPowerSupplyTrap
The main subtree for the RUGGEDCOM power supply trap.
trapSwUpgradeTrap
The main subtree for the RUGGEDCOM software upgrade trap.
trapCfgChangeTrap
The main subtree for the RUGGEDCOM configuration change trap.
trapFanBankTrap
The main subtree for the RUGGEDCOM fan bank trap.
trapHotswapModuleStateChangeTrap
The main subtree for the RUGGEDCOM fan hot-swap module state change trap.
Section 5.11.2
Parameter Description
Parameter Description
The maximum number of concurrent SNMP sessions.
snmp-engine-id { snmp-engine-id } Provides specific identification for the engine/device. By default, this value is set to use
the base MAC address within the Engine ID value.
When using SNMPv3: If you change this value, you must also change the User SNMP
Engine ID value for SNMP users.
source-ip { source-ip } If set, all traffic/traps originating from this device shall use the configured IP Address for
the Source IP.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.3
If statistics are available, a table or list similar to the following example appears:
Parameter Description
unsupported-sec-levels The total number of packets received by the SNMP engine which were dropped because
they requested a securityLevel that was unknown to the SNMP engine or otherwise
unavailable.
not-in-time-windows The total number of packets received by the SNMP engine which were dropped because
they appeared outside of the authoritative SNMP engine's window.
unknown-user-names The total number of packets received by the SNMP engine which were dropped because
they referenced a user that was not known to the SNMP engine.
Parameter Description
unknown-engine-ids The total number of packets received by the SNMP engine which were dropped because
they referenced an snmpEngineID that was not known to the SNMP engine.
wrong-digests The total number of packets received by the SNMP engine which were dropped because
they did not contain the expected digest value.
decryption-errors The total number of packets received by the SNMP engine which were dropped because
they could not be decrypted.
Section 5.11.4
Section 5.11.5
Section 5.11.5.1
Viewing a List of SNMP Communities
To view a list of SNMP communities configured on the device, type:
show running-config admin snmp snmp-community name
If communities have been configured, a table or list similar to the following example appears:
!
!
By default, private and public communities are pre-configured. If additional communities are required, add them
as needed. For more information, refer to Section 5.11.5.2, “Adding an SNMP Community”.
Section 5.11.5.2
Adding an SNMP Community
To add an SNMP community, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the SNMP community by typing:
admin snmp snmp-community name
Where:
• name is the name of the community
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.5.3
Deleting an SNMP Community
To delete an SNMP community, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the SNMP community by typing:
no admin snmp snmp-community name
Where:
• name is the name of the community
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.6
Section 5.11.6.1
Viewing a List of SNMP Target Addresses
To view a list of SNMP target addresses configured on the device, type:
If target addresses have been configured, a table or list similar to the following example appears:
!
!
If no SNMP target addresses have been configured, add target addresses as needed. For more information, refer
to Section 5.11.6.2, “Adding an SNMP Target Address”.
Section 5.11.6.2
Adding an SNMP Target Address
To add an SNMP target address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the SNMP target address by typing:
admin snmp snmp-target-address target-name
Where:
• target-name is a descriptive name for the target (e.g. Corportate NMS)
3. Configure the following parameter(s) as required:
Parameter Description
user-name { user-name } The user name to be used in communications with this target.
Parameter Description
• noAuthnoPriv: Communication without authentication and privacy.
control-community { control-community } Restricts incoming SNMP requests from the IPv4 or IPv6 address associated with this
community.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.6.3
Deleting an SNMP Target Address
To delete an SNMP target address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the SNMP target address by typing:
no admin snmp snmp-target-address target-name
Where:
• target-name is a descriptive name for the target (e.g. Corportate NMS)
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.7
Section 5.11.7.1
Viewing a List of SNMP Users
To view a list of SNMP users configured on the device, type:
show running-config admin snmp snmp-user
If users have been configured, a table or list similar to the following example appears:
!
!
If no SNMP users have been configured, add users as needed. For more information, refer to Section 5.11.7.2,
“Adding an SNMP User”.
Section 5.11.7.2
Adding an SNMP User
To add an SNMP user, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the SNMP user by typing:
admin snmp snmp-user id name
Where:
• id is the ID for the user
• name is the name of the user
3. Configure the following parameter(s) as required:
Parameter Description
{ user-engine-id } The administratively-unique identifier for the SNMP engine; a value in the format
nn:nn:nn:nn:nn:...:nn, where nn is a 2-digit hexadecimal number. The minimum length is
5 octets. The maximum length is 32 octets. Each octet must be separated by a colon (:).
{ user-name } The user for the SNMP key. Select a user name from the list.
auth-key { auth-key } A free-text password in the format $0$<your password>. passphrase must be
minimum 8 characters long
privacy-key { privacy-key } A free-text password in the format $0$<your password>. passphrase must be
minimum 8 characters long
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.7.3
Deleting an SNMP User
To delete an SNMP user, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the SNMP user by typing:
no admin snmp snmp-user id name
Where:
• id is the ID for the user
• name is the name of the user
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.8
Section 5.11.8.1
Viewing a List of SNMP Security Models
To view a list of SNMP security models configured on the device, type:
show running-config admin snmp snmp-security-to-group
If target addresses have been configured, a table or list similar to the following example appears:
!
!
If no SNMP security models have been configured, add security models as needed. For more information, refer to
Section 5.11.8.2, “Adding an SNMP Security Model”.
Section 5.11.8.2
Adding an SNMP Security Model
To add an SNMP security model, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the SNMP security model by typing:
admin snmp snmp-security-to-group model name
Where:
• model is the security model
• name is the name of the user
3. Configure the following parameter(s) as required:
Parameter Description
{ user-name } The security name (a ROX user name) for the SNMP group.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.8.3
Deleting an SNMP Security Model
To delete an SNMP security model, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the SNMP security model by typing:
no admin snmp snmp-security-to-group model name
Where:
• model is the security model
• name is the name of the user
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.9
Section 5.11.9.1
Viewing a List of SNMP Groups
To view a list of SNMP groups configured on the device, type:
show running-config admin snmp snmp-access
If groups have been configured, a table or list similar to the following example appears:
!
!
If no SNMP groups have been configured, add groups as needed. For more information, refer to Section 5.11.9.2,
“Adding an SNMP Group”.
Section 5.11.9.2
Adding an SNMP Group
To add an SNMP group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the SNMP group by typing:
admin snmp snmp-access group model level
Where:
• group is the name of the group
• model is the security model for the group
• level is the security level for the group
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
The name of the read view to which the SNMP group has access: all-of-mib, restricted,
v1-mib, or no-view.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.11.9.3
Deleting an SNMP Group
To delete an SNMP group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the SNMP group by typing:
no admin snmp snmp-access group model level
Where:
• group is the name of the group
• model is the security model for the group
• level is the security level for the group
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12
NOTE
For more information about version 4 of NTP, refer to RFC 5905 [http://tools.ietf.org/html/rfc5905].
NTP is a fault-tolerant protocol that allows an NTP daemon to automatically select the best of several available
reference clocks to synchronize with. Multiple candidates can be combined to minimize the accumulated error.
The NTP daemon can also detect and avoid reference clocks that are temporarily or permanently advertising the
wrong time.
The NTP daemon achieves synchronization by making small and frequent changes to the internal clock. It
operates in a client-server mode, which allows it to synchronize the internal clock with NTP servers and act as an
NTP server for peer devices.
If multiple NTP servers are available to choose from, the NTP daemon will synchronize with the server that has
the lowest stratum. The stratum is a rating of the server compared to the server with the reference clock. The
reference clock itself appears at stratum 0. A server synchronized with a stratum n server will be running at
stratum n+1.
NTP hosts with a lower stratum are typically configured as NTP servers, while NTP hosts with higher stratums
are configured at the same stratum as their peers. If each NTP server fails, a configured peer will help in
providing the NTP time. It is recommended that at least one server and one peer be configured.
The NTP daemon knows which NTP servers and peers to use in three ways:
• The daemon is configured manually with list of servers to poll
• The daemon is configured manually with a list of peers to send to
• NTP servers issue advertisements to the daemon on broadcast or multicast address
NOTE
If a firewall is enabled, make sure UDP port 123 is open to send (if the router is an NTP client) or
receive (if the router is an NTP server).
NTP uses UDP/IP packets for data transfer, as UDP offers fast connections and response times, and transfers
them through UDP port 123.
The following sections describe how to configure and manage time synchronization functions:
• Section 5.12.1, “Configuring the Time Synchronization Settings”
• Section 5.12.2, “Configuring the System Time and Date”
• Section 5.12.3, “Configuring the System Time Zone”
• Section 5.12.4, “Configuring the Local Time Settings”
• Section 5.12.5, “Configuring NTP Multicast Clients”
• Section 5.12.6, “Configuring NTP Broadcast Clients”
• Section 5.12.7, “Enabling/Disabling the NTP Service”
• Section 5.12.8, “Viewing the NTP Service Status”
• Section 5.12.9, “Viewing the Status of Reference Clocks”
• Section 5.12.10, “Monitoring Subscribers”
• Section 5.12.11, “Managing NTP Servers”
• Section 5.12.12, “Managing NTP Broadcast/Multicast Addresses”
• Section 5.12.13, “Managing Server Keys”
• Section 5.12.14, “Managing Server Restrictions”
Section 5.12.1
3. Configure the local time settings. For more information, refer to Section 5.12.4, “Configuring the Local Time
Settings”.
4. If multicast addresses will be configured for the NTP server, configure the NTP multicast client. For more
information, refer to Section 5.12.5, “Configuring NTP Multicast Clients”.
5. If broadcast addresses will be configured for the NTP server, configure the NTP broadcast client. For more
information, refer to Section 5.12.6, “Configuring NTP Broadcast Clients”.
6. Add remote NTP servers. For more information, refer to Section 5.12.11.2, “Adding an NTP Server”.
7. Add broadcast/mutlicast addresses for the NTP server. For more information, refer to Section 5.12.12.2,
“Adding a Broadcast/Multicast Address”.
8. If required, add server authentication keys. For more information, refer to Section 5.12.13.2, “Adding a
Server Key”.
9. Add restrictions for the remote NTP servers. For more information, refer to Section 5.12.14.2, “Adding a
Server Restriction”.
10. Enable the NTP service. For more information, refer to Section 5.12.7, “Enabling/Disabling the NTP Service”.
11. View the status of the NTP service. For more information, refer to Section 5.12.8, “Viewing the NTP Service
Status”.
Section 5.12.2
Where:
• time-date is the date time in the format YYYY-MM-DD HH:MM:SS
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.3
NOTE
The Etc/GMT time zones conform to the POSIX style and have their signs reversed from common
usage. In POSIX style, zones west of Greenwich Mean Time (GMT) have a positive sign, while
zones east of GMT have a negative sign.
Where:
Section 5.12.4
Where:
• number is the stratum number of the local clock
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.5
Parameter Description
3. Add a multicast address for a known NTP server. For more information, refer to Section 5.12.12.2, “Adding a
Broadcast/Multicast Address”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.6
3. Add a broadcast address for a known NTP server. For more information, refer to Section 5.12.12.2, “Adding
a Broadcast/Multicast Address”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.7
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.8
Parameter Description
ntp-status Use this action to get the current NTP running status.
A character before an address is referred to as a tally code. Tally codes indicate the fate of the peer in the clock
selection process. The following describes the meaning of each tally code:
Tally Code Description
blank A blank tally code indicates the peer has been discarded either because it is unreachable, it is synchronized to
the same server (synch loop) or the synchronization distance is too far.
x This tally code indicates the peer has been discarded because its clock is not correct. This is referred to as a
falseticker.
. This tally code indicates the peer has been discarded because its synchronization distance is too poor to be
considered a candidate.
- This tally code indicates the peer has been discarded because its offset is too a significant compared to the
other peers. This is referred to as an outlier.
# This tally code indicates the peer is considered a candidate, but it is not among the top six sorted by
synchronization distance. If the association is short-lived, it may be demobilized to conserve resources.
o This tally code indicates the peer is the system peer, but the synchronization distance is derived from a Pulse-
Per-Second (PPS) signal.
Section 5.12.9
Parameter Description
when The number of seconds since the last poll of the reference clock.
Parameter Description
reach An 8-bit left-rotating register. Any 1 bit means that a time packet was received.
delay The time delay (in milliseconds) to communicate with the reference clock.
offset The offset (in milliseconds) between our time and that of the reference clock.
Section 5.12.10
Monitoring Subscribers
ROX II monitors the subscriptions of up to 600 hosts (e.g. clients, servers and peers) that are connected to the
NTP server.
To view the list of subscriber hosts, type:
show services ntp status monitor-list
If hosts are detected, a table or list similar to the following example appears:
Parameter Description
restrict Synopsis: ignore, kod, limited, lowpriotrap, nomodify, nopeer, noquery, noserve, notrap,
notrust, ntpport, version
Synopsis: "restrict" occurs in an unbounded array
Restrict flags.
average-interval Average interval (in seconds) between packets from this address.
Parameter Description
last-interval Interval (in seconds) between the receipt of the most recent packet from this address and
the completion of the retrieval of the status.
Section 5.12.11
Section 5.12.11.1
Viewing a List of NTP Servers
To view a list of NTP servers configured on the device, type:
show running-config services ntp server
If servers have been configured, a table or list similar to the following example appears:
!
!
If no servers have been configured, add servers as needed. For more information, refer to Section 5.12.11.2,
“Adding an NTP Server”.
Section 5.12.11.2
Adding an NTP Server
To configure an NTP server on the device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to services » ntp » server and configure the following parameter(s) as required:
Parameter Description
peer Allows you to enter and edit peers. Peers are NTP servers of the same stratum as the
router, and are useful when contact is lost with the hosts in the NTP servers menu.
iburst When the server is unreachable and at each poll interval, a burst of eight packets is sent
instead of one.
ntp-version { ntp-version } The version of the NTP protocol used to communicate with this host. Change this only if
it is known that the host requires a version other than 4.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.11.3
Deleting an NTP Server
To delete an NTP server configured on the device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the NTP server by typing:
no services ntp server IP Address
Where:
• IP Address is the internal address of the remote NTP server.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.12
Section 5.12.12.1
Viewing a List of Broadcast/Multicast Addresses
To view a list of broadcast/multicast addresses, type:
show running-config services ntp broadcast
If addresses have been configured, a table or list similar to the following example appears:
If no broadcast/multicast addresses have been configured, add addresses as needed. For more information, refer
to Section 5.12.12.2, “Adding a Broadcast/Multicast Address”.
Section 5.12.12.2
Adding a Broadcast/Multicast Address
To add a broadcast/multicast address for an NTP server, do the following:
IMPORTANT!
It is strongly recommended to enable NTP authentication, unless all hosts on the network are trusted.
1. Make sure a server key has been configured with the broadcast/multicast setting to enable NTP
authentication. For more information, refer to Section 5.12.13.2, “Adding a Server Key”.
2. Make sure the CLI is in Configuration mode.
3. Add the address by typing:
IMPORTANT!
The broadcast/multicast address must be the same as the address for the NTP multicast client.
Where:
• address is the broadcast or multicast address
4. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
ntp-version { ntp-version } The version of the NTP protocol used to communicate with this host. Change this only if
it is known that the host requires a version other than 4.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.12.3
Deleting a Broadcast/Multicast Address
To delete a broadcast/multicast address for an NTP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the restriction by typing:
no services ntp broadcast address
Where:
• address is the broadcast or multicast address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.13
Section 5.12.13.1
Viewing a List of Server Keys
To view a list of server keys, type:
show running-config services ntp key
If keys have been configured, a table or list similar to the following example appears:
!
!
!
If no server keys have been configured, add keys as needed. For more information, refer to Section 5.12.13.2,
“Adding a Server Key”.
Section 5.12.13.2
Adding a Server Key
To add a server key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the key by typing:
services ntp key id
Where:
• id is the ID assigned to the key
3. Configure the following parameter(s) as required:
Parameter Description
trusted Mark this key as trusted for the purposes of authenticating peers with symmetric key
cryptography. The authentication procedures require that both the local and remote
servers share the same key and key identifier.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.13.3
Deleting a Server Key
To delete a server key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the chosen key by typing:
no services ntp key id
Where:
• id is the ID assigned to the key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.14
Section 5.12.14.1
Viewing a List of Server Restrictions
To view a list of NTP server restrictions, type:
show running-config services ntp restrict
If restrictions have been configured, a table or list similar to the following example appears:
!
!
If no server restrictions have been configured, add restrictions as needed. For more information, refer to
Section 5.12.14.2, “Adding a Server Restriction”.
Section 5.12.14.2
Adding a Server Restriction
To add an NTP server restriction, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the restriction by typing:
services ntp restrict address mask
Where:
• address is the IP address to match. The address can be a host or network IP address, or a valid host
DNS name.
• mask is the mask used to match the address. A value of 255.255.255.255 indicates the address is treated
as the address of an individual host.
3. Configure the following parameter(s) as required:
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. It is recommended to restrict
queries via ntpdc and ntpq, unless the queries come from a localhost, or to disable this feature
entirely if not required. This prevents DDoS (Distributed Denial of Service) reflection/amplification
attacks. To set this restriction, configure the following flags: kod, nomodify, nopeer, noquery
and notrap.
Parameter Description
flags { flags } Synopsis: ignore, kod, limited, lowpriotrap, nomodify, nopeer, noquery, noserve,
notrap, notrust, ntpport, version
Parameter Description
Synopsis: "flags" occurs in an unbounded array
Flags restrict access to NTP services. An entry with no flags allows free access to the
NTP server.
• Version: Denies packets that do not match the current NTP version.
• ntpport: Matches only if the source port in the packet is the standard NTP UDP port
(123).
• notrust: Denies service unless the packet is cryptographically authenticated.
• notrap: Declines to to provide mode 6 control message trap service to matching hosts.
• noserve: Denies all packets except ntpq(8) and ntpdc(8) queries.
• noquery: Denies ntpq(8) and ntpdc(8) queries.
• nopeer: Denies packets which result in mobilizing a new association.
• nomodify: Denies ntpq(8) and ntpdc(8) queries attempting to modify the state of the
server; queries returning information are permitted.
• lowpriotrap: Declares traps set by matching hosts to be low priority.
• limited: Denies service if the packet spacing violates the lower limits specified in the
NTP discard setting.
• kod: Sends a Kiss-o'-Death (KoD) packet when an access violation occurs.
• ignore: Denies all packets.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.12.14.3
Deleting a Server Restriction
To delete an NTP server restriction, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the restriction by typing:
no services ntp restrict address mask
Where:
• address is the IP address to match. The address can be a host or network IP address, or a valid host
DNS name.
• mask is the mask used to match the address. A value of 255.255.255.255 indicates the address is treated
as the address of an individual host.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.13
Section 5.13.1
If profiles have been configured, a table or list similar to the following example appears:
If no GSM profiles have been configured, add profiles as needed. For more information, refer to Section 5.13.2,
“Adding a GSM Profile”.
Section 5.13.2
Where:
• name is the name of the profile
3. Configure the cellular network by typing the following commands:
Parameter Description
Parameter Description
Parameter Description
use-peer-dns Enables the DNS server entries that the PPP server recommends. Enables this option
unless you provide your own name servers.
dial-on-demand Activates dial-on-demand for this connection. The establishment of the PPP connection
is postponed until there is data to be transmitted via the interface. If dial-on-demand is
configured, Failover on Demand cannot be configured.
Prerequisite: If dial-on-demand is configured, Failover on Demand cannot be
configured.
failover-on-demand Activates link failover on-demand on this device. PPP link establishment on this device
is controlled by link failover. If Failover on Demand is configured, Dial on Demand
cannot be configured.
Prerequisite: If link failover on-demand is configured, Dial on Demand cannot be
configured.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.13.3
Where:
• name is the name of the profile
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.14
DHCP Option 82 provides a mechanism for assigning an IP Address based on the location of the client device in
the network. Information about the client’s location can be sent along with the DHCP request to the server. Based
on this information, the DHCP server makes a decision about an IP Address to be assigned.
DHCP Relay Agent takes the broadcast DHCP requests from clients received on the configured access port and
inserts the relay agent information option (Option 82) into the packet. Option 82 contains the VLAN ID (2 bytes)
and the port number of the access port (2 bytes: the circuit ID sub-option) and the switch’s MAC address (the
remote ID sub-option). This information uniquely defines the access port’s position in the network. For example,
in ROX II, the Circuit ID for VLAN 2 on Line Module (LM) 4 Port 15 is 00:00:00:02:04:0F.
The DHCP Server supporting DHCP Option 82 sends a unicast reply and echoes Option 82. The DHCP Relay
Agent removes the Option 82 field and broadcasts the packet to the port from which the original request was
received.
The DHCP Relay Agent communicates to the server on a management interface. The agent’s IP address is the
address configured for the management interface.
ROX II can be configured to act as a DHCP Relay Agent that forwards DHCP and BOOTP requests from
clients on one layer 2 network to one or more configured DHCP servers on other networks. This allows the
implementation of some measure of isolation between DHCP clients and servers.
The DHCP Relay Agent is configured to listen for DHCP and BOOTP requests on particular Ethernet and VLAN
network interfaces, and to relay to a list of one or more DHCP servers. When a request is received from a client,
ROX II forwards the request to each of the configured DHCP servers. When a reply is received from a server,
ROX II forwards the reply back to the originating client.
NOTE
While DHCP Relay and DHCP Server may both be configured to run concurrently, they may not be
configured to run on the same network interface.
Section 5.14.1
Parameter Description
dhcp-server-address { dhcp-server- The IP address of the DHCP server to which DHCP queries will be forwarded from this
address } relay agent.
3. Add client ports. For more information, refer to Section 5.14.3, “Adding DHCP Client Ports”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.14.2
If client ports have been configured, a table or list similar to the following example appears:
If no client ports have been configured, add client ports as needed. For more information, refer to Section 5.14.3,
“Adding DHCP Client Ports”.
Section 5.14.3
Where:
• slot is the name of the module location.
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.14.4
Where:
• slot is the name of the module location.
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15
Section 5.15.1
NOTE
At least one shared network must be available before a subnet is added.
4. Add and configure subnets. For more information, refer to Section 5.15.7.2, “Adding a Subnet”.
5. Add and configure hosts. For more information, refer to Section 5.15.9.2, “Adding a Host”.
6. Add and configure host-groups. For more information, refer to Section 5.15.11.2, “Adding a Host Group”.
Section 5.15.2
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.3
NOTE
Option 82 support should only be enabled If the DHCP server and clients are on the same subnet.
NOTE
The meaning of most Option 82 fields is determined by the DHCP relay client. To determine which
values are required by the client for special options, refer to the client documentation.
NOTE
DHCP relay support can also be enabled on an individual subnet. For more information, refer to
Section 5.15.7.3, “Configuring Subnet Options”.
To enable or disable DHCP relay support on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Enable or disable DHCP relay support by typing:
services dhcpserver options option82
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.4
If certificates have been configured, a table or list similar to the following example appears:
lease 192.168.0.11 {
starts 2 2012/11/13 20:38:37;
ends 2 2012/11/13 20:48:37;
hardware Ethernet 00:01:c0:0b:b7:70;
}
lease 192.168.0.8 {
starts 2 2012/11/13 20:38:47;
ends 2 2012/11/13 20:48:47;
hardware Ethernet 00:01:c0:0c:8b:a3;
client-hostname "ape2-PC";
}
lease 192.168.0.22 {
starts 2 2012/11/13 20:36:14;
ends 2 2012/11/13 20:46:14;
hardware Ethernet 00:01:c0:0b:b7:71;
}
Section 5.15.5
Section 5.15.5.1
Viewing a List of DHCP Listen Interfaces
To view a list of DHCP listen interfaces, type:
show running-config services dhcpserver interface
If DHCP listen interfaces have been configured, a table or list similar to the following example appears:
!
!
If no DHCP listen interfaces have been configured, add interfaces as needed. For more information, refer to
Section 5.15.5.2, “Adding a DHCP Listen Interface”.
Section 5.15.5.2
Adding a DHCP Listen Interface
To add a DHCP listen interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the interface by typing:
services dhcpserver interface name
Where:
• name is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.5.3
Deleting a DHCP Listen Interface
To delete a DHCP listen interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the interface by typing:
no services dhcpserver interface name
Where:
• name is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.6
Section 5.15.6.1
Viewing a List of Shared Networks
To view a list of shared networks, type:
show running-config services dhcpserver shared-network
If shared networks have been configured, a table or list similar to the following example appears:
If no shared networks have been configured, add shared networks as needed. For more information, refer to
Section 5.15.6.2, “Adding a Shared Network”.
Section 5.15.6.2
Adding a Shared Network
To add a shared network to the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the shared network by typing:
services dhcpserver shared-network name
Where:
• name is the name of the shared network
3. Configure options for the shared network. For more information, refer to Section 5.15.6.3, “Configuring
Shared Network Options”.
4. Configure the client for the shared network. For more information, refer to Section 5.15.6.4, “Configuring a
Shared Network Client”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.6.3
Configuring Shared Network Options
To configure options for a shared network on the DHCP server, do the following:
NOTE
Options set at the shared network level override options set at the DHCP server level.
Parameter Description
authorize-server Enables/disables the server's authorization on this client. If enabled, the server will send
deny messages to the client that is trying to renew the lease, which the server knows the
client shouldn't have.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.6.4
Configuring a Shared Network Client
To configure the client for a shared network on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
Parameter Description
hostname { hostname } The unique name to refer to the host within a DHCP configuration.
default-route { default-route } The default route that the server offers to the client when it issues the lease to the client.
broadcast { broadcast } The broadcast address that the server offers to the client when it issues the lease to the
client.
domain { domain } The domain name that the server offers to the client when it issues the lease to the
client.
Parameter Description
dns-server { dns-server } The domain name server that the server offers to the client when it issues the lease to
the client.
static-route { static-route } The static route that the DHCP server offers to the client when it issues the lease to the
client.
server { server } The NIS server address that the DHCP server offers to the client when it issues the
lease to the client.
domain { domain } The NIS domain name that the DHCP server offers to the client when it issues the lease
to the client.
3. If custom options are required for the shared network client, refer to Section 5.15.6.5, “Customizing Shared
Network Clients”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.6.5
Customizing Shared Network Clients
Custom DHCP options can be set for a shared network client.
To add a custom DHCP option to a shared network client, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the custom DHCP option by typing:
services dhcpserver shared-network name options client custom number value
Where:
• name is the name of the shared network
• number is the number assigned to the client
• value is the value of the custom option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.6.6
Deleting a Shared Network
To delete a shared network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the shared network by typing:
no services dhcpserver shared-network name
Where:
• name is the name of the shared network
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.7
Managing Subnets
Subnets control settings for each subnet that DHCP serves. A subnet can include a range of IP addresses to
give clients. Subnets contain groups, pools and hosts. Only one subnet can contain dynamic IP address ranges
without any access restrictions on any given physical port, since DHCP doesn't know which subnet a client
should belong to when the request is received.
The following sections describe how to configure and manage subnets on a DHCP server:
• Section 5.15.7.1, “Viewing a List of Subnets”
• Section 5.15.7.2, “Adding a Subnet”
• Section 5.15.7.3, “Configuring Subnet Options”
• Section 5.15.7.4, “Configuring a Subnet Client”
• Section 5.15.7.5, “Deleting a Subnet”
Section 5.15.7.1
Viewing a List of Subnets
To view a list of subnets, type:
show running-config services dhcpserver subnet
If subnets have been configured, a table or list similar to the following example appears:
!
!
If no subnets have been configured, add subnets as needed. For more information, refer to Section 5.15.7.2,
“Adding a Subnet”.
Section 5.15.7.2
Adding a Subnet
To add a subnet to the DHCP server, do the following:
NOTE
Make sure a shared network is configured before adding a new subnet. For information about
configuring a shared network, refer to Section 5.15.6.2, “Adding a Shared Network”.
Where:
• name is the name of the subnet
3. Configure the following parameter(s) as required:
Parameter Description
4. Configure the options for the subnet. For more information, refer to Section 5.15.7.3, “Configuring Subnet
Options”
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.7.3
Configuring Subnet Options
To configure options for a subnet, do the following:
NOTE
Options set at the subnet level override options set at the DHCP server level.
Parameter Description
authorize-server Enables/disables the server's authorization on this client. If enabled, the server will send
deny messages to the client that is trying to renew the lease, which the server knows the
client shouldn't have.
4. Configure the client for the subnet. For more information, refer to Section 5.15.7.4, “Configuring a Subnet
Client”
5. Configure one or more IP pools to the subnet. For more information, refer to Section 5.15.13.2, “Adding an IP
Pool”
6. Configure one or more IP ranges to the subnet. For more information, refer to Section 5.15.14.2, “Adding an
IP Range to a DHCP Subnet”
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.7.4
Configuring a Subnet Client
To configure a client for a subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to services » dhcpserver » subnet » {name} » options » client, where {name} is the name of the
subnet.
3. Configure the following parameter(s) as required:
Parameter Description
hostname { hostname } The unique name to refer to the host within a DHCP configuration.
default-route { default-route } The default route that the server offers to the client when it issues the lease to the client.
broadcast { broadcast } The broadcast address that the server offers to the client when it issues the lease to the
client.
domain { domain } The domain name that the server offers to the client when it issues the lease to the
client.
dns-server { dns-server } The domain name server that the server offers to the client when it issues the lease to
the client.
static-route { static-route } The static route that the DHCP server offers to the client when it issues the lease to the
client.
server { server } The NIS server address that the DHCP server offers to the client when it issues the
lease to the client.
domain { domain } The NIS domain name that the DHCP server offers to the client when it issues the lease
to the client.
4. If custom options are required for the subnet client, refer to Section 5.15.8.2, “Adding a Custom Client
Option”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.7.5
Deleting a Subnet
To delete a subnet, do the following:
Where:
• name is the name of the subnet
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.8
Section 5.15.8.1
Viewing a List of Custom Client Options
To view a list of custom client options configured for a DHCP subnet, type:
no services dhcpserver subnet name options client custom
Where:
• name is the name of the subnet
If custom client options have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config services dhcpserver shared-network Shared options client custom
services
dhcpserver
shared-network Shared
options client
custom 22 2
!
custom 23 1
!
!
!
!
!
If no custom client options have been configured, add options as needed. For more information, refer to
Section 5.15.8.2, “Adding a Custom Client Option”.
Section 5.15.8.2
Adding a Custom Client Option
To add a custom client option to a DHCP subnet, do the following:
NOTE
The number of the option (defined by the Internet Assigned Numbers Authority or IANA) and its
allowed value must be known before this custom option can be configured. For more information about
DHCP options, refer to RFC 2132 [http://tools.ietf.org/html/rfc2132].
Where:
• name is the name of the subnet
• number is the number defined by the Internet Assigned Numbers Authority (iANA) for the custom client
option
• value is the value of the custom client option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.8.3
Deleting a Custom Client Option
To delete a custom client option for a DHCP subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the custom client option by typing:
no services dhcpserver subnet name options client custom number value
Where:
• name is the name of the subnet
• number is the number defined by the Internet Assigned Numbers Authority (iANA) for the custom client
option
• value is the value of the custom client option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.9
Managing Hosts
Host entries assign settings to a specific client based on its Ethernet MAC address.
The following sections describe how to configure and manage hosts on a DHCP server:
• Section 5.15.9.1, “Viewing a List of Hosts”
• Section 5.15.9.2, “Adding a Host”
• Section 5.15.9.3, “Configuring Host Options”
• Section 5.15.9.4, “Configuring a Host Client”
• Section 5.15.9.5, “Deleting Hosts”
Section 5.15.9.1
Viewing a List of Hosts
To view a list of hosts on the DHCP server, type:
show running-config services dhcpserver host
If hosts have been configured, a table or list similar to the following example appears:
If no hosts have been configured, add hosts as needed. For more information, refer to Section 5.15.9.2, “Adding
a Host”.
Section 5.15.9.2
Adding a Host
To add a host to the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the host by typing:
services dhcpserver host name
Where:
• name is the name of the host
3. Configure options for the host. For more information, refer to Section 5.15.9.3, “Configuring Host Options”.
4. Configure the client for the host. For more information, refer to Section 5.15.9.4, “Configuring a Host Client”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.9.3
Configuring Host Options
To configure options for a host on the DHCP server, do the following:
NOTE
Options set at the host level override options set at the DHCP server level.
Parameter Description
mac { mac } The physical network address of the client. Note that this corresponds to the hardware
type; for example, the MAC address for the ethernet.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.9.4
Configuring a Host Client
To configure a client for a host on the DHCP Server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to services » dhcpserver » hosts » {host} » options » client, where {host} is the name of the
host.
3. Configure the following parameter(s) as required:
Parameter Description
hostname { hostname } The unique name to refer to the host within a DHCP configuration.
default-route { default-route } The default route that the server offers to the client when it issues the lease to the client.
broadcast { broadcast } The broadcast address that the server offers to the client when it issues the lease to the
client.
domain { domain } The domain name that the server offers to the client when it issues the lease to the
client.
dns-server { dns-server } The domain name server that the server offers to the client when it issues the lease to
the client.
static-route { static-route } The static route that the DHCP server offers to the client when it issues the lease to the
client.
server { server } The NIS server address that the DHCP server offers to the client when it issues the
lease to the client.
domain { domain } The NIS domain name that the DHCP server offers to the client when it issues the lease
to the client.
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.9.5
Deleting Hosts
To delete a host, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the host by typing:
no services dhcpserver host name
Where:
• name is the name of the host
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.10
Section 5.15.10.1
Viewing a List of Custom Host Client Configurations
To view a list of custom configurations for host clients on the DHCP server, type:
show running-config services dhcpserver host options client custom
If custom configurations have been configured, a table or list similar to the following example appears:
client
custom 120 500
!
!
!
!
!
!
If no custom configurations have been configured for the host client, add custom configurations as needed. For
more information, refer to Section 5.15.10.2, “Adding Custom Host Client Configurations”.
Section 5.15.10.2
Adding Custom Host Client Configurations
To add a custom configuration to a host client on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the custom configuration by typing:
services dhcpserver host host options client custom number value
Where:
• host is the name of the host
• number is the number assigned to the host
• value is the value of the custom option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.10.3
Deleting Custom Host Client Configurations
To delete a custom configuration for a host client on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the custom configuration by typing:
no services dhcpserver host host options client custom number value
Where:
• host is the name of the host
• number is the number assigned to the host
• value is the value of the custom option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.11
The following sections describe how to configure and manage host groups on a DHCP server:
• Section 5.15.11.1, “Viewing a List of Host Groups”
• Section 5.15.11.2, “Adding a Host Group”
• Section 5.15.11.3, “Configuring Host Group Options”
• Section 5.15.11.4, “Configuring a Host Group Client”
• Section 5.15.11.5, “Deleting a Host Group”
Section 5.15.11.1
Viewing a List of Host Groups
To view a list of host groups, type:
show running-config services dhcpserver host-groups
If host groups have been configured, a table or list similar to the following example appears:
If no host groups have been configured, add host groups as needed. For more information, refer to
Section 5.15.11.2, “Adding a Host Group”.
Section 5.15.11.2
Adding a Host Group
To add a host group to the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.11.3
Configuring Host Group Options
To configure options for a host group on the DHCP server, do the following:
NOTE
Options set at the host group level override options set at the DHCP server level.
Parameter Description
shared-network { shared-network } The shared network that this host group belongs to.
subnet { subnet } The subnet that this host group belongs to.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.11.4
Configuring a Host Group Client
To configure a client for a host on the DHCP Server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to services » dhcpserver » host-groups » {host} » options » client, where {host} is the name of
the host group.
3. Configure the following parameter(s) as required:
Parameter Description
hostname { hostname } The unique name to refer to the host within a DHCP configuration.
default-route { default-route } The default route that the server offers to the client when it issues the lease to the client.
broadcast { broadcast } The broadcast address that the server offers to the client when it issues the lease to the
client.
domain { domain } The domain name that the server offers to the client when it issues the lease to the
client.
Parameter Description
dns-server { dns-server } The domain name server that the server offers to the client when it issues the lease to
the client.
static-route { static-route } The static route that the DHCP server offers to the client when it issues the lease to the
client.
server { server } The NIS server address that the DHCP server offers to the client when it issues the
lease to the client.
domain { domain } The NIS domain name that the DHCP server offers to the client when it issues the lease
to the client.
4. If custom configuration settings are required for the host group client, refer to Section 5.15.12, “Managing
Custom Host Group Client Configurations”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.11.5
Deleting a Host Group
To delete a host group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the host group by typing:
no services dhcpserver host-groups name
Where:
• name is the name of the host group
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.12
Section 5.15.12.1
Viewing a List of Custom Host Group Client Configurations
To view a list of custom configurations for host group clients on the DHCP server, type:
show running-config services dhcpserver host-groups options client custom
If custom configurations have been configured, a table or list similar to the following example appears:
If no custom configurations have been configured for the host group client, add custom configurations as needed.
For more information, refer to Section 5.15.10.2, “Adding Custom Host Client Configurations”.
Section 5.15.12.2
Adding Custom Host Group Client Configurations
To add a custom configuration to a host group client on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the custom configuration by typing:
services dhcpserver host-groups host options client custom number value
Where:
• host is the name of the host group
• number is the number assigned to the host group
• value is the value of the custom option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.12.3
Deleting Custom Host Group Client Configurations
To delete a custom configuration for a host group client on the DHCP server, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• host is the name of the host group
• number is the number assigned to the host group
• value is the value of the custom option
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.13
Managing IP Pools
The following sections describe how to configure and manage IP pools for DHCP subnets:
• Section 5.15.13.1, “Viewing a List of IP Pools”
• Section 5.15.13.2, “Adding an IP Pool”
• Section 5.15.13.3, “Deleting an IP Pool”
Section 5.15.13.1
Viewing a List of IP Pools
To view a list of IP pools configured for a DHCP subnet, type:
show running-config services dhcpserver subnet name options ippool
Where:
• name is the name of the subnet
If pools have been configured, a table or list similar to the following example appears:
If no IP pools have been configured, add pools as needed. For more information, refer to Section 5.15.13.2,
“Adding an IP Pool”.
Section 5.15.13.2
Adding an IP Pool
To add an IP pool to a DHCP subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the pool by typing:
services dhcpserver subnet name options ippool description
Where:
• name is the name of the subnet
• description is the name of the IP pool
3. Configure the leased time settings by configuring the following parameter(s):
Parameter Description
4. Configure the client and failover settings by configuring the following parameter(s):
Parameter Description
5. Add one or more IP ranges for the pool. For more information, refer to Section 5.15.15.2, “Adding an IP
Range to an IP Pool”.
6. Add one or more Option82 classes to the pool. For more information, refer to Section 5.15.16.2, “Adding an
Option 82 Class to an IP Pool”.
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.13.3
Deleting an IP Pool
To delete an IP pool, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the pool by typing:
no services dhcpserver subnet name options ippool description
Where:
• name is the name of the subnet
• description is the name of the IP pool
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.14
Section 5.15.14.1
Viewing a List of IP Ranges for Subnets
To view a list of IP ranges configured for a DHCP subnet, type:
show running-config services dhcpserver subnet name options iprange
Where:
• name is the name of the subnet
If ranges have been configured, a table or list similar to the following example appears:
If no IP ranges have been configured, add ranges as needed. For more information, refer to Section 5.15.14.2,
“Adding an IP Range to a DHCP Subnet”.
Section 5.15.14.2
Adding an IP Range to a DHCP Subnet
To add an IP range to a DHCP subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the pool by typing:
services dhcpserver subnet name options iprange start end end
Where:
• name is the name of the subnet
• start is the starting IP address pool the server uses to offer to the client
• end is the ending IP address pool the server uses to offer to the client
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.14.3
Deleting an IP Range From a Subnet
To delete an IP range from a DHCP subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the IP range by typing:
no dhcpserver subnet name options iprange start end end
Where:
• name is the name of the subnet
• start is the starting IP address pool the server uses to offer to the client
• end is the ending IP address pool the server uses to offer to the client
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.15
Section 5.15.15.1
Viewing a List of IP Ranges for IP Pools
To view a list of IP ranges configured for an IP pool, type:
show running-config services dhcpserver subnet name options ippool description iprange
Where:
• name is the name of the subnet
• description is the name of the IP pool
If ranges have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config services dhcpserver subnet Local options ippool pool1 iprange
services
dhcpserver
subnet Local
options
ippool pool1
iprange 172.0.0.0
end 172.0.0.1
!
!
!
!
!
!
If no IP ranges have been configured, add ranges as needed. For more information, refer to Section 5.15.15.2,
“Adding an IP Range to an IP Pool”.
Section 5.15.15.2
Adding an IP Range to an IP Pool
To add an IP range to an IP pool, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the pool by typing:
services dhcpserver subnet name options ippool description iprange start end end
Where:
• name is the name of the subnet
• description is the name of the IP pool
• start is the starting IP address pool the server uses to offer to the client
• end is the ending IP address pool the server uses to offer to the client
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.15.3
Deleting an IP Range From an IP Pool
To delete an IP range from an IP Pool, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the IP range by typing:
no services dhcpserver subnet name options ippool description iprange start end end
Where:
• name is the name of the subnet
• description is the name of the IP pool
• start is the starting IP address pool the server uses to offer to the client
• end is the ending IP address pool the server uses to offer to the client
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.16
Section 5.15.16.1
Viewing a List of Option 82 Classes for IP Pools
To view a list of Option 82 classes configured for an IP pool, type:
show running-config services dhcpserver subnet name options ippool description option82
Where:
• name is the name of the subnet
• description is the name of the IP pool
If classes have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config services dhcpserver subnet Local options ippool pool1 option82
services
dhcpserver
subnet Local
options
ippool pool1
option82 class1
remote-id 00:00:00:01:03:01
circuit-id 00:00:00:01:01:01
!
!
!
!
!
!
If no Option 82 classes have been configured, add classes as needed. For more information, refer to
Section 5.15.16.2, “Adding an Option 82 Class to an IP Pool”.
Section 5.15.16.2
Adding an Option 82 Class to an IP Pool
To add an Option 82 class to an IP pool, do the following:
NOTE
The format for the circuit-id value is 00:00:00:{vlan}:{slot}:{port}. If the remote host is connected to
LM3/1 on VLAN 1, the ID would be 00:00:00:01:03:01.
Where:
• name is the name of the subnet
• description is the name of the IP pool
Parameter Description
remote-id { remote-id } Specifies the information relating to the remote host end of the circuit.
circuit-id { circuit-id } Specifies the local information to which circuit the request came in on.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.15.16.3
Deleting an Option 82 Class From an IP Pool
To delete an Option 82 class from an IP Pool, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the class by typing:
no services dhcpserver subnet name options ippool description option82 class
Where:
• name is the name of the subnet
• description is the name of the IP pool
• class is the name of the Option82 class
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.16
NOTE
Port mirroring has the following limitations:
• The target port may sometimes incorrectly show the VLAN tagged/untagged format of the mirrored
frames.
• Network management frames (such as RSTP, GVRP, etc. ) may not be mirrored.
• Switch management frames generated by the switch (such as Telnet, HTTP, SNMP, etc.) may not be
mirrored.
The following sections describe how to configure and manage port mirroring:
• Section 5.16.1, “Configuring Port Mirroring”
• Section 5.16.2, “Managing Egress Source Ports”
• Section 5.16.3, “Managing Ingress Source Ports”
Section 5.16.1
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk)
• egress is the port number for the outgoing port
• ingress is the port number for the the incoming port
4. Add egress and ingress source ports. For more information, refer to Section 5.16.2.2, “Adding an Egress
Source Port” and Section 5.16.3.2, “Adding an Ingress Source Port”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.16.2
Section 5.16.2.1
Viewing a List of Egress Source Ports
To view a list of egress source port for port mirroring, type:
show running-config switch port-mirroring egress-src
If egress source ports have been configured, a table or list similar to the following example appears:
If no egress source ports have been configured, add egress source ports as needed. For more information, refer
to Section 5.16.2.2, “Adding an Egress Source Port”.
Section 5.16.2.2
Adding an Egress Source Port
To add an egress source port for port mirroring, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the egress source port by typing:
switch port-mirroring egress-src swport port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.16.2.3
Deleting an Egress Source Port
To delete an egress source port for port mirroring, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no switch port-mirroring egress-src swport port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.16.3
Section 5.16.3.1
Viewing a List of Ingress Source Ports
To view a list of ingress source port for port mirroring, type:
show running-config switch port-mirroring ingress-src
If ingress source ports have been configured, a table or list similar to the following example appears:
If no ingress source ports have been configured, add ingress source ports as needed. For more information, refer
to Section 5.16.3.2, “Adding an Ingress Source Port”.
Section 5.16.3.2
Adding an Ingress Source Port
To add an ingress source port for port mirroring, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the ingress source port by typing:
switch port-mirroring ingress-src swport port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.16.3.3
Deleting an Ingress Source Port
To delete an ingress source port for port mirroring, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no switch port-mirroring ingress-src swport port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17
Managing Firewalls
Firewalls are software systems designed to prevent unauthorized access to or from private networks. Firewalls
are most often used to prevent unauthorized Internet users from accessing private networks (Intranets)
connected to the Internet.
When the ROX II firewall is enabled, the router serves as a gateway machine through which all messages
entering or leaving the Intranet pass. The router examines each message and blocks those that do not meet the
specified security criteria. The router also acts as a proxy, preventing direct communication between computers
on the Internet and Intranet. Proxy servers can filter the kinds of communication that are allowed between two
computers and perform address translation.
NOTE
In general, the ROX II firewall implementation will maintain established connections. This applies
when adding, deleting, or changing rules, and also when adding, deleting, or changing policies. When
applying new, or modified, rules or policies, previous traffic seen by the router might still be considered
as having valid connections by the connection tracking table. For instance:
a. A rule for the TCP and UDP protocols is applied.
b. The router sees both TCP and UDP traffic that qualifies for NAT.
c. The rule is then modified to allow only UDP.
d. The router will still see TCP packets (i.e. retransmission packets).
If required, reboot the router to flush all existing connection streams.
ROX II employs a stateful firewall system known as netfilter, a subsystem of the Linux kernel that provides the
ability to examine IP packets on a per-session basis.
For more information about firewalls, refer to Section 5.17.1, “Firewall Concepts”.
The following sections describe how to configure and manage a firewall:
• Section 5.17.2, “Viewing a List of Firewalls”
• Section 5.17.3, “Adding a Firewall”
• Section 5.17.4, “Deleting a Firewall”
• Section 5.17.5, “Working with Multiple Firewall Configurations”
• Section 5.17.9, “Managing Interfaces”
• Section 5.17.8, “Managing Zones”
• Section 5.17.11, “Managing Policies”
• Section 5.17.12, “Managing Network Address Translation Settings”
• Section 5.17.13, “Managing Masquerade and SNAT Settings”
• Section 5.17.10, “Managing Hosts”
• Section 5.17.14, “Managing Rules”
• Section 5.17.6, “Configuring the Firewall for a VPN”
• Section 5.17.7, “Configuring the Firewall for a VPN in a DMZ”
• Section 5.17.15, “Validating a Firewall Configuration”
• Section 5.17.16, “Enabling/Disabling a Firewall”
Section 5.17.1
Firewall Concepts
The following sections describe some of the concepts important to the implementation of firewalls in ROX II:
• Section 5.17.1.1, “Stateless vs. Stateful Firewalls”
• Section 5.17.1.2, “Linux netfilter”
• Section 5.17.1.3, “Network Address Translation”
• Section 5.17.1.4, “Port Forwarding”
• Section 5.17.1.5, “Protecting Against a SYN Flood Attack”
Section 5.17.1.1
Stateless vs. Stateful Firewalls
There are two types of firewalls: stateless and stateful.
Stateless or static firewalls make decisions about traffic without regard to traffic history. They simply open a path
for the traffic type based on a TCP or UDP port number. Stateless firewalls are relatively simple, easily handling
web and e-mail traffic. However, stateless firewalls have some disadvantages. All paths opened in the firewall are
always open, and connections are not opened or closed based on outside criteria. Static IP filters offer no form of
authentication.
Stateful or session-based firewalls add considerably more complexity to the firewalling process. They track the
state of each connection, look at and test each packet (connection tracking), and recognize and manage as a
whole traffic from a particular protocol that is on connected sets of TCP/UDP ports.
Section 5.17.1.2
Linux netfilter
Netfilter, a subsystem of the Linux kernel, is a stateful firewall that provides the ability to examine IP packets on a
per-session basis.
Netfilter uses rulesets, which are collections of packet classification rules that determine the outcome of the
examination of a specific packet. The rules are defined by iptables, a generic table structure syntax and utility
program for the configuration and control of netfilter.
ROX implements an IP firewall using a structured user interface to configure iptables rules and netfilter rulesets.
Section 5.17.1.3
Network Address Translation
Network Address Translation (NAT) enables a LAN to use one set of IP addresses for internal traffic and a
second set for external traffic. The netfilter NAT function makes all necessary IP address translations as traffic
passes between the Intranet and the Internet. NAT is often referred to in Linux as IP Masquerading.
NAT itself provides a type of firewall by hiding internal IP addresses. More importantly, NAT enables a network
to use more internal IP addresses. Since they are only used internally, there is no possibility of conflict with IP
addresses used by other organizations. Typically, an internal network is configured to use one or more of the
reserved address blocks described in RFC1918.
When a packet from a host on the internal network reaches the NAT gateway, its source address and source
TCP/UDP port number are recorded. The address and port number is translated to the public IP address and
an unused port number on the public interface. When the Internet host replies to the internal host's packet, it is
addressed to the NAT gateway's external IP address at the translation port number. The NAT gateway searches
its tables and makes the opposite changes it made to the outgoing packet. NAT then forwards the reply packet to
the internal host.
Translation of ICMP packets happens in a similar fashion, but without the source port modification.
NAT can be used in static and dynamic modes. Static NAT (SNAT) masks the private IP addresses by translating
each internal address to a unique external address. Dynamic NAT translates all internal addresses to one or more
external addresses.
Section 5.17.1.4
Port Forwarding
Port forwarding, also known as redirection, allows traffic coming from the Internet to be sent to a host behind the
NAT gateway.
Previous examples have described the NAT process when connections are made from the intranet to the Internet.
In those examples, addresses and ports were unambiguous.
When connections are attempted from the Internet to the intranet, the NAT gateway will have multiple hosts on
the intranet that could accept the connection. It needs additional information to identify the specific host to accept
the connection.
Suppose that two hosts, 192.168.1.10 and 192.168.1.20 are located behind a NAT gateway having a public
interface of 213.18.101.62. When a connection request for http port 80 arrives at 213.18.101.62, the NAT
gateway could forward the request to either of the hosts (or could accept it itself). Port forwarding configuration
could be used to redirect the requests to port 80 to the first host.
Port forwarding can also remap port numbers. The second host may also need to answer http requests. As
connections to port 80 are directed to the first host, another port number (such as 8080) can be dedicated to the
second host. As requests arrive at the gateway for port 8080, the gateway remaps the port number to 80 and
forwards the request to the second host.
Port forwarding also takes the source address into account. Another way to solve the above problem could be
to dedicate two hosts 200.0.0.1 and 200.0.0.2 and have the NAT gateway forward requests on port 80 from
200.0.0.1 to 192.168.1.10 and from 200.0.0.2 to 192.168.1.20.
Section 5.17.1.5
Protecting Against a SYN Flood Attack
ROX II responds to SYN packets according to the TCP standard by replying with a SYN-ACK packet for open
ports and an RST packet for closed ports. If the device is flooded by a high frequency of SYN packets, the port
being flooded may become unresponsive.
To prevent SYN flood attacks on closed ports, set the firewall to block all traffic to closed ports. This prevents
SYN packets from reaching the kernel.
Siemens also recommends setting the listen ports to include IP addresses on separate interfaces. For example,
set the device to listen to an IP address on switch.0001 and fe-cm-1. This will make sure that one port is
accessible if the other is flooded.
Section 5.17.2
If firewalls have been configured, a table or list similar to the following example appears:
If no firewalls have been configured, add firewalls as needed. For more information, refer to Section 5.17.3,
“Adding a Firewall”.
Section 5.17.3
Adding a Firewall
To add a new firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the firewall by typing:
security firewall fwconfig firewall
Where:
• firewall is the name of the firewall
3. Configure the following parameter(s) as required:
Parameter Description
4. Add interfaces associated with the firewall. For more information about adding interfaces, refer to
Section 5.17.9.2, “Adding an Interface”.
5. Add network zones for the firewall. Make sure a zone with the type firewall exists. For more information
about adding network zones, refer to Section 5.17.8.2, “Adding a Zone”.
6. Associate an interface with each zone. For more information about associating interfaces with zones, refer to
Section 5.17.9.3, “Associating an Interface with a Zone”.
7. Set the default policies for traffic control between zones. Make sure the policies are as restrictive as possible.
For more information about configuring policies, refer to Section 5.17.11, “Managing Policies”.
8. Configure the network address translation (NAT), masquerading or static network address translation (SNAT)
settings. For more information about configuring NAT settings, refer to Section 5.17.12, “Managing Network
Address Translation Settings”. For more information about configuring masquerading and/or SNAT settings,
refer to Section 5.17.13, “Managing Masquerade and SNAT Settings”.
9. If hosts on the network must accept sessions from the Internet, configure the firewall to support Destination
Network Address Translation (DNAT). For more information about configuring hosts, refer to Section 5.17.10,
“Managing Hosts”.
10. If required, configure rules that override the default policies. For more information about configuring rules,
refer to Section 5.17.14, “Managing Rules”.
11. If required, configure support for a VPN. For more information, refer to:
• Section 5.17.6, “Configuring the Firewall for a VPN”
• Section 5.17.7, “Configuring the Firewall for a VPN in a DMZ”
12. Validate the configuration. For more information about validating a firewall configuration, refer to
Section 5.17.15, “Validating a Firewall Configuration”.
13. Enable the firewall. For more information, refer to Section 5.17.16, “Enabling/Disabling a Firewall”.
14. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.4
Deleting a Firewall
To delete a firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the firewall by typing:
no security firewall fwconfig firewall
Where:
• firewall is the name of the firewall
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.5
Where:
Where:
• name is the name of a firewall configuration
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.6
NOTE
The VPN host must be specified before the network host so the more specific VPN zone subnet
can be inspected first.
Table: Example
7. Configure rules with the following parameter settings for the UDP, Authentication Header (AH) and
Encapsulation Security Payload (ESP) protocols:
NOTE
The IPsec protocol operates on UDP port 500, using protocols Authentication Header (AH) and
Encapsulation Security Payload (ESP) protocols. The firewall must be configured to accept this
traffic in order to allow the IPsec protocol.
Table: Example
Accept net fw ah —
For more information about configuring rules, refer to Section 5.17.14, “Managing Rules”.
8. Configure the following rule to allow traffic from openswan, the IPsec daemon, to enter the firewall:
NOTE
IPsec traffic arriving at the firewall is directed to openswan, the IPsec daemon. Openswan
decrypts the traffic and then forwards it back to the firewall on the same interface that originally
received it. A rule is required to allow traffic to enter the firewall from this interface.
Table: Example
For more information about configuring rules, refer to Section 5.17.14, “Managing Rules”.
Section 5.17.7
NOTE
The IPsec protocol operations on UDP port 500, using protocols Authentication Header (AH) and
Encapsulation Security Payload (ESP) protocols. The firewall must be configured to accept this
traffic in order to allow the IPsec protocol.
Table: Example
For more information about configuring rules, refer to Section 5.17.14, “Managing Rules”.
Section 5.17.8
Managing Zones
A network zone is a collection of interfaces for which forwarding decisions are made. Common zones include:
Table: Example
Zone Description
New zones may be defined as needed. For example, if each Ethernet interface is part of the local network zone,
disabling traffic from the Internet zone to the local network zone would disable traffic to all Ethernet interfaces. If
access to the Internet is required for some Ethernet interfaces, but not others, a new zone may be required for
those interfaces.
The following sections describe how to configure and manage zones for a firewall:
• Section 5.17.8.1, “Viewing a List of Zones”
• Section 5.17.8.2, “Adding a Zone”
• Section 5.17.8.3, “Deleting a Zone”
Section 5.17.8.1
Viewing a List of Zones
To view a list of zones, type:
show running-config security firewall fwconfig firewall fwzone
Where:
• firewall is the name of the firewall
If zones have been configured, a table or list similar to the following example appears:
fwzone fw
type firewall
description FirewallZone
!
fwzone man
description IPv4Zone
!
!
!
!
If no zones have been configured, add zones as needed. For more information, refer to Section 5.17.8.2, “Adding
a Zone”.
Section 5.17.8.2
Adding a Zone
To add a new zone for a firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the zone by typing:
security firewall fwconfig firewall fwzone zone
Where:
• firewall is the name of the firewall
• zone is the name of the zone
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.8.3
Deleting a Zone
To delete a zone, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the zone by typing:
no security firewall fwconfig firewall fwzone name
Where:
• firewall is the name of the firewall
• name is the name of the zone
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.9
Managing Interfaces
Firewall interfaces are the LAN and WAN interfaces available to the router. Each interface must be placed in
a network zone. If an interface supports more than one zone, its zone must be marked as undefined and the
interface must use the zone host's setup to define a zone for each subnet on the interface.
Table: Example
Interface Zone
Switch.0001 Loc
Switch.0002 Loc
Switch.0003 Any
Switch.0004 DMZ
W1ppp net
The following sections describe how to configure and manage zones for a firewall:
• Section 5.17.9.1, “Viewing a List of Interfaces”
• Section 5.17.9.2, “Adding an Interface”
• Section 5.17.9.3, “Associating an Interface with a Zone”
• Section 5.17.9.4, “Configuring a Broadcast Address”
• Section 5.17.9.5, “Deleting an Interface”
Section 5.17.9.1
Viewing a List of Interfaces
To view a list of interfaces, type:
show running-config security firewall fwconfig firewall fwinterface
Where:
• firewall is the name of the firewall
If interfaces have been configured, a table or list similar to the following example appears:
If no interfaces have been configured, add interfaces as needed. For more information, refer to Section 5.17.9.2,
“Adding an Interface”.
Section 5.17.9.2
Adding an Interface
To configure an interface for a firewall, do the following:
1. Display the list of available interfaces by typing:
show running-config ip
Where:
• firewall is the name of the firewall
• name is the name of the interface
5. Configure the interface settings by typing the following commands:
Parameter Description
Parameter Description
arp_filter Responds only to ARP requests for configured IP addresses (This is permanently
enabled system wide since ROX 2.3.0, and this option no longer has any effect).
routeback Allows traffic on this interface to be routed back out that same interface.
tcpflags Illegal combinations of TCP flags dropped and logged at info level.
nosmurfs Packets with a broadcast address as the source are dropped and logged at info level.
6. Associate the interface with a pre-defined zone or mark the associated zone as undefined. For more
information about associating the interface with a zone, refer to Section 5.17.9.3, “Associating an Interface
with a Zone”
7. Configure a broadcast address for the interface. For more information configuring a broadcast address, refer
to Section 5.17.9.4, “Configuring a Broadcast Address”
8. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.9.3
Associating an Interface with a Zone
To associate an interface with a pre-defined zone or mark the assocated zone as undefined, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to security » firewall » fwconfig » fwconfig » {firewall} » fwinterface{interface} » zone, where
{firewall} is the name of the firewall and {interface} is the name of the interface.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.9.4
Configuring a Broadcast Address
To configure a broadcast address for an interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to security » firewall » fwconfig » fwconfig » {firewall} » fwinterface{interface} » broadcast-
addr, where {firewall} is the name of the firewall and {interface} is the name of the interface.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.9.5
Deleting an Interface
To delete an interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the interface by typing:
no security firewall fwconfig firewall fwinterface name
Where:
• firewall is the name of the firewall
• name is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.10
Managing Hosts
Hosts are used to assign zones to individual hosts or subnets (if the interface supports multiple subnets). This
allows the firewall to receive a packet and then redirect it to the same device that received it. This functionality is
useful for VPN setups to handle the VPN traffic separately from the other traffic on the interface which carries the
VPN traffic.
Table: Example
The following sections describe how to configure and manage hosts for a firewall:
• Section 5.17.10.1, “Viewing a List of Hosts”
• Section 5.17.10.2, “Adding a Host”
• Section 5.17.10.3, “Deleting a Host”
Section 5.17.10.1
Viewing a List of Hosts
To view a list of hosts, type:
show running-config security firewall fwconfig firewall fwhost
Where:
• firewall is the name of the firewall
If hosts have been configured, a table or list similar to the following example appears:
If no hosts have been configured, add hosts as needed. For more information, refer to Section 5.17.10.2, “Adding
a Host”.
Section 5.17.10.2
Adding a Host
To add a new host for a firewall, do the following:
Where:
• firewall is the name of the firewall
• name is the name of the host
3. Configure the host options by typing the following commands:
Parameter Description
Parameter Description
interface { interface } A pre-defined interface to which optional IPs and/or networks can be added.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.10.3
Deleting a Host
To delete a host, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the host by typing:
no security firewall fwconfig firewall fwhost name
Where:
• firewall is the name of the firewall
• name is the name of the host
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.11
Managing Policies
Policies define the default actions for establishing a connection between different firewall zones. Each policy
consists of a source zone, a destination zone and an action to be performed when a connection request is
received.
The following example illustrates the policies for establishing connections between a local network and the
Internet.
Table: Example
Each policy controls the connection between the source and destination zones. The first policy accepts all
connection requests from the local network to the Internet. The second policy drops or ignores all connection
requests from the Internet to any device on the network. The third policy rejects all other connection requests and
sends a TCP RST or an ICMP destination-unreachable packet to the client.
The order of the policies is important. If the last policy in the example above were to be the first policy, the firewall
would reject all connection requests.
NOTE
The source and destination zones must be configured before a policy can be created. For more
information about zones, refer to Section 5.17.8, “Managing Zones”.
NOTE
Policies for specific hosts or types of traffic can be overridden by rules. For more information about
rules, refer to Section 5.17.14, “Managing Rules”.
The following sections describe how to configure and manage policies for a firewall:
• Section 5.17.11.1, “Viewing a List of Policies”
• Section 5.17.11.2, “Adding a Policy”
• Section 5.17.11.3, “Configuring the Source Zone”
• Section 5.17.11.4, “Configuring the Destination Zone”
• Section 5.17.11.5, “Deleting a Policy”
Section 5.17.11.1
Viewing a List of Policies
To view a list of policies, type:
show running-config security firewall fwconfig firewall fwpolicy
Where:
• firewall is the name of the firewall
If policies have been configured, a table or list similar to the following example appears:
If no policies have been configured, add policies as needed. For more information, refer to Section 5.17.11.2,
“Adding a Policy”.
Section 5.17.11.2
Adding a Policy
To configure a policy for the firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the policy by typing:
security firewall fwconfig firewall fwpolicy policy
Where:
• firewall is the name of the firewall
• policy is the name of the policy
3. Configure the following parameter(s) as required:
Parameter Description
log-level { log-level } Synopsis: none, debug, info, notice, warning, error, critical, alert, emergency
Default: none
(Optional) Determines whether or not logging will take place and at which logging level.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.11.3
Configuring the Source Zone
To configure the source zone for a firewall policy, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to security » firewall » fwconfig » {firewall} » fwpolicy{policy} » source-zone, where {firewall}
is the name of the firewall and {policy} is the name of the policy.
3. Configure the following parameter(s) as required:
Default: all
Parameter Description
predefined-zone { predefined-zone }
all
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.11.4
Configuring the Destination Zone
To configure the destination zone for a firewall policy, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
Parameter Description
predefined-zone { predefined-zone }
all
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.11.5
Deleting a Policy
To delete a policy, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the policy by typing:
no security firewall fwconfig firewall fwpolicy policy
Where:
• firewall is the name of the firewall
• policy is the name of the policy
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.12
NOTE
Destination Network Address Translation (DNAT) can be setup by configuring the destination zone in a
rule. For more information on rules, refer to Section 5.17.14, “Managing Rules”.
The following sections describe how to configure and manage network address translation settings for a firewall:
• Section 5.17.12.1, “Viewing a List of NAT Settings”
• Section 5.17.12.2, “Adding a NAT Setting”
• Section 5.17.12.3, “Deleting a NAT Setting”
Section 5.17.12.1
Viewing a List of NAT Settings
To view a list of NAT settings, type:
show running-config security firewall firewall fwnat
Where:
• firewall is the name of the firewall
If NAT settings have been configured, a table or list similar to the following example appears:
If no NAT settings have been configured, add NAT settings as needed. For more information, refer to
Section 5.17.12.2, “Adding a NAT Setting”.
Section 5.17.12.2
Adding a NAT Setting
To configure a Network Address Translation (NAT) entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
security firewall fwconfig firewall fwnat name
Where:
• firewall is the name of the firewall
• name is the name of the network address translation entry
3. Configure the following parameter(s) as required:
Parameter Description
external-addr { external-addr } The external IP Address. The address must not be a DNS name. External IP addresses
must be manually added to the interface.
Parameter Description
internal-addr { internal-addr } The internal IP address. The address must not be a DNS Name.
description { description } (Optional) The description string for this NAT entry.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.12.3
Deleting a NAT Setting
To delete a network address translation entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the entry by typing:
no security firewall fwconfig firewall fwnat name
Where:
• firewall is the name of the firewall
• name is the name of the network address translation entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.13
Section 5.17.13.1
Viewing a List of Masquerade and SNAT Settings
To view a list of masquerade and SNAT settings, type:
show running-config security firewall fwconfig firewall fwmasq
Where:
• firewall is the name of the firewall
If masquerade and SNAT settings have been configured, a table or list similar to the following example appears:
If no masquerade or SNAT settings have been configured, add masquerade or SNAT settings as needed. For
more information, refer to Section 5.17.13.2, “Adding Masquerade or SNAT Settings”.
Section 5.17.13.2
Adding Masquerade or SNAT Settings
To add rules for masquerading or SNAT, do the following:
NOTE
Masquerading requires that the IP address being used to masquerade must belong to the router.
When configuring the SNAT address under masquerading, the SNAT address must be one of the IP
addresses on the outbound interface.
Where:
• firewall is the name of the firewall
• name is the name of the masquerade or SNAT setting
3. Configure the following parameter(s) as required:
Parameter Description
out-interface-specifics { out-interface- (Optional) An outgoing interface list - specific IP destinations for the out-interface.
specifics }
Parameter Description
address { address } (Optional) By specifying an address here, SNAT will be used and this will be the source
address.
description { description } (Optional) The description string for this masq entry.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.13.3
Deleting a Masquerade or SNAT Setting
To delete a masquerade or SNAT setting, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the masquerade or SNAT setting by typing:
no security firewall fwconfig firewall fwmasq name
Where:
• firewall is the name of the firewall
• name is the name of the masquerade or SNAT setting
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.14
Managing Rules
Rules establish exceptions to the default firewall policies for certain types of traffic, sources or destinations. Each
rule defines specific criteria. If an incoming packet matches that criteria, the default policy is overridden and the
action defined by the rule is applied.
The following sections describe how to configure and manage rules for a firewall:
• Section 5.17.14.1, “Viewing a List of Rules”
• Section 5.17.14.2, “Adding a Rule”
• Section 5.17.14.3, “Configuring the Source Zone”
• Section 5.17.14.4, “Configuring the Destination Zone”
• Section 5.17.14.5, “Deleting Rules”
Section 5.17.14.1
Viewing a List of Rules
To view a list of rules, type:
show running-config security firewall fwconfig firewall fwrule
Where:
• firewall is the name of the firewall
If rules have been configured, a table or list similar to the following example appears:
If no rules have been configured, add rules as needed. For more information, refer to Section 5.17.14.2, “Adding
a Rule”.
Section 5.17.14.2
Adding a Rule
To configure a rule for a firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the rule by typing:
security firewall fwconfig firewall fwrule rule
Where:
• firewall is the name of the firewall
• rule is the name of the rule
3. Configure the following parameter(s) as required:
NOTE
When applying new rules, previous traffic seen by the router might still be considered as having
valid connections by the connection tracking table. For instance:
a. A rule for the TCP and UDP protocols is applied.
b. The router sees both TCP and UDP traffic that qualifies for NAT.
c. The rule is then modified to allow only UDP.
d. The router will still see TCP packets (i.e. retransmission packets).
If required, reboot the router to flush all existing connection streams.
Parameter Description
action { action } Synopsis: accept, drop, reject, continue, redirect, dnat-, dnat
Default: reject
The final action to take on incoming packets matching this rule.
Parameter Description
destination-zone-hosts { destination-zone- (Optional) Add comma-separated host IPs to the destination-zone - may include :port for
hosts } DNAT or REDIRECT.
log-level { log-level } Synopsis: none, debug, info, notice, warning, error, critical, alert, emergency
Default: none
(Optional) Determines whether or not logging will take place and at which logging level.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.14.3
Configuring the Source Zone
To configure the source zone for a firewall rule, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to security » firewall » fwconfig » {firewall} » fwrule{rule} » source-zone, where {firewall} is the
name of the firewall and {rule} is the name of the rule.
3. Configure the following parameter(s) as required:
Parameter Description
other { other } Type a custom definition - this can be a comma-separated list of zones.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.14.4
Configuring the Destination Zone
To configure the destination zone for a firewall rule, do the following:
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.14.5
Deleting Rules
To delete a rule, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the rule by typing:
no security firewall fwconfig firewall fwrule rule
Where:
• firewall is the name of the firewall
• rule is the name of the rule
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.17.15
Where:
• name is the name of the firewall configuration
3. Type commit and press Enter to save the changes. The system validates the firewall configuration and
displays the results.
Section 5.17.16
Enabling/Disabling a Firewall
To enable or disable the firewall, do the following:
IMPORTANT!
Enabling or disabling the firewall will reset – but not disable – the BFA protection mechanism, if
previously enabled. Any hosts that were previously blocked will be allowed to log in again. If multiple
hosts are actively attacking at the time, this could result in reduced system performance.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18
Managing IS-IS
Intermediate System - Intermediate System (IS-IS) is one of a suite of routing protocols tasked with sharing
routing information between routers. The job of the router is to enable the efficient movement of data over
sometimes complex networks. Routing protocols are designed to share routing information across these networks
and use sophisticated algorithms to decide the shortest route for the information to travel from point A to point B.
One of the first link-state routing protocols was IS-IS developed in 1986 and later published in 1987 by ISO as
ISO/IEC 10589. It was later republished as an IETF standard (RFC 1142 [http://tools.ietf.org/html/rfc1142]).
IS-IS is an Interior Gateway Protocol (IGP) meant to exchange information within Autonomous Systems (AS). It
is designed to operate within an administrative domain or network using link-state information to decide optimal
data packet routing, similar to OSPF. IS-IS floods the network with link-state information and builds a database of
the network's topology. The protocol computes the best path through the network (using Dijkstra's algorithm) and
then forwards packets to their destination along that path.
Although it was originally designed as an ISO Connectionless-mode Network Protocol (CLNP), it was later
adapted for IP network use (Dual IS-IS) in RFC 1195 [http://tools.ietf.org/html/rfc1195]. IS-IS is used primarily in
ISP environments and better suited to stringy networks as opposed to central core based networks.
IS-IS routers can be defined as Level-1, Level-2, or both. Level 1 routers form the area, while Level 2 routers
form the backbone of the network. By default, ROX II configures areas to be both (or Level-1-2). This allows the
device to inter-operate between different areas with minimal configuration.
• Level-1 routers are intra-area routers. They maintain a single Link-State Database (LSD) that only contains
information about the Level-1 and Level-2 neighbors in its area. To communicate with routers in another area,
Level-1 routers forward traffic through their closest Level-2 router.
• Level-2 routers are inter-area routers, meaning they can communicate with routers in other areas. They also
maintain a single LSD, but it only contains information about other Level-2 routers from the router's area or
other areas. The router knows nothing about the Level-1 routers in its area.
• Level-1-2 routers are both inter- and intra-area routers, meaning they can communicate with Level-1 and
Level-2 routers in any area. They maintain separate LSDs for Level-1 and Level-2 routers in and outside the
router's area.
IS-IS routers are identified by their Network Entity Title (NET) address, which is in Network Service Access Point
(NSAP) format (RFC 1237 [http://tools.ietf.org/html/rfc1237]). NSAP addresses range from 8 to 20 octets and
consist of the Authority and Format Identifier (1 byte), the Area ID (0 to 12 bytes), the System ID (6 bytes) and the
selector (1 byte).
NOTE
In complex legacy networks, RIP, OSPF, BGP and IS-IS may all be active on the same router at the
same time. Typically, however, only one dynamic routing protocol is employed at one time.
The following sections describe how to configure the IS-IS routing protocol:
• Section 5.18.2, “Viewing the Status of Neighbors”
• Section 5.18.3, “Viewing the Status of the Link-State Database”
• Section 5.18.1, “Configuring IS-IS”
• Section 5.18.4, “Managing Area Tags”
• Section 5.18.5, “Managing Interfaces”
• Section 5.18.6, “Managing LSP Generation”
• Section 5.18.7, “Managing SPF Calculations”
• Section 5.18.8, “Managing the Lifetime of LSPs”
• Section 5.18.9, “Managing LSP Refresh Intervals”
• Section 5.18.10, “Managing Network Entity Titles (NETs)”
• Section 5.18.11, “Managing Redistribution Metrics”
Section 5.18.1
Configuring IS-IS
To configure dynamic routing with IS-IS, do the following:
1. Make sure the CLI is in Configuration mode.
2. Enable IS-IS by typing:
routing isis enabled
3. Associate the device with one or more areas in the IS-IS network by defining area tags. For more
information, refer to Section 5.18.4, “Managing Area Tags”.
4. Configure one or more interfaces on which to perform IS-IS routing. For more information, refer to
Section 5.18.5, “Managing Interfaces”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Example
The following illustrates how to configure an IS-IS network that includes all circuit types. In this example, R1 is a
Level-1 router that needs to forward traffic to Level-2 routers. R2 and R3 are configured to be Level-1-2 routers to
facilitate the connection with routers R4 and R5, which are Level-2-only routers. Each router is configured to have
a non-passive interface, use point-to-point network communication, and be in the same area.
192.168.12.0/24 192.168.11.0/24
1.9.5.0/32
.2
.3 1.4.5.0/32 .2
R4 16.16.16.16 R5 15.15.15.15
Section 5.18.2
If IS-IS routes have been configured, a table similar to the following example appears:
Parameter Description
L The level.
Section 5.18.3
If IS-IS routes have been configured, a list similar to the following example appears:
1 LSPs
14 LSPs
Parameter Description
Section 5.18.4
Routers are associated with areas by area tags, which define the routing type, metric, and authentication/
authorization rules.
The following sections describe how to configure and manage area tags for IS-IS:
• Section 5.18.4.1, “Viewing a List of Area Tags”
• Section 5.18.4.2, “Adding an Area Tag”
• Section 5.18.4.3, “Deleting an Area Tag”
Section 5.18.4.1
Viewing a List of Area Tags
To view a list of area tags configured for dynamic IS-IS routes, type:
show running-config routing isis area
If area tags have been configured, a table or list similar to the following example appears:
If no area tags have been configured, add area tags as needed. For more information, refer to Section 5.18.4.2,
“Adding an Area Tag”.
Section 5.18.4.2
Adding an Area Tag
To add an area tag for dynamic IS-IS routes, do the following:
Where:
• name is the unique name for a routing process that belongs to a specific router.
3. Configure the following parameter(s) as required:
Parameter Description
area-password { area-password } The area password to be used for transmission of level-1 LSPs.
domain-password { domain-password } The domain password to be used for transmission of level-2 LSPs.
4. Add one or more Network Entity Titles (NETs). For more information, refer to Section 5.18.10, “Managing
Network Entity Titles (NETs)”
5. If necessary, configure intervals for the generation of Link-State Packets (LSPs). The default is 30 seconds.
For more information, refer to Section 5.18.6, “Managing LSP Generation”.
6. If necessary, configure refresh intervals for Link-State Packets (LSPs). The default is 900 seconds. For more
information, refer to Section 5.18.9, “Managing LSP Refresh Intervals”.
7. If necessary, configure the minimum interval between consecutive SPF calculations. The default is 1 second.
For more information, refer to Section 5.18.7, “Managing SPF Calculations”.
8. If necessary, configure how long LSPs can reside in the device's Link State Database (LSDB) before they
are refreshed. The default is 1200 seconds. For more information, refer to Section 5.18.8, “Managing the
Lifetime of LSPs”.
9. If necessary, define rules for redistributing static, RIP, BGP or OSPF routes. For more information, refer to
Section 5.18.11, “Managing Redistribution Metrics”
10. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.4.3
Deleting an Area Tag
To delete an area tag for dynamic IS-IS routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the area tag by typing:
no routing isis area name
Where:
• name is the unique name for a routing process that belongs to a specific router.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.5
Managing Interfaces
IS-IS transmits hello packets and Link-State Packets (LSPs) through IS-IS enabled interfaces.
NOTE
IS-IS is only supported on Ethernet interfaces.
The following sections describe how to configure and manage interfaces for IS-IS:
• Section 5.18.5.1, “Viewing a List of Interfaces”
• Section 5.18.5.2, “Configuring an Interface”
Section 5.18.5.1
Viewing a List of Interfaces
To view a list of interfaces for dynamic IS-IS routes, type:
show running-config routing isis interface
If interfaces have been configured, a table or list similar to the following example appears:
Interfaces are added automatically when a VLAN is created. For more information about creating a VLAN, refer to
Section 5.34, “Managing VLANs”.
Section 5.18.5.2
Configuring an Interface
When IS-IS is enabled, the switch.0001 interface is already configured.
To configure optional parameters for this and any other interfaces that have been added for IS-IS, do the
following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to the interface by typing:
routing isis interface name
Where:
• name is the name of the interface. If the desired interface is not available, it must be created as a VLAN.
For more information about creating a VLAN, refer to Section 5.34, “Managing VLANs”.
3. Configure the following parameter(s) as required:
Parameter Description
ipv4-area-tag { ipv4-area-tag } Name of Area Tag to be used for IS-IS over IPv4.
circuit-password { circuit-password } The value to be used as a transmit password in IIH PDUs transmitted by this
Intermediate System.
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.6
Section 5.18.6.1
Viewing a List of LSP Generation Intervals
To view a list of LSP generation intervals configured for an IS-IS area, type:
show running-config routing isis area name lsp-gen-interval
Where:
• name is the unique name for a routing process that belongs to a specific router.
If intervals have been configured, a table or list similar to the following example appears:
!
!
If no intervals have been configured, add intervals as needed. For more information, refer to Section 5.18.6.2,
“Adding an LSP Generation Interval”.
Section 5.18.6.2
Adding an LSP Generation Interval
To add an LSP generation interval to an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.6.3
Deleting an LSP Generation Interval
To delete an LSP generation interval for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the LDP interface by typing:
no routing isis area name lsp-gen-interval is-type [level-1-2 | level-1-only | level-2-only]
interval seconds
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.7
Section 5.18.7.1
Viewing a List of SPF Calculation Intervals
To view a list of SPF calculation intervals configured for an IS-IS area, type:
Where:
• name is the unique name for a routing process that belongs to a specific router.
If intervals have been configured, a table or list similar to the following example appears:
!
!
If no intervals have been configured, add intervals as needed. For more information, refer to Section 5.18.7.2,
“Adding an SPF Calculation Interval”.
Section 5.18.7.2
Adding an SPF Calculation Interval
To add an SPF calculation interval to an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add a new interval by typing:
routing isis area name spf-interval is-type [level-1-2 | level-1-only | level-2-only] interval
seconds
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.7.3
Deleting an SPF Calculation Interval
To delete an SPF calculation interval for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the LDP interface by typing:
no routing isis area name spf-interval is-type [level-1-2 | level-1-only | level-2-only] interval
seconds
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.8
NOTE
For information about configuring the refresh interval for an LSP, refer to Section 5.18.9, “Managing
LSP Refresh Intervals”.
Section 5.18.8.1
Viewing a List of LSP Lifetime Intervals
To view a list of LSP lifetime intervals configured for an IS-IS area, type:
show running-config routing isis area name max-lsp-lifetime
Where:
• name is the unique name for a routing process that belongs to a specific router.
If intervals have been configured, a table or list similar to the following example appears:
!
!
If no intervals have been configured, add intervals as needed. For more information, refer to Section 5.18.8.2,
“Adding an LSP Lifetime Interval”.
Section 5.18.8.2
Adding an LSP Lifetime Interval
To add an LSP lifetime interval to an IS-IS area, do the following:
IMPORTANT!
The LSP lifetime interval must be 300 seconds higher than the LSP refresh interval. For more
information about LSP refresh intervals, refer to Section 5.18.9, “Managing LSP Refresh Intervals”.
routing isis area name max-lsp-lifetime is-type [level-1-2 | level-1-only | level-2-only] interval
seconds
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.8.3
Deleting an LSP Lifetime Interval
To delete an LSP lifetime interval for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the LDP interface by typing:
no routing isis area name max-lsp-lifetime is-type [level-1-2 | level-1-only | level-2-only]
interval seconds
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.9
NOTE
For information about configuring the lifetime of an LSP, refer to Section 5.18.8, “Managing the Lifetime
of LSPs”.
Section 5.18.9.1
Viewing a List of LSP Refresh Intervals
To view a list of LSP refresh intervals configured for an IS-IS area, type:
show running-config routing isis area name lsp-refresh-interval
Where:
• name is the unique name for a routing process that belongs to a specific router.
If intervals have been configured, a table or list similar to the following example appears:
!
!
If no intervals have been configured, add intervals as needed. For more information, refer to Section 5.18.9.2,
“Adding an LSP Refresh Interval”.
Section 5.18.9.2
Adding an LSP Refresh Interval
To add an LSP refresh interval to an IS-IS area, do the following:
IMPORTANT!
The LSP refresh interval must be 300 seconds less than the LSP lifetime interval. For more information
about LSP refresh intervals, refer to Section 5.18.8, “Managing the Lifetime of LSPs”.
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.9.3
Deleting an LSP Refresh Interval
To delete an LSP refresh interval for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the LDP interface by typing:
Where:
• name is the unique name for a routing process that belongs to a specific router.
• level is the IS type.
• seconds is the minimum interval in seconds, ranging from 1 to 120. The default value is 30.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.10
0001.1921.6800.1001.00
IMPORTANT!
The system identifier must be unique to the network.
The following sections describe how to configure and manage NETs for IS-IS areas:
• Section 5.18.10.1, “Viewing a List of NETs”
• Section 5.18.10.2, “Adding a NET”
• Section 5.18.10.3, “Deleting a NET”
Section 5.18.10.1
Viewing a List of NETs
To view a list of areas configured for dynamic IS-IS routes, type:
show running-config routing isis area name net
Where:
• name is the unique name for a routing process that belongs to a specific router.
If NETs have been configured, a table or list similar to the following example appears:
!
!
If no NETs have been configured, add NETs as needed. For more information, refer to Section 5.18.10.2, “Adding
a NET”.
Section 5.18.10.2
Adding a NET
To add a Network Entity Title (NET) for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the NET by typing:
routing isis area name net title
Where:
• name is the unique name for a routing process that belongs to a specific router.
• title is the NET for the router, consisting of a two-octet area ID, a three-octet system ID and a one-octet
selector. For example: 0001.1921.6800.1001.00
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.10.3
Deleting a NET
To delete a Network Entity Title (NET) for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the NET by typing:
no routing isis area name net title
Where:
• name is the unique name for a routing process that belongs to a specific router.
• title is the NET for the router, consisting of a two-octet area ID, a three-octet system ID and a one-octet
selector. For example: 0001.1921.6800.1001.00
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.11
Section 5.18.11.1
Viewing a List of Redistribution Metrics
To view a list of redistribution metrics defined for an IS-IS area, type:
show running-config routing isis area name redistribute
Where:
• name is the unique name for a routing process that belongs to a specific router.
If metrics have been configured, a table or list similar to the following example appears:
!
!
If no redistribution metrics have been configured, add metrics as needed. For more information, refer to
Section 5.18.11.2, “Adding a Redistribution Metric”.
Section 5.18.11.2
Adding a Redistribution Metric
To add a redistribution metric for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the metric by typing:
Where:
• name is the unique name for a routing process that belongs to a specific router.
• source is the protocol transmitting packets over the IS-IS route. Options include bgp, connected, kernel,
ospf, rip, and static.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.18.11.3
Deleting a Redistribution Metric
To delete a redistribution metric for an IS-IS area, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the metric by typing:
no routing isis area name redistribute source
Where:
• name is the unique name for a routing process that belongs to a specific router.
• source is the protocol transmitting packets over the IS-IS route. Options include bgp, connected, kernel,
ospf, rip, and static.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19
Managing BGP
The Border Gateway Protocol (BGP) as defined by RFC 4271 [http://tools.ietf.org/rfc/rfc4271.txt] is a robust and
scalable routing protocol. BGP is designed to manage a routing table of up to 90000 routes. Therefore, it is used
in large networks or among groups of networks which have common administrative and routing policies. External
BGP (eBGP) is used to exchange routes between different Autonomous Systems (AS). Interior BGP (iBGP) is
used to exchange routes within autonomous system (AS).
BGP is used by the bgpd daemon to handle communications with other routers. The daemon also determines
which routers it prefers to forward traffic to for each known network route.
NOTE
In complex legacy networks, RIP, OSPF, BGP and IS-IS may all be active on the same router at the
same time. Typically, however, only one dynamic routing protocol is employed at one time.
Section 5.19.1
Configuring BGP
To configure dynamic routing with BGP, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » bgp and configure the following parameter(s) as required:
Parameter Description
deterministic-med Pick the best-MED path among paths advertised from neighboring AS.
3. Configure autonomous system path filters. For more information, refer to Section 5.19.6.3, “Adding an
Autonomous System Path Filter”.
4. Configure prefix list filters. For more information, refer to Section 5.19.5.3, “Adding a Prefix List”.
5. Configure route map filters. For more information, refer to Section 5.19.3.3, “Adding a Route Map Filter”.
6. Configure a network. For more information, refer to Section 5.19.8.2, “Adding a Network”.
7. Configure IP addresses for neighbors. For more information, refer to Section 5.19.7.2, “Adding a Neighbor”.
8. Configure aggregate addresses. For more information, refer to Section 5.19.9.2, “Adding an Aggregate
Address”.
9. Configure redistribution metrics. For more information, refer to Section 5.19.11.2, “Adding a Redistribution
Metric”.
10. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.2
If BGP routes have been configured, a table or list similar to the following example appears:
Parameter Description
network Network.
weight Weight.
as-path Path.
origin Origin.
To view the status of the dynamic BGP neighbor configured on the device, type:
show routing status bgp neighbor
If BGP neighbors have been configured, a table or list similar to the following example appears:
Parameter Description
id Neighbor address.
as Remote AS number.
Parameter Description
network Network.
weight Weight.
as-path Path.
origin Origin.
If no dynamic BGP routes have been configured, configure BGP and add routes as needed. For more information
about configuring BGP, refer to Section 5.19.1, “Configuring BGP”.
Section 5.19.3
Section 5.19.3.1
Viewing a List of Route Map Filters
To view a list of route map filters for either dynamic BGP routes, type:
show running-config routing bgp filter route-map
If filters have been configured, a table or list similar to the following example appears:
If no filters have been configured, add filters as needed. For more information, refer to Section 5.19.6.3, “Adding
an Autonomous System Path Filter”.
Section 5.19.3.2
Viewing a List of Route Map Filter Entries
To view a list of entries for a route map filter for either BGP, type:
show running-config routing bgp filter route-map tag entry
Where:
• tag is the tag for the route map filter
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing bgp filter route-map map entry | tab
ON
MATCH AS PREFIX PREFIX PREFIX LOCAL
NEXT ORIGINATOR
SEQ ACTION CALL GOTO PATH LIST LIST LIST METRIC PEER ORIGIN AS IP PREFERENCE
OPERATION VALUE HOP ORIGIN ID WEIGHT AS
---------------------------------------------------------------------------------------------
10 permit - - - - - - - - - - - - -
- - - - -
!
!
If no filters have been configured, add filters as needed. For more information, refer to Section 5.19.6.3, “Adding
an Autonomous System Path Filter”.
Section 5.19.3.3
Adding a Route Map Filter
To add a route map filter for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the new filter by typing:
routing bgp filter route-map tag
Where:
• tag is the tag for the route map filter
3. Add one or more entries. For more information, refer to Section 5.19.3.4, “Adding a Route Map Filter Entry”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.3.4
Adding a Route Map Filter Entry
To add an entry for an route map filter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the new filter by typing:
routing bgp filter route-map tag entry number
Where:
• tag is the tag for the route map filter
• number is the sequence number for the entry
3. Configure the following parameter(s) as required:
Parameter Description
4. Configure the match rules for the route map filter. For more information, refer to Section 5.19.3.7,
“Configuring Match Rules”.
5. Configure a set for the route map filter. For more information, refer to Section 5.19.3.8, “Configuring a Set”.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.3.5
Deleting a Routing Map Filter
To delete a route map filter for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing bgp filter route-map tag
Where:
• tag is the tag for the route map filter
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.3.6
Deleting a Routing Map Filter Entry
To delete an entry for a route map filter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing bgp filter route-map tag entry number
Where:
• tag is the tag for the route map filter
• number is the sequence number for the entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.3.7
Configuring Match Rules
To configure match rules for a route map filter entry, do the following:
Parameter Description
peer { peer } This parameter is not supported and any value is ignored by the system.s
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.3.8
Configuring a Set
To configure matched rules for a route map filter entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » bgp » filter » route-map » {tag} » entry » {number} » set, where {tag} is the tag for
the route map filter and {number} is the sequence number for the entry.
3. Configure the following parameters as required:
Parameter Description
originator-id { originator-id } This parameter is not supported and any value is ignored by the system.
as { as } AS number.
Prerequisite: as must be empty when ip is not configured.
ip { ip } IP address of aggregator.
Prerequisite: ip must be empty when as is not configured.
Parameter Description
4. Add pre-pended and/or excluded autonomous system paths. For more information, refer to Section 5.19.4.3,
“Adding a Prepended Autonomous System Path Filter” and/or Section 5.19.4.4, “Adding an Excluded
Autonomous System Path filter”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.4
Section 5.19.4.1
Viewing a List of Prepended Autonomous System Path Filters
To view a list of prepended autonomous system path filters configured for a BGP route map entry, type:
show running-config routing bgp filter route-map name entry number set as-path prepend
Where:
• name is the name of the route map
• number is the entry number
If filters have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing bgp filter route-map route entry 10 set as-path prepend
routing bgp
filter route-map route
entry 10
set as-path prepend 120
!
!
!
!
If no prepended autonomous system path filters have been configured, add filters as needed. For more
information, refer to Section 5.19.4.3, “Adding a Prepended Autonomous System Path Filter”.
Section 5.19.4.2
Viewing a List of Excluded Autonomous System Paths
To view a list of excluded autonomous system path filters configured for a BGP route map entry, type:
show running-config routing bgp filter route-map name entry number set as-path exclude
Where:
• name is the name of the route map
• number is the entry number
If filters have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing bgp filter route-map route entry 10 set as-path exclude
routing bgp
filter route-map route
entry 10
set as-path exclude 110
!
!
!
!
If no excluded autonomous system path filters have been configured, add filters as needed. For more information,
refer to Section 5.19.4.4, “Adding an Excluded Autonomous System Path filter”.
Section 5.19.4.3
Adding a Prepended Autonomous System Path Filter
To add a prepended autonomous system path filter to a BGP route map entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the path by typing:
routing bgp filter route-map name entry number set as-path prepend path
Where:
• name is the name of the route map
• number is the entry number
• path is the number for the autonomous system path
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.4.4
Adding an Excluded Autonomous System Path filter
To add an excluded autonomous system path filter to a BGP route map entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the path by typing:
routing bgp filter route-map name entry number set as-path exclude path
Where:
Section 5.19.4.5
Deleting a Prepended Autonomous System Path Filter
To delete a prepended autonomous system path filter from a BGP route map entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing bgp filter route-map name entry number set as-path prepend path
Where:
• name is the name of the route map
• number is the entry number
• path is the number for the autonomous system path
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.4.6
Deleting an Excluded Autonomous System Path Filter
To delete an excluded autonomous system path filter from a BGP route map entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing bgp filter route-map name entry number set as-path exclude path
Where:
• name is the name of the route map
• number is the entry number
• path is the number for the autonomous system path
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.5
Section 5.19.5.1
Viewing a List of Prefix Lists
To view a list of prefix lists for dynamic BGP routes, type:
routing bgp filter prefix-list
If prefix lists have been configured, a table or list similar to the following example appears:
If no prefix lists have been configured, add lists as needed. For more information, refer to Section 5.19.5.3,
“Adding a Prefix List”.
Section 5.19.5.2
Viewing a List of Prefix Entries
To view a list of entries for dynamic BGP, OSPF, or BGP prefix lists, type:
routing bgp filter prefix-list name entry
Where:
• name is the name of the prefix list
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing bgp filter prefix-list test entry | tab
SEQ ACTION SUBNET LE GE
---------------------------------------------
5 permit 192.168.40.0/24 32 -
6 deny 192.168.5.21/32 - -
!
!
If no entries have been configured, add entries as needed. For more information, refer to Section 5.19.5.4,
“Adding a Prefix Entry”.
Section 5.19.5.3
Adding a Prefix List
To add a prefix list for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the list by typing:
routing bgp filter prefix-list name
Where:
• name is the name of the prefix list
3. Configure the following parameter(s) as required:
Parameter Description
4. Add prefix entries as needed. For more information, refer to Section 5.19.5.4, “Adding a Prefix Entry”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.5.4
Adding a Prefix Entry
To add an entry for a dynamic BGP prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
routing bgp filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.5.5
Deleting a Prefix List
To delete a prefix list for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
NOTE
Deleting a prefix list removes all associate prefix entries as well.
Where:
• name is the name of the prefix list
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.5.6
Deleting a Prefix Entry
To delete an entry for a dynamic BGP prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the entry by typing:
no routing bgp filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.6
Section 5.19.6.1
Viewing a List of Autonomous System Paths
To view a list of autonomous system path filters for dynamic BGP routes, type:
show running-config routing bgp filter as-path
If filters have been configured, a table or list similar to the following example appears:
If no filters have been configured, add filters as needed. For more information, refer to Section 5.19.6.3, “Adding
an Autonomous System Path Filter”.
Section 5.19.6.2
Viewing a List of Autonomous System Path Entries
To view a list of entries for an autonomous system path filter, type:
show running-config routing bgp filter as-path name entry
Where:
• name is the name of the autonomous system path filter
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing bgp filter as-path filter-allow-120 entry | tab
ACTION MATCH
---------------
permit 120
!
!
If no filters have been configured, add filters as needed. For more information, refer to Section 5.19.6.3, “Adding
an Autonomous System Path Filter”.
Section 5.19.6.3
Adding an Autonomous System Path Filter
To add an autonomous system path filter for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the new filter by typing:
routing bgp filter as-path name
Where:
• name is the name of the autonomous system path filter
3. Add one or more entries. For more information, refer to Section 5.19.6.4, “Adding an Autonomous System
Path Filter Entry”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.6.4
Adding an Autonomous System Path Filter Entry
Create an entry for an autonomous system path filter to match a string or integer value in AS path and then
perform an action. The match criteria is defined using regular expressions.
To add an entry for an autonomous system path filter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the new filter by typing:
routing bgp filter as-path name entry action match
Where:
• name is the name of the autonomous system path filter.
• action is the action.
• match is the regular expression to match with the autonomous system path. For more information about
regular expressions, refer to Section 2.6.6, “Using Regular Expressions”.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.6.5
Deleting an Autonomous System Path
To delete an autonomous system path filter for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing bgp filter as-path name
Where:
• name is the name of the autonomous system path filter
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.6.6
Deleting an Autonomous System Path Filter Entry
To delete an entry for an autonomous system path filter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing bgp filter as-path name entry action match
Where:
Section 5.19.7
Managing Neighbors
Neighbors are other routers with which to exchange routes. One or more neighbors must be specified in order for
BGP to operate.
NOTE
If neighbors are specified but no networks are specified, the router will receive BGP routing information
from its neighbors but will not advertise any routes to them. For more information about networks, refer
to Section 5.19.8, “Managing Networks”.
The following sections describe how to configure and manage neighbors for dynamic BGP routes:
• Section 5.19.7.1, “Viewing a List of Neighbors”
• Section 5.19.7.2, “Adding a Neighbor”
• Section 5.19.7.3, “Deleting a Neighbor”
Section 5.19.7.1
Viewing a List of Neighbors
To view a list of neighbors configured for a BGP network, type:
show running-config routing bgp neighbor
If neighbors have been configured, a table or list similar to the following example appears:
If no neighbors have been configured, add neighbors as needed. For more information, refer to Section 5.19.7.2,
“Adding a Neighbor”.
Section 5.19.7.2
Adding a Neighbor
To add a neighbor for a BGP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the neighbor by typing:
routing bgp neighbor address
Where:
• address is the IP address of the neighbor
3. Configure the route map settings by configuring the following parameter(s):
Parameter Description
Parameter Description
ebgp-multihop { ebgp-multihop } The maximum hop count. This allows EBGP neighbors not on directly connected
networks.
maximum-prefix { maximum-prefix } The maximum prefix number accepted from this peer.
disable-connected-check Disables connection verification when establishing an eBGP peering session with a
single-hop peer that uses a loopback interface.
weight { weight } The default weight for routes from this neighbor.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.7.3
Deleting a Neighbor
To delete a neighbor from a BGP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing bgp neighbor address
Where:
• address is the IP address of the neighbor
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.8
Managing Networks
As opposed to neighbors, which are specific routers with which to exchange routes, networks are groups of
routers that are either part of a specific subnet or connected to a specific network interface. They can be used at
the same time as neighbors.
NOTE
For point-to-point links, specify neighbors instead of a network. For more information, refer to
Section 5.19.7.2, “Adding a Neighbor”.
NOTE
Networks for the BGP protocol do not require a valid entry in the routing table. Since BGP is a broader
gateway protocol, a more general network specification would typically be entered. For example, if a
routed network inside the Autonomous System (AS) was comprised of many different Class C subnets
(/24) of the 192.168.0.0/16 range, it is more efficient to advertise the one Class B network specification,
192.168.0.0/16, to its BGP neighbors.
NOTE
If neighbors are specified but no networks are specified, the router will receive routing information from
its neighbors but will not advertise any routes to them. For more information about neighbors, refer to
Section 5.19.7, “Managing Neighbors”.
Section 5.19.8.1
Viewing a List of Networks
To view a list of networks configured for the BGP protocol, type:
show running-config routing bgp network
If networks have been configured, a table or list similar to the following example appears:
If no networks have been configured, add networks as needed. For more information, refer to Section 5.19.8.2,
“Adding a Network”.
Section 5.19.8.2
Adding a Network
To add a network for the BGP protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the network by typing:
routing bgp network address
Where:
• address is the IP subnet address and prefix for the network
3. If necessary, configure an event tracker to track network commands. For more information, refer to
Section 5.19.8.4, “Tracking Commands”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.8.3
Deleting a Network
To delete a network configured for the BGP protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing bgp network address
Where:
• address is the IP subnet address and prefix for the network
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.8.4
Tracking Commands
Network commands can be tracked using event trackers configured under global » tracking. For more
information about event trackers, refer to Section 3.14, “Managing Event Trackers”.
The network command is activated based on the event tracker's state. The apply-when parameter determines
when the command is activated. For example, if the apply-when parameter is set to down, the network
command becomes active (thereby advertising the network to a router's BGP peers) when the tracked target is
unavailable.
To track a command for a BGP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » bgp » network » {address} » track, where {address} is the IP subnet address and
prefix for the network.
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.9
Section 5.19.9.1
Viewing a List of Aggregate Addresses
To view a list of aggregate addresses for dynamic BGP routes, type:
routing bgp aggregate-address
If addresses have been configured, a table or list similar to the following example appears:
If no aggregate addresses have been configured, add addresses as needed. For more information, refer to
Section 5.19.9.2, “Adding an Aggregate Address”.
Section 5.19.9.2
Adding an Aggregate Address
To add an aggregate address for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the path by typing:
routing bgp aggregate-address address
Where:
• address is the subnet address and prefix for the aggregate address
3. If necessary, configure options for the address. For more information, refer to Section 5.19.10.2, “Adding an
Aggregate Address Option”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.9.3
Deleting an Aggregate Address
To delete an aggregate address for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no routing bgp aggregate-address address
Where:
• address is the subnet address and prefix for the aggregate address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.10
Section 5.19.10.1
Viewing a List of Aggregate Address Options
To view a list of options for an aggregate address, type:
routing bgp aggregate-address address options
If options have been configured, a table or list similar to the following example appears:
If no options have been configured, add options as needed. For more information, refer to Section 5.19.10.2,
“Adding an Aggregate Address Option”.
Section 5.19.10.2
Adding an Aggregate Address Option
To add an option for an aggregate address, do the following:
Where:
• address is the subnet address and prefix for the aggregate address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.10.3
Deleting an Aggregate Address Option
To delete an option for an aggregate address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the option by typing:
no routing bgp aggregate-address address options [summary-only | as-set]
Where:
• address is the subnet address and prefix for the aggregate address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.11
Section 5.19.11.1
Viewing a List of Redistribution Metrics
To view a list of redistribution metrics for dynamic BGP routes, type:
routing bgp redistribute
If metrics have been configured, a table or list similar to the following example appears:
If no redistribution metrics have been configured, add metrics as needed. For more information, refer to
Section 5.19.11.2, “Adding a Redistribution Metric”.
Section 5.19.11.2
Adding a Redistribution Metric
To add a redistribution metric for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the metric by typing:
routing bgp redistribute [rip | ospf | connected | static | kernel]
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.19.11.3
Deleting a Redistribution Metric
To delete a redistribution metric for dynamic BGP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the metric by typing:
no routing bgp redistribute [rip | ospf | connected | static | kernel]
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20
Managing RIP
The Routing Information Protocol (RIP) determines the best path for routing IP traffic over a TCP/IP network
based on the number of hops between any two routers. It uses the shortest route available to a given network as
the route to use for sending packets to that network.
The ROX II RIP daemon is an RFC 1058 [http://tools.ietf.org/rfc/rfc1058.txt] compliant implementation of RIP
that supports RIP version 1 and 2. RIP version 1 is limited to obsolete class-based networks, while RIP version 2
supports subnet masks, as well as simple authentication for controlling which routers to accept route exchanges
with.
RIP uses network and neighbor entries to control which routers it will exchange routes with. A network is either
a subnet or a physical (broadcast-capable) network interface. Any router that is part of that subnet or connected
to that interface may exchange routes. A neighbor is a specific router, specified by its IP address, to exchange
routes with. For point to point links, neighbor entries must be used to add other routers to exchange routes with.
The maximum number of hops between two points on a RIP network is 15, placing a limit on network size.
Link failures will eventually be noticed when using RIP, although it is not unusual for RIP to take many minutes
for a dead route to disappear from the whole network. Large RIP networks could take over an hour to converge
when link or route changes occur. For fast convergence and recovery, OSPF is recommended. For more
information about OSPF, refer to Section 5.21, “Managing OSPF”.
RIP is a legacy routing protocol that has mostly been superseded by OSPF.
NOTE
In complex legacy networks, RIP, OSPF, BGP and IS-IS may all be active on the same router at the
same time. Typically, however, only one dynamic routing protocol is employed at one time.
Section 5.20.1
Configuring RIP
To configure dynamic routing using the Routing Information Protocol (RIP) daemon, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » rip and configure the following parameter(s) as required:
Parameter Description
default-information-originate The route element makes a static route only inside RIP. This element should be used
only by advanced users who are particularly knowledgeable about the RIP protocol. In
most cases, we recommend creating a static route and redistributing it in RIP using the
redistribute element with static type.
version { version } Set the RIP version to accept for reads and send. The version can be either 1 or 2.
Disabling RIPv1 by specifying version 2 is STRONGLY encouraged.
Parameter Description
The routing information timeout timer (in seconds).
3. Configure prefix lists. For more information, refer to Section 5.20.3.3, “Adding a Prefix List”.
4. Configure a network. For more information, refer to Section 5.20.4.1, “Configuring a Network”.
5. Configure the prefix list distribution. For more information, refer to Section 5.20.8.2, “Adding a Prefix List
Distribution Path”.
6. Configure key chains. For more information, refer to Section 5.20.9.3, “Adding a Key Chain”.
7. Configure redistribution metrics. For more information, refer to Section 5.20.10.2, “Adding a Redistribution
Metric”.
8. Configure interfaces. For more information, refer to Section 5.20.11.2, “Configuring a Routing Interface”.
9. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.2
If RIP routes have been configured, a table or list similar to the following example appears:
Parameter Description
tag Tag.
To view the status of the RIP interfaces configured on the device, type:
If RIP interfaces have been configured, a table or list similar to the following example appears:
Parameter Description
tag Tag.
If no dynamic RIP routes have been configured, configure RIP and add routes as needed. For more information
about configuring RIP, refer to Section 5.20.1, “Configuring RIP”.
Section 5.20.3
Section 5.20.3.1
Viewing a List of Prefix Lists
To view a list of prefix lists for dynamic RIP routes, type:
show running-config routing rip filter prefix-list
If prefix lists have been configured, a table or list similar to the following example appears:
If no prefix lists have been configured, add lists as needed. For more information, refer to Section 5.20.3.3,
“Adding a Prefix List”.
Section 5.20.3.2
Viewing a List of Prefix Entries
To view a list of entries for dynamic RIP prefix lists, type:
show running-config routing rip filter prefix-list name entry
Where:
• name is the name of the prefix list
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing rip filter prefix-list test entry | tab
SEQ ACTION SUBNET LE GE
---------------------------------------------
5 permit 192.168.40.0/24 32 -
6 deny 192.168.5.21/32 - -
!
!
If no entries have been configured, add entries as needed. For more information, refer to Section 5.20.3.4,
“Adding a Prefix Entry”.
Section 5.20.3.3
Adding a Prefix List
To add a prefix list for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the list by typing:
routing rip filter prefix-list name
Where:
• name is the name of the prefix list
3. Configure the following parameter(s) as required:
Parameter Description
4. Add prefix entries as needed. For more information, refer to Section 5.20.3.4, “Adding a Prefix Entry”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.3.4
Adding a Prefix Entry
To add an entry for a dynamic RIP prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
routing rip filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.3.5
Deleting a Prefix List
To delete a prefix list for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
NOTE
Deleting a prefix list removes all associate prefix entries as well.
Where:
Section 5.20.3.6
Deleting a Prefix Entry
To delete an entry for a dynamic RIP prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the entry by typing:
no routing rip filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.4
Managing Networks
As opposed to neighbors, which are specific routers with which to exchange routes, networks are groups of
routers that are either part of a specific subnet or connected to a specific network interface. They can be used at
the same time as neighbors.
NOTE
For point to point links, specify neighbors instead of a network. For more information, refer to
Section 5.20.7.2, “Adding a Neighbor”.
NOTE
RIP v1 does not send subnet mask information in its updates. Any networks defined are restricted to
the classic (i.e. Class A, B and C) networks.
NOTE
If neighbors are specified but no networks are specified, the router will receive routing information from
its neighbors but will not advertise any routes to them. For more information about neighbors, refer to
Section 5.20.7, “Managing Neighbors”.
Section 5.20.4.1
Configuring a Network
To configure a network for the RIP protocol, do the following:
Section 5.20.4.2
Tracking Commands
Network commands can be tracked using event trackers configured under global » tracking. For more
information about event trackers, refer to Section 3.14, “Managing Event Trackers”.
A network command is activated based on the event tracker's state. The apply-when parameter determines
when the command is activated. For example, if the apply-when parameter is set to down, the network
command becomes active (thereby advertising the network to a router's RIP peers) when the tracked target is
unavailable.
To track a command for a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » rip » distribute-prefix-list » {direction} {interface} » track, where {direction} is the
direction (incoming or outgoing) in which to filter routing updates and {interface} is the name of the interface.
3. Configure the following parameter(s) as required:
Parameter Description
event { event } Selects an event to track. The distribute-prefix-list is applied only when the tracked event
is in the UP state.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.5
Section 5.20.5.1
Viewing a List of Network IP Addresses
To view a list of IP addresses configured for a RIP network, type:
show running-config routing rip network ip
If addresses have been configured, a table or list similar to the following example appears:
If no IP addresses have been configured, add addresses as needed. For more information, refer to
Section 5.20.5.2, “Adding a Network IP Address”.
Section 5.20.5.2
Adding a Network IP Address
To add an IP address for a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the neighbor by typing:
routing rip network ip address
Where:
• address is the IP subnet address and prefix for the network
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.5.3
Deleting a Network IP Address
To delete an IP address from a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the IP address by typing:
no routing rip network ip address
Where:
• address is the IP subnet address and prefix for the network
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.6
Section 5.20.6.1
Viewing a List of Network Interfaces
To view a list of interfaces configured for a RIP network, type:
show running-config routing rip network interface
If interfaces have been configured, a table or list similar to the following example appears:
If no interfaces have been configured, add neighbors as needed. For more information, refer to Section 5.20.7.2,
“Adding a Neighbor”.
Section 5.20.6.2
Adding a Network Interface
To add an interface for a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the neighbor by typing:
routing rip network interface name
Where:
• name is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.6.3
Deleting a Network Interface
To delete an interface from a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing rip network interface name
Where:
• name is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.7
Managing Neighbors
Neighbors are other routers with which to exchange routes.
The following sections describe how to configure and manage neighbor IP addresses for dynamic RIP routes:
• Section 5.20.7.1, “Viewing a List of Neighbors”
• Section 5.20.7.2, “Adding a Neighbor”
• Section 5.20.7.3, “Deleting a Neighbor”
Section 5.20.7.1
Viewing a List of Neighbors
To view a list of neighbors configured for a RIP network, type:
show running-config routing rip network neighbor
If neighbors have been configured, a table or list similar to the following example appears:
If no neighbors have been configured, add neighbors as needed. For more information, refer to Section 5.20.7.2,
“Adding a Neighbor”.
Section 5.20.7.2
Adding a Neighbor
To add a neighbor for a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the neighbor by typing:
routing rip network neighbor address
Where:
• address is the IP address of the neighbor
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.7.3
Deleting a Neighbor
To delete a neighbor from a RIP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
Where:
• address is the IP address of the neighbor
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.8
Section 5.20.8.1
Viewing a List of Prefix List Distribution Paths
To view a list of prefix list distribution paths for dynamic RIP routes, type:
show running-config routing rip distribute-prefix-list
If distribution paths have been configured, a table or list similar to the following example appears:
If no prefix list distribution paths have been configured, add distribution paths as needed. For more information,
refer to Section 5.20.8.2, “Adding a Prefix List Distribution Path”.
Section 5.20.8.2
Adding a Prefix List Distribution Path
To add a prefix list distribution path for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the path by typing:
routing rip distribute-prefix-list direction interface
Where:
• direction is the direction (incoming or outgoing) in which to filter routing updates.
• interface is the name of the interface. This parameter is optional.
3. Configure the following parameter(s) as required:
Parameter Description
4. If necessary, configure an event tracker to track network commands. For more information, refer to
Section 5.20.4.2, “Tracking Commands”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.8.3
Deleting a Prefix List Distribution Path
To delete a prefix list distribution path for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the path by typing:
no routing rip distribute-prefix-list direction interface
Where:
• direction is the direction (incoming or outgoing) in which to filter routing updates.
• interface is the name of the interface. This parameter is optional.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.9
Section 5.20.9.1
Viewing a List of Key Chains
To view a list of key chains for dynamic RIP routes, type:
show running-config routing rip key-chain
If key chains have been configured, a table or list similar to the following example appears:
If no key chains have been configured, add key chains as needed. For more information, refer to
Section 5.20.9.3, “Adding a Key Chain”.
Section 5.20.9.2
Viewing a List of Keys
To view a list of keys in a key chain, type:
show running-config routing rip rip key-chain name key
Where:
• name is the name of the key chain
If keys have been configured, a table or list similar to the following example appears:
If no keys have been configured, add keys as needed. For more information, refer to Section 5.20.9.4, “Adding a
Key”.
Section 5.20.9.3
Adding a Key Chain
To add a key chain for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the path by typing:
routing rip key-chain name
Where:
• name is the name of the key chain
3. Configure one or more keys for the key chain. For more information, refer to Section 5.20.9.4, “Adding a
Key”.
4. Configure a routing interface to use the key chain for authentication purposes. For more information, refer to
Section 5.20.11.2, “Configuring a Routing Interface”
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.9.4
Adding a Key
Keys (or shared secrets) are used to authenticate communications over a RIP network. To maintain network
stability, each key is assigned an accept and send lifetime.
The accept lifetime is the time period in which the key is accepted by the device.
The send lifetime is the time period in which they key can be sent to other devices.
This is referred to as hitless authentication key rollover, a method for seamlessly updating authentication keys
without having to reset network sessions.
To add a key to a key chain, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the key by typing:
routing rip key-chain name key id
Where:
• name is the name of the key chain
• id is the ID of the key
3. Configure the key name setting by configuring the following parameter(s):
Parameter Description
Parameter Description
start { start } The beginning time in which the key is considered valid.
Prerequisite: The start time cannot be configured unless the expire time is configured.
Parameter Description
start { start } Sets the time period in which the key on the key chain is considered valid.
Prerequisite: The start time cannot be configured unless the expire time is configured.
Parameter Description
Prerequisite: The expire time cannot be configured unless the start time is configured.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.9.5
Deleting a Key Chain
To delete a key chain for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the key chain by typing:
no routing rip key-chain name
Where:
• name is the name of the key chain
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.9.6
Deleting a Key
To delete a key from a key chain, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the key by typing:
no routing rip key-chain name key id
Where:
• name is the name of the key chain
• id is the ID of the key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.10
Section 5.20.10.1
Viewing a List of Redistribution Metrics
To view a list of redistribution metrics for dynamic RIP routes, type:
show running-config routing rip redistribute
If metrics have been configured, a table or list similar to the following example appears:
If no redistribution metrics have been configured, add metrics as needed. For more information, refer to
Section 5.20.10.2, “Adding a Redistribution Metric”.
Section 5.20.10.2
Adding a Redistribution Metric
To add a redistribution metric for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the metric by typing:
routing rip redistribute [bgp | ospf | connected | static | kernel]
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.10.3
Deleting a Redistribution Metric
To delete a redistribution metric for dynamic RIP routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the metric by typing:
no routing rip redistribute [bgp | ospf | connected | static | kernel]
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.20.11
Section 5.20.11.1
Viewing a List of Routing Interfaces
To view a list of routing interfaces for a RIP network, type:
show running-config routing rip interface
Section 5.20.11.2
Configuring a Routing Interface
To configure a routing interface for a RIP network, do the following:
NOTE
OSPF regards router interfaces as either passive or active, sending OSPF messages on active
interfaces and ignoring passive interfaces.
Parameter Description
Parameter Description
passive The specified interface is set to passive mode. In passive mode, all received packets are
processed normally and RIPd sends neither multicast nor unicast RIP packets except to
RIP neighbors specified with a neighbor element.
Parameter Description
A split horizon.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21
Managing OSPF
The Open Path Shortest First (OSPF) protocol determines the best path for routing IP traffic over a TCP/IP
network based on link cost and quality. Unlike static routing, OSPF takes link failures and other network topology
changes into account. OSPF also differs from RIP in that it provides less router to router update traffic.
The ROX II OSPF daemon (ospfd) is an RFC 2178 [http://tools.ietf.org/html/rfc2178] compliant implementation of
OSPF version 2. The daemon also adheres to the Opaque LSA (RFC 2370 [http://tools.ietf.org/html/rfc2370]) and
ABR-Types (RFC 3509 [http://tools.ietf.org/html/rfc3509]) extensions.
OSPF network design usually involves partitioning a network into a number of self-contained areas. The areas
are chosen to minimize intra-area router traffic, making more manageable and reducing the number of advertised
routes. Area numbers are assigned to each area. All routers in the area are known as Area routers. If traffic must
flow between two areas a router with links in each area is selected to be an Area Border router, and serves as a
gateway.
NOTE
The router-id parameter defines the ID of the router. By default this is the highest IP assigned to
the router. It is recommended to configure this value manually to avoid the ID changing if interfaces
are added or deleted from the router. During elections for the master router, the ID is one of the values
used to pick the winner. Keeping the ID fixed will avoid any unexpected changes in the election of the
master router.
NOTE
In complex legacy networks, RIP, OSPF, BGP and IS-IS may all be active on the same router at the
same time. Typically, however, only one dynamic routing protocol is employed at one time.
Section 5.21.1
OSPF Concepts
When an OSPF configured router starts operating, it issues a hello packet. Routers having the same OSPF Area,
hello-interval and dead-interval timers will communicate with each other and are said to be neighbors.
After discovering its neighbors, a router will exchange Link State Advertisements in order to determine the
network topology.
Every 30 minutes (by default), the entire topology of the network must be sent to all routers in an area.
If the link speeds are too low, the links are too busy or there are too many routes, some routes may fail to get re-
announced and will be aged out.
Splitting the network into smaller areas to reduce the number of routes within an area or reducing the number of
routes to be advertised may help to avoid this problem.
In shared access networks (i.e. routers connected by switches or hubs) a designated router and a backup
designated are elected to receive route changes from subnets in the area. Once a designated router is picked, all
routing state changes are sent to the designated router, which then sends the resulting changes to all the routers.
The election is decided based on the priority assigned to the interface of each router. The highest priority wins. If
the priority is tied, the highest router-id wins.
Section 5.21.2
Configuring OSPF
To configure dynamic routing using the Open Shortest Path First (OSPF) daemon, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » ospf and configure the following parameter(s) as required:
Parameter Description
compatible-rfc1583 Enables the compatibility with the obsolete RFC1583 OSPF (the current is RFC2178)
Parameter Description
3. Configure prefix list filters. For more information, refer to Section 5.21.4.3, “Adding a Prefix List”.
4. Configure areas. For more information, refer to Section 5.21.5.2, “Adding an Area”.
5. Configure route map filters. For more information, refer to Section 5.21.6.3, “Adding a Route Map Filter”.
6. Configure redistribution metrics. For more information, refer to Section 5.21.8.2, “Adding a Redistribution
Metric”.
7. Configure interfaces. For more information, refer to Section 5.21.9.2, “Configuring a Routing Interface”.
8. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.3
If OSPF routes have been configured, a table or list similar to the following example appears:
Parameter Description
id Network Prefix.
cost Cost.
Parameter Description
area Area.
To view the status of the dynamic OSPF neighbor configured on the device, type:
show routing status ospf neighbor
If an OSPF neighbor have been configured, a table or list similar to the following example appears:
Parameter Description
id Neighbor ID.
address Address.
interface Interface.
priority Priority.
state State.
To view the status of the dynamic OSPF database configured on the device, type:
show routing status ospf database
If an OSPF neighbor have been configured, a table or list similar to the following example appears:
net
ID AREA ADV ROUTER AGE SEQNUM
-------------------------------------------------------
192.168.212.22 0.0.0.0 22.22.22.22 584 0x80000009
summary
ID AREA ADV ROUTER AGE SEQNUM ROUTE
-------------------------------------------------------------------------
192.168.22.0 0.0.0.0 22.22.22.22 1354 0x80000008 192.168.22.0/24
192.168.21.0 0.0.0.1 22.22.22.22 1434 0x80000009 192.168.21.0/24
192.168.212.0 0.0.0.1 22.22.22.22 44 0x80000008 192.168.212.0/24
as-external
METRIC
Parameter Description
id Link ID.
age Age.
Parameter Description
id Link ID.
age Age.
Parameter Description
id Link ID.
age Age.
route Route.
If no dynamic OSPF routes have been configured, configure OSPF and add routes as needed. For more
information about configuring OSPF, refer to Section 5.21.2, “Configuring OSPF”.
Section 5.21.4
Section 5.21.4.1
Viewing a List of Prefix Lists
To view a list of prefix lists for dynamic OSPF routes, type:
routing ospf filter prefix-list
If prefix lists have been configured, a table or list similar to the following example appears:
If no prefix lists have been configured, add lists as needed. For more information, refer to Section 5.21.4.3,
“Adding a Prefix List”.
Section 5.21.4.2
Viewing a List of Prefix Entries
To view a list of entries for dynamic OSPF, OSPF, or OSPF prefix lists, type:
routing ospf filter prefix-list name entry
Where:
• name is the name of the prefix list
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing ospf filter prefix-list test entry | tab
SEQ ACTION SUBNET LE GE
---------------------------------------------
5 permit 192.168.40.0/24 32 -
6 deny 192.168.5.21/32 - -
!
!
If no entries have been configured, add entries as needed. For more information, refer to Section 5.21.4.4,
“Adding a Prefix Entry”.
Section 5.21.4.3
Adding a Prefix List
To add a prefix list for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• name is the name of the prefix list
3. Configure the following parameter(s) as required:
Parameter Description
4. Add prefix entries as needed. For more information, refer to Section 5.21.4.4, “Adding a Prefix Entry”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.4.4
Adding a Prefix Entry
To add an entry for a dynamic OSPF prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
routing ospf filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.4.5
Deleting a Prefix List
To delete a prefix list for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
NOTE
Deleting a prefix list removes all associate prefix entries as well.
Where:
• name is the name of the prefix list
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.4.6
Deleting a Prefix Entry
To delete an entry for a dynamic OSPF prefix list, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the entry by typing:
no routing ospf filter prefix-list name entry number
Where:
• name is the name of the prefix list
• number is the sequence number for the entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.5
Managing Areas
Network areas determine the regions within which routes are distributed to other routers. The subnets at a
particular router can be added to its OSPF Area. The router will advertise these subnets to all routers in its area.
OSPF areas must be designed such that no single link failure will cause the network to be split into two disjointed
networks.
A router can be part of multiple areas and function as a gateway between areas. When multiple areas are used
on a network, area zero (0) is the backbone area. All areas must have a router connecting them to area zero (0).
The following sections describe how to configure and manage network areas for dynamic OSPF routes:
• Section 5.21.5.1, “Viewing a List of Areas”
• Section 5.21.5.2, “Adding an Area”
• Section 5.21.5.3, “Deleting an Area”
Section 5.21.5.1
Viewing a List of Areas
To view a list of areas configured for dynamic OSPF routes, type:
If areas have been configured, a table or list similar to the following example appears:
If no areas have been configured, add areas as needed. For more information, refer to Section 5.21.5.2, “Adding
an Area”.
Section 5.21.5.2
Adding an Area
To add an area for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the area by typing:
routing ospf area id network/prefix
Where:
• id is the ID for the OSPF area. The ID must be in the format of A.B.C.D.
• network/prefix is the network and prefix for the OSPF area.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.5.3
Deleting an Area
To delete an area for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• id is the ID for the OSPF area. The ID must be in the format of A.B.C.D.
• network/prefix is the network and prefix for the OSPF area.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.6
Section 5.21.6.1
Viewing a List of Route Map Filters
To view a list of route map filters for either dynamic OSPF routes, type:
show running-config routing [bgp | ospf] filter route-map
If filters have been configured, a table or list similar to the following example appears:
If no filters have been configured, add filters as needed. For more information, refer to Section 5.21.6.3, “Adding
a Route Map Filter”.
Section 5.21.6.2
Viewing a List of Route Map Filter Entries
To view a list of entries for a route map filter for either OSPF, type:
show running-config routing ospf filter route-map tag entry
Where:
• tag is the tag for the route map filter
If entries have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing ospf filter route-map map entry | tab
ON
MATCH AS PREFIX PREFIX PREFIX LOCAL
NEXT ORIGINATOR
SEQ ACTION CALL GOTO PATH LIST LIST LIST METRIC PEER ORIGIN AS IP PREFERENCE
OPERATION VALUE HOP ORIGIN ID WEIGHT AS
---------------------------------------------------------------------------------------------
10 permit - - - - - - - - - - - - -
- - - - -
!
!
If no filters have been configured, add filters as needed. For more information, refer to Section 5.21.6.4, “Adding
a Route Map Filter Entry”.
Section 5.21.6.3
Adding a Route Map Filter
To add a route map filter for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the new filter by typing:
routing ospf filter route-map tag
Where:
• tag is the tag for the route map filter
3. Add one or more entries. For more information, refer to Section 5.21.6.4, “Adding a Route Map Filter Entry”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.6.4
Adding a Route Map Filter Entry
To add an entry for an route map filter, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• tag is the tag for the route map filter
• number is the sequence number for the entry
3. Configure the following parameter(s) as required:
Parameter Description
4. Configure the match rules for the route map filter. For more information, refer to Section 5.21.6.7,
“Configuring Match Rules”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.6.5
Deleting a Routing Map Filter
To delete a route map filter for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing ospf filter route-map tag
Where:
• tag is the tag for the route map filter
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.6.6
Deleting a Routing Map Filter Entry
To delete an entry for a route map filter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the filter key by typing:
no routing ospf filter route-map tag entry number
Where:
Section 5.21.6.7
Configuring Match Rules
To configure match rules for a route map filter entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » ospf » filter » route-map » {tag} » entry » {number} » match, where {tag} is the tag
for the route map filter and {number} is the sequence number for the entry.
3. Configure the following parameters as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.7
NOTE
For more information about route map filters, refer to Section 5.21.6, “Managing Route Maps”.
The following sections describe how to configure and manage incoming route filters:
• Section 5.21.7.1, “Viewing List of Incoming Route Filters”
• Section 5.21.7.2, “Adding an Incoming Route Filter”
• Section 5.21.7.3, “Deleting an Incoming Route Filter”
Section 5.21.7.1
Viewing List of Incoming Route Filters
To view a list of route filters configured for incoming advertised routes, type:
show running-config routing ospf incoming-route-filter
If route filters have been configured, a table or list similar to the following example appears:
If noroute filters have been configured, add filters as needed. For more information, refer to Section 5.21.7.2,
“Adding an Incoming Route Filter”.
Section 5.21.7.2
Adding an Incoming Route Filter
To add a route filter for incoming advertised routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Make sure a route map has been configured. For more information, refer to Section 5.21.6, “Managing Route
Maps”
3. Create the new incoming route filter by typing:
routing ospf incoming-route-filter route-map
Where:
• route-map is the name of the route map.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.7.3
Deleting an Incoming Route Filter
To delete a route filter configured for incoming advertised routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no routing ospf incoming-route-filter route-map
Where:
• route-map is the name of the route map.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.8
Section 5.21.8.1
Viewing a List of Redistribution Metrics
To view a list of redistribution metrics for dynamic OSPF routes, type:
routing ospf redistribute
If metrics have been configured, a table or list similar to the following example appears:
If no redistribution metrics have been configured, add metrics as needed. For more information, refer to
Section 5.21.8.2, “Adding a Redistribution Metric”.
Section 5.21.8.2
Adding a Redistribution Metric
To add a redistribution metric for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the metric by typing:
routing ospf redistribute [bgp | rip | connected | static | kernel]
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.8.3
Deleting a Redistribution Metric
To delete a redistribution metric for dynamic OSPF routes, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the metric by typing:
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.9
Section 5.21.9.1
Viewing a List of Routing Interfaces
To view a list of routing interfaces for an OSPF network, type:
show running-config routing OSPF interface
Section 5.21.9.2
Configuring a Routing Interface
To configure a routing interface for an OSPF network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » ospf » interface » {name}, where {name} is the name of the interface.
3. Configure the dead interval settings by typing the following commands:
NOTE
For reliable operation, it is recommended that the dead-interval value be at least four times
the number of Hellos per second.
NOTE
Lower values of dead-interval and minimal-hello-multiplier will help speed up the
change in network routes when the topology of the network changes. It will also increase the load
on the router and the links, due to higher traffic caused by the increase in messages.
Lower values will also put limits on the number of routes that can be distributed within an OSPF
network area, as will running over slower links.
IMPORTANT!
The dead-interval and number of Hellos per second must be identical on every router in an
OSPF network area.
Parameter Description
minimal-hello-multiplier { minimal-hello- The number of times a hello message can be sent within one second.
multiplier }
NOTE
Link detection is enabled automatically for active network interfaces. It makes sure the appropriate
routing daemon is notified when an interface goes down and stops advertising subnets associated
with that interface. The routing daemon resumes advertising the subnet when the link is restored.
This allows routing daemons to detect link failures more rapidly, as the router does not have to
wait for the dead interval to time out. Link detection also causes redistributed routes to start and
stop being advertised based on the status of their interface links.
NOTE
The link cost determines which route to use when multiple links can reach a given destination.
By default, OSPF assigns the same cost to all links unless it is provided with extra information
about the links. Each interface is assumed to be 10 Mbit, unless otherwise specified by the auto-
cost-bandwidth parameter set for the interface. For more information about the auto-cost-
bandwidth, refer to Section 5.37.1, “Configuring Costing for Routable Interfaces”.
The default OSPF reference bandwidth for link cost calculations is 100 Mbit. The reference
bandwidth divided by the link bandwidth gives the default cost for a link, which by default is 10. If a
specific bandwidth is assigned to each link, the costs take this into account.
Link costs can be assigned manually under OSPF to each routable interface. This should be done
when the speed of the link should not be used as the method for choosing the best link.
Parameter Description
cost { cost } The link cost. If not set, the cost is based on calculation of reference bandwidth divide by
interface bandwidth.
Parameter Description
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.10
IMPORTANT!
The router can only share routing information with neighbors that use the same authentication method
and password.
NOTE
Authentication adds a small overhead due to the encryption of messages. It is not recommended for
completely private networks with controlled access.
The following sections describe how to configure and manage message digest keys:
• Section 5.21.10.1, “Viewing a List of Message Digest Keys”
• Section 5.21.10.2, “Adding a Message Digest Key”
• Section 5.21.10.3, “Deleting a Message Digest Key”
Section 5.21.10.1
Viewing a List of Message Digest Keys
To view a list of message digest keys for an OSPF routing interface, type:
show running-config routing ospf interface name message-digest-key
Where:
• name is the name of the routing interface
If keys have been configured, a table or list similar to the following example appears:
!
!
!
If no message digest keys have been configured, add keys as needed. For more information, refer to
Section 5.21.10.2, “Adding a Message Digest Key”.
Section 5.21.10.2
Adding a Message Digest Key
To add a message digest key to an OSPF routing interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the key by typing:
routing ospf interface name message-digest-key id
Where:
• name is the name of the routing interface
• id is the ID for the message digest key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.21.10.3
Deleting a Message Digest Key
To delete a message digest key from an OSPF routing interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the key by typing:
no routing ospf interface name message-digest-key id
Where:
• name is the name of the routing interface
• id is the ID for the message digest key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22
Section 5.22.1
Where:
• protocol is either IPv4 or IPv6
If routes have been configured, a table or list similar to the following example appears:
If no static routes have been configured, add routes as needed. For more information, refer to Section 5.22.2,
“Adding an IPv4 Static Route” or Section 5.22.3, “Adding an IPv6 Static Route”.
Section 5.22.2
Where:
• subnet is the subnet (network/prefix) of the static route
3. Configure the following parameter(s) as required:
Parameter Description
hw-accelerate If the static unicast route can be hardware accelerated, this option will be available.
For a static unicast route to be accelerated, the ingress and egress interfaces must be
switched.
4. If necessary, configure a black hole connection for the static route. For more information, refer to
Section 5.22.5, “Configuring a Black Hole Connection for an IPv4 Static Route”.
5. If necessary, add gateways for the static route. For more information, refer to Section 5.22.6.3, “Adding a
Gateway for an IPv4 Static Route”.
6. If necessary, add interfaces for the static route. For more information, refer to Section 5.22.7.3, “Adding an
Interface for an IPv4 Static Route”.
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.3
Where:
• subnet is the subnet (network/prefix) of the static route
3. If necessary, configure either a gateway or an interface for the static route. Only one can be configured per
static route. For more informatoin, refer to Section 5.22.6.1, “Configuring Gateways for IPv6 Static Routes” or
Section 5.22.7.1, “Configuring Interfaces for IPv6 Static Routes”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.4
Where:
• protocol is either IPv4 or IPv6
• subnet is the subnet (network/prefix) of the static route
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.5
2. Navigate to routing » ipv4 » {subnet} » blackhole, where subnet is the subnet (network/prefix) of the static
route.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.6
Section 5.22.6.1
Configuring Gateways for IPv6 Static Routes
To configure a gateway address for an IPv6 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » ipv6 » route » {subnet} » via, where subnet is the subnet (network/prefix) of the static
route.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.6.2
Viewing a List of Gateways for IPv4 Static Routes
To view a list of gateway addresses assigned to an IPv4 static route, type:
show running-config routing ipv4 route subnet via
Where:
• subnet is the subnet (network/prefix) of the static route
If gateway addresses have been configured, a table or list similar to the following example appears:
If no gateway addresses have been configured, add addresses as needed. For more information, refer to
Section 5.22.6.3, “Adding a Gateway for an IPv4 Static Route”.
Section 5.22.6.3
Adding a Gateway for an IPv4 Static Route
To add a gateway address for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the gateway address by typing:
routing ipv4 route subnet via gateway
Where:
• subnet is the subnet (network/prefix) of the static route
• gateway is the gateway address for the static route
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.6.4
Deleting a Gateway for an IPv4 Static Route
To delete a gateway for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the gateway address by typing:
no routing ipv4 route subnet via gateway
Where:
• subnet is the subnet (network/prefix) of the static route
• gateway is the gateway address for the static route
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.7
Section 5.22.7.1
Configuring Interfaces for IPv6 Static Routes
To configure an interface for an IPv6 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » ipv6 » route » {subnet} » dev, where subnet is the subnet (network/prefix) of the
static route.
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.7.2
Viewing a List of Interfaces for IPv4 Static Routes
To view a list of interfaces assigned to an IPv4 static route, type:
show running-config routing ipv4 route subnet dev
Where:
• subnet is the subnet (network/prefix) of the static route
If interfaces have been configured, a table or list similar to the following example appears:
If no interfaces have been configured, add interfaces as needed. For more information, refer to Section 5.22.7.3,
“Adding an Interface for an IPv4 Static Route”.
Section 5.22.7.3
Adding an Interface for an IPv4 Static Route
To add an interface for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the gateway address by typing:
routing ipv4 route subnet dev interface
Where:
• subnet is the subnet (network/prefix) of the static route
• interface is the name of the interface for the static route
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.22.7.4
Deleting an Interface for an IPv4 Static Route
To delete an interface for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the gateway address by typing:
no routing ipv4 route subnet dev interface
Where:
• subnet is the subnet (network/prefix) of the static route
• interface is the name of the interface for the static route
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.23
Section 5.23.1
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.23.2
Section 5.23.2.1
Viewing a List of Static Multicast Groups
To view a list of static multicast groups, type:
show running-config routing multicast static
If static multicast groups have been configured, a table or list similar to the following example appears:
If no static multicast groups have been configured, add groups as needed. For more information about adding
static multicast groups, refer to Section 5.23.2.2, “Adding a Static Multicast Group”.
Section 5.23.2.2
Adding a Static Multicast Group
To add a static multicast group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the multicast group by typing:
routing multicast static mcast-groups description
Where:
• description is the name of the multicast group. Up to 32 characters are allowed, excluding spaces.
3. Configure the following parameter(s) as required:
Parameter Description
source-ip { source-ip } The expected source IP address of the multicast packet, in the format xxx.xxx.xxx.xxx.
This address is uniquely paired with the multicast address. You cannot use this IP
address to create another multicast routing entry with a different Multicast-IP address.
in-interface { in-interface } The interface upon which the multicast packet arrives.
hw-accelerate If the multicast route can be hardware accelerated, the option will be available. For a
multicast route to be accelerated, the ingress and egress interfaces must be switched.
Section 5.23.2.3
Deleting a Static Multicast Group
To delete a static multicast group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the multicast group by typing:
no routing multicast static mcast-groups description
Where:
• description is the name of the multicast group to be deleted
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.23.3
Managing Out-Interfaces
The following sections describe how to configure and manage out-interfaces:
• Section 5.23.3.1, “Viewing a List of Out-Interfaces”
• Section 5.23.3.2, “Adding an Out-Interface”
• Section 5.23.3.3, “Deleting an Out-Interface”
Section 5.23.3.1
Viewing a List of Out-Interfaces
To view a list of out-interfaces, type:
show runing-config routing multicast static mcast-group out-interface
If out-interfaces have been configured, a table or list similar to the following example appears:
If no out-interfaces have been configured, add groups as needed. For more information about adding out-
interfaces, refer to Section 5.23.3.2, “Adding an Out-Interface”.
Section 5.23.3.2
Adding an Out-Interface
To add an out-interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the out-interface by typing:
routing multicast static mcast-groups group out-interface ifname
Where:
• group is the name of the multicast group
• ifname is a string of up to 15 characters used to name the out-interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.23.3.3
Deleting an Out-Interface
To delete an out-interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the out-interface by typing:
Where:
• group is the name of the group with the out-interface to be deleted
• ifname is the name of the out-interface to be deleted
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24
Section 5.24.1
PIM-SM Concepts
When a PIM router receives a subscription from a host, e.g. Host A, for particular multicast traffic, the directly
attached designated router (DR) sends a PIM join message for this multicast group towards the rendezvous point
(RP). The message is sent hop-by-hop and thus any routers encountering the message would register the group
and send the message onwards towards the RP. This would create the shared tree (RP-tree). The tree will not be
complete, however, until any sources appear.
When a host or device sends multicast traffic destined to the multicast group subscribed by A, the directly
attached designated router takes the traffic, encapsulates it with PIM Register headers and unicasts them
to the RP. When the RP receives this traffic, it decapsulates the packets and sends the data towards the
subscriber through the RP tree. The routers that receive these packets simply pass them on over the RP-Tree
until it reaches the subscriber. Note that there may be other subscribers in the network and the path to those
subscribers from the RP is also part of the RP Tree.
After the shared tree has been established, the traffic flows from the source to the RP to the receiver. There
are two inefficiencies in this process. One, the traffic is encapsulated at the source and decapsulated at the RP,
which may be a performance penalty for a high level of traffic. Two, the traffic may be taking a longer path than
necessary to reach its receivers.
After the shared tree has been established, the RP may choose to to send a Join message to the source
declaring that it only wants traffic for a group (e.g. group G) from the source (e.g. source S). The DR for the
source then starts sending the traffic in multicast form (instead of unicast). Without encapsulation, there is little
performance overhead other than what is normal for the traffic when routing in general. The RP will continue
sending the traffic over the RP-tree after it receives it. This also means that the traffic may reach the RP-tree
before it reaches the RP (in the case where the source branches off the RP-tree itself) which will also have the
additional benefit of traffic flowing more efficiently towards receivers that are on the same side of the RP-tree as
the source.
If the DR to the receiver decided that traffic coming from the RP-tree was using a suboptimal path than if it was
received from the source itself, it would issue a source-specific Join message towards the source. This would
then make all intermediate routers register the Join message and then traffic would start flowing along that tree.
This is the shortest path tree (SP-tree). At this point, the receiver would receive the traffic from both the RP-tree
and the SP-tree. After the flow starts from the SP-tree, the DR will drop the packets from the RP-tree and send a
prune message for that traffic towards the RP. This will stop the traffic from arriving from the RP. This scenario will
most likely only occur when the traffic has to take a detour when arriving from the RP. Otherwise the RP-tree itself
is used.
Section 5.24.2
Configuring PIM-SM
PIM-SM can be used to establish and dynamically manage the Multicast Routing table.
To configure PIM-SM, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » multicast » dynamic » pim-sm.
3. Configure the following parameter(s) as required:
Parameter Description
broken-cisco-checksum If your RP is a cisco and shows many PIM_REGISTER checksum errors from this
router, setting this option will help.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.3
group-prefix
PREFIX
--------------
225.0.0.1/32
225.0.0.2/32
If no PIM-SM interfaces have been configured, enable interfaces as needed. For more information about enabling
PIM-SM interfaces, refer to Section 5.24.4, “Enabling/Disabling a PIM-SM Interface”.
Section 5.24.4
NOTE
Enabling PIM-SM on an interface also enables IGMPv2 on the interface, wherein the interface with the
lowest IP address becomes the IGMP querier and sends periodic query messages every 125 seconds.
Where:
• ifname is the name of the interface
• passive determines whether the interface is passive (default) or active (no passive)
NOTE
A maximum of 30 non-passive interfaces can be active for PIM-SM.
3. For VLAN interfaces only, if IGMP snooping is enabled on the interface, make sure the IGMP query interval
is set to 125 seconds. For more information, refer to Section 5.25.3.1, “Configuring IGMP Snooping”.
The same is required for any Layer 2 switches on the network.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.5
Where:
• static-address is the Static RP (Rendezvous Point) address.
• group-address is the multicast group the RP handles.
• number sets the priority for this CRP. Smaller value means higher priority.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.6
Section 5.24.6.1
Configuring a BSR Candidate
To configure a BSR candidate, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing » multicast » dynamic » pim-sm » bsr-candidate
3. Configure the following parameters as required:
Parameter Description
local-address { local-address } Local address to be used in the Cand-BSR messages. If not specified, the largest local
IP address will be used (excluding passive interfaces).
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.6.2
Configuring a Group Prefix
To configure a group-prefix, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the group prefix by typing:
routing multicast dynamic pim-sm group-prefix prefix
Where:
• prefix is the multicast group prefix (for example, 225.1.2.0/24)
NOTE
A maximum of 20 group prefixes can be defined for PIM-SM.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.6.3
Configuring an RP Candidate
To configure an RP candidate, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the RP candidate by typing:
routing multicast dynamic pim-sm RP-candidate local-address timer priority number
Where:
• local-address is the local address to be used in the Cand-RP messages. If not specified, the largest
local IP address will be used (excluding passive interfaces).
• timer is the number of seconds to wait between advertising and Cand-RP message.
• priority sets the priority for this CRP. Smaller value means higher priority.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.24.7
rp
ID PREFIX PRIORITY HOLDTIME
--------------------------------------------
3.3.3.3
225.0.0.1/32 1 105
225.0.0.2/32 1 105
Parameter Description
subnet Subnet.
Parameter Description
• DISABLED: The virtual interface is administratively disabled for PIM-SM.
• DOWN: This virtual interface is down.
• DR: Designated router.
• NO-NBR: No neighbor on this virtual interface.
• PIM: PIM neighbor.
• DVMRP: DVMRP neighbor.
Section 5.24.8
If multicast routes have been configured, a table or list similar to the following example appears:
Section 5.25
Section 5.25.1
Section 5.25.1.1
IGMP
IGMP is used by IP hosts to report their host group memberships with multicast routers. As hosts join and leave
specific multicast groups, streams of traffic are directed to or withheld from that host.
The IGMP protocol operates between multicast routers and IP hosts. When an unmanaged switch is placed
between multicast routers and their hosts, the multicast streams will be distributed to all ports.This may introduce
significant traffic onto ports that do not require it and receive no benefit from it.
IGMP Snooping, when enabled, will act on IGMP messages sent from the router and the host, restricting traffic
streams to the appropriate LAN segments.
1
P1
M1 M2
2 2
3 3
4 C1 C2 C3 C4
One producer IP host (P1) is generating two IP multicast streams, M1 and M2. There are four potential
consumers of these streams, C1 through C4. The multicast router discovers which host wishes to subscribe to
which stream by sending general membership queries to each segment.
In this example, the general membership query sent to the C1-C2 segment is answered by a membership report
(or join) indicating the desire to subscribe to stream M2. The router will forward the M2 stream to the C1-C2
segment. In a similar fashion, the router discovers that it must forward stream M1 to segment C3-C4.
A consumer may join any number of multicast groups, issuing a membership report for each group. When a
host issues a membership report, other hosts on the same network segment that also require membership to
the same group suppress their own requests, since they would be redundant. In this way, the IGMP protocol
guarantees the segment will issue only one membership report for each group.
328 IGMP
RUGGEDCOM ROX II Chapter 5
User Guide Setup and Configuration
The router periodically queries each of its segments in order to determine whether at least one consumer still
subscribes to a given stream. If it receives no responses within a given time period (usually two query intervals),
the router will prune the multicast stream from the given segment.
A more common method of pruning occurs when consumers wishing to unsubscribe issue an IGMP leave group
message. The router will immediately issue a group-specific membership query to determine whether there are
any remaining subscribers of that group on the segment. After the last consumer of a group has unsubscribed,
the router will prune the multicast stream from the given segment.
NOTE
A switch running in passive mode requires the presence of a multicast router or it will be unable to
forward multicast streams at all if no multicast routers are present.
NOTE
Without a multicast router, at least one IGMP Snooping switch must be in active mode to make IGMP
functional.
IGMP 329
Chapter 5 RUGGEDCOM ROX II
Setup and Configuration User Guide
• When the querier election process is complete, the switch simply relays IGMP queries received from the
querier.
• When sending IGMP packets, the switch uses its own IP address, if it has one, for the VLAN on which packets
are sent, or an address of 0.0.0.0, if it does not have an assigned IP address.
NOTE
IGMP Snooping switches perform multicast pruning using a multicast frames’ destination MAC
multicast address, which depends on the group IP multicast address. IP address W.X.Y.Z corresponds
to MAC address 01-00-5E-XX-YY-ZZ where XX is the lower 7 bits of X, and YY and ZZ are simply Y
and Z coded in hexadecimal.
One can note that IP multicast addresses, such as 224.1.1.1 and 225.1.1.1, will both map onto the
same MAC address 01-00-5E-01-01-01. This is a problem for which the IETF Network Working Group
currently has offered no solution. Users are advised to be aware of and avoid this problem.
330 IGMP
RUGGEDCOM ROX II Chapter 5
User Guide Setup and Configuration
2 3
1 P1
P2 4
5
C1 C2 C3
In this example:
• P1, Router 1, Router 2 and C3 are on VLAN 2
• P2 and C2 are on VLAN 3
• C1 is on both VLAN 2 and 3
Assuming that router 1 is the querier for VLAN 2 and router 2 is simply a non-querier, the switch will periodically
receive queries from router 1 and maintain the information concerning which port links to the multicast router.
However, the switch port that links to router 2 must be manually configured as a router port. Otherwise, the switch
will send neither multicast streams nor joins/leaves to router 2.
Note that VLAN 3 does not have an external multicast router. The switch should be configured to operate in its
routerless mode and issue general membership queries as if it is the router.
• Processing Joins
If host C1 wants to subscribe to the multicast streams for both P1 and P2, it will generate two membership
reports. The membership report from C1 on VLAN 2 will cause the switch to immediately initiate its own
membership report to multicast router 1 (and to issue its own membership report as a response to queries).
The membership report from host C1 for VLAN 3 will cause the switch to immediately begin forwarding
multicast traffic from producer P2 to host C2.
• Processing Leaves
When host C1 decides to leave a multicast group, it will issue a leave request to the switch. The switch will
poll the port to determine if host C1 is the last member of the group on that port. If host C1 is the last (or only)
member, the group will immediately be pruned from the port.
Should host C1 leave the multicast group without issuing a leave group message and then fail to respond to a
general membership query, the switch will stop forwarding traffic after two queries.
When the last port in a multicast group leaves the group (or is aged-out), the switch will issue an IGMP leave
report to the router.
IGMP 331
Chapter 5 RUGGEDCOM ROX II
Setup and Configuration User Guide
Section 5.25.1.2
GMRP (GARP Multicast Registration Protocol)
The GARP Multicast Registration Protocol (GMRP) is an application of the Generic Attribute Registration Protocol
(GARP) that provides a Layer 2 mechanism for managing multicast group memberships in a bridged Layer 2
network. It allows Ethernet switches and end stations to register and unregister membership in multicast groups
with other switches on a LAN, and for that information to be disseminated to all switches in the LAN that support
Extended Filtering Services.
GMRP is an industry-standard protocol first defined in IEEE 802.1D-1998 and extended in IEEE 802.1Q-2005.
GARP was defined in IEEE 802.1D-1998 and updated in 802.1D-2004.
NOTE
GMRP provides similar functionality at Layer 2 to what IGMP provides at Layer 3.
In this scenario, there are two multicast sources, S1 and S2, multicasting to Multicast Groups 1 and 2,
respectively. A network of five switches, including one core switch (B), connects the sources to two hosts, H1 and
H2, which receive the multicast streams from S1 and S2, respectively.
1
S1
D2
D
D1
B3
B1
B
B2
B4
A1 E1 C1
A E C
2
A2 E2 C2
3
1
S2 H1 H2
The hosts and switches establish membership with the Multicast Group 1 and 2 as follows:
1. Host H1 is GMRP unaware, but needs to see traffic for Multicast Group 1. Therefore, Port E2 on Switch E is
statically configured to forward traffic for Multicast Group 1.
2. Switch E advertises membership in Multicast Group 1 to the network through Port E1, making Port B4 on
Switch B a member of Multicast Group 1.
3. Switch B propagates the join message, causing Ports A1, C1 and D1 to become members of Multicast Group
1.
4. Host H2 is GMRP-aware and sends a join request for Multicast Group 2 to Port C2, which thereby becomes a
member of Multicast Group 2.
5. Switch C propagates the join message, causing Ports A1, B2, D1 and E1 to become members of Multicast
Group 2.
Once GMRP-based registration has propagated through the network, multicast traffic from S1 and S2 can reach
its destination as follows:
• Source S1 transmits multicast traffic to Port D2 which is forwarded via Port D1, which has previously become a
member of Multicast Group 1.
• Switch B forwards the Group 1 multicast via Port B4 towards Switch E.
• Switch E forwards the Group 1 multicast via Port E2, which has been statically configured for membership in
Multicast Group 1.
• Host H1, connected to Port E2, thus receives the Group 1 multicast.
• Source S2 transmits multicast traffic to Port A2, which is then forwarded via port A1, which has previously
become a member of Multicast Group 2.
• Switch B forwards the Group 2 multicast via Port B2 towards Switch C.
• Switch C forwards the Group 2 multicast via Port C2, which has previously become a member of Group 2.
• Ultimately, Host H2, connected to Port C2, receives the Group 2 multicast.
Section 5.25.2
Parameter Description
rstp-flooding Determines whether or not multicast streams will be flooded out of all Rapid Spanning
Tree Protocol (RSTP) non-edge ports upon detection of a topology change. Such
flooding is desirable, if multicast stream delivery must be guaranteed without
interruption.
3. Enable GMRP on one or more switched Ethernet ports. For more information, refer to Section 3.15.2,
“Configuring a Switched Ethernet Port”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.3
Section 5.25.3.1
Configuring IGMP Snooping
To configure IGMP snooping, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to switch » mcast-filtering » igmp-snooping and configure the following parameter(s) as
required:
Parameter Description
rstp-flooding Whether or not multicast streams will be flooded out of all Rapid Spanning Tree Protocol
(RSTP) non-edge ports upon detection of a topology change. Such flooding is desirable,
if multicast stream delivery must be guaranteed without interruption.
3. Assign one or more ports for IGMP to use when sending Membership Reports. For more information, refer to
Section 5.25.3.3, “Adding a Router Port”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.3.2
Viewing a List of Router Ports
To view a list of router ports used for IGMP snooping, type:
show running-config switch mcast-filtering igmp-snooping router-ports
If router ports have been configured, a table or list similar to the following example appears:
!
!
If no router ports have been configured, add ports as needed. For more information, refer to Section 5.25.3.3,
“Adding a Router Port”.
Section 5.25.3.3
Adding a Router Port
To add a router port for IGMP snooping, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the router port by typing:
switch mcast-filtering igmp-snooping router-ports swport port
Where:
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.3.4
Deleting a Router Port
To delete a router port for IGMP snooping, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the router port by typing:
no switch mcast-filtering igmp-snooping router-ports swport port
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.4
Section 5.25.4.1
Viewing a List of Static Multicast Group Entries
To view a list of entries for known static multicast groups on other devices, type:
If entries have been established, a table or list similar to the following example appears:
If no entries have been configured, add entries as needed. For more information, refer to Section 5.25.4.2,
“Adding a Static Multicast Group Entry”.
Section 5.25.4.2
Adding a Static Multicast Group Entry
To list a static multicast group from another device in the Static Multicast Summary table, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the table entry by typing:
NOTE
Letters in MAC addresses must be lowercase.
Where:
• id is the ID for the VLAN upon which the static multicast group operates
• address is the MAC address for the device in the form of 01:xx:xx:xx:xx:xx
3. Add one or more egress ports. For more information, refer to Section 5.25.5.2, “Adding an Egress Port”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.4.3
Deleting a Static Multicast Group Entry
To delete a static multicast group from the Static Multicast Summary table, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the table entry by typing:
no switch mcast-filtering static-mcast-table id address
Where:
• id is the ID for the VLAN upon which the static multicast group operates
• address is the MAC address for the device in the form of 01:xx:xx:xx:xx:xx
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.5
Section 5.25.5.1
Viewing a List of Egress Ports
To view a list of egress ports for a static multicast group defined in the Static Multicast Group Summary table,
type:
show switch mcast-filtering static-mcast-table id address egress-ports
Where:
• id is the ID for the VLAN upon which the static multicast group operates
• address is the MAC address for the device in the form of 01:xx:xx:xx:xx:xx
If egress ports have been established, a table or list similar to the following example appears:
If no egress ports have been configured, add egress ports as needed. For more information, refer to
Section 5.25.5.2, “Adding an Egress Port”.
Section 5.25.5.2
Adding an Egress Port
To add an egress port to a static multicast group defined in the Static Multicast Group Summary table, do the
following:
1. Make sure the CLI is in Configuration mode.
2. Add the egress port by typing:
switch mcast-filtering static-mcast-table id address egress-ports swport port
Where:
• id is the ID for the VLAN upon which the static multicast group operates
• address is the MAC address for the device in the form of 01:xx:xx:xx:xx:xx
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.5.3
Deleting an Egress Port
To delete an egress port for a static multicast group defined in the Static Multicast Group Summary table, do the
following:
1. Make sure the CLI is in Configuration mode.
2. Delete the table entry by typing:
no switch mcast-filtering static-mcast-table id address egress-ports swport port
Where:
• id is the ID for the VLAN upon which the static multicast group operates
• address is the MAC address for the device in the form of 01:xx:xx:xx:xx:xx
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.25.6
If multicast groups have been configured, a table or list similar to the following example appears:
Parameter Description
vid The VLAN Identifier of the VLAN upon which the multicast group operates.
Section 5.25.7
If IP multicast groups have been configured, a table or list similar to the following example appears:
Parameter Description
vid The VLAN Identifier of the VLAN upon which the multicast group operates.
mac The multicast MAC address corresponding to the group multicast IP address.
Joined Slot The name of the module location provided on the silkscreen across the top of the device.
Joined Ports The selected ports on the module installed in the indicated slot.
Router Slot The name of the module location provided on the silkscreen across the top of the device.
Router Ports The selected ports on the module installed in the indicated slot.
Section 5.26
Managing VRRP
The Virtual Router Redundancy Protocol is a gateway redundancy protocol. VRRP provides a gateway failover
mechanism that is invisible to the hosts and other devices that send traffic through that gateway. The Virtual
Router Redundancy Protocol (VRRP) eliminates a single point of failure associated with statically routed
networks by providing automatic failover using alternate routers. The ROX II VRRP daemon (keepalived) is an
RFC 5798 [http://tools.ietf.org/html/rfc5798] version 2 and version 3 compliant implementation of VRRP.
NOTE
RFC 5798 defines the standard for VRRP version 3 on IPv4 and IPv6. Only IPv4 is supported in this
release of ROX II.
Section 5.26.1
VRRP Concepts
The following sections describe some of the concepts important to the implementation of VRRP in ROX II:
• Section 5.26.1.1, “Static Routing vs. VRRP”
• Section 5.26.1.2, “VRRP Terminology”
Section 5.26.1.1
Static Routing vs. VRRP
Many network designs employ a statically configured default gateway in the network hosts. A static default
gateway is simple to configure, requires little if any overhead to run, and is supported by virtually every IP
implementation. When the Dynamic Host Configuration Protocol (DHCP) is employed, hosts may accept a
configuration for only a single default gateway.
Unfortunately, this approach creates a single point of failure. Loss of the router supplying the default gateway, or
the router’s WAN connection, results in isolating the hosts that rely upon the default gateway.
There are a number of ways to provide redundant connections for the hosts. Some hosts can configure alternate
gateways while others are intelligent enough to participate in dynamic routing protocols such as the Routing
Information Protocol (RIP) or Open Shortest Path First (OSPF) routing protocol. Even when available, these
approaches are not always practical due to administrative and operation overhead.
VRRP solves the problem by allowing the establishment of a virtual router group, composed of a number of
routers that provide one gateway IP. VRRP uses an election protocol to dynamically assign responsibility for the
gateway to one of the routers in the group. This router is called the Master.
If the Master (or, optionally, a condition) fails, the alternate (or backup) routers in the group elect a new Master.
The new master owns the virtual IP address and issues a gratuitous ARP to inform the network of where the
gateway can be reached.
Since the host’s default route and MAC address does not change, packet loss at the hosts is limited to the
amount of time required to elect a new router.
Section 5.26.1.2
VRRP Terminology
Each physical router running VRRP is known as a VRRP Router. Two or more VRRP Routers can be configured
to form a Virtual Router. Each VRRP Router may participate in one or more Virtual Routers.
Each Virtual Router has a user-configured Virtual Router Identifier (VRID) and a Virtual IP address or set of IP
addresses on the shared LAN. Hosts on the shared LAN are configured to use these addresses as the default
gateway.
Each router in the Virtual Router Group has a specific priority, which is a number between 1 and 255. The router
with the highest priority (or highest number) is elected the Master, while all other routers are considered Backups.
On RX1400 devices with ROX II v2.3 or higher installed, if the router with the highest priority is in a fault state,
the backup VRRP Router can delay its transition to becoming the Master router. The length of the delay is user-
defined.
VRRP can also monitor a specified interface and give up control of a gateway IP to another VRRP Router if that
interface goes down.
An Example of VRRP
In the following example, host 1 uses a gateway of 1.1.1.253 and host 2 uses a gateway of 1.1.1.252. The
1.1.1.253 gateway is provided by VRID 10. In normal practice, router 1 will provide this virtual IP since its priority
for VRID 10 is higher than that of router 2. If router 1 becomes inoperative or if its w1ppp link fails, it will relinquish
control of gateway IP 1.1.1.253 to router 2.
In a similar fashion host 2 can use the VRID 11 gateway address of 1.1.1.252, which will normally be supplied by
router 2.
w1ppp w2ppp
2
3
1.1.1.200 1.1.1.201
5
6
either the internal or external side of Router 1 becomes inoperative, Router 1 will remove give control of both
192.168.2.10 and 192.168.3.10 gateways to Router 2.
192.168.2.2 192.168.2.3
2
3
192.168.3.2 192.168.3.3
5
6
Section 5.26.2
Parameter Description
Section 5.26.3
Enabling/Disabling VRRP
To enable or disable VRRP, do the following:
1. Make sure the CLI is in Configuration mode.
2. Enable or disable VRRP by typing:
Enabling VRRP
services vrrp enabled
Disabling VRRP
no services vrrp enabled
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.4
NOTE
The decision to increase or decrease the priority of a route must be done in coordination with any
backup VRRP Routers since the priority decides whether a router becomes a Master or a Backup. For
example, if Router X's priority is 150 and Router Y's priority is 145, Router X's priority must be lowered
by 6 to make it a Backup router.
The following sections describe how to configure and manage VRRP trackers:
• Section 5.26.4.1, “Viewing a List of VRRP Trackers”
• Section 5.26.4.2, “Adding a VRRP Tracker”
Section 5.26.4.1
Viewing a List of VRRP Trackers
To view a list of VRRP trackers, type:
show running-config services vrrp trackers
If trackers have been configured, a table or list similar to the following example appears:
If no VRRP trackers have been configured, add trackers as needed. For more information, refer to
Section 5.26.4.2, “Adding a VRRP Tracker”.
Section 5.26.4.2
Adding a VRRP Tracker
To add a VRRP tracker, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the tracker by typing:
services vrrp trackers name
Where:
• name is the name of the VRRP tracker
3. Configure the following parameter(s) as required:
Parameter Description
network { network } The network to track. The tracker checks for a route to this network in the routing table.
interface { interface } The interface to the tracked network. The tracker rises only when the route to the
monitored network is through this interface.
weight { weight } The amount by which to increase or decrease the router's priority. When negative, the
priority decreases by this amount when the tracker falls. When positive, the priority
increases by this amount when the tracker rises. When not set, the state changes to the
fault state when the tracker falls.
Parameter Description
rise { rise } The number of successful tracker queries before changing the router priority.
fall { fall } The number of unsuccessful tracker queries before changing the router priority.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.4.3
Deleting a VRRP Tracker
To delete a VRRP tracker, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the tracker by typing:
no services vrrp trackers name
Where:
• name is the name of the VRRP tracker
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.5
Section 5.26.5.1
Viewing a List of VRRP Groups
To view a list of VRRP groups, type:
show running-config services vrrp group
If groups have been configured, a table or list similar to the following example appears:
If no VRRP groups have been configured, add groups as needed. For more information, refer to Section 5.26.5.2,
“Adding a VRRP Group”.
Section 5.26.5.2
Adding a VRRP Group
To add a VRRP group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the group by typing:
services vrrp group name
Where:
• name is the name of the VRRP group
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.5.3
Deleting a VRRP Group
To delete a VRRP group, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the group by typing:
no services vrrp group name
Where:
• name is the name of the VRRP group
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.6
Section 5.26.6.1
Viewing a List of VRRP Instances
To view a list of VRRP instances, type:
show running-config services vrrp instance
If instances have been configured, a table or list similar to the following example appears:
If no VRRP instances have been configured, add instances as needed. For more information, refer to
Section 5.26.6.2, “Adding a VRRP Instance”.
Section 5.26.6.2
Adding a VRRP Instance
To add a VRRP instance, do the following:
1. Make sure the CLI is in Configuration mode.
2. Make sure a VRRP group has been configured. For more information, refer to Section 5.26.5.2, “Adding a
VRRP Group”.
3. Add the instance by typing:
services vrrp instance name
Where:
• name is the name of the VRRP instance. The name must not include spaces.
4. Configure the following parameter(s) as required:
NOTE
A preemption occurs when either:
• a backup VRRP router gains higher priority and transitions to the Master state
• VRRP is initiated and this router has higher priority than that of any VRRP router on the network
Parameter Description
interface { interface } The interface that will host the VRIP when the router becomes the VRRP Master.
vrid { vrid } The Virtual Router ID. All routers supplying the same VRIP should have the same VRID.
priority { priority } The priority for the VRRP instance. When electing the master, the highest priority wins.
The configurable range is 1 to 255. A value of zero (0) is invalid.
Parameter Description
VRRP2 advertisement interval, in seconds.
nopreempt When enabled, a lower priority router maintains its role as master even if this router has
a higher priority.
use-virtual-mac When enabled, the router uses a virtual MAC address for the VRIP interface.
5. Add one or more VRRP monitors. For more information, refer to Section 5.26.7.2, “Adding a VRRP Monitor”.
6. Add one or more track scripts. For more information, refer to Section 5.26.8.2, “Adding a Track Script”.
7. Add one or more virtual IP addresses. For more information, refer to Section 5.26.9.2, “Adding a Virtual IP
Address”.
8. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.6.3
Deleting a VRRP Instance
To delete a VRRP instance, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the instance by typing:
no services vrrp instance name
Where:
• name is the name of the VRRP instance
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.7
Section 5.26.7.1
Viewing a List of VRRP Monitors
To view a list of VRRP monitors, type:
show running-config services vrrp instance name monitor
Where:
• name is the name of the VRRP instance
If monitors have been configured, a table or list similar to the following example appears:
If no VRRP monitors have been configured, add monitors as needed. For more information, refer to
Section 5.26.7.2, “Adding a VRRP Monitor”.
Section 5.26.7.2
Adding a VRRP Monitor
To add a VRRP monitor, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the instance by typing:
services vrrp instance name monitor interface
Where:
• name is the name of the VRRP instance
• interface is the name of the extra interface to monitor
3. Configure the following parameter(s) as required:
Parameter Description
weight { weight } The amount by which to increase or decrease the router's priority. When negative, the
priority decreases by this amount when the interface falls. When positive, the priority
increases by this amount when the interface is up. When not set, the state changes to
the fault state when the interface falls.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.7.3
Deleting a VRRP Monitor
To delete a VRRP monitor, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the monitor by typing:
no services vrrp instance name monitor interface
Where:
• name is the name of the VRRP instance
• interface is the name of the extra interface to monitor
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.8
Section 5.26.8.1
Viewing a List of Track Scripts
To view a list of track scripts, type:
show running-config services vrrp instance name monitor
Where:
• name is the name of the VRRP instance
If track scripts have been configured, a table or list similar to the following example appears:
If no VRRP monitors have been configured, add monitors as needed. For more information, refer to
Section 5.26.7.2, “Adding a VRRP Monitor”.
Section 5.26.8.2
Adding a Track Script
To add a track script, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the track script by typing:
services vrrp instance name track-script tracker
Where:
• name is the name of the VRRP instance
• tracker is the name of the tracker to use to monitor the VRRP instance
3. Configure the following parameter(s) as required:
Parameter Description
weight { weight } This setting overwrites the weight setting in the tracker. If negative, the priority
decreases by this amount when the tracker falls. If positive, the priority increases by this
amount when the tracker rises. If not set, the weight value in the tracker will be used.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.8.3
Deleting a Track Script
To delete a track script, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the track script by typing:
no services vrrp instance name track-script tracker
Where:
• name is the name of the VRRP instance
• tracker is the name of the tracker to use to monitor the VRRP instance
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.9
Section 5.26.9.1
Viewing a List of Virtual IP Addresses
To view a list of virtual IP addresses, type:
show running-config services vrrp instance name vrip
Where:
• name is the name of the VRRP instance
If addresses have been configured, a table or list similar to the following example appears:
If no virtual IP addresses have been configured, add addresses as needed. For more information, refer to
Section 5.26.9.2, “Adding a Virtual IP Address”.
Section 5.26.9.2
Adding a Virtual IP Address
To add a virtual IP address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the instance by typing:
services vrrp instance name vrip address
Where:
• name is the name of the VRRP instance
• address is the address and subnet
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.26.9.3
Deleting a Virtual IP Address
To delete a virtual IP address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the virtual IP address by typing:
no services vrrp instance name vrip address
Where:
• name is the name of the VRRP instance
• address is the virtual IP address and netmask
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.27
Section 5.27.1
Section 5.27.2
Parameter Description
main-ping-test The results of pinging the target using the main interface.
Parameter Description
Section 5.27.3
Section 5.27.3.1
Viewing a List of Link Failover Parameters
To view a list of link failover parameters, type:
show running-config services link-failvover
If parameters have been configured, a table or list similar to the following example appears:
If no parameters have been configured, add parameters as needed. For more information, refer to
Section 5.27.3.2, “Adding a Link Failover Parameter”.
Section 5.27.3.2
Adding a Link Failover Parameter
To add a link failover parameter, do the following:
NOTE
The link failover feature can only be configured on a routable interface. For the link failover feature to
be used on a switched port, another VLAN must be configured (for example, switch.0002) to logically
differentiate the switched port from the default PVID VLAN 1 (switch.0001).
Where:
• interface is the name of the interface
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.27.3.3
Deleting a Link Failover Parameter
To delete a link failover parameter, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the parameter by typing:
no services link-failvover interface
Where:
• interface is the name of the interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.27.4
The following sections describe how to configure and manage backup interfaces for link failover protection:
• Section 5.27.4.1, “Viewing a List of Link Failover Backup Interfaces”
• Section 5.27.4.2, “Adding a Link Failover Backup Interface”
• Section 5.27.4.3, “Deleting a Link Failover Backup Interface”
Section 5.27.4.1
Viewing a List of Link Failover Backup Interfaces
To view a list of link failover backup interfaces, type:
show running-config services link-failvover interface backup
Where:
• interface is the name of the interface
If backup interfaces have been configured, a table or list similar to the following example appears:
If no backup interfaces have been configured, add backup interfaces as needed. For more information, refer to
Section 5.27.4.2, “Adding a Link Failover Backup Interface”.
Section 5.27.4.2
Adding a Link Failover Backup Interface
To set a link failover backup interface, do the following:
CAUTION!
Configuration hazard – risk of connection loss. If a RUGGEDCOM APE module is installed, either
avoid configuring switch.0001 as a link failover backup interface or configure a different VLAN for the
APE module. By default, APE modules utilize VLAN 1 (switch.0001) and always keep the interface in
the UP state. This would interfere with the link failover mechanism.
To configure a different VLAN for the APE module, change the PVID for the associated switched
Ethernet port. For information, refer to Section 3.15.2, “Configuring a Switched Ethernet Port”.
Where:
NOTE
Do not configure the backup-gateway parameter for Point to Point (P2P) links.
NOTE
The on-demand parameter is set at the interface itself.
Parameter Description
transfer-default-route The transfer default gateway on the switching main and backup interface. The default
route on the device must have a distance greater than one.
on-demand Displays the status of the interface's On-demand option. When enabled, link failover can
set the interface to up or down as needed. The interface is down until needed by link
failover. When disabled, link failover cannot set the interface to up or down. By default,
the interface is always up.
Section 5.27.4.3
Deleting a Link Failover Backup Interface
To delete a link failover backup interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the backup interface by typing:
no services link-failvover interface backup backup-interface
Where:
• interface is the name of the interface
• backup-interface is the name of the secondary, backup interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.27.5
Section 5.27.5.1
Viewing a List of Link Failover Ping Targets
To view a list of link failover ping targets, type:
show running-config services link-failvover interface target
Where:
• interface is the name of the interface
If ping targets have been configured, a table or list similar to the following example appears:
If no ping targets have been configured, add targets as needed. For more information, refer to Section 5.27.5.2,
“Adding a Link Failover Ping Target”.
Section 5.27.5.2
Adding a Link Failover Ping Target
To add a link failover ping target, do the following:
NOTE
Link failover pings each target separately. If all targets are down, the main link is considered to be
down and it fails over to the backup interface. Backup links are used in the order of their Priority setting
(first, second, and then third), always starting with the first priority interface. When a higher-priority
interface becomes available again, the system reverts to the higher priority interface. For example, if
the second priority interface is active, the system switches back to the first priority interface when the
first priority interface becomes available again.
Where:
• interface is the name of the interface
• address is the IP address of the target host to verify the main path
3. Configure the following parameter(s) as required:
Parameter Description
{ host-ip } The IP address of the target host to verify the main path.
Section 5.27.5.3
Deleting a Link Failover Ping target
To delete a link failover ping target, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the backup interface by typing:
no services link-failvover interface target address
Where:
• interface is the name of the interface
• address is the IP address of the target host to verify the main path
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.27.6
NOTE
The link failover test can be cancelled at any time. For more information about cancelling a link failover
test, refer to Section 5.27.7, “Cancelling a Link Failover Test”.
Cancelling the test returns the interfaces to their pre-test condition.
Where:
• interface is the name of the interface
• delay is the time (in seconds) to wait before running the test
• duration is the maximum time (in minutes) to run the test before restoring service to the main trunk
Section 5.27.7
Where:
• interface is the name of the interface
Section 5.28
IMPORTANT!
IPsec is time-sensitive. To make sure proper re-keying between network peers, the time on both peers
must be synchronized. It is strongly recommended that NTP (Network Time Protocol) be used on
both IPsec peers to synchronize their clocks. For more information about configuring NTP, refer to
Section 5.12.11, “Managing NTP Servers”.
The following sections describe how to configure and manage an IPsec tunnel:
• Section 5.28.1, “IPsec Tunneling Concepts”
• Section 5.28.2, “Configuring IPsec Tunnels”
• Section 5.28.3, “Configuring Certificates and Keys”
• Section 5.28.4, “Viewing the IPsec Tunnel Status”
• Section 5.28.5, “Managing Pre-Shared Keys”
• Section 5.28.6, “Managing Connections”
• Section 5.28.7, “Managing the Internet Key Exchange (IKE) Protocol”
• Section 5.28.8, “Managing the Encapsulated Security Payload (ESP) Protocol”
• Section 5.28.9, “Configuring the Connection Ends”
• Section 5.28.10, “Managing Private Subnets”
Section 5.28.1
Section 5.28.1.1
IPsec Modes
IPsec has two basic modes of operation. In transport mode, IPsec headers are added as the original IP datagram
is created. The resultant packet is composed of an IP header, IPsec headers and IP payload (including a
transport header). Transport mode is most commonly used between IPsec end-stations, or between an end-
station and a gateway.
In tunnel mode, the original IP datagram is created normally and then encapsulated into a new IP datagram. The
resultant packet is composed of a new IP header, IPsec headers, old IP header and IP payload. Tunnel mode is
most commonly used between gateways, the gateway acting as a proxy for the hosts behind it.
Section 5.28.1.2
Supported Encryption Protocols
Openswan supports the following standard encryption protocols:
• 3DES (Triple DES)
Uses three DES encryptions on a single data block, with at least two different keys, to get higher security than
is available from a single DES pass. 3DES is the most CPU intensive cipher.
• AES
The Advanced Encryption Standard protocol cipher uses a 128-bit block and 128, 192 or 256-bit keys. This is
the most secure protocol in use today, and is much preferred to 3DES due to its efficiency.
Section 5.28.1.3
Public and Secret Key Cryptography
In public key cryptography, keys are created in matched pairs (called public and private keys). The public key is
made public while the private key is kept secret. Messages can then be sent by anyone who knows the public key
to the holder of the private key. Only the owner of the private key can decrypt the message.
When this form of encryption is used, each router configures its VPN connection to use the RSA algorithm and
includes the public signature of its peer.
In secret key cryptography, a single key known to both parties is used for both encryption and decryption.
When this form of encryption is used, each router configures its VPN connection to use a secret pre-shared key.
For information about how to configure pre-shared keys, refer to Section 5.28.5, “Managing Pre-Shared Keys”.
Section 5.28.1.4
X509 Certificates
In addition to pre-shared keys, IPsec also uses certificates to authenticate connections with hosts and routers.
Certificates are digital signatures that are produced by a trusted source, namely a Certificate Authority (CA).
For each host, the CA creates a certificate that contains CA and host information. The certificate is "signed” by
creating a digest of all the fields in the certificate and then encrypting the hash value with its private key. The
host’s certificate and the CA public key are installed on all gateways that the host connects to.
When the gateway receives a connection request, it uses the CA public key to decrypt the signature back into
the digest. It then recomputes its own digest from the plain text in the certificate and compares the two. If both
digests match, the integrity of the certificate is verified (it was not tampered with), and the public key in the
certificate is assumed to be the valid public key of the connecting host.
Section 5.28.1.5
NAT Traversal
Historically, IPsec has presented problems when connections must traverse a firewall providing Network
Address Translation (NAT). The Internet Key Exchange (IKE) used in IPsec is not NAT-translatable. When IPsec
connections must traverse a firewall, IKE messages and IPsec-protected packets must be encapsulated as User
Datagram Protocol (UDP) messages. The encapsulation allows the original untranslated packet to be examined
by IPsec.
Encapsulation is enabled during the IPsec configuration process. For more information, refer to Section 5.28.2,
“Configuring IPsec Tunnels”.
Section 5.28.1.6
Remote IPsec Client Support
If the router is to support a remote IPsec client and the client will be assigned an address in a subnet of a local
interface, a proxy ARP must be activated for that interface. This will cause the router to respond to ARP requests
on behalf of the client and direct traffic to it over its connection.
IPsec relies upon the following protocols and ports:
• protocol 51, IPSEC-AH Authentication Header (RFC2402)
• protocol 50, IPSEC-ESP Encapsulating Security Payload (RFC2046)
Section 5.28.1.7
IPsec and Router Interfaces
If IPsec works on an interface which could disappear, such as a PPP connection, or if the IP address could
change, the Monitor Interface option must be set for the IPsec connection. When this option is set, IPsec will
restart when the interface disappears and reappears, or the IP address is changed.
The Monitor Interface option is set on the Connection form available for each connection. For more information
about connections, refer to Section 5.28.6, “Managing Connections”.
Section 5.28.2
NOTE
ROX II supports the creation of policy-based VPNs, which can be characterized as follows:
• No IPsec network interfaces have been created.
• The routing table is not involved in directing packets to IPsec.
• Only data traffic matching the tunnel's local and remote subnets is forwarded to the tunnel. Normal
traffic is routed by one set of firewall rules and VPN traffic is routed based on separate rules.
• The firewall is configured with a VPN zone of type ipsec.
• As IPsec packets are received, they are decoded, flagged as IPsec-encoded, and presented as
having arrived directly from the same network interface on which they were originally received.
• Firewall rules are written to allow traffic to and from VPN tunnels. These are based on the normal
form of source/destination IP addresses, and IP protocol and port numbers. These rules, by virtue of
the zones they match, use the policy flags inserted by the netkey to route matching data traffic to the
proper interface.
For more information about configuring a policy-based VPN, refer to Section 5.17, “Managing
Firewalls”.
Parameter Description
keep-alive { keep-alive } The delay (in seconds) for sending keepalive packets to prevent a NAT router from
closing its port when there is not enough traffic on the IPsec connection.
3. Configure one or more pre-shared keys. For more information, refer to Section 5.28.5.2, “Adding a Pre-
Shared Key”.
4. Configure one or more encrypted connections. For more information, refer to Section 5.28.6.2, “Adding a
Connection”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.3
Where:
• connection is the name of the connection
8. Configure the system identifier by typing:
tunnel ipsec connection connection [left | right] identifier type from-certificate
Where:
• connection is the name of the connection
9. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.4
status
========================================================
000 using kernel interface: netkey
000 interface lo/lo ::1
Section 5.28.5
Section 5.28.5.1
Viewing a List of Pre-Shared Keys
To view a list of pre-shared keys, type:
show running-config tunnel ipsec preshared-key
If pre-shared keys have been configured, a table or list similar to the following example appears:
If no pre-shared keys have been configured, add pre-shared keys as needed. For more information, refer to
Section 5.28.5.2, “Adding a Pre-Shared Key”.
Section 5.28.5.2
Adding a Pre-Shared Key
To add a pre-shared key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the pre-shared key by typing:
tunnel ipsec preshared-key [remote-address | local-address] key key
Where:
• remote-address is the remote IP address
• local-address is the local IP address
• key is the is the content of the pre-shared key
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.5.3
Deleting a Pre-Shared Key
To delete a pre-shared key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the pre-shared key by typing:
no tunnel ipsec preshared-key [remote-address | local-address] key key
Where:
• remote-address is the remote IP address
• local-address is the local IP address
• key is the is the content of the pre-shared key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.6
Managing Connections
An IPsec connection is an encrypted connection between two devices who share the same pre-authorized
authentication key.
The following sections describe how to configure and manage connections for an IPsec connection:
• Section 5.28.6.1, “Viewing a List of Connections”
• Section 5.28.6.2, “Adding a Connection”
• Section 5.28.6.3, “Configuring Dead Peer Detection”
• Section 5.28.6.4, “Deleting a Connection”
Section 5.28.6.1
Viewing a List of Connections
To view a list of connections configured for a VPN, type:
show tunnel ipsec connection
If connections have been configured, a table similar to the following example appears:
subnet 192.168.11.0/24
!
!
right
public-ip type any
!
!
!
!
If no connections have been configured, add connections as needed. For more information, refer to
Section 5.28.6.2, “Adding a Connection”.
Section 5.28.6.2
Adding a Connection
To add a new connection for a VPN, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the connection by typing:
tunnel ipsec connection name
Where:
• name is the connection name. If the name is default, this makes it the default setting for all connections.
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
monitor-interface { monitor-interface } The interface to monitor. If the selected interface goes down and then up, this
connection will be restarted.
4. If required, enable and configure dead peer detection. For more information, refer to Section 5.28.6.3,
“Configuring Dead Peer Detection”.
5. If required, configure the Internet Key Exchange (IKE) protocol by adding one or more algorithms. For more
information, refer to Section 5.28.7.2, “Adding an IKE Algorithm”
6. If required, configure Encapsulated Security Payload (ESP) encryption for the connection. For more
information, refer to Section 5.28.8, “Managing the Encapsulated Security Payload (ESP) Protocol”
7. If required, configure the left (local router) and right (remote router) ends of the connection. For more
information, refer to Section 5.28.9, “Configuring the Connection Ends”
8. If required, configure L2TP tunnels. For more information, refer to Section 5.29.2, “Configuring L2TP
Tunnels”.
9. If certificates and keys are required, make sure they are configured on the device. For more information,
refer to Section 5.28.3, “Configuring Certificates and Keys”.
10. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.6.3
Configuring Dead Peer Detection
Dead Peer Detection (DPD), as defined in RFC 3706 [http://tools.ietf.org/html/rfc3706] is used to detect dead
Internet Key Exchange (IKE) peers. In this method, peers exchange DPD Request (ISAKMP R-U-THERE) and
DPD Response (ISAKMP R-U-THERE-ACK) messages. If a DPD Response is not received by a peer after a
specified time and/or number of attempts, the other peer is considered dead. The remaining peer can either
hold the connection until other peer responds, clear the connection, restart the connection and renegotiate the
Security Association (SA), or restart all SA's to the dead peer.
In ROX II, DPD Requests are sent when there is no traffic detected by the peer. How long to wait before sending
a DPD Request and how long to wait for a DPD Response is user configurable.
It is generally recommended that DPD be configured to clear connections with any dead peers.
Where:
• name is the connection name.
3. Configure the following parameter(s) as required:
NOTE
The timeout period must be two minutes longer than the interval period.
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.6.4
Deleting a Connection
To delete a connection for a VPN, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the connection by typing:
no tunnel ipsec connection name
Where:
• name is the name of the connection
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.7
Section 5.28.7.1
Viewing a List of IKE Algorithms
To view a list of algorithms for the Internet Key Exchange (IKE) protocol, type:
show running-config tunnel ipsec connection connection ike algorithm
Where:
• connection is the name of the connection
If If algorithms have been configured, a table or list similar to the following example appears:
tunnel
ipsec
connection ipsec-12
ike algorithm 3des md5 modp8192
!
!
!
!
If no algorithms have been configured, add algorithms as needed. For more information, refer to Section 5.28.7.2,
“Adding an IKE Algorithm”.
Section 5.28.7.2
Adding an IKE Algorithm
To add a new algorithm for the Internet Key Exchange (IKE) protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the algorithm by typing:
tunnel ipsec connection connection ike algorithm cipher cipher hash method modgroup modgroup
Where:
• connection is the name of the connection
• cipher is the cipher algorithm
• method is the hash method
Section 5.28.7.3
Deleting an IKE Algorithm
To delete an algorithm for the Internet Key Exchange (IKE) protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the algorithm by typing:
no tunnel ipsec connection connection ike algorithm cipher cipher hash method modgroup modgroup
Where:
• connection is the name of the connection
• cipher is the cipher algorithm
• method is the hash method
• modgroup is the value of the modgroup
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.8
Section 5.28.8.1
Configuring ESP Encryption
To configure the encryption algorithm for the Encapsulate Security Payload (ESP), do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to tunnel » ipsec » connection » {connection} » esp, where {connection} is the name of the
connection.
3. Configure the encryption algorithm by typing:
tunnel ipsec connection connection esp modgroup modgroup
Where:
Section 5.28.8.2
Viewing a List of ESP Algorithms
To view a list of algorithms for the Encapsulate Security Payload (ESP) protocol, type:
show running-config tunnel ipsec connection connection esp algorithm
Where:
• connection is the name of the connection
If algorithms have been configured, a table or list similar to the following example appears:
tunnel
ipsec
connection ipsec-12
esp algorithm aes256 sha1
!
!
!
!
If no algorithms have been configured, add algorithms as needed. For more information, refer to Section 5.28.8.3,
“Adding ESP Algorithms”.
Section 5.28.8.3
Adding ESP Algorithms
To add a new algorithm for the Encapsulated Security Payload (ESP) protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the algorithm by typing:
tunnel ipsec connection connection esp algorithm cipher cipher hash method
Where:
• connection is the name of the connection
• cipher is the cipher algorithm
• method is the hash method
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.8.4
Deleting ESP Algorithms
To delete an algorithm for the Encapsulated Security Payload (ESP) protocol, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the algorithm by typing:
no tunnel ipsec connection connection esp algorithm cipher cipher hash method
Where:
• connection is the name of the connection
• cipher is the cipher algorithm
• method is the hash method
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.9
NOTE
The configuration forms for the left and right connection ends are the same.
Parameter Description
type { type } Synopsis: default, none, from-certificate, address, hostname, der-asn1-dn, user-fqdn
Default: default
Parameter Description
The system identifier type. The default value is 'left side public-ip' unless overwritten by
the default connection setting.
value { value } The hostname, IP address or the Distinguished Name in the certificate.
value { value } The IP address of the next hop that can be used to reach the destination network.
4. If required, configure a subnet for the connection end. For more information, refer to Section 5.28.10.1,
“Configuring Private Subnets for Connection Ends”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.10
Section 5.28.10.1
Configuring Private Subnets for Connection Ends
To configure a private subnet for either the left (local router) or right (remote router) connection ends in a VPN, do
the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to tunnel » ipsec » connection/{end} » subnet, where {end} is the either the left (local router) or
right (remote router) connection end.
3. Configure the following parameter(s) as required:
Parameter Description
4. Add one or more subnet addresses. For more information, refer to Section 5.28.10.3, “Adding an Address for
a Private Subnet”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.10.2
Viewing a List of Addresses for Private Subnets
To view a list of addresses configured for private subnets, type:
show running-config tunnel ipsec connection connection {right | left} subnet
Where:
• connection is the name of the connection
If addresses have been configured, a table or list similar to the following example appears:
If no addresses have been configured, add addresses as needed. For more information, refer to
Section 5.28.10.3, “Adding an Address for a Private Subnet”.
Section 5.28.10.3
Adding an Address for a Private Subnet
To add a new address for a private subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the address by typing:
tunnel ipsec connection connection {right | left} subnet address
Where:
• address is the address and prefix of the private subnet
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.28.10.4
Deleting an Address for a Private Subnet
To delete an address for a private subnet, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no tunnel ipsec connection connection {right | left} subnet address
Where:
• address is the address and prefix of the private subnet
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29
Section 5.29.1
NOTE
Round trip time statistics are only available when remote daemon IP addresses are configured for
generic tunnels. For more information about remote daemon IP addresses, refer to Section 5.29.8,
“Managing Remote Daemon IP Addresses for Generic Tunnels”.
Parameter Description
Section 5.29.2
IMPORTANT!
L2TPD listens on UDP port 1701. If a firewall is enabled, it must be configured to only allow
connections to L2TPD through IPsec . Direct connections to L2TPD must be prevented.
Parameter Description
local-ip { local-ip } The local IP address. When set, all L2TP interfaces (l2tp-ppp-0, l2tp-ppp-1, etc.) will use
the same IP address. To use different local IP addresses (chosen from an IP pool) for
different L2TP interfaces, leave this parameter empty.
first-ip { first-ip } The first address in the IP address pool. If local-ip is not set, both local and remote IP
addresses will be taken from this pool.
Parameter Description
The number of seconds to wait before the tunnel is cleaned up after the tunnel moves to
closing-wait state.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.3
Parameter Description
3. Navigate to tunnel » l2tpv3 » static » tunnel and configure the following parameter(s) as required:
Parameter Description
{ tunnel-name } Tunnel name, contains any lower case letter or numerical digit.
Prefix 'l2t-' will be added to tunnel name and session name to create l2tpv3 system
interface name (ie. l2tp-1-1)
Parameter Description
remote-port { remote-port } The listening transport port of remote device for tunnel service
4. Navigate to tunnel » l2tpv3 » static » tunnel » session and configure the following parameter(s) as
required:
Parameter Description
{ session-name } Session name, contains any lower case letter or numerical digit.
Prefix 'l2t-' will be added to tunnel name and session name to create l2tpv3 system
interface name (ie. l2tp-1-1)
local-session-id { local-session-id } The local session-id provides the necessary context for all further packet processing
remote-session-id { remote-session-id } The remote session-id is used to identify the received data messages from remote
session endpoint
low-value { low-value } Lower value of cookie. This value must match with low-value of other endpoint's remote
cookie
high-value { high-value } Higher value of cookie if the cookie size is 8. This value must match with high-value of
other endpoint's remote cookie
low-value { low-value } Lower value of cookie. This value must match with low-value of other endpoint's local
cookie
high-value { high-value } Higher value of cookie if its size is 8. This value must match with high-value of other
endpoint's local cookie
5. Navigate to tunnel » l2tpv3 » static » tunnel » session » vlan and configure the following parameter(s) as
required:
Parameter Description
For more information about VLANs, refer to Section 5.34, “Managing VLANs”.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.4
IMPORTANT!
Make sure there are no traffic loops possible between the substation LAN and other LANs that could
forward GOOSE frames to the LAN. Do not employ a GOOSE gateway between substations that are
already connected. The GOOSE daemon issues packets to the network with a built in Time-To-Live
(TTL) count that is decremented with each transmission. This prevents an infinite loop of packets, but
will not prevent excessive network utilization.
Parameter Description
3. Add GOOSE or generic tunnels as required. For more information, refer to Section 5.29.5.3, “Adding a
GOOSE Tunnel” or Section 5.29.7.3, “Adding a Generic Tunnel”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.5
The Media Access Control (MAC) destination address of frames received from Ethernet is inspected in order to
determine which GOOSE group they are in. The frames are then encapsulated in network headers and forwarded
(with MAC source and destination addresses intact) to the network as GOOSE packets.
IEC61850 recommends that the MAC destination address should be in the range 01:0c:cd:01:00:00 to
01:0c:cd:01:01:ff.
GOOSE packets received from the network are stripped of their network headers and forwarded to Ethernet
ports configured for the same multicast address. The forwarded frames contain the MAC source address or the
originating device, and not that of the transmitting interface. The VLAN used will be that programmed locally for
the interface and may differ from the original VLAN. The frame will be transmitted with the highest 802.1p priority
level (p4).
Packets received from the network will also be forwarded to any other remote daemons included in the group.
To enable forwarding for GOOSE packets, configure a generic Layer 2 tunnel to listen for GOOSE packets on
one VLAN and forward them to a second VLAN. To configure the generic Layer 2 tunnel for this operation, set the
following for the tunnel:
• Ethernet Interface: select the VLAN on which the GOOSE packets originate
• Ethernet Type: set as 0x88b8
• Remote Daemon: select the VLAN to which to forward the GOOSE packets
The following sections describe how to configure and manage GOOSE tunnels:
• Section 5.29.5.1, “Viewing the GOOSE Tunnel Statistics”
• Section 5.29.5.2, “Viewing a List of GOOSE Tunnels”
• Section 5.29.5.3, “Adding a GOOSE Tunnel”
• Section 5.29.5.4, “Deleting a GOOSE Tunnel”
Section 5.29.5.1
Viewing the GOOSE Tunnel Statistics
To view the GOOSE tunnel statistics, type:
show tunnel l2tunneld status goose
Parameter Description
Section 5.29.5.2
Viewing a List of GOOSE Tunnels
To view a list of GOOSE tunnels, type:
show running-config tunnel l2tunneld goose
If tunnels have been configured, a table or list similar to the following example appears:
If no GOOSE tunnels have been configured, add tunnels as needed. For more information, refer to
Section 5.29.5.3, “Adding a GOOSE Tunnel”.
Section 5.29.5.3
Adding a GOOSE Tunnel
To configure a GOOSE tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the tunnel by typing:
tunnel l2tunneld goose tunnel name
Where:
• name is the name of the GOOSE tunnel
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
4. If necessary, configure one or more remote daemons for the tunnel. For more information, refer to
Section 5.29.6.2, “Adding a Remote Daemon”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.5.4
Deleting a GOOSE Tunnel
To delete a GOOSE tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the GOOSE tunnel by typing:
no tunnel l2tunneld goose tunnel name
Where:
• name is the name of the GOOSE tunnel
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.6
Section 5.29.6.1
Viewing a List of Remote Daemons
To view a list of remote daemons configured for a GOOSE tunnel, type:
show running-config tunnel l2tunneld goose tunnel name remote-daemon
Where:
• name is the name of the GOOSE tunnel
If tunnels have been configured, a table or list similar to the following example appears:
remote-daemon 192.168.10.2
!
!
!
If no remote daemons have been configured, add daemons as needed. For more information, refer to
Section 5.29.6.2, “Adding a Remote Daemon”.
Section 5.29.6.2
Adding a Remote Daemon
To configure a remote daemon for a GOOSE tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the remote daemon by typing:
tunnel l2tunneld goose tunnel remote-daemon address
Where:
• address is the IP address of the remote daemon
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.6.3
Deleting a Remote Daemon
To delete a remote daemon, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the remote daemon typing:
no tunnel l2tunneld goose tunnel name remote-daemon address
Where:
• name is the name of the GOOSE tunnel
• address is the IP address of the remote daemon
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.7
Section 5.29.7.1
Viewing the Generic Tunnel Statistics
To view the generic tunnel statistics, type:
show tunnel l2tunneld status generic
Parameter Description
Section 5.29.7.2
Viewing a List of Generic Tunnels
To view a list of generic tunnels, type:
show running-config tunnel l2tunneld generic tunnel
If tunnels have been configured, a table or list similar to the following example appears:
If no generic tunnels have been configured, add tunnels as needed. For more information, refer to
Section 5.29.7.3, “Adding a Generic Tunnel”.
Section 5.29.7.3
Adding a Generic Tunnel
To configure a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the tunnel by typing:
tunnel l2tunneld generic tunnel name
Where:
• name is the name of the generic tunnel
3. Configure the following parameter(s) as required:
Parameter Description
4. If necessary, configure one or more remote daemon IP addresses for the tunnel. For more information, refer
to Section 5.29.8.2, “Adding an IP Address”.
5. If necessary, define one or more ethernet types to be forwarded. For more information, refer to
Section 5.29.10.2, “Adding an Ethernet Type”.
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.7.4
Deleting a Generic Tunnel
To delete a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the generic tunnel by typing:
no tunnel l2tunneld generic tunnel name
Where:
• name is the name of the generic tunnel
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.8
NOTE
When a remote daemon IP address is configured, the interface on the receiver side, where traffic
leaves, should be configured on the ingress interface (instead of egress interface).
The following sections describe how to configure and manage remote daemon IP addresses for generic tunnels:
• Section 5.29.8.1, “Viewing a List of IP Addresses”
• Section 5.29.8.2, “Adding an IP Address”
• Section 5.29.8.3, “Deleting an IP Address”
Section 5.29.8.1
Viewing a List of IP Addresses
To view a list of remote L2 protocol server IP addresses for a generic tunnel configuration, type:
show running-config tunnel l2tunneld generic tunnel remote-daemon
If tunnels have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config tunnel l2tunneld generic tunnel remote-daemon ip-address | tab
NAME IP ADDRESS
--------------------
1
172.112.10.1
If no generic tunnels have been configured, add tunnels as needed. For more information, refer to
Section 5.29.7.3, “Adding a Generic Tunnel”.
Section 5.29.8.2
Adding an IP Address
To add the IP address of a remote L2 protocols server to a generic tunnel configuration, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the IP address by typing:
tunnel l2tunneld generic tunnel name remote-daemon ip-address address
Where:
• name is the name of the generic tunnel
• address is the IP address of the remote L2 protocols server
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.8.3
Deleting an IP Address
To delete the IP address of a remote L2 protocols server from a generic tunnel configuration, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the IP address by typing:
no tunnel l2tunneld generic tunnel name remote-daemon ip-address address
Where:
• name is the name of the generic tunnel
• address is the IP address of the remote L2 protocols server
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.9
Section 5.29.9.1
Viewing a List of Egress Interfaces
To view a list of egress interfaces configured for a generic tunnel, type:
show running-config tunnel l2tunneld generic tunnel remote-daemon egress-if
If egress interfaces have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config tunnel l2tunneld generic tunnel remote-daemon egress-if | tab
NAME EGRESS IF
-------------------
1
switch.0001
If no egress interfaces have been configured, add interfaces as needed. For more information, refer to
Section 5.29.9.2, “Adding an Egress Interface”.
Section 5.29.9.2
Adding an Egress Interface
To add an egress interface for a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the egress interface by typing:
tunnel l2tunneld generic tunnel name remote-daemon egress-if interface
Where:
• name is the name of the generic tunnel
• interface is the egress interface for Ethernet type frames
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.9.3
Deleting an Egress Interface
To delete an egress interface for a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the egress interface by typing:
no tunnel l2tunneld generic tunnel name remote-daemon egress-if interface
Where:
• name is the name of the generic tunnel
• interface is the egress interface for Ethernet type frames
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.10
Section 5.29.10.1
Viewing a List of Ethernet Types
To view a list of Ethernet types configured for a generic tunnel, type:
show running-config tunnel l2tunneld generic tunnel ethernet-type
If Ethernet types have been configured, a table or list similar to the following example appears:
NAME TYPE
------------
1
iso
If no Ethernet types have been configured, add types as needed. For more information, refer to
Section 5.29.10.2, “Adding an Ethernet Type”.
Section 5.29.10.2
Adding an Ethernet Type
To add an Ethernet type for a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the Ethernet type by typing:
tunnel l2tunneld generic tunnel name ethernet-type type
Where:
• name is the name of the generic tunnel
• type is the Ethernet type to be forwarded (i.e. 0xFEFE)
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.29.10.3
Deleting an Ethernet Type
To delete an Ethernet type for a generic tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the Ethernet type by typing:
no tunnel l2tunneld generic tunnel name ethernet-type type
Where:
• name is the name of the generic tunnel
• type is the Ethernet type (i.e. 0xFEFE)
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.30
The key parameters for GRE tunnels is the tunnel name, local router address, remote router address and remote
subnet.
The following illustrates a typical GRE tunnel configuration:
1 w1ppp w2ppp
172.16.17.18 172.19.20.21 2
192.168.1.0/8 192.168.2.0/8
In this example, Router 1 establishes a GRE tunnel to Router 2 using a local router address of 172.16.17.18, a
remote router address of 172.19.20.21, and a remote subnet of 192.168.2.0/24.
NOTE
When connecting a Cisco router (in place of Router 1 in the previous example), the local router
address corresponds to the Cisco IOS source address and the remote router address corresponds to
the destination address.
The cost of the GRE tunnel can also be set if another method of routing between Router 1 and Router 2 becomes
available. The packets will automatically flow through the lowest cost route.
Packets can also be restricted by specifying a local egress device, such as w1pp in the case of Router 1 in the
previous example.
The following sections describe how to configure and manage Generic Routing Encapsulation (GRE) tunnels:
• Section 5.30.1, “Viewing Statistics for GRE Tunnels”
• Section 5.30.2, “Viewing a List of GRE Tunnels”
• Section 5.30.3, “Adding a GRE Tunnel”
• Section 5.30.4, “Deleting a GRE Tunnel”
Section 5.30.1
g2 Active 0 0 0 0 791 0
Parameter Description
Section 5.30.2
If GRE tunnels have been configured, a table or list similar to the following example appears:
If no GRE tunnels have been configured, add tunnels as needed. For more information, refer to Section 5.30.3,
“Adding a GRE Tunnel”.
Section 5.30.3
Where:
• name is the interface name of the GRE tunnel network. The interface name must start with a lowercase
letter, but may contain any combination of lowercase letters, numbers and dashes up to a maximum of 10
characters. The prefix gre- will be added to this interface name.
3. Configure the following parameter(s) as required:
Parameter Description
remote-net { remote-net } The target network of the remote end of the tunnel (xxx.xxx.xxx.xxx/xx).
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.30.4
Where:
• name is the name of the GRE tunnel
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.31
IMPORTANT!
Use the highest supported CoS with caution, as it is always used by the switch for handling network
management traffic, such as RSTP BPDUs.
If this CoS is used for regular network traffic, upon traffic bursts, it may result in the loss of some
network management frames, which in turn may result in the loss of connectivity over the network.
The process of controlling traffic based on CoS occurs over two phases:
• Inspection Phase
In the inspection phase, the CoS priority of a received frame is determined from:
▪ A specific CoS based upon the source and destination MAC address (as set in the Static MAC Address
Table)
▪ The priority field in 802.1Q tags
▪ The Differentiated Services Code Point (DSCP) component of the Type Of Service (TOS) field, if the frame is
IP
▪ The default CoS for the port
Each frame’s CoS will be determined once the first examined parameter is found in the frame.
Received frames are first examined to determine if their destination or source MAC address is found in the
Static MAC Address Table. If they are, the CoS configured for the static MAC address is used. If neither
destination or source MAC address is in the Static MAC Address Table, the frame is then examined for 802.1Q
tags and the priority field is mapped to a CoS. If a tag is not present, the frame is examined to determine if it is
an IP frame. If the frame is IP and inspecting TOS is enabled, the CoS is determined from the DSCP field. If the
frame is not IP or inspecting TOS is disabled, the default CoS for the port is used.
After inspection, the frame is forwarded to the egress port for transmission.
• Forwarding Phase
Once the CoS of the frame is determined, the frame is forwarded to the egress port, where it is collected into
one of the priority queues according to the assigned CoS.
CoS weighting selects the degree of preferential treatment that is attached to different priority queues. The
ratio of the number of higher CoS to lower CoS frames transmitted can be configured. If desired, the user can
configure lower CoS frames to be transmitted only after all higher CoS frames have been serviced.
The following sections describe how to configure and manage classes of service:
• Section 5.31.1, “Configuring Classes of Service”
• Section 5.31.2, “Managing Priority-to-CoS Mapping”
• Section 5.31.3, “Managing DSCP-to-CoS Mapping”
Section 5.31.1
Where:
• weighting is the weighting algorithm for transmitting different priority CoS frames. During traffic bursts,
frames queued in the switch pending transmission on a port may have different CoS priorities.
3. If necessary, configure CoS mapping based on either the IEEE 802.1p priority or Differentiated Services (DS)
field set in the IP header for each packet. For more information, refer to Section 5.31.2.2, “Adding a Priority-
to-CoS Mapping Entry” or Section 5.31.3.2, “Adding a DSCP-to-CoS Mapping Entry”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.31.2
Section 5.31.2.1
Viewing a List of Priority-to-CoS Mapping Entries
To view a list of priority-to-CoS mapping entries, type:
show running-config switch class-of-service priority-to-cos
If entries have been configured, a table or list similar to the following example appears:
If no entries have been configured, add entries as needed. For more information, refer to Section 5.31.2.2,
“Adding a Priority-to-CoS Mapping Entry”.
Section 5.31.2.2
Adding a Priority-to-CoS Mapping Entry
To add a priority-to-CoS mapping entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
switch class-of-service priority-to-cos priority
Where:
• priority is the value of the IEEE 802.1p priority
3. Configure the following parameter(s) as required:
Parameter Description
Parameter Description
Default: normal
The Class of Service (CoS) assigned to received tagged frames with the specified IEEE
802.1p priority value.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.31.2.3
Deleting a Priority-to-CoS Mapping Entry
To delete a priority-to-CoS mapping entry, do the following:
NOTE
Deleting an entry sets the CoS to Normal.
Where:
• priority is the value of the IEEE 802.1p priority
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.31.3
Section 5.31.3.1
Viewing a List of DSCP-to-CoS Mapping Entries
To view a list of priorites, type:
show running-config switch class-of-service dscp-to-cos
If entries have been configured, a table or list similar to the following example appears:
3 high
4 medium
6 normal
7 normal
If no entries have been configured, add entries as needed. For more information, refer to Section 5.31.3.2,
“Adding a DSCP-to-CoS Mapping Entry”.
Section 5.31.3.2
Adding a DSCP-to-CoS Mapping Entry
To add a DSCP-to-CoS mapping entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the entry by typing:
switch class-of-service dscp-to-cos dscp
Where:
• dscp is the value of the 6 bit DiffServ field in the Type-Of-Service (TOS) field of the IP header
3. Configure the following parameter(s) as required:
Parameter Description
4. Configure the CoS parameters on select switched Ethernet ports and/or trunk interfaces as needed. For
more information, refer to Section 3.15.2, “Configuring a Switched Ethernet Port” and/or Section 3.18.2,
“Adding an Ethernet Trunk Interface”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.31.3.3
Deleting a DSCP-to-CoS Mapping Entry
To delete a DSCP-to-CoS mapping entry, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the entry by typing:
no switch class-of-service dscp-to-cos dscp
Where:
• dscp is the value of the 6 bit DiffServ field in the Type-Of-Service (TOS) field of the IP header
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.32
Section 5.32.1
Parameter Description
vid The VLAN identifier of the VLAN upon which the MAC address operates.
slot Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport
The slot containing the module including the port.
port The port on which the MAC address has been learned.
• Configure the MAC address learning options to dynamically detect the MAC addresses of other devices on the
network. For more information, refer to Section 5.32.3, “Configuring MAC Address Learning Options”.
• Configure the address on the device as a static MAC address. For more information, refer to Section 5.32.4.2,
“Adding a Static MAC Address”.
Section 5.32.2
purge-mac-table-string Success
Section 5.32.3
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.32.4
The following sections describe how to configure and manage static MAC addresses:
• Section 5.32.4.1, “Viewing a List of Static MAC Addresses”
• Section 5.32.4.2, “Adding a Static MAC Address”
• Section 5.32.4.3, “Deleting a Static MAC Address”
Section 5.32.4.1
Viewing a List of Static MAC Addresses
To view a list of static MAC addresses configured on the device, type:
show running-config switch mac-tables static-mac-table
If static MAC addresses have been configured, a table or list similar to the following example appears:
If no static MAC addresses have been configured, add addreses as needed. For more information, refer to
Section 5.32.4.2, “Adding a Static MAC Address”.
Section 5.32.4.2
Adding a Static MAC Address
To add a static MAC address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the static MAC address by typing:
NOTE
Letters in MAC addresses must be lowercase.
Where:
• address is the Unicast MAC address that is to be statically configured. It can have up to 6 '*' wildcard
characters continuously applied from the right.
• vlan is the ID of the VLAN upon which the MAC address operates.
3. Configure the following parameter(s) as required:
Parameter Description
learned If set, the system will auto-learn the port upon which the device with this address is
located.
slot { slot } Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport
Parameter Description
The name of the module location provided on the silkscreen across the top of the
device.
port { port } The selected ports on the module installed in the indicated slot.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.32.4.3
Deleting a Static MAC Address
To delete a static MAC address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the static MAC address by the typing:
no switch mac-tables static-mac-table static-mac address vlan
Where:
• address is the Unicast MAC address that is to be statically configured. It can have up to 6 '*' wildcard
characters continuously applied from the right.
• vlan is the ID of the VLAN upon which the MAC address operates.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33
Section 5.33.1
RSTP Operation
The IEEE 802.1D Spanning Tree Protocol (STP) was developed to enable the construction of robust networks
that incorporate redundancy while pruning the active topology of the network to prevent loops. While STP is
effective, it requires that frame transfer halt after a link outage until all bridges in the network are guaranteed to be
aware of the new topology. Using the values recommended by IEEE 802.1D, this period lasts 30 seconds.
The Rapid Spanning Tree Protocol (RSTP), first introduced by IEEE 802.1w and significantly improved in IEEE
802.12D-2004, was a further evolution of the IEEE 802.1D Spanning Tree Protocol. It replaced the settling
period with an active handshake between bridges that guarantees the rapid propagation of topology information
throughout the network.
The following sections further describe the operation of RSTP:
• Section 5.33.1.1, “RSTP States and Roles”
• Section 5.33.1.2, “Edge Ports”
• Section 5.33.1.3, “Point-to-Point and Multipoint Links”
• Section 5.33.1.4, “Path and Port Costs”
• Section 5.33.1.5, “Bridge Diameter”
Section 5.33.1.1
RSTP States and Roles
RSTP bridges have roles to play, either root or designated. One bridge - the Root Bridge - is the logical center of
the network. All other bridges in the network are Designated bridges. RSTP also assigns each port of the bridge
a state and a role. The RSTP state describes what is happening at the port in relation to address learning and
frame forwarding. The RSTP role basically describes whether the port is facing the center or the edges of the
network and whether it can currently be used.
State
There are three RSTP states: Discarding, Learning and Forwarding.
The discarding state is entered when the port is first put into service. The port does not learn addresses in this
state and does not participate in frame transfer. The port looks for RSTP traffic in order to determine its role in
the network. When it is determined that the port will play an active part in the network, the state will change to
learning.
The learning state is entered when the port is preparing to play an active part in the network. The port learns
addresses in this state but does not participate in frame transfer. In a network of RSTP bridges, the time spent in
this state is usually quite short. RSTP bridges operating in STP compatibility mode will spend six to 40 seconds in
this state.
After learning, the bridge will place the port in the forwarding state. The port both learns addresses and
participates in frame transfer while in this state.
IMPORTANT!
Purely for purposes of management, ROX II introduces two more states: Disabled and Link Down. The
Disabled state refers to links for which RSTP has been disabled. The Link Down state refers to links for
which RSTP is enabled but are currently down.
Role
There are four RSTP port roles: Root, Designated, Alternate and Backup. If the bridge is not the root bridge, it
must have a single Root Port. The Root Port is the “best” (i.e. quickest) way to send traffic to the root bridge.
A port is marked as Designated if it is the best port to serve the LAN segment it is connected to. All bridges on
the same LAN segment listen to each other's messages and agree on which bridge is the Designated Bridge. The
ports of other bridges on the segment must become either Root, Alternate or Backup ports.
1
C 3
1 2
3 3
4 4
1 1
2 2
2 3 2
5 6 3
A port is alternate when it receives a better message from another bridge on the LAN segment it is connected to.
The message that an Alternate Port receives is better than the port itself would generate, but not good enough to
convince it to become the Root Port. The port becomes the alternate to the current Root Port and will become the
new Root Port should the current Root Port fail. The Alternate Port does not participate in the network.
A port is a Backup Port when it receives a better message from the LAN segment it is connected to, originating
from another port on the same bridge. The port is a backup for another port on the bridge and will become active
if that port fails. The Backup Port does not participate in the network.
Section 5.33.1.2
Edge Ports
A port may be designated as an Edge Port if it is directly connected to an end station. As such, it cannot create
bridging loops in the network and can thus directly transition to forwarding, skipping the listening and learning
stages.
Edge ports that receive configuration messages immediately lose their Edge Port status and become normal
spanning tree ports. A loop created on an improperly connected edge port is thus quickly repaired.
Because an Edge Port services only end stations, topology change messages are not generated when its link
toggles.
Section 5.33.1.3
Point-to-Point and Multipoint Links
RSTP uses a peer-peer protocol called Proposing-Agreeing to ensure transitioning in the event of a link failure.
This protocol is point-to-point and breaks down in multipoint situations, i.e. when more than two bridges operate
on a shared media link.
If RSTP detects this circumstance (based upon the port’s half duplex state after link up) it will switch off
Proposing-Agreeing. The port must transition through the learning and forwarding states, spending one forward
delay in each state.
There are circumstances in which RSTP will make an incorrect decision about the point-to-point state of the link
simply by examining the half-duplex status, namely:
• The port attaches only to a single partner, but through a half-duplex link.
• The port attaches to a shared media hub through a full-duplex link. The shared media link attaches to more
than one RSTP enabled bridge.
In such cases, the user may configure the bridge to override the half-duplex determination mechanism and force
the link to be treated in the proper fashion.
Section 5.33.1.4
Path and Port Costs
The STP path cost is the main metric by which root and designated ports are chosen. The path cost for a
designated bridge is the sum of the individual port costs of the links between the root bridge and that designated
bridge. The port with the lowest path cost is the best route to the root bridge and is chosen as the root port.
NOTE
In actuality the primary determinant for root port selection is the root bridge ID. Bridge ID is important
mainly at network startup when the bridge with the lowest ID is elected as the root bridge. After startup
(when all bridges agree on the root bridge’s ID) the path cost is used to select root ports. If the path
costs of candidates for the root port are the same, the ID of the peer bridge is used to select the port.
Finally, if candidate root ports have the same path cost and peer bridge ID, the port ID of the peer
bridge is used to select the root port. In all cases the lower ID, path cost or port ID is selected as the
best.
Section 5.33.1.5
Bridge Diameter
The bridge diameter is the maximum number of bridges between any two possible points of attachment of end
stations to the network.
The bridge diameter reflects the realization that topology information requires time to propagate hop by hop
through a network. If configuration messages take too long to propagate end to end through the network, the
result will be an unstable network.
There is a relationship between the bridge diameter and the maximum age parameter.
NOTE
The RSTP algorithm is as follows:
• STP configuration messages contain age information.
• Messages transmitted by the root bridge have an age of 0. As each subsequent designated bridge
transmits the configuration message it must increase the age by at least 1 second.
• When the age exceeds the value of the maximum age parameter the next bridge to receive the
message immediately discards it.
To achieve extended ring sizes, Siemens's eRSTP™ uses an age increment of ¼ of a second. The value of the
maximum bridge diameter is thus four times the configured maximum age parameter.
IMPORTANT!
Raise the value of the maximum age parameter if implementing very large bridged networks or rings.
Section 5.33.2
RSTP Applications
The following sections describe various applications of RSTP:
• Section 5.33.2.1, “RSTP in Structured Wiring Configurations”
• Section 5.33.2.2, “RSTP in Ring Backbone Configurations”
• Section 5.33.2.3, “RSTP Port Redundancy”
Section 5.33.2.1
RSTP in Structured Wiring Configurations
RSTP may be used to construct structured wiring systems where connectivity is maintained in the event of link
failures. For example, a single link failure of any link between A and N in Figure 11 would leave all the ports of
bridges 555 through 888 connected to the network.
1 A 1
111 222
2 B 2
4 3 4 3
C F
D E
1 2 1 2
333 444
6 3 6 3
5 4 5 4
G I H K J M L N
1 2 1 2 1 2 1 2
4 3 4 3 4 3 4 3
Ports that connect to host computers, IEDs and controllers may be set to edge ports in order to guarantee
rapid transitioning to forwarding as well as to reduce the number of topology change notifications in the
network. Ports with half-duplex/shared media restrictions require special attention in order to guarantee that
they do not cause extended fail-over/recovery times.
4. Choose the root bridge and backup root bridge carefully.
The root bridge should be selected to be at the concentration point of network traffic. Locate the backup root
bridge adjacent to the root bridge. One strategy that may be used is to tune the bridge priority to establish
the root bridge and then tune each bridge’s priority to correspond to its distance from the root bridge.
5. Identify desired steady state topology.
Identify the desired steady state topology taking into account link speeds, offered traffic and QOS. Examine
of the effects of breaking selected links, taking into account network loading and the quality of alternate links.
6. Decide upon a port cost calculation strategy.
Select whether fixed or auto-negotiated costs should be used? It is recommended to use the auto-negotiated
cost style, unless it is necessary for the network design to change the auto-negotiated cost style. Select
whether the STP or RSTP cost style should be used. Make sure to configure the same cost style on all
devices on the network.
7. Enable RSTP Fast Root Failover option.
This is a proprietary feature of Siemens . In a mesh network with only RUGGEDCOM devices in the core
of the network, it is recommended to enable the RSTP Fast Root Failover option to minimize the network
downtime in the event of a Root bridge failure.
8. Calculate and configure priorities and costs.
9. Implement the network and test under load.
Section 5.33.2.2
RSTP in Ring Backbone Configurations
RSTP may be used in ring backbone configurations where rapid recovery from link failure is required. In normal
operation, RSTP will block traffic on one of the links, for example, as indicated by the double bars through link H
in Figure 12. In the event of a failure on link D, bridge 444 will unblock link H. Bridge 333 will communicate with
the network through link F.
A 1
B 1 2 C
3 3
L D
1
K 3
666 333
2 E
2 3
J F
1 1
1 3 2 H 3
555 444
2 G
For more information, refer to the RUGGEDCOM White Paper Performance of the RSTP in Ring Network
Topologies available on www.siemens.com/ruggedcom.
6. Decide upon a port cost calculation strategy.
It is recommended to use the auto-negotiated cost style, unless it is necessary for the network design to
change the auto-negotiated cost style. Select whether the STP or RSTP cost style should be used. Make
sure to configure the same cost style on all devices on the network.
7. Disable RSTP Fast Root Failover option.
This is a proprietary feature of Siemens . In ROX II, the RSTP Fast Root Failover option is enabled by
default. It is recommended to disable this feature when operating in a Ring network.
8. Implement the network and test under load.
Section 5.33.2.3
RSTP Port Redundancy
In cases where port redundancy is essential, RSTP allows more than one bridge port to service a LAN. In the
following example, if port 3 is designated to carry the network traffic of LAN A, port 4 will block traffic. Should an
interface failure occur on port 3, port 4 will assume control of the LAN.
1 2
4 3
Section 5.33.3
MSTP Operation
The Multiple Spanning Tree (MST) algorithm and protocol provide greater control and flexibility than RSTP and
legacy STP. MSTP (Multiple Spanning Tree Protocol) is an extension of RSTP, whereby multiple spanning trees
may be maintained on the same bridged network. Data traffic is allocated to one or several spanning trees by
mapping one or more VLANs to different Multiple Spanning Tree Instances (MSTIs).
The sophistication and utility of the MSTP implementation on a given bridged network is proportional to the
amount of planning and design invested in configuring MSTP.
If MSTP is activated on some or all of the bridges in a network with no additional configuration, the result will
be a fully and simply connected network. At best though, the result will be the same as a network using only
RSTP. Taking full advantage of the features offered by MSTP requires a potentially large number of configuration
variables to be derived from an analysis of data traffic on the bridged network, and from requirements for load
sharing, redundancy, and path optimization. Once these parameters have all been derived, it is also critical they
are consistently applied and managed across all bridges in an MST region.
By design, MSTP processing time is proportional to the number of active STP instances. This means MSTP will
likely be significantly slower than RSTP. Therefore, for mission critical applications, RSTP should be considered a
better network redundancy solution than MSTP.
The following sections further describe the operation of MSTP:
• Section 5.33.3.1, “MSTP Regions and Interoperability”
• Section 5.33.3.2, “MSTP Bridge and Port Roles”
• Section 5.33.3.3, “Benefits of MSTP”
• Section 5.33.3.4, “Implementing MSTP on a Bridged Network”
Section 5.33.3.1
MSTP Regions and Interoperability
In addition to supporting multiple spanning trees in a network of MSTP-capable bridges, MSTP is capable of
inter-operating with bridges that support only RSTP or legacy STP, without requiring any special configuration.
An MST region may be defined as the set of interconnected bridges whose MST Region Identification is identical.
The interface between MSTP bridges and non-MSTP bridges, or between MSTP bridges with different MST
Region Identification information, becomes part of an MST Region boundary.
Bridges outside an MST region will see the entire region as though it were a single (R)STP bridge, with the
internal detail of the MST region being hidden from the rest of the bridged network. In support of this, MSTP
maintains separate hop counters for spanning tree information exchanged at the MST region boundary versus
information propagated inside the region. For information received at the MST region boundary, the (R)STP
Message Age is incremented only once. Inside the region, a separate Remaining Hop Count is maintained,
one for each spanning tree instance. The external Message Age parameter is referred to the (R)STP Maximum
Age Time, whereas the internal Remaining Hop Counts are compared to an MST region-wide Maximum Hops
parameter.
MSTI
An MSTI (Multiple Spanning Tree Instance) is one of sixteen independent spanning tree instances that may be
defined in an MST region (not including the IST). An MSTI is created by mapping a set of VLANs to a given MSTI
ID. The same mapping must be configured on all bridges that are intended to be part of the MSTI. Moreover, all
VLAN-to-MSTI mappings must be identical for all bridges in an MST region.
ROX II supports 16 MSTIs in addition to the IST.
Each MSTI has a topology that is independent of others. Data traffic originating from the same source and bound
to the same destination, but on different VLANs on different MSTIs, may therefore travel a different path across
the network.
IST
An MST region always defines an IST (Internal Spanning Tree). The IST spans the entire MST region, and
carries all data traffic that is not specifically allocated (by VLAN) to a specific MSTI. The IST is always computed
and is defined to be MSTI zero.
The IST is also the extension inside the MST region of the CIST
CST
The CST (Common Spanning Tree) spans the entire bridged network, including MST regions and any connected
STP or RSTP bridges. An MST region is seen by the CST as an individual bridge, with a single cost associated
with its traversal.
CIST
The CIST (Common and Internal Spanning Tree) is the union of the CST and the ISTs in all MST regions. The
CIST therefore spans the entire bridged network, reaching into each MST region via the latter’s IST to reach
every bridge on the network.
Section 5.33.3.2
MSTP Bridge and Port Roles
MSTP supports the following bridge and port roles:
Bridge Roles
Role Description
CIST Root The CIST Root is the elected root bridge of the CIST (Common and Internal Spanning
Tree), which spans all connected STP and RSTP bridges and MSTP regions.
CIST Regional Root The root bridge of the IST within an MSTP region. The CIST Regional Root is the bridge
within an MSTP region with the lowest cost path to the CIST Root. Note that the CIST
Regional Root will be at the boundary of an MSTP region. Note also that it is possible for the
CIST Regional Root to be the CIST Root.
MSTI Regional Root The root bridge for an MSTI within an MSTP region. A root bridge is independently elected
for each MSTI in an MSTP region.
Port Roles
Each port on an MSTP bridge may have more than one CIST role depending on the number and topology of
spanning tree instances defined on the port.
Role Description
CIST Port Roles • The Root Port provides the minimum cost path from the bridge to the CIST Root via the
CIST Regional Root. If the bridge itself happens to be the CIST Regional Root, the Root
Port is also the Master Port for all MSTIs, and provides the minimum cost path to a CIST
Root located outside the region.
• A Designated Port provides the minimum cost path from an attached LAN, via the bridge
to the CIST Regional Root.
• Alternate and Backup Ports function the same as they do in RSTP, but relative to the
CIST Regional Root.
Boundary Ports A Boundary Port is a port on a bridge in an MSTP region that connects to either: a bridge
belonging to a different MSTP region, or a bridge supporting only RSTP or legacy STP. A
Boundary Port blocks or forwards all VLANs from all MSTIs and the CIST alike.
A Boundary Port may be:
• The CIST Root Port of the CIST Regional Root (and therefore also the MSTI Master Port).
• A CIST Designated Port, CIST Alternate/Backup Port, or Disabled. At the MSTP region
boundary, the MSTI Port Role is the same as the CIST Port Role.
Role Description
A Boundary Port connected to an STP bridge will send only STP BPDUs. One connected to
an RSTP bridge need not refrain from sending MSTP BPDUs. This is made possible by the
fact that the MSTP carries the CIST Regional Root Identifier in the field that RSTP parses
as the Designated Bridge Identifier.
Section 5.33.3.3
Benefits of MSTP
MSTP is configured by default to arrive automatically at a spanning tree solution for each configured MSTI.
However, advantages may be gained from influencing the topology of MSTIs in an MST region by way of the
Bridge Priority and the cost of each port.
Load Balancing
MSTP can be used to balance the data traffic load among sets of VLANs, enabling more complete utilization of a
bridged network that has multiple redundant interconnections between bridges.
A bridged network controlled by a single spanning tree will block redundant links by design to avoid harmful
loops. However, when using MSTP, any given link may have a different blocking state for MSTI, as maintained
by MSTP. Any given link, therefore, might be in blocking state for some VLANs, and in forwarding state for other
VLANs, depending on the mapping of VLANs to MSTIs.
It is possible to control the spanning tree solution for each MSTI, especially the set of active links for each tree, by
manipulating per MSTI the bridge priority and the port costs of links in the network. If traffic is allocated judiciously
to multiple VLANs, redundant interconnections in a bridged network, which would have gone unused when using
a single spanning tree, can now be made to carry traffic.
Section 5.33.3.4
Implementing MSTP on a Bridged Network
The following procedure is recommended for configuring MSTP on a network. Beginning with a set of MSTP-
capable Ethernet bridges, do the following for each bridge on the network:
NOTE
Careful network analysis and planning should inform each step of creating an MSTP network.
NOTE
MSTP does not need to be enabled to map a VLAN to an MSTI. However, the mapping must be
identical for each bridge that belongs to the MSTP region.
1. Disable STP. For more information, refer to Section 5.33.5, “Configuring STP Globally”.
2. Configure one or more Multiple Spanning Tree Instances (MSTI), each with a unique bridge priority. For more
information, refer to Section 5.33.7.3, “Adding a Multiple Spanning Tree Instance”.
3. Create static VLANs and map them to the MSTIs. For more information, refer to Section 5.34.4.2, “Adding a
Static VLAN”.
4. Configure individual MSTI for each switched Ethernet port and/or Ethernet trunk interface that will transmit/
receive MST BPDU (Bridge Protocol Data Unit) traffic. For more information, refer to Section 5.33.8,
“Managing Multiple Spanning Tree Instances Per-Port”.
5. Set the STP protocol version to MSTP, configure the MST region identifier and revision level, and then
enable STP. For more information, refer to Section 5.33.5, “Configuring STP Globally”
Section 5.33.4
Section 5.33.5
Parameter Description
Parameter Description
Enables STP/RSTP/MSTP for the bridge globally. Note that STP/RSTP/MSTP is
enabled on a port when it is enabled globally and along with enabling per port setting.
mst-region-name { mst-region-name } The name of the MST region. All devices in the same MST region must have the same
region name configured
Parameter Description
Parameter Description
appropriate action. This opens a way for an attacker to influence RSTP topology by
injecting RSTP BPDUs into the network. BPDU Guard is a feature that protects the
network from BPDUs received by a port where RSTP-capable devices are not expected
to be attached. If a BPDU is received by a port for which the 'Edge' parameter is set to
'TRUE' or RSTP is disabled, the port will be shut down for the time period specified by
this parameter.
• NO SHUTDOWN: BPDU Guard is disabled.
• UNTIL RESET: The port will remain shut down until the port reset command is issued
by the user.
• SPECIFY: A timeout period is specified for the port using the BPDU Timeout
parameter.
bpdu-timeout { bpdu-timeout } The time for which a port is shutdown. Only applicable when BPDU Guard Mode is set
to specify.
Parameter Description
bridge-priority { bridge-priority } Synopsis: 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960,
45056, 49152, 53248, 57344, 61440
Default: 32768
The priority assigned to the RSTP/Common Bridge Instance.
6. If necessary, add Multiple Spanning Tree Instances (MSTI). For more information, refer to Section 5.33.7.3,
“Adding a Multiple Spanning Tree Instance”.
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.6
Parameter Description
restricted-role If enabled, causes the port not to be selected as the root port for the CIST or any MSTI,
even though it has the best spanning tree priority vector. This parameter should be
FALSE by default.
restricted-tcn If TRUE, causes the port not to propagate received topology change notifications and
topology changes to other ports. This parameter should be FALSE by default. If set, it
can cause a temporary loss of connectivity after changes in a spanning tree's active
topology as a result of persistent, incorrectly learned station location information.
rstp-priority { rstp-priority } Synopsis: 16, 32, 64, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240
Default: 128
The STP port priority. Ports of the same cost that attach to a common LAN will select the
port to be used based upon the port priority.
Parameter Description
The cost to use in cost calculations, when the cost style parameter is set to STP in the
bridge RSTP parameters configuration. Setting the cost manually provides the ability
to preferentially select specific ports to carry traffic over others. Leave this field set to
'auto' to use the standard STP port costs as negotiated (four for 1Gbps, 19 for 100 Mbps
links and 100 for 10 Mbps links). For MSTP, this parameter applies to both external and
internal path cost.
4. If necessary, add Multiple Spanning Tree Instances (MSTI). For more information, refer to Section 5.33.7.3,
“Adding a Multiple Spanning Tree Instance”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.7
Section 5.33.7.1
Viewing Statistics for Multiple Spanning Tree Instances
To view statistics related to Multiple Spanning Tree Instances (MSTIs), type:
show switch spanning-tree msti-status
Parameter Description
root-port-slot Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport, trnk
If the bridge is designated, this is the slot containing the port that provides connectivity
towards the root bridge of the network.
root-port-port If the bridge is designated, this is the port of the slot that provides connectivity towards the
root bridge of the network.
root-path-cost The total cost of the path to the root bridge composed of the sum of the costs of each
link in the path. If custom costs have not been configured, 1Gbps ports will contribute a
cost of four, 100 Mbps ports will contribute 19 and 10 Mbps ports will contribute 100. For
the Common and Internal Spanning Tree (CIST) instance of the Multiple Spanning Tree
Protocol (MSTP), this is an external root path cost, which is the cost of the path from the
Internal Spanning Tree (IST) root (i.e. regional root) bridge to the Common Spanning Tree
(CST) root (i.e. network "global" root) bridge.
total-top-changes A count of topology changes in the network, as detected on this bridge through link failures
or as signaled from other bridges. Excessively high or rapidly increasing counts signal
network problems.
Section 5.33.7.2
Viewing a List of Multiple Spanning Tree Instances
To view a list of Multiple Spanning Tree Instances (MSTIs), type:
If instances have been configured, a table or list similar to the following example appears:
If no MSTIs have been configured, add instances as needed. For more information, refer to Section 5.33.7.3,
“Adding a Multiple Spanning Tree Instance”.
Section 5.33.7.3
Adding a Multiple Spanning Tree Instance
To add a Multiple Spanning Tree Instance (MSTI), do the following:
NOTE
ROX II supports up to 16 MSTIs.
IMPORTANT!
Since each MSTI acts as an independent RSTP instance, its configuration is similar to that of
RSTP. However, until one or more VLANs are mapped to an MSTI, an MSTI is considered to be
inactive.
Where:
• id is the ID for the Multiple Spanning Tree Instance
3. Configure the following parameter(s) as required:
Parameter Description
bridge-priority { bridge-priority } Synopsis: 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960,
45056, 49152, 53248, 57344, 61440
Default: 32768
Bridge priority provides a way to control the topology of the Spanning Tree Protocol
(STP) connected network. The desired root and designated bridges can be configured
for a particular topology. The bridge with the lowest priority will become the root. In the
event of a failure of the root bridge, the bridge with the next lowest priority will then
become the root. Designated bridges that (for redundancy purposes) service a common
Local Area Network (LAN) also use priority to determine which bridge is active. In this
way, careful selection of bridge priorities can establish the path of traffic flows in normal
and abnormal conditions.
4. Map one or more static VLANs and map them to the MSTI. For more information, refer to Section 5.34.4.2,
“Adding a Static VLAN”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.7.4
Deleting a Multiple Spanning Tree Instance
To delete a Multiple Spanning Tree Instance (MSTI), do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the multiple spanning tree instance by typing:
no switch spanning-tree mstp-instance ID
Where:
• ID is the ID of the multiple spanning tree instance
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.8
Section 5.33.8.1
Viewing Per-Port Multiple Spanning Tree Instance Statistics
To view Multiple Spanning Tree Instance (MSTI) statistics for individual switched Ethernet ports and/or Ethernet
trunk interfaces, type:
show switch spanning-tree port-msti-id
2
swport 1 disabled ---- 0 0 00:00:00:00:00:00
swport 2 disabled ---- 0 0 00:00:00:00:00:00
swport 3 disabled ---- 0 0 00:00:00:00:00:00
swport 4 disabled ---- 0 0 00:00:00:00:00:00
swport 5 disabled ---- 0 0 00:00:00:00:00:00
swport 6 disabled ---- 0 0 00:00:00:00:00:00
.
.
.
Parameter Description
slot Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport, trnk
The slot of the module that contains this port.
port The port number as seen on the front plate silkscreen of the module.
cost The total cost of the path to the root bridge composed of the sum of the costs of each link
in the path. If custom costs have not been configured, 1Gbps ports will contribute a cost
of four, 100 Mbps ports will contribute 19 and 10 Mbps ports will contribute 100. For the
Common and Internal Spanning Tree (CIST) instance of Multiple Spanning Tree Protocol
(MSTP), this is an external root path cost, which is the cost of the path from the Internal
Spanning Tree (IST) root (i.e. regional root) bridge to the Common Spanning Tree (CST)
root (i.e. network "global" root) bridge.
Section 5.33.8.2
Viewing a List of Per-Port Multiple Spanning Tree Instances
To view a list of the Multiple Spanning Tree Instances (MSTIs) for switched Ethernet ports or Ethernet trunk
interfaces, type:
• For switched Ethernet ports:
show running-config interface switch swport port spanning-tree msti
Where:
▪ port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• For Ethernet trunk interfaces:
show running-config interface trunk id spanning-tree msti
Where:
▪ id is the ID given to the interface
If instances have been configured, a table or list similar to the following example appears:
!
!
show running-config interface trunk id spanning-tree msti
Where:
• id is the ID given to the interface
If MSTIs have been configured, a table or list similar to the following example appears:
!
!
If no MSTIs have been configured, add them as needed. For more information, refer to Section 5.33.8.3, “Adding
a Port-Specific Multiple Spanning Tree Instance”.
Section 5.33.8.3
Adding a Port-Specific Multiple Spanning Tree Instance
To add a Multiple Spanning Tree Instance (MSTI) for a switched Ethernet port or an Ethernet trunk interface, do
the following:
NOTE
ROX II supports up to 16 MSTIs per port/interface.
IMPORTANT!
Since each MSTI acts as an independent RSTP instance, its configuration is similar to that of
RSTP. However, until one or more VLANs are mapped to an MSTI, an MSTI is considered to be
inactive.
Where:
▪ slot is the name of the module location
▪ port is the port number (or a list of ports, if aggregated in a port trunk) for the module
▪ id is the ID for the Multiple Spanning Tree Instance
• For Ethernet trunk interfaces:
interface trunks id spanning-tree msti mstp-id
Where:
▪ id is the ID given to the interface
▪ mstp-id is the ID for the Multiple Spanning Tree Instance
3. Configure the following parameter(s) as required:
Parameter Description
mstp-priority { mstp-priority } Synopsis: 16, 32, 64, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240
Default: 128
The STP port priority. Ports of the same cost that attach to a common LAN will select the
port to be used based upon the port priority.
4. Map one or more static VLANs and map them to the MSTI. For more information, refer to Section 5.34.4.2,
“Adding a Static VLAN”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.8.4
Deleting a Port-Specific Multiple Spanning Tree Instances
To delete a Multiple Spanning Tree Instance (MSTI) for a switched Ethernet port or an Ethernet trunk interface, do
the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the MSTI by typing:
• For switched Ethernet ports:
no interface switch swport port spanning-tree msti id
Where:
▪ slot is the name of the module location
▪ port is the port number (or a list of ports, if aggregated in a port trunk) for the module
▪ id is the ID for the Multiple Spanning Tree Instance
• For Ethernet trunk interfaces:
no interface trunks id spanning-tree msti mstp-id
Where:
▪ id is the ID given to the interface
▪ mstp-id is the ID for the Multiple Spanning Tree Instance
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.33.9
Parameter Description
regional-root-priority The bridge identifier of the Internal Spanning Tree (IST) regional root bridge for the Multiple
Spanning Tree (MST) region this device belongs to.
regional-root-mac The bridge identifier of the Internal Spanning Tree (IST) regional root bridge for the Multiple
Spanning Tree (MST) region this device belongs to.
root-port-slot Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport, trnk
If the bridge is designated, this is the slot containing the port that provides connectivity
towards the root bridge of the network.
root-port-port If the bridge is designated, this is the port of the slot that provides connectivity towards the
root bridge of the network.
root-path-cost The total cost of the path to the root bridge, composed of the sum of the costs of each
link in the path. If custom costs have not been configured. 1Gbps ports will contribute a
cost of four, 100 Mbps ports will contribute 19 and 10 Mbps ports will contribute 100. For
the Common and Internal Spanning Tree (CIST) instance of the Multiple Spanning Tree
Protocol (MSTP), this is an external root path cost, which is the cost of the path from the
Internal Spanning Tree (IST) root (i.e. regional root) bridge to the Common Spanning Tree
(CST) root (i.e. network "global" root) bridge.
regional-root-path-cost For the Common and Internal Spanning Tree (CIST) instance of the Multiple Spanning Tree
Protocol (MSTP), this is the cost of the path to the Internal Spanning Tree (IST) root (i.e.
regional root) bridge
configured-hello-time The configured hello time from the Bridge RSTP Parameters menu.
learned-hello-time The actual hello time provided by the root bridge as learned in configuration messages. This
time is used in designated bridges.
configured-forward-delay The configured forward delay time from the Bridge RSTP Parameters menu.
learned-forward-delay The actual forward delay time provided by the root bridge as learned in configuration
messages. This time is used in designated bridges.
configured-max-age The configured maximum age time from the Bridge RSTP Parameters menu.
learned-max-age The actual maximum age time provided by the root bridge as learned in configuration
messages. This time is used in designated bridges.
total-top-changes A count of topology changes in the network, as detected on this bridge through link failures
or as signaled from other bridges. Excessively high or rapidly increasing counts signal
network problems.
Section 5.33.10
Parameter Description
slot Synopsis: sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport, trnk
The slot of the module that contains this port.
port The port number as seen on the front plate silkscreen of the module.
cost The cost offered by this port. If the Bridge RSTP Parameters Cost Style is set to STP,
1Gbps ports will contribute a cost of four, 100 Mbps ports will contribute 19 and 10 Mbps
ports contribute 100. If the Cost Style is set to RSTP, 1Gbps will contribute 20,000, 100
Mbps ports will contribute a cost of 200,000 and 10 Mbps ports contribute a cost of
2,000,000. Note that even if the Cost style is set to RSTP, a port that migrates to STP will
have its cost limited to a maximum of 65535.
desg-bridge-priority Provided on the root ports of the designated bridges, the bridge identifier of the bridge this
port is connected to.
Parameter Description
desg-bridge-mac Provided on the root ports of the designated bridges, the bridge identifier of the bridge this
port is connected to.
rx-rsts The number of Rapid Spanning Tree Protocol (RSTP) configuration messages received on
this port.
tx-rsts The number of Rapid Spanning Tree Protocol (RSTP) configuration messages transmitted
on this port.
rx-configs The number of Spanning Tree Protocol (STP) configuration messages received on this port.
tx-configs The number of Spanning Tree Protocol (STP) configuration messages transmitted on this
port.
rx-tcns The number of configuration change notification messages received on this port.
Excessively high or rapidly increasing counts signal network problems.
Section 5.33.11
Section 5.34
Managing VLANs
A Virtual Local Area Network (VLAN) is a group of devices on one or more LAN segments that communicate as if
they were attached to the same physical LAN segment. VLANs are extremely flexible because they are based on
logical connections, rather than physical connections.
When VLANs are introduced, all traffic in the network must belong to one VLAN or another. Traffic on one VLAN
cannot pass to another, except through an inter-network router or Layer 3 switch.
VLANs are created in three ways:
• Explicitly
Static VLANs can be created in the switch. For more information about static VLANs, refer to Section 5.34.4,
“Managing Static VLANs”.
• Implicitly
When a VLAN ID (VID) is set for a Port VLAN (PVLAN), static MAC address or IP interface, an appropriate
VLAN is automatically created if it does not yet exist.
• Dynamically
VLANs can be learned through GVRP. For more information about GVRP, refer to Section 5.34.1.7, “GARP
VLAN Registration Protocol (GVRP)”
The following sections describe how to configure and manage VLANs:
• Section 5.34.1, “VLAN Concepts”
Section 5.34.1
VLAN Concepts
The following sections describe some of the concepts important to the implementation of VLANs in ROX II:
• Section 5.34.1.1, “Tagged vs. Untagged Frames”
• Section 5.34.1.2, “Native VLAN”
• Section 5.34.1.3, “Edge and Trunk Port Types”
• Section 5.34.1.4, “Ingress and Egress Rules”
• Section 5.34.1.5, “Forbidden Ports List”
• Section 5.34.1.6, “VLAN-Aware Mode of Operation”
• Section 5.34.1.7, “GARP VLAN Registration Protocol (GVRP)”
• Section 5.34.1.8, “PVLAN Edge”
• Section 5.34.1.9, “VLAN Advantages”
Section 5.34.1.1
Tagged vs. Untagged Frames
VLAN tags identify frames as part of a VLAN network. When a switch receives a frame with a VLAN (or 802.1Q)
tag, the VLAN identifier (VID) is extracted and the frame is forwarded to other ports on the same VLAN.
When a frame does not contain a VLAN tag, or contains an 802.1p (prioritization) tag that only has prioritization
information and a VID of 0, it is considered an untagged frame.
Section 5.34.1.2
Native VLAN
Each port is assigned a native VLAN number, the Port VLAN ID (PVID). When an untagged frame ingresses a
port, it is associated with the port's native VLAN.
By default, when a switch transmits a frame on the native VLAN, it sends the frame untagged. The switch can be
configured to transmit tagged frames on the native VLAN.
Section 5.34.1.3
Edge and Trunk Port Types
Each port can be configured as an edge or trunk port.
An edge port attaches to a single end device, such as a PC or Intelligent Electronic Device (IED). An edge port
carries traffic on the native VLAN.
Trunk ports are part of the network and carry traffic for all VLANs between switches. Trunk ports are automatically
members of all VLANs configured in the switch.
The switch can 'pass through' traffic, forwarding frames received on one trunk port out of another trunk port. The
trunk ports must be members of all VLANs that the 'pass through' traffic is part of, even if none of those VLANs
are used on edge ports.
Frames transmitted out of the port on all VLANs other than the port's native VLAN are always sent tagged.
NOTE
It may be desirable to manually restrict the traffic on the trunk to a specific group of VLANs. For
example, when the trunk connects to a device, such as a Layer 3 router, that supports a subset of the
available LANs. To prevent the trunk port from being a member of the VLAN, include it in the VLAN's
Forbidden Ports list.
For more information about the Forbidden Ports list, refer to Section 5.34.1.5, “Forbidden Ports List”.
Edge 1 (Native) Untagged VLAN Unaware Networks: All frames are sent and received without
Configured the need for VLAN tags.
Trunk All Configured Tagged or Untagged switch-to-Switch Connections: VLANs must be manually created
and administered, or can be dynamically learned through GVRP.
Multiple-VLAN End Devices: Implement connections to end devices
that support multiple VLANs at the same time.
Section 5.34.1.4
Ingress and Egress Rules
Ingress and egress rules determine how traffic is received and transmitted by the switch.
Ingress rules are applied as follows to all frame when they are received by the switch:
a Priority Tagged
Frame Received Untagged Tagged (Valid VID)
(VID = 0)
VLAN ID associated with the frame PVID PVID VID in the Tag
Frame dropped if the frame associated with the VLAN is not Yes
configured (or learned) in the switch
Frame dropped if the ingress port is not a member of the VLAN the No
frame is associated with
a
Does not depend on the ingress port's VLAN configuration parameters.
Egress rules are applied as follows to all frames when they are transmitted by the switch.
On Other VLAN
Egress Port Type On Egress Port's Native VLAN
Port Is Not a
Port Is a Member Of the VLAN
Member Of the VLAN
Section 5.34.1.5
Forbidden Ports List
Each VLAN can be configured to exclude ports from membership in the VLAN using the forbidden ports list. For
more about configuring a list of forbidden ports, refer to Section 5.34.5, “Managing Forbidden Ports”.
Section 5.34.1.6
VLAN-Aware Mode of Operation
The native operation mode for an IEEE 802.1Q compliant switch is VLAN-aware. Even if a specific network
architecture does not use VLANs, ROX II's default VLAN settings allow the switch to still operate in a VLAN-
aware mode, while providing functionality required for almost any network application. However, the IEEE 802.1Q
standard defines a set of rules that must be followed by all VLAN-aware switches:
• Valid VIDs are within the range of 1 to 4094. VIDs equal to 0 or 4095 are invalid.
• Each frame ingressing a VLAN-aware switch is associated with a valid VID.
• Each frame egressing a VLAN-aware switch is either untagged or tagged with a valid VID. Priority-tagged
frames with an invalid VID will never sent out by a VLAN-aware switch.
NOTE
Some applications have requirements conflicting with IEEE 802.Q native mode of operation. For
example, some applications explicitly require priority-tagged frames to be received by end devices.
Section 5.34.1.7
GARP VLAN Registration Protocol (GVRP)
GARP VLAN Registration Protocol (GVRP) is a standard protocol built on GARP (Generic Attribute Registration
Protocol) to automatically distribute VLAN configuration information in a network. Each switch in a network needs
only to be configured with VLANs it requires locally. VLANs configured elsewhere in the network are learned
through GVRP. A GVRP-aware end station (i.e. PC or Intelligent Electronic Device) configured for a particular VID
can be connected to a trunk on a GVRP-aware switch and automatically become part of the desired VLAN.
When a switch sends GVRP bridge protocol data units (BPDUs) out of all GVRP-enabled ports, GVRP BPDUs
advertise all the VLANs known to that switch (configured manually or learned dynamically through GVRP) to the
rest of the network.
When a GVRP-enabled switch receives a GVRP BPDU advertising a set of VLANs, the receiving port becomes
a member of those advertised VLANs and the switch begins advertising those VLANs through all the GVRP-
enabled ports (other than the port on which the VLANs were learned).
To improve network security using VLANs, GVRP-enabled ports may be configured to prohibit the learning of any
new dynamic VLANs but at the same time be allowed to advertise the VLANs configured on the switch.
D
D2
D
D1
B3
B1
B
B2
B4
A1 E1 C1
A E C
1
A2 E2 C2
2
A E C
Section 5.34.1.8
PVLAN Edge
Protected VLAN (PVLAN) Edge refers to a feature of the switch that isolates multiple VLAN Edge ports from
each other on a single device. All VLAN Edge ports in a switch that are configured as protected in this way are
prohibited from sending frames to one another, but are still permitted to send frames to other, non-protected
ports within the same VLAN. This protection extends to all traffic on the VLAN, including unicast, multicast and
broadcast traffic.
NOTE
This feature is strictly local to the switch. PVLAN Edge ports are not prevented from communicating
with ports outside of the switch, whether protected (remotely) or not.
Ports belonging to a specific PVID and a VLAN type of PVLAN Edge are part of one PVLAN Edge group. A
PVLAN Edge group should include a minimum of two ports. There can be multiple PVLAN Edge groups on a
switch.
Section 5.34.1.9
VLAN Advantages
The following are a few of the advantages offered by VLANs.
Administrative Convenience
VLANs enable equipement moves to be handled by software reconfiguration instead of by physical cable
management. When a host's physical location is changed, its connection point is often changed as well. With
VLANs, the host's VLAN membership and priority are simply copied to the new port.
Reduced Hardware
Without VLANs, traffic domain isolation requires the use of separate bridges for separate networks. VLANs
eliminate the need for separate bridges.
The number of network hosts may often be reduced. Often, a server is assigned to provide services for
independent networks. These hosts may be replaced by a single, multi-horned host supporting each network on
its own VLAN. This host can perform routing between VLANs.
Multi-VLAN hosts can assign different traffic types to different VLANs.
199.85.245.1/25 3
1 4
199.85.245.128/26
199.85.245.192/26 5
Section 5.34.2
CAUTION!
Configuration hazard – risk of data loss. If the range-start or range-end values are changed in a way
that invalidates any configured internal VLANs, the configurations defined for the affected VLANs will
be lost upon repositioning.
IMPORTANT!
VLAN IDs reserved for internal VLANs should not be used by the network.
NOTE
Changing the range-end value repositions the matching serial VLAN. However, the matching serial
VLAN is not affected when the range-start value is changed.
NOTE
If no internal VLANs are available when a switched Ethernet or trunk port is configured, the range is
automatically extended so a unique value can be assigned.
NOTE
Routable Ethernet ports and trunks cannot be configured if internal VLANS are not enabled.
Parameter Description
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.3
Section 5.34.3.1
Viewing VLAN Assignments for Switched Ethernet Ports
To determine which VLANs are assigned to each switched Ethernet port, type:
show switch vlans vlan-summary
The VLANs listed are based on the PVIDs assigned to the switched Ethernet ports. For more information about
assigning PVIDs to switched Ethernet Ports, refer to Section 3.15.2, “Configuring a Switched Ethernet Port”.
Section 5.34.3.2
Configuring VLANs for Switch Ethernet Ports
When a VLAN ID is assigned to a switched Ethernet port, the VLAN appears in the All-VLANs Table where it can
be further configured.
To configure a VLAN for a switched Ethernet port, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to switch » vlans » all-vlans » {id}, where {id} is the ID of the VLAN and configure the following
parameter(s) as needed:
Parameter Description
proxyarp Enables/Disables whether the VLAN will respond to ARP requests for hosts other than
itself.
3. Add Quality of Service (QoS) maps to the VLAN. For more information, refer to Section 5.36.7.2, “Adding a
QoS Map”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.4
Section 5.34.4.1
Viewing a List of Static VLANs
To view a list of static VLANs, type:
If static VLANs have been configured, a table or list similar to the following example appears:
If no static VLANs have been configured, add static VLANs as needed. For more information, refer to
Section 5.34.4.2, “Adding a Static VLAN”.
Section 5.34.4.2
Adding a Static VLAN
To add a static VLAN for either a routable Ethernet port or virtual switch, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
Parameter Description
{ vid } <int, 1 \.\. 15>;;The VLAN identifier is used to identify the VLAN in tagged Ethernet
frames according to IEEE 802.1Q.
3. If needed, configure a forbidden ports list. For more information, refer to Section 5.34.5.2, “Adding a
Forbidden Port”.
4. Configure the VLAN for the port. For more information, refer to Section 5.34.3.2, “Configuring VLANs for
Switch Ethernet Ports”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.4.3
Deleting a Static VLAN
To delete a static VLAN for either a routable Ethernet port or virtual switch, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the static VLAN by typing:
no switch vlans static-vlan id
Where:
• id is the ID of the VLAN
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.5
Section 5.34.5.1
Viewing a List of Forbidden Ports
To view a list of forbidden ports, type:
show running-config switch vlans static-vlan forbidden-ports
If ports have been forbidden, a table or list similar to the following example appears:
If no ports have been forbidden, add forbidden ports as needed. For more information, refer to Section 5.34.5.2,
“Adding a Forbidden Port”.
Section 5.34.5.2
Adding a Forbidden Port
To add a forbidden port, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the forbidden port by typing:
switch vlans static-vlan name forbidden-ports swport port
Where:
• name is the name of the static VLAN
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.5.3
Deleting a Forbidden Port
To delete a forbidden port, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
no switch vlans static-vlan name forbidden-ports swport port
Where:
• name is the name of the static VLAN
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.6
Section 5.34.6.1
Viewing a List of Virtual Switch VLANs
To view a list of virtual switch VLANs, type:
show running-config interface virtualswitch id vlan
Where:
• id is the ID assigned to the virtual switch
If VLANs have been configured, a table or list similar to the following example appears:
!
!
If no virtual switch VLANs have been configured, add VLANs as needed. For more information, refer to
Section 5.34.6.2, “Adding a Virtual Switch VLAN”.
Section 5.34.6.2
Adding a Virtual Switch VLAN
To add virtual switch VLAN, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the virtual switch by typing:
interface virtualswitch id vlan vlan-id
Where:
• id is the ID assigned to the virtual switch
• vlan-id is the ID assigned to the VLAN
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.34.6.3
Deleting a Virtual Switch VLAN
To delete a virtual switch VLAN, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the chosen VLAN by typing:
no interface virtualswitch id vlan vlan-id
Where:
• id is the ID assigned to the virtual switch
• vlan-id is the ID assigned to the VLAN
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.35
LLDP allows a networked device to discover its neighbors across connected network links using a standard
mechanism. Devices that support LLDP are able to advertise information about themselves, including their
capabilities, configuration, interconnections, and identifying information.
LLDP agent operation is typically implemented as two modules: the LLDP transmit module and LLDP receive
module. The LLDP transmit module, when enabled, sends the local device’s information at regular intervals,
in 802.1AB standard format. Whenever the transmit module is disabled, it transmits an LLDPDU (LLDP data
unit) with a time-to-live (TTL) TLV containing 0 in the information field. This enables remote devices to remove
the information associated with the local device in their databases. The LLDP receive module, when enabled,
receives information about remote devices and updates its LLDP database of remote systems. When new or
updated information is received, the receive module initiates a timer for the valid duration indicated by the TTL
TLV in the received LLDPDU. A remote system’s information is removed from the database when an LLDPDU is
received from it with TTL TLV containing 0 in its information field.
CAUTION!
Security hazard – risk of unauthorized access and/or exploitation. LLDP is not secure by definition.
Avoid enabling LLDP on devices connected to external networks. Siemens recommends using LLDP
only in secure environments operating within a security perimeter.
NOTE
LLDP is implemented to keep a record of only one device per Ethernet port. Therefore, if there are
multiple devices sending LLDP information to a switch port on which LLDP is enabled, information
about the neighbor on that port will change constantly.
Section 5.35.1
Configuring LLDP
To configure the Link Layer Discovery Protocol (LLDP), do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to switch » net-discovery » lldp and configure the following parameter(s) as required:
Parameter Description
Parameter Description
The multiplier of the Tx Interval parameter that determines the actual time-to-live (TTL)
value used in an LLDPDU. The actual TTL value can be expressed by the following
formula: TTL = MIN(65535, (Tx Interval * Tx Hold))
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.35.2
Parameter Description
inserts The number of times an entry was inserted into the LLDP Neighbor Information Table.
deletes The number of times an entry was deleted from the LLDP Neighbor Information Table.
drops The number of times an entry was deleted from the LLDP Neighbor Information Table
because the information timeliness interval has expired.
last-change-time The duration of time between power-on and when this information was received.
Parameter Description
local-chassis-id local-chassis-id
local-system-name local-system-name
local-system-desc local-system-desc
local-system-caps local-system-caps
local-system-caps-enabled local-system-caps-enabled
Section 5.35.3
Parameter Description
slot Synopsis: pm1, pm2, main, sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport,
cm, em, trnk
The slot of the module that contains this port.
port The port number as seen on the front plate silkscreen of the module.
Parameter Description
chassis-id The Chassis ID information received from a remote Link Layer Discovery Protocol (LLDP)
agent.
port-id The port ID (MAC) information received from a remote Link Layer Discovery Protocol
(LLDP) agent.
system-name The system name information received from a remote Link Layer Discovery Protocol (LLDP)
agent
system-desc The system descriptor information received from a remote Link Layer Discovery Protocol
(LLDP) agent.
port-desc The port description information received from a remote Link Layer Discovery Protocol
(LLDP) agent.
man-address The management address received from a remote Link Layer Discovery Protocol (LLDP)
agent.
man-address-if-id The Management Address Interface ID received from a remote Link Layer Discovery
Protocol (LLDP) agent.
system-caps The system capabilities that are advertised for the remote device.
man-address-subtype Synopsis: other, ipV4, ipV6, nsap, hdlc, bbn1822, all802, e163, e164, f69, x121, ipx,
appleTalk, decnetIV, banyanVines, e164withNsap, dns, distinguishedName, asNumber,
xtpOverIpv4, xtpOverIpv6, xtpNativeModeXTP, fibreChannelWWPN, fibreChannelWWNN,
gwid, afi, reserved
The management address subtype received from a remote Link Layer Discovery Protocol
(LLDP) agent.
last-update The duration of time between power-on and when this information was received.
Section 5.35.4
----------------------------------------------------------
swport 1 0 0 0 0 0 0 0
swport 2 0 0 0 0 0 0 0
swport 3 0 0 0 0 0 0 0
swport 4 0 0 208 209 0 0 0
swport 5 0 0 0 0 0 0 0
swport 6 0 0 0 0 0 0 0
Parameter Description
slot Synopsis: pm1, pm2, main, sm, lm1, lm2, lm3, lm4, lm5, lm6, swport, eth, serport, celport,
cm, em, trnk
The slot of the module that contains this port.
port The port number as seen on the front plate silkscreen of the module.
frm-drp A counter of all Link Layer Discovery Protocol (LLDP) frames discarded.
err-frm A counter of all Link Layer Discovery Protocol Units (LLDPUs) received with detectable
errors.
frm-in A counter of all Link Layer Discovery Protocol Units (LLDPUs) received.
frm-out A counter of all Link Layer Discovery Protocol Units (LLDPUs) transmitted.
ageouts A counter of the times that a neighbor's information has been deleted from the Link Layer
Discovery Protocol (LLDP) remote system MIB because the txinfoTTL timer has expired
tlvs-unknown A counter of all TLVs received on the port that are not recognized by the Link Layer
Discovery Protocol (LLDP) local agent
Section 5.36
NOTE
For more information about firewalls, refer to Section 5.17, “Managing Firewalls”.
ROX II allows up to 4 different firewall configurations, enabling users to quickly change between configurations.
Users can quickly assess different configurations without needing to save and reload any part of the
configuration. In contrast, there is only one traffic control configuration. When enabled, a traffic control
configuration is used with the current firewall configuration. A current firewall configuration is defined as one that
is specified in either work-config and/or active-config. It does not have to be enabled to be validated.
NOTE
Traffic control is not available for Ethernet traffic on any line module when Layer 3 hardware
acceleration is enabled. It is intended to be used only on WAN interfaces.
The following sections describe how to configure and manage traffic control settings:
• Section 5.36.1, “Enabling and Configuring Traffic Control”
Section 5.36.1
Parameter Description
enabled Enables/disables traffic control (TC) for the current firewall configuration. The current
firewall configuration is the one that is committed. When an active configuration is
committed to the system, then an enabled TC configuration will be included. When a
Parameter Description
work configuration is committed, the enabled TC configuration will be included in the
work configuration. A TC configuration needs a firewall configuration to operate.
Section 5.36.2
NOTE
Traffic control interfaces can only be configured in basic mode. For more information about setting the
traffic control mode, refer to Section 5.36.1, “Enabling and Configuring Traffic Control”.
The following sections describe how to configure and manage traffic control interfaces:
• Section 5.36.2.1, “Viewing a List of Traffic Control Interfaces”
• Section 5.36.2.2, “Adding a Traffic Control Interface”
• Section 5.36.2.3, “Deleting a Traffic Control Interface”
Section 5.36.2.1
Viewing a List of Traffic Control Interfaces
To view a list of traffic control interfaces, type:
show running-config qos traffic-control basic-configuration tcinterfaces
If interfaces have been configured, a table or list similar to the following example appears:
traffic-control
basic-configuration
tcinterfaces te1-2-1c01ppp
type external
inbandwidth 1500
in-unit kilobits
outbandwidth 1500
out-unit kilobits
description "TC on T1 Link"
!
!
!
!
If no interfaces have been configured, add interfaces as needed. For more information, refer to Section 5.36.2.2,
“Adding a Traffic Control Interface”.
Section 5.36.2.2
Adding a Traffic Control Interface
To add a new traffic control interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Configure the following parameter(s) as required:
Parameter Description
{ interface } An interface to which traffic shaping will apply. Lowercase alphanumerical as well as '.'
and '-' characters are allowed.
outbandwidth { outbandwidth } The outgoing bandwidth for this interface. Specify only the number
here. The unit (kilobits, megabits) is specified in the out-unit.
Parameter Description
The unit for outgoing bandwidth, per second.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.2.3
Deleting a Traffic Control Interface
To delete a traffic control interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the traffic control interface by typing:
no qos traffic-control basic-configuration tcinterfaces interface
Where:
• interface is the name of the traffic control interface
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.3
NOTE
Traffic control priorities can only be configured in basic mode. For more information about setting the
traffic control mode, refer to Section 5.36.1, “Enabling and Configuring Traffic Control”.
The following sections describe how to configure and manage traffic control priorities:
• Section 5.36.3.1, “Viewing a List of Traffic Control Priorities”
• Section 5.36.3.2, “Adding a Traffic Control Priority”
• Section 5.36.3.3, “Deleting a Traffic Control Priority”
Section 5.36.3.1
Viewing a List of Traffic Control Priorities
To view a list of traffic control priorities, type:
show running-config qos traffic-control basic-configuration tcpriorities
If priorities have been configured, a table or list similar to the following example appears:
band high
protocol tcp
port 80
description "High priority traffic"
!
tcpriorities medium
protocol udp
port 1500
description "Medium priority traffic"
!
tcpriorities low
band low
protocol icmp
description "Low priority traffic"
!
!
!
!
If no priorities have been configured, add priorities as needed. For more information, refer to Section 5.36.3.2,
“Adding a Traffic Control Priority”.
Section 5.36.3.2
Adding a Traffic Control Priority
To add a new traffic control priority, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the static MAC address by typing:
qos traffic-control basic-configuration tcpriority name
Where:
• name is the name of the traffic control priority entry
3. Configure the following parameter(s) as required:
Parameter Description
port { port } (choice) Source port - can be specified only if protocol is TCP, UDP, DCCP, SCTP or
UDPlite
Prerequisite: A port number can be specified only when the protocol is either TCP,
UDP, DCCP, SCTP or UDPlite
address { address } (choice) The source address. This can be specified only if the protocol, port and
interface are not defined.
Prerequisite: An address can be specified only if neither a protocol or port nor an
interface are specified.
Parameter Description
interface { interface } (choice) The source interface. This can be specified only if the protocol, port and
address are not defined. Lowercase alphanumerical as well as '.' and '-' characters are
allowed.
Prerequisite: An interface can be specified only if neither a protocol, port nor an
address are specified.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.3.3
Deleting a Traffic Control Priority
To delete a traffic control priority, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the traffic control priority by typing:
no qos traffic-control basic-configuration tcpriority name
Where:
• name is the name of the traffic control priority entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.4
NOTE
One traffic control class must be added for each network interface.
NOTE
Type of Service (ToS) is defined by the Internet Engineering Task Force (IETF). For more information
about ToS, refer to RFC 1349 [http://tools.ietf.org/html/rfc1349].
The following sections describe how to configure and manage traffic control classes:
• Section 5.36.4.1, “Viewing a List of Traffic Control Classes”
• Section 5.36.4.2, “Adding a Traffic Control Class”
• Section 5.36.4.3, “Deleting a Traffic Control Class”
Section 5.36.4.1
Viewing a List of Traffic Control Classes
To view a list of traffic control classes, type:
show running-config qos traffic-control advanced-configuration tcclasses
If classes have been configured, a table or list similar to the following example appears:
If no classes have been configured, add classes as needed. For more information, refer to Section 5.36.4.2,
“Adding a Traffic Control Class”.
Section 5.36.4.2
Adding a Traffic Control Class
To add a new traffic control class, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the static MAC address by typing:
qos traffic-control advanced-configuration tcclasses name
Where:
• name is the name of the traffic control class entry
3. Configure the following parameter(s) as required:
Parameter Description
interface { interface } The interface to which this class applies. Each interface must be
listed only once. Lowercase alphanumerical as well as '.' and '-' characters are allowed.
mark { mark } A mark that identifies traffic belonging to this class. This is a
unique integer between 1-255. Each class must have its own unique mark.
min-bandwidth { min-bandwidth } The minimum bandwidth this class should have when the traffic load rises. This can
be either a numeric value or a calculated expression based on the bandwidth of the
interface. A fixed numerical value must only be a number - its unit is specified in Minbw-
unit.
A calculated expression is based on a fraction of the 'full' bandwidth, such as:
1. 'full/3' for a third of the bandwidth and
2. 'full*9/10' for nine tenths of the bandwidth.
Parameter Description
In such a case, do not specify any minbw-unit.
max-bandwidth { max-bandwidth } The maximum bandwidth this class is allowed to use when the link is idle. This can
be either a numeric value or a calculated expression based on the bandwidth of the
interface. A fixed numerical value must only be a number - its unit is specified in Maxbw-
unit.
A calculated expression is based on a fraction of the 'full' bandwidth, such as:
1. 'full/3' for a third of the bandwidth and
2. 'full*9/10' for nine tenths of the bandwidth.
In such a case, do not specify any maxbw-unit.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.4.3
Deleting a Traffic Control Class
To delete a traffic control class, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the traffic control class by typing:
no qos traffic-control advanced-configuration tcclasses name
Where:
• name is the name of the traffic control class entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.5
NOTE
Traffic control devices can only be configured in advanced mode. For more information about setting
the traffic control mode, refer to Section 5.36.1, “Enabling and Configuring Traffic Control”.
The following sections describe how to configure and manage traffic control devices:
• Section 5.36.5.1, “Viewing a List of Traffic Control Devices”
• Section 5.36.5.2, “Adding a Traffic Control Device”
• Section 5.36.5.3, “Deleting a Traffic Control Device”
Section 5.36.5.1
Viewing a List of Traffic Control Devices
To view a list of traffic control devices, type:
show running-config qos traffic-control advanced-configuration tcdevices
If devices have been configured, a table or list similar to the following example appears:
If no devices have been configured, add devices as needed. For more information, refer to Section 5.36.5.2,
“Adding a Traffic Control Device”.
Section 5.36.5.2
Adding a Traffic Control Device
To add a new traffic control device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the traffic control device by typing:
qos traffic-control advanced-configuration tcdevices name
Where:
• name is the name of the interface to which traffic shaping will apply. Lowercase alphanumerical as well as
'.' and '-' characters are allowed.
3. Configure the following parameter(s) as required:
Parameter Description
{ interface } An interface to which traffic shaping will apply. Lowercase alphanumerical as well as '.'
and '-' characters are allowed.
outbandwidth { outbandwidth } Maximum outgoing bandwidth... This is the maximum speed that can be
handled. Additional packets will be dropped. This is the
bandwidth that can be refrred-to as 'full' when defining classes.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.5.3
Deleting a Traffic Control Device
To delete a traffic control device, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the traffic control device by typing:
no qos traffic-control advanced-configuration tcdevices name
Where:
• name is the name of the interface to which traffic shaping will apply.
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.6
NOTE
Traffic control rules can only be configured in advanced mode. For more information about setting the
traffic control mode, refer to Section 5.36.1, “Enabling and Configuring Traffic Control”.
The following sections describe how to configure and manage traffic control rules:
• Section 5.36.6.1, “Viewing a List of Traffic Control Rules”
• Section 5.36.6.2, “Adding a Traffic Control Rule”
• Section 5.36.6.3, “Configuring QoS Marking”
• Section 5.36.6.4, “Deleting aTraffic Control Rule”
Section 5.36.6.1
Viewing a List of Traffic Control Rules
To view a list of traffic control rules, type:
show running-config qos traffic-control advanced-configuration tcrules
If rules have been configured, a table or list similar to the following example appears:
If no rules have been configured, add rules as needed. For more information, refer to Section 5.36.6.2, “Adding a
Traffic Control Rule”.
Section 5.36.6.2
Adding a Traffic Control Rule
To add a new traffic control rule, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the traffic control rule by typing:
qos traffic-control advanced-configuration tcrule name
Where:
• name is the name of the traffic control rule entry.
3. Configure the following parameter(s) as required:
Parameter Description
source { source } IF name, comma-separated list of hosts or IPs, MAC addresses, or 'all'.
When using MAC addresses, use '~' as prefix and '-' as separator. Ex.:
~00-1a-6b-4a-72-34,~00-1a-6b-4a-71-42
destination-ports { destination-ports } (Optional) A comma-separated list of port names, port numbers or port ranges.
source-ports { source-ports } (Optional) A comma- separated list of port names, port numbers or port ranges.
test { test } (Optional) Defines a test on the existing packet or connection mark.
The default is a packet mark. For testing a connection mark, add ':C' at the end of the
test value. Ex.:
Test if the packet mark is not zero:
!0
Test if the connection mark is not zero:
!0:C
length { length } (Optional) Matches the length of a packet against a specific value or range of values...
Greater than and lesser than, as well as ranges are supported in the form of min:max.
Ex.: Equal to 64 64 Greater or equal to 65 65: Lesser or equal to 65 :65 In-between 64
and 768 64:768
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.6.3
Configuring QoS Marking
Quality of Service (QoS) marking applies a mark to important data packets that should receive preferential
treatment as they travel through the network. Only one QoS mark is allowed for each traffic control rule. Options
include:
• Set: Determines whether the packet or the connection is assigned the QoS mark.
• Modify: Changes the QoS mark value using an AND or OR argument.
• Save/Restore: Replaces the connection's QoS mark value with an assigned value.
• Continue: If the packet matches, no more traffic control rules are checked and the packet is automatically
forwarded to the specified chain.
• DSCP Marking: Determines whether the packet is assign the DSCP mark.
To configure the QoS mark for a traffic control rule, do the following:
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
NOTE
The chain-options parameter specifies the chain in which the rule will be processed.
• Pre-Routing - Mark the connection in the PREROUTING chain.
This can be used with DNAT, SNAT and Masquerading rules in the firewall. An example of such
a rule is Source.IP:192.168.2.101, Chain-option: preroute or default, but the actual Source.NAT
address is 2.2.2.2.
• Post-Routing - Mark the connection in the POSTROUTING chain.
This can be used with DNAT, SNAT and Masquerading rules in the firewall. An example of such
rule is Destination.IP:192.168.3.101, Chain-option:preroute or default. In this case, the actual
destination address is 192.168.3.101, but it will be translated to 192.168.3.33 by DNAT. Another
example of a traffic control rule is Destination.IP:192.168.3.33, Chain-option:postrouting.
• Forward - Mark the connection in the FORWARD chain.
This is the default chain option and it can be used for normal IP traffic without any address or
port translation.
Parameter Description
mask { mask } (optional) A mask to determine which mark bits will be set.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
Parameter Description
Parameter Description
Default: forward
A chain in which the operation will take place.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Where:
• name is the name of the traffic control rule
3. Configure the following parameter(s):
Parameter Description
dscp-mark { dscp-mark } Synopsis: BE, AF11, AF12, AF13, AF21, AF22, AF23, AF31, AF32, AF33, AF41,
AF42, AF43, CS1, CS2, CS3, CS4, CS5, CS6, CS7, EF
A DSCP class value chosen amongst the given list.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.6.4
Deleting aTraffic Control Rule
To delete a traffic control rule, do the following:
Where:
• name is the name of the traffic control rule entry
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.7
Section 5.36.7.1
Viewing a List of QoS Maps
To view a list of QoS maps for a VLAN connection, type:
show running-config interface virtualswitch id vlan vlan-id qosmap
Where:
• id is the ID of the virtual switch
• vlan-id is the ID given to the VLAN
If QoS maps have been configured, a table or list similar to the following example appears:
If no QoS maps have been configured, add maps as needed. For more information, refer to Section 5.36.7.2,
“Adding a QoS Map”.
Section 5.36.7.2
Adding a QoS Map
To add a QoS map for a VLAN connection, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the QoS map by typing:
interface virtualswitch id vlan vlan-id qosmap priority
Where:
• id is the ID of the virtual switch
• vlan-id is the ID given to the VLAN
• priority is the priority assigned to the QoS map
3. Configure the following parameter(s) as required:
Parameter Description
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.7.3
Deleting a QoS Map
To delete a QoS map for a VLAN connection, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the QoS map for the VLAN connection by typing:
no interface virtualswitch id vlan vlan-id qosmap priority
Where:
• id is the ID of the virtual switch
• vlan-id is the ID given to the VLAN
• priority is the priority assigned to the QoS map
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.8
Section 5.36.8.1
Viewing a List of Egress Marks
To view a list of egress marks for a QoS map, type:
For Virtual Switches
show running-config interface virtualswitch id vlan vlan-id qosmap priority egress
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• id is the ID given to the VLAN
• priority is the priority assigned to the QoS map
If egress marks have been configured, a table or list similar to the following example appears:
If no egress marks have been configured, add egress marks as needed. For more information, refer to
Section 5.36.8.2, “Adding an Egress Mark”.
Section 5.36.8.2
Adding an Egress Mark
To add an egress mark for a QoS Map, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the QoS map by typing:
For Virtual Switches
interface virtualswitch id vlan vlan-id qosmap priority egress mark
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• id is the ID given to the VLAN
• priority is the priority assigned to the QoS map
• mark is the value of the egress mark
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.8.3
Deleting an Egress Mark
To delete an egress mark for a QoS map, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the QoS map for the VLAN connection by typing:
For Virtual Switches
no interface virtualswitch id vlan vlan-id qosmap priority egress mark
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• id is the ID given to the VLAN
• priority is the priority assigned to the QoS map
• mark is the value of the egress mark
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.36.9
NOTE
Statistics are only available when traffic control is enabled in advanced mode. For more information
about enabling traffic control, refer to Section 5.36.1, “Enabling and Configuring Traffic Control”.
Parameter Description
classname
min-bandwidth The minimum guaranteed bandwidth. This is based on the device's defined characteristics.
Parameter Description
max-bandwidth The maximum guaranteed bandwidth in absence of any higher prioritized traffic. This is
based on the device's defined characteristics.
sentbytes The number of bytes that were sent through this class.
sentpackets The number of packets that were sent through this class.
Section 5.37
Section 5.37.1
Where:
• interface is the name of the routable interface
• cost is the value used in auto-cost calculations for the routable logical interface in kbps
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.2
Parameter Description
Section 5.37.3
Section 5.37.3.1
Viewing a List of IPv4 Addresses
To view a list of IPv4 address for a routable interface, type:
show running-config ip interface ipv4
Where:
• interface is the name of the interface
If addresses have been configured, a table or list similar to the following example appears:
If no addresses have been configured, add addresses as needed. For more information, refer to Section 5.37.3.2,
“Adding an IPv4 Address”.
Section 5.37.3.2
Adding an IPv4 Address
To add an IPv4 address to a routable interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the address by typing:
ip interface ipv4 address address
Where:
• interface is the name of the interface
• address is the IPv4 address
3. Configure the following parameter(s) as required:
Parameter Description
peer { peer } The peer IPv4 Address (xxx.xxx.xxx.xxx, PPP, MLPPP, FrameRelay link only).
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.3.3
Deleting an IPv4 Address
To delete an IPv4 address for a routable interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no ip interface ipv4 address address
Where:
• address is the IPv4 address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.4
Where:
• interface is the name of the interface
3. Configure the following parameter(s) as required:
Parameter Description
adv-interval-option Includes an Advertisement Interval option which indicates to hosts the maximum time in
milliseconds, between successive unsolicited router advertisements.
home-agent-config-flag Sets/unsets the flag in IPv6 router advertisements which indicates to hosts that the
router acts as a home agent and includes a home agent option.
managed-config-flag The flag in IPv6 router advertisements, which indicates to hosts that they should use
the managed (stateful) protocol for addresses autoconfiguraiton in addition to any
addresses autoconfigured using stateless address autoconfiguration.
other-config-flag The flag in IPv6 router advertisements, which indicates to hosts that they should use
the administered (stateful) protocol to obtain autoconfiguration information other than
addresses.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.5
Section 5.37.5.1
Adding an IPv6 Network Prefix
To add a network prefix to the neightbor discovery configuration for an IPv6 address, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the network prefix by typing:
ip interface ipv6 nd prefix prefix
Where:
• interface is the name of the interface
• prefix is the IPv6 address and prefix
3. Configure the lifetime settings by configuring the following parameter(s):
Parameter Description
Parameter Description
off-link Indicates that advertisement makes no statement about on-link or off-link properties of
the prefix.
no-autoconfig Indicates to hosts on the local link that the specified prefix cannot be used for IPv6
autoconfiguration.
router-address Indicates to hosts on the local link that the specified prefix contains a complete IP
address by setting the R flag.
Prerequisite: The router address can not be set unless off-link or no-autoconfig are
set.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.5.2
Deleting an IPv6 Network Prefix
To delete a network prefix to the neightbor discovery configuration for an IPv6 address, do the following:
1. Make sure the CLI is in Configuration mode.
Where:
• interface is the name of the interface
• address is the IPv6 address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.6
Section 5.37.6.1
Viewing a List of IPv6 Addresses
To view a list of IPv6 address for a routable interface, type:
show running-config ip interface ipv6 address
Where:
• interface is the name of the interface
If addresses have been configured, a table or list similar to the following example appears:
If no addresses have been configured, add addresses as needed. For more information, refer to Section 5.37.6.2,
“Adding an IPv6 Address”.
Section 5.37.6.2
Adding an IPv6 Address
To add an IPv6 address to a routable interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the address by typing:
Where:
• interface is the name of the interface
• address is the IPv6 address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section 5.37.6.3
Deleting an IPv6 Address
To delete an IPv6 address for a routable interface, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the address by typing:
no ip interface ipv6 address address
Where:
• interface is the name of the interface
• address is the IPv6 address
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Troubleshooting
This chapter describes troubleshooting steps for common issues that may be encountered when using ROX II or
designing a network. It describes the following tasks:
IMPORTANT!
For further assistance, contact a Customer Service representative.
Section 6.1
Ethernet Ports
The following describes common problems related to Ethernet ports.
Problem Solution
A link seems fine when traffic levels are low, A possible cause of intermittent operation is that of a ‘duplex mismatch’. If one end of the
but fails as traffic rates increase OR a link link is fixed to full-duplex and the peer auto-negotiates, the auto-negotiating end falls back to
can be pinged but has problems with FTP/ half-duplex operation.
SQL/HTTP/etc. At lower traffic volumes, the link may display few if any errors. As the traffic volume
rises, the fixed negotiation side will begin to experience dropped packets while the auto-
negotiating side will experience collisions. Ultimately, as traffic loads approach 100%, the
link will become entirely unusable.
The ping command with flood options is a useful tool for testing commissioned links. The
command ping 192.168.0.1 500 2 can be used to issue 500 pings each separated by
two milliseconds to the next switch. If the link used is of high quality, then no pings should
be lost and the average round trip time should be small.
Links are inaccessible, even when using Make sure LFI is not enabled on the peer as well. If both sides of the link have LFI enabled,
the Logical File Inclusion (LFI) protection then both sides will withhold link signal generation from each other.
feature.
Section 6.2
Multicast Filtering
The following describes common problems related to multicast filtering.
Problem Solution
When started, a multicast traffic feed is Is IGMP enabled for the VLAN? Multicasts will be distributed to all members of the VLAN
always distributed to all members of the unless IGMP is enabled.
VLAN.
Problem Solution
Computers connected to the switch receive Is the port used to connect the router included in the Router Ports list?
multicast traffic, but not when they are To determine whether the multicast stream is being delivered to the router, view the
connected to a router. statistics collected for switched Ethernet ports. For more information, refer to Section 3.15.4,
“Viewing Switched Ethernet Port Statistics”.
Verify the traffic count transmitted to the router is the same as the traffic count received from
the multicasting source.
The video stream at an end station is of poor Video serving is a resource-intensive application. Because it uses isochronous workload,
quality. data must be fed at a prescribed rate or end users will see glitches in the video. Networks
that carry data from the server to the client must be engineered to handle this heavy,
isochronous workload. Video streams can consume large amounts of bandwidth. Features
and capacity of both server and network (including routers, bridges, switches and interfaces)
impact the streams.
Do not exceed 60% of the maximum interface bandwidth. For example, if using a 10 Mbps
Ethernet, run a single multicasting source at no more than 6 Mbps, or two sources at 3
Mbps. It is important to consider these ports in the network design, as router ports will carry
the traffic of all multicast groups.
IMPORTANT!
Multicasting will introduce latency in all traffic on the network. Plan the network
carefully in order to account for capacity and latency concerns.
Multicast streams of some groups are not Make sure different multicast groups do not have multicast IP addresses that map to the
forwarded properly. Some segments without same multicast MAC address. The switch forwarding operation is MAC address-based and
subscribers receive the traffic, while some will not work properly for several groups mapping to the same MAC address.
segments with subscribers do not.
Computers on the switch issue join requests, Is the multicast route running IGMP version 2? It must run IGMP version 2 in order for IGMP
but do not receive multicast streams from a Snooping to operate properly.
router.
Unable to connect or disconnect some IGMP is not broken. This may in fact be proper switch behavior.
switch ports, and multicast goes everywhere. When the switch detects a change in the network topology through RSTP, it acts to avoid
Is IGMP broken? loss of multicast traffic. If configured to do so, it starts forwarding all multicast traffic to all
ports that are not RSTP Edge ports (because they may potentially link to routers). This may
result in some undesired flooding of multicast traffic, which will stop after a few minutes.
However, it guarantees that all devices interested in the traffic will keep receiving it without
interruption.
The same behavior will be observed when the switch resets or when IGMP Snooping is
being disabled for the VLAN.
Section 6.3
Spanning Tree
The following describes common problems related to the Spanning Tree Protocol (STP).
Problem Solution
The network locks up when a new port is Is it possible that one of the switches in the network or one of the ports on a switch in the
connected and the port status LEDs are network has STP disabled and accidentally connects to another switch? If this has occurred,
flashing rapidly. then a traffic loop has been formed.
If the problem appears to be transient in nature, it is possible that ports that are part of the
Occasionally, the ports seem to experience
spanning tree have been configured as edge ports. After the link layers have come up on
significant flooding for a brief period of time.
edge ports, STP will directly transition them (perhaps improperly) to the forwarding state.
A switch displays a strange behavior where If an RSTP configuration message is then received, the port will be returned to blocking. A
the root port hops back and forth between traffic loop may be formed for the length of time the port was in forwarding.
two switch ports and never settles down.
Problem Solution
If one of the switches appears to flip the root from one port to another, the problem may be
one of traffic prioritization. For more information refer to The network becomes unstable
when a specific application is started.
Another possible cause of intermittent operation is that of an auto-negotiation mismatch.
If one end of the link is fixed to full-duplex mode and the peer auto-negotiates, the auto-
negotiating end will fall back to half-duplex operation. At lower traffic, the volumes the
link may display few if any errors. As the traffic volume rises, the fixed negotiation side
will begin to experience dropped packets while the auto-negotiating side will experience
collisions. Ultimately, as traffic loads approach 100%, the link will become entirely unusable.
At this point, RSTP will not be able to transmit configuration messages over the link and
the spanning tree topology will break down. If an alternate trunk exists, RSTP will activate
it in the place of the congested port. Since activation of the alternate port often relieves the
congested port of its traffic, the congested port will once again become reliable. RSTP will
promptly enter it back into service, beginning the cycle once again. The root port will flip
back and forth between two ports on the switch.
A computer or device is connected to a Is it possible that the RSTP edge setting for this port is set to false? If Edge is set to false,
switch. After the switch is reset, it takes a the bridge will make the port go through two forward delay times before the port can send or
long time for it to come up. receive frames. If Edge is set to true, the bridge will transition the port directly to forwarding
upon link up.
Another possible explanation is that some links in the network run in half-duplex mode.
RSTP uses a peer-to-peer protocol called Proposal-Agreement to ensure transitioning in the
event of a link failure. This protocol requires full-duplex operation. When RSTP detects a
non-full duplex port, it cannot rely on Proposal-Agreement protocol and must make the port
transition the slow (i.e. STP) way. If possible, configure the port for full-duplex operation.
Otherwise, configure the port’s point-to-point setting to true.
Either one will allow the Proposal-Agreement protocol to be used.
When the switch is tested by deliberately Is it possible that some ports participating in the topology have been configured to STP
breaking a link, it takes a long time before mode or that the port’s point-to-point parameter is set to false? STP and multi-point ports
devices beyond the switch can be polled. converge slowly after failures occur.
Is it possible that the port has migrated to STP? If the port is connected to the LAN segment
by shared media and STP bridges are connected to that media, then convergence after link
failure will be slow.
Delays on the order of tens or hundreds of milliseconds can result in circumstances where
the link broken is the sole link to the root bridge and the secondary root bridge is poorly
chosen. The worst of all possible designs occurs when the secondary root bridge is located
at the farthest edge of the network from the root. In this case, a configuration message will
have to propagate out to the edge and then back in order to reestablish the topology.
The network is composed of a ring of A properly operating unmanaged bridge is transparent to STP configuration messages. The
bridges, of which two (connected to managed bridges will exchange configuration messages through the unmanaged bridge
each other) are managed and the rest part of the ring as if it is non-existent. When a link in the unmanaged part of the ring fails
are unmanaged. Why does the RSTP however, the managed bridges will only be able to detect the failure through timing out of
protocol work quickly when a link is broken hello messages. Full connectivity will require three hello times plus two forwarding times to
between the managed bridges, but not in the be restored.
unmanaged bridge part of the ring?
The network becomes unstable when a RSTP sends its configuration messages using the highest possible priority level. If CoS
specific application is started. The network is configured to allow traffic flows at the highest priority level and these traffic flows burst
returns to normal when the application is continuously to 100% of the line bandwidth, STP may be disrupted. It is therefore advised
stopped. not to use the highest CoS.
When a new port is brought up, the root Is it possible that the port cost is incorrectly programmed or that auto-negotiation derives an
moves on to that port instead of the port it undesired value? Inspect the port and path costs with each port active as root.
should move to or stay on.
An IED/controller does not work with the Certain low CPU bandwidth controllers have been found to behave less than perfectly when
device. they receive unexpected traffic. Try disabling STP for the port.
If the controller fails around the time of a link outage, there is the remote possibility that
frame disordering or duplication may be the cause of the problem. Try setting the root port of
the failing controller’s bridge to STP.
Problem Solution
Polls to other devices are occasionally lost. Review the network statistics to determine whether the root bridge is receiving TCNs around
the time of observed frame loss. It may be possible there are problems with intermittent links
in the network.
The root is receiving a number of TCNs. Examine the RSTP port statistics to determine the port from which the TCNs are arriving.
Where are they coming from? Sign-on to the switch at the other end of the link attached to that port. Repeat this step until
the switch generating the TCNs is found (i.e. the switch that is itself not receiving a large
number of TCNs). Determine the problem at that switch.
Section 6.4
VLANs
The following describes common problems related to the VLANs.
Problem Solution
VLANs are not needed on the network. Can Yes. Simply leave all ports set to type edge and leave the native VLAN set to 1. This is the
they be turned off? default configuration for the switch.
Two VLANs were created and a number of If the devices need to communicate at the physical address layer, they must be members of
ports were made members of them. Now the same VLAN. If they can communicate in a Layer 3 fashion (i.e. using a protocol such as
some of the devices in one VLAN need IP or IPX), use a router. The router will treat each VLAN as a separate interface, which will
to send messages to devices in the other have its own associated IP address space.
VLAN.
480 VLANs