Cisco ONS 15310-CL,
Cisco ONS 15310-MA, and
Cisco ONS 15310-MA SDH Ethernet Card
Software Feature and Configuration Guide
Cisco IOS Release 12.2(29)SVE0, 12.2(33)STE0
CTC and Documentation Release 9.1 and Release 9.2
August 2012
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: 78-19415-01
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The following information is for FCC compliance of Class A devices: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant
to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio-frequency energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case users will be required
to correct the interference at their own expense.
The following information is for FCC compliance of Class B devices: The equipment described in this manual generates and may radiate radio-frequency energy. If it is not
installed in accordance with Cisco’s installation instructions, it may cause interference with radio and television reception. This equipment has been tested and found to
comply with the limits for a Class B digital device in accordance with the specifications in part 15 of the FCC rules. These specifications are designed to provide reasonable
protection against such interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation.
Modifying the equipment without Cisco’s written authorization may result in the equipment no longer complying with FCC requirements for Class A or Class B digital
devices. In that event, your right to use the equipment may be limited by FCC regulations, and you may be required to correct any interference to radio or television
communications at your own expense.
You can determine whether your equipment is causing interference by turning it off. If the interference stops, it was probably caused by the Cisco equipment or one of its
peripheral devices. If the equipment causes interference to radio or television reception, try to correct the interference by using one or more of the following measures:
• Turn the television or radio antenna until the interference stops.
• Move the equipment to one side or the other of the television or radio.
• Move the equipment farther away from the television or radio.
• Plug the equipment into an outlet that is on a different circuit from the television or radio. (That is, make certain the equipment and the television or radio are on circuits
controlled by different circuit breakers or fuses.)
Modifications to this product not authorized by Cisco Systems, Inc. could void the FCC approval and negate your authority to operate the product.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this
URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Cisco ONS 15310-CL, Cisco ONS 15310-MA, and Cisco ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, Release 9.1 and Release 9.2
Obtaining Documentation and Submitting a Service Request
1-1
ML-Series Card Description
ML-Series Feature List
Key ML-Series Features
Cisco IOS
GFP-F Framing
1-4
1-4
Link Aggregation (FEC and POS)
RMON
RPR
SNMP
TL1
1-5
1-5
1-5
1-6
1-1
1-2
1-4
1-5
xxv
xxv
CHAPTER
78-19415-01
2
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
CTC Operations on the ML-Series Card
Displaying ML-Series POS Statistics in CTC
Displaying ML-Series Ethernet Statistics in CTC
2-1
2-1
2-2
Displaying ML-Series Ethernet Ports Provisioning Information on CTC
Displaying ML-Series POS Ports Provisioning Information on CTC
Displaying SONET Alarms
Displaying J1 Path Trace
Provisioning SONET Circuits
2-4
2-4
2-4
2-2
2-3
iii
Contents
CHAPTER
3
Initial Configuration of the ML-Series Card
Hardware Installation
Cisco IOS on the ML-Series Card
3-1
3-1
Opening a Cisco IOS Session Using CTC
Telnetting to the Node IP Address and Slot Number
Telnetting to a Management Port
ML-Series IOS CLI Console Port
3-3
3-4
RJ-11 to RJ-45 Console Cable Adapter
Connecting a PC or Terminal to the Console Port
Startup Configuration File
3-5
Manually Creating a Startup Configuration File Through the Serial Console Port
Passwords
3-6
Configuring the Management Port
Configuring the Hostname
3-7
Loading a Cisco IOS Startup Configuration File Through CTC
Database Restore of the Startup Configuration File
Cisco IOS Command Modes
Using the Command Modes
Exit
3-11
Getting Help
3-11
3-9
3-11
3-1
3-2
3-2
3-4
3-4
3-6
3-6
3-8
3-9
CHAPTER
CHAPTER
CHAPTER
4
5
6
Configuring Bridging on the ML-Series Card
Understanding Bridging
Configuring Bridging
Monitoring and Verifying Bridging
4-1
4-2
4-3
Configuring Interfaces on the ML-Series Card
General Interface Guidelines
MAC Addresses
Interface Port ID
5-1
5-2
Basic Interface Configuration
5-1
5-3
Basic Fast Ethernet and POS Interface Configuration
Configuring the Fast Ethernet Interfaces
Configuring the POS Interfaces
5-5
5-4
Monitoring Operations on the Fast Ethernet Interfaces
Configuring POS on the ML-Series Card
Understanding POS on the ML-Series Card
6-1
6-1
4-1
5-1
5-4
5-6
iv
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Contents
CHAPTER
Available Circuit Sizes and Combinations
LCAS Support
6-2
J1 Path Trace, and SONET Alarms
Framing Mode, Encapsulation, Scrambling, MTU and CRC Support
Configuring the POS Interface
6-4
Configuring POS Interface Framing Mode
Configuring POS Interface Encapsulation Type Under GFP-F Framing
SONET Alarms
Configuring SONET Alarms
6-6
6-7
Configuring SONET Delay Triggers
Monitoring and Verifying POS
7
Configuring STP and RSTP on the ML-Series Card
STP Features
STP Overview
7-1
7-2
Supported STP Instances
Bridge Protocol Data Units
Election of the Root Switch
6-8
7-2
7-2
7-3
Bridge ID, Switch Priority, and Extended System ID
Spanning-Tree Timers
7-4
Creating the Spanning-Tree Topology
Spanning-Tree Interface States
Blocking State
Listening State
Learning State
Forwarding State
Disabled State
7-6
7-7
7-7
7-7
7-7
7-5
Spanning-Tree Address Management
STP and IEEE 802.1Q Trunks
7-8
Spanning Tree and Redundant Connectivity
Accelerated Aging to Retain Connectivity
6-1
6-2
6-3
6-4
6-5
6-7
7-1
7-4
7-5
7-8
7-8
7-9
RSTP Features
Supported RSTP Instances
Port Roles and the Active Topology
Rapid Convergence
Synchronization of Port Roles
Bridge Protocol Data Unit Format and Processing
Processing Superior BPDU Information
Processing Inferior BPDU Information
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-9
7-9
7-10
7-11
7-12
7-13
7-14
7-14
v
Contents
CHAPTER
Topology Changes
Interoperability with IEEE 802.1D STP
Configuring STP and RSTP Features
Default STP and RSTP Configuration
Disabling STP and RSTP
Configuring the Root Switch
Configuring the Port Priority
Configuring the Path Cost
Configuring the Switch Priority of a Bridge Group
Configuring the Hello Time
Configuring the Forwarding-Delay Time for a Bridge Group
Configuring the Maximum-Aging Time for a Bridge Group
Verifying and Monitoring STP and RSTP Status
8
Configuring VLANs on the ML-Series Card
Understanding VLANs
Configuring IEEE 802.1Q VLAN Encapsulation
IEEE 802.1Q VLAN Configuration
7-14
7-15
7-15
7-16
7-16
7-17
7-17
7-18
7-18
7-19
7-20
7-20
7-20
8-1
8-1
8-2
8-3
CHAPTER
Monitoring and Verifying VLAN Operation
9
Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling on the ML-Series Card
Understanding IEEE 802.1Q Tunneling
Configuring IEEE 802.1Q Tunneling
IEEE 802.1Q Tunneling and Compatibility with Other Features
Configuring an IEEE 802.1Q Tunneling Port
IEEE 802.1Q Example
9-5
Understanding VLAN-Transparent and VLAN-Specific Services
VLAN-Transparent and VLAN-Specific Services Configuration Example
Understanding Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Default Layer 2 Protocol Tunneling Configuration
Layer 2 Protocol Tunneling Configuration Guidelines
Configuring Layer 2 Tunneling on a Port
Configuring Layer 2 Tunneling Per-VLAN
Monitoring and Verifying Tunneling Status
8-5
9-1
9-1
9-4
9-4
9-4
9-6
9-7
9-9
9-9
9-10
9-10
9-11
9-12
9-12
CHAPTER
vi
10
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Configuring Link Aggregation on the ML-Series Card
Understanding Link Aggregation
10-1
10-1
78-19415-01
Contents
CHAPTER
CHAPTER
11
12
Configuring Link Aggregation
Configuring Fast EtherChannel
EtherChannel Configuration Example
Configuring POS Channel
POS Channel Configuration Example
10-2
10-2
10-3
10-4
10-5
Understanding Encapsulation over FEC or POS Channel
Configuring Encapsulation over EtherChannel or POS Channel
Encapsulation over EtherChannel Example
Monitoring and Verifying EtherChannel and POS
Configuring IRB on the ML-Series Card
Understanding Integrated Routing and Bridging
Configuring IRB
IRB Configuration Example
Monitoring and Verifying IRB
11-2
11-3
11-4
11-1
10-7
10-8
11-1
Configuring Quality of Service on the ML-Series Card
Understanding QoS
Priority Mechanism in IP and Ethernet
12-2
12-2
IP Precedence and Differentiated Services Code Point
Ethernet CoS
12-3
10-6
10-6
12-1
12-2
ML-Series QoS
Classification
Policing
12-4
12-4
12-5
Marking and Discarding with a Policer
Queuing
Scheduling
12-6
12-6
Control Packets and L2 Tunneled Protocols
Egress Priority Marking
Ingress Priority Marking
QinQ Implementation
12-8
12-8
12-8
Flow Control Pause and QoS
QoS on RPR
Configuring QoS
Creating a Traffic Class
Creating a Traffic Policy
12-9
12-10
12-10
12-11
Attaching a Traffic Policy to an Interface
Configuring CoS-Based QoS
12-16
12-5
12-7
12-9
12-15
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
vii
Contents
Monitoring and Verifying QoS Configuration
QoS Configuration Examples
12-17
Traffic Classes Defined Example
Traffic Policy Created Example
12-18
12-16
12-18
class-map match-any and class-map match-all Commands Example
match spr1 Interface Example
ML-Series VoIP Example
ML-Series Policing Example
ML-Series CoS-Based QoS Example
12-19
12-20
12-20
12-21
Understanding Multicast QoS and Multicast Priority Queuing
Case 1: QoS with Priority and Bandwidth Configured Without Priority Multicast
Case 2: QoS with Priority and Bandwidth Configured with Priority Multicast
Understanding CoS-Based Packet Statistics
12-28
12-19
12-23
12-26
12-27
CHAPTER
CHAPTER
13
14
Configuring CoS-Based Packet Statistics
Understanding IP SLA
IP SLA on the ML-Series
12-30
12-31
IP SLA Restrictions on the ML-Series
12-29
12-31
Configuring the Switching Database Manager on the ML-Series Card
Understanding the SDM
Understanding SDM Regions
Configuring SDM
Configuring SDM Regions
Configuring Access Control List Size in TCAM
Monitoring and Verifying SDM
Configuring Access Control Lists on the ML-Series Card
Understanding ACLs
ML-Series ACL Support
IP ACLs
14-2
Named IP ACLs
User Guidelines
Creating IP ACLs
13-1
13-2
13-2
13-3
13-3
13-3
14-1
14-1
14-1
14-2
14-2
14-3
13-1
viii
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Contents
CHAPTER
15
Creating Numbered Standard and Extended IP ACLs
Creating Named Standard IP ACLs
14-4
Creating Named Extended IP ACLs (Control Plane Only)
Applying the ACL to an Interface
Modifying ACL TCAM Size
14-5
14-4
Configuring Resilient Packet Ring on the ML-Series Card
Understanding RPR
Role of SONET Circuits
Packet Handling Operations
Ring Wrapping
RPR Framing Process
MAC Address and VLAN Support
RPR QoS
CTM and RPR
Configuring RPR
15-1
15-2
15-2
15-3
15-4
15-6
15-6
15-6
15-6
Connecting the ML-Series Cards with Point-to-Point STS Circuits
Configuring CTC Circuits for RPR
CTC Circuit Configuration Example for RPR
15-7
15-7
Configuring RPR Characteristics and the SPR Interface on the ML-Series Card
Assigning the ML-Series Card POS Ports to the SPR Interface
Creating the Bridge Group and Assigning the Ethernet and SPR Interfaces
RPR Cisco IOS Configuration Example
15-14
Verifying Ethernet Connectivity Between RPR Ethernet Access Ports
CRC Threshold Configuration and Detection
Configuring Shortest Path and Topology Discovery
Monitoring and Verifying Shortest Path and Topolgy Discovery
Redundant Interconnect
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
15-16
15-17
15-19
15-21
15-23
15-25
15-25
15-25
15-25
15-25
15-25
15-25
ix
Contents
CHAPTER
16
Configuring Security for the ML-Series Card
Understanding Security
16-1
Disabling the Console Port on the ML-Series Card
Secure Login on the ML-Series Card
Secure Shell on the ML-Series Card
Understanding SSH
Configuring SSH
16-2
16-3
Configuration Guidelines
16-2
16-2
16-3
Setting Up the ML-Series Card to Run SSH
Configuring the SSH Server
16-5
Displaying the SSH Configuration and Status
RADIUS on the ML-Series Card
RADIUS Relay Mode
16-6
Configuring RADIUS Relay Mode
RADIUS Stand Alone Mode
Understanding RADIUS
Configuring RADIUS
Default RADIUS Configuration
16-6
16-7
16-7
16-8
16-8
16-9
Identifying the RADIUS Server Host
Configuring AAA Login Authentication
Defining AAA Server Groups
16-13
Configuring RADIUS Authorization for User Privileged Access and Network Services
Starting RADIUS Accounting
16-16
Configuring a nas-ip-address in the RADIUS Packet
Configuring Settings for All RADIUS Servers
Configuring the ML-Series Card to Use Vendor-Specific RADIUS Attributes
Configuring the ML-Series Card for Vendor-Proprietary RADIUS Server Communication
Displaying the RADIUS Configuration
16-20
16-1
16-2
16-3
16-5
16-9
16-11
16-15
16-17
16-17
16-18
16-19
CHAPTER
x
17
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
CE-Series Ethernet Cards
CE-100T-8 Ethernet Card
CE-100T-8 Overview
CE-100T-8 Ethernet Features
Autonegotiation, Flow Control, and Frame Buffering
Ethernet Link Integrity Support
Enhanced State Model for Ethernet and SONET Ports
IEEE 802.1Q CoS and IP ToS Queuing
RMON and SNMP Support
17-1
17-1
17-2
17-2
17-2
17-3
17-4
17-5
17-6
78-19415-01
Contents
Statistics and Counters
17-6
CE-100T-8 SONET Circuits and Features
Available Circuit Sizes and Combinations
CE-100T-8 STS/VT Allocation Tab
CE-100T-8 VCAT Characteristics
CE-100T-8 POS Encapsulation, Framing, and CRC
CE-100T-8 Loopback, J1 Path Trace, and SONET Alarms
CE-MR-6 Ethernet Card
CE-MR-6 Overview
CE-MR-6 Ethernet Features
17-12
17-12
17-13
Autonegotiation, Flow Control, and Frame Buffering
Ethernet Link Integrity Support
Ethernet Drop and Continue Circuit
Administrative and Service States with Soak Time for Ethernet and SONET Ports
IEEE 802.1Q CoS and IP ToS Queuing
RMON and SNMP Support
Statistics and Counters
17-20
Supported Cross-connects
CE-MR-6 Circuits and Features
Available Circuit Sizes and Combinations
CE-MR-6 Pool Allocation
CE-MR-6 VCAT Characteristics
CE-MR-6 POS Encapsulation, Framing, and CRC
CE-MR-6 Loopback, J1 Path Trace, and SONET Alarms
17-7
17-7
17-8
17-10
17-10
17-11
17-13
17-14
17-15
17-16
17-17
17-19
17-20
17-20
17-20
17-23
17-23
17-24
17-24
APPENDIX
APPENDIX
APPENDIX
78-19415-01
A
B
C
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Table 9-3Commands for Monitoring and Maintaining Tunneling
Table 11-1Commands for Monitoring and Verifying IRB
Table 11-2show interfaces irb Field Descriptions
11-5
11-6
6-3
7-21
9-6
9-10
9-12
6-2
Table 12-1Traffic Class Commands
Table 12-2Traffic Policy Commands
Table 12-3CoS Commit Command
Table 12-4Commands for QoS Status
Table 12-5CoS Multicast Priority Queuing Command
Table 12-6Packet Statistics on ML-Series Card Interfaces
Table 12-7CoS-Based Packet Statistics Command
Table 12-8Commands for CoS-Based Packet Statistics
Table 13-1Default Partitioning by Application Region
Table 13-2Partitioning the TCAM Size for ACLs
12-11
12-12
12-16
12-16
12-25
12-28
12-29
12-29
13-2
13-3
Table 14-1Commands for Numbered Standard and Extended IP ACLs
Table 14-2Applying ACL to Interface
Table 15-1Definitions of RPR Frame Fields
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
14-5
15-5
14-3
xiii
Tables
Table 16-1Commands for Displaying the SSH Server Configuration and Status
Table 17-1IP ToS Priority Queue Mappings
Table 17-2CoS Priority Queue Mappings
Table 17-3CE-100T-8 Supported Circuit Sizes
Table 17-4SONET Circuit Size Required for Ethernet Wire Speeds
Table 17-5CCAT High Order Circuit Size Combinations
Table 17-6VCAT High Order Circuit Size Combinations
Table 17-7CE-100T-8 Maximum Service Densities
Table 17-8IP ToS Priority Queue Mappings
Table 17-9CoS Priority Queue Mappings
Table 17-10Supported SONET Circuit Sizes of CE-MR-6 on ONS 15310
Table 17-11Minimum SONET Circuit Sizes for Ethernet Speeds
17-5
17-5
17-7
17-7
17-7
17-8
17-8
17-18
17-18
17-21
17-21
16-5
Table 17-12VCAT High-Order Circuit Combinations for STS on ONS 15310 (Slots 1, 2, 5, and 6)
17-22
xiv
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
FIGURES
Figure 3-1CTC Node View Showing IP Address
Figure 3-2Console Cable Adapter
Figure 4-1Bridging Example
Figure 7-1Spanning-Tree Topology
3-4
4-3
7-5
Figure 7-2Spanning-Tree Interface States
Figure 7-3Spanning Tree and Redundant Connectivity
Figure 7-4Proposal and Agreement Handshaking for Rapid Convergence
Figure 7-5Sequence of Events During Rapid Convergence
Figure 8-1VLANs Spanning Devices in a Network
Figure 8-2Bridging IEEE 802.1Q VLANs
8-4
Figure 9-1IEEE 802.1Q Tunnel Ports in a Service-Provider Network
3-3
7-6
7-8
7-12
7-13
8-2
9-2
Figure 9-2Normal, IEEE 802.1Q, and IEEE 802.1Q-Tunneled Ethernet Packet Formats
Figure 9-3ERMS Example
Figure 10-1Encapsulation over EtherChannel Example
Figure 10-2POS Channel Example
Figure 10-3Encapsulation over EtherChannel Example
Figure 11-1Configuring IRB
9-7
10-3
10-5
10-7
11-3
9-3
Figure 12-1IP Precedence and DSCP
12-3
Figure 12-2Ethernet Frame and the CoS Bit (IEEE 802.1p)
Figure 12-3ML-Series QoS Flow
Figure 12-4Dual Leaky Bucket Policer Model
Figure 12-5Queuing and Scheduling Model
12-4
12-5
12-7
Figure 12-6QinQ Implementation on the ML-Series Card
Figure 12-7ML-Series VoIP Example
Figure 12-8ML-Series Policing Example
Figure 12-9ML-Series CoS Example
Figure 12-10QoS not Configured on Egress
Figure 15-1RPR Packet Handling Operations
Figure 15-2RPR Ring Wrapping
Figure 15-3RPR Frame for ML-Series Card
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
12-20
12-21
12-22
12-26
15-3
15-4
15-5
12-3
12-9
xv
Figures
Figure 15-4RPR Frame Fields
Figure 15-5Three-Node RPR Example
Figure 15-6RPR Bridge Group
Figure 15-7Two-Node RPR Before the Addition
Figure 15-8Three-Node RPR After the Addition
Figure 15-9Three-Node RPR Before the Deletion
Figure 15-10Two-Node RPR After the Deletion
Figure 17-1CE-100T-8 Point-to-Point Circuit
Figure 17-2Flow Control
Figure 17-3End-to-End Ethernet Link Integrity Support
Figure 17-4CE-100T-8 STS/VT Allocation Tab
Figure 17-5ONS CE-100T-8 Encapsulation and Framing Options
Figure 17-6CE-MR-6 Point-to-Point Circuit
Figure 17-7Flow Control
Figure 17-8End-to-End Ethernet Link Integrity Support
15-5
15-8
15-13
15-17
15-18
15-21
15-22
17-2
17-3
17-4
17-9
17-11
17-12
17-14
17-15
Figure 17-9Unidirectional Drop from a CE-MR-6 card on Node 1 to Nodes 2, 3, and 4
Figure 17-10Unidirectional Drop from CE-MR-6 Card A to CE-MR-6 Card B
17-16
17-15
xvi
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Preface
Note
The terms “Unidirectional Path Switched Ring” and “UPSR” may appear in Cisco literature. These terms
do not refer to using Cisco ONS 15xxx products in a unidirectional path switched ring configuration.
Rather, these terms, as well as “Path Protected Mesh Network” and “PPMN,” refer generally to Cisco's
path protection feature, which may be used in any topological network configuration. Cisco does not
recommend using its path protection feature in any particular topological network configuration.
This section provides the following information:
•
Revision History
•
Document Objectives
•
Audience
•
Related Documentation
•
Document Conventions
•
Obtaining Optical Networking Information
•
Obtaining Documentation and Submitting a Service Request
Revision History
DateNotes
May 2010
•
Added this Revision History table.
•
Updated the link integrity soak duration range as 200 ms to 10000 ms in the
sub-section “Ethernet Link Integrity Support” of the section “CE-MR-6
Ethernet Features” in the chapter “CE-Series Ethernet Cards”.
October 2010Updated the “CE-MR-6 VCAT Characteristics” section in the “CE-Series Ethernet
Cards” chapter.
December 2010Updated the “CE-MR-6 VCAT Characteristics” section in the “CE-Series Ethernet
Cards” chapter.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
xvii
DateNotes
January 2011
August 2011
August 2012The full length book-PDF was generated.
Document Objectives
•
Updated the “CE-100T-8 VCAT Characteristics” section in the “CE-Series
Ethernet Cards” chapter.
•
Updated the “CE-MR-6 VCAT Characteristics” section in the “CE-Series
Ethernet Cards” chapter.
•
Updated the following tables in the chapter “CE-Series Ethernet Cards”:
–
Supported SONET Circuit Sizes of CE-MR-6 on ONS 15310
–
Minimum SONET Circuit Sizes for Ethernet Speeds
–
VCAT High-Order Circuit Combinations for STS on ONS 15310 (Slots 1,
2, 5, and 6)
•
Updated the section “CE-MR-6 Pool Allocation” in the chapter “CE-Series
Ethernet Cards”.
Preface
This guide covers the software features and operations of the ML-100T-8 and the CE-100T-8 Ethernet
cards for the Cisco ONS 15310-CL and the Cisco ONS 15310-MA. It explains software features and
configuration for Cisco IOS on the ML-Series card. It also explains software feature and configuration
for Cisco Transport Controller (CTC) on the CE-100T-8 card. The CE-100T-8 card is also available as
a card for the Cisco ONS 15454 and Cisco ONS 15454 SDH. This version of the card is described in the
Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration
Guide. Use this guide in conjunction with the appropriate publications listed in the Related
Documentation section.
Audience
To use the ML-Series card chapters of this publication, you should be familiar with Cisco IOS and
preferably have technical networking background and experience. To use the CE-100T-8 card chapter of
this publication, you should be familiar with CTC and preferably have technical networking background
and experience.
Related Documentation
Use the Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software
Feature and Configuration Guide, R9.1 and R9.2 in conjunction with the following general
ONS 15310-CL and ONS 15310-MA system publications:
xviii
•
To install, turn up, provision, and maintain a Cisco ONS 15310-CL or Cisco ONS 15310-MA node
and network, refer to the Cisco ONS 15310-CL and Cisco ONS 15310-MA Procedure Guide and
Cisco ONS 15310-MA SDH Procedure Guide.
•
For alarm clearing, general troubleshooting procedures, transient conditions, and error messages for
a Cisco ONS 15310-CL and Cisco ONS 15310-MA card, node, or network, refer to the
Cisco ONS 15310-CL and Cisco ONS 15310-MA Troubleshooting Guide and Cisco ONS 15310-MA
SDH Troubleshooting Guide.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Preface
•
For detailed reference information about Cisco ONS 15310-CL or Cisco ONS 15310-MA cards,
nodes, and networks, refer to the Cisco ONS 15310-CL and Cisco ONS 15310-MA Reference Manual and Cisco ONS 15310-MA SDH Reference Manual.
The ML-Series card employs the Cisco IOS Modular QoS CLI (MQC). For more information on general
MQC configuration, refer to the following Cisco IOS documents:
•
Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2
•
Cisco IOS Quality of Service Solutions Command Reference, Release 12.2
•
The ML-Series card employs Cisco IOS 12.2. For more general information on Cisco IOS 12.2, refer
to the extensive Cisco IOS documentation at http://www.cisco.com.
For an update on End-of-Life and End-of-Sale notices, refer to
[ ]Keywords or arguments that appear within square brackets are optional.
{ x | x | x }A choice of keywords (represented by x) appears in braces separated by
vertical bars. The user must select one.
CtrlThe control key. For example, where Ctrl + D is written, hold down the
Control key while pressing the D key.
screen font
boldface screen font
Examples of information displayed on the screen.
Examples of information that the user must enter.
< >Command parameters that must be replaced by module-specific codes.
Means reader take note. Notes contain helpful suggestions or references to material not covered in the
document.
Caution
Means reader be careful. In this situation, the user might do something that could result in equipment
damage or loss of data.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
xix
Preface
Warning
Waarschuwing
Varoitus
IMPORTANT SAFETY INSTRUCTIONS
This warning symbol means danger. You are in a situation that could cause bodily injury. Before you
work on any equipment, be aware of the hazards involved with electrical circuitry and be familiar
with standard practices for preventing accidents. Use the statement number provided at the end of
each warning to locate its translation in the translated safety warnings that accompanied this
device.
Statement 1071
SAVE THESE INSTRUCTIONS
BELANGRIJKE VEILIGHEIDSINSTRUCTIES
Dit waarschuwingssymbool betekent gevaar. U verkeert in een situatie die lichamelijk letsel kan
veroorzaken. Voordat u aan enige apparatuur gaat werken, dient u zich bewust te zijn van de bij
elektrische schakelingen betrokken risico's en dient u op de hoogte te zijn van de standaard
praktijken om ongelukken te voorkomen. Gebruik het nummer van de verklaring onderaan de
waarschuwing als u een vertaling van de waarschuwing die bij het apparaat wordt geleverd, wilt
raadplegen.
BEWAAR DEZE INSTRUCTIES
TÄRKEITÄ TURVALLISUUSOHJEITA
Tämä varoitusmerkki merkitsee vaaraa. Tilanne voi aiheuttaa ruumiillisia vammoja. Ennen kuin
käsittelet laitteistoa, huomioi sähköpiirien käsittelemiseen liittyvät riskit ja tutustu
onnettomuuksien yleisiin ehkäisytapoihin. Turvallisuusvaroitusten käännökset löytyvät laitteen
mukana toimitettujen käännettyjen turvallisuusvaroitusten joukosta varoitusten lopussa näkyvien
lausuntonumeroiden avulla.
Attention
Warnung
SÄILYTÄ NÄMÄ OHJEET
IMPORTANTES INFORMATIONS DE SÉCURITÉ
Ce symbole d'avertissement indique un danger. Vous vous trouvez dans une situation pouvant
entraîner des blessures ou des dommages corporels. Avant de travailler sur un équipement, soyez
conscient des dangers liés aux circuits électriques et familiarisez-vous avec les procédures
couramment utilisées pour éviter les accidents. Pour prendre connaissance des traductions des
avertissements figurant dans les consignes de sécurité traduites qui accompagnent cet appareil,
référez-vous au numéro de l'instruction situé à la fin de chaque avertissement.
CONSERVEZ CES INFORMATIONS
WICHTIGE SICHERHEITSHINWEISE
Dieses Warnsymbol bedeutet Gefahr. Sie befinden sich in einer Situation, die zu Verletzungen führen
kann. Machen Sie sich vor der Arbeit mit Geräten mit den Gefahren elektrischer Schaltungen und
den üblichen Verfahren zur Vorbeugung vor Unfällen vertraut. Suchen Sie mit der am Ende jeder
Warnung angegebenen Anweisungsnummer nach der jeweiligen Übersetzung in den übersetzten
Sicherheitshinweisen, die zusammen mit diesem Gerät ausgeliefert wurden.
BEWAHREN SIE DIESE HINWEISE GUT AUF.
xx
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Preface
Avvertenza
Advarsel
Aviso
IMPORTANTI ISTRUZIONI SULLA SICUREZZA
Questo simbolo di avvertenza indica un pericolo. La situazione potrebbe causare infortuni alle
persone. Prima di intervenire su qualsiasi apparecchiatura, occorre essere al corrente dei pericoli
relativi ai circuiti elettrici e conoscere le procedure standard per la prevenzione di incidenti.
Utilizzare il numero di istruzione presente alla fine di ciascuna avvertenza per individuare le
traduzioni delle avvertenze riportate in questo documento.
CONSERVARE QUESTE ISTRUZIONI
VIKTIGE SIKKERHETSINSTRUKSJONER
Dette advarselssymbolet betyr fare. Du er i en situasjon som kan føre til skade på person. Før du
begynner å arbeide med noe av utstyret, må du være oppmerksom på farene forbundet med
elektriske kretser, og kjenne til standardprosedyrer for å forhindre ulykker. Bruk nummeret i slutten
av hver advarsel for å finne oversettelsen i de oversatte sikkerhetsadvarslene som fulgte med denne
enheten.
TA VARE PÅ DISSE INSTRUKSJONENE
INSTRUÇÕES IMPORTANTES DE SEGURANÇA
Este símbolo de aviso significa perigo. Você está em uma situação que poderá ser causadora de
lesões corporais. Antes de iniciar a utilização de qualquer equipamento, tenha conhecimento dos
perigos envolvidos no manuseio de circuitos elétricos e familiarize-se com as práticas habituais de
prevenção de acidentes. Utilize o número da instrução fornecido ao final de cada aviso para
localizar sua tradução nos avisos de segurança traduzidos que acompanham este dispositivo.
¡Advertencia!
Varning!
GUARDE ESTAS INSTRUÇÕES
INSTRUCCIONES IMPORTANTES DE SEGURIDAD
Este símbolo de aviso indica peligro. Existe riesgo para su integridad física. Antes de manipular
cualquier equipo, considere los riesgos de la corriente eléctrica y familiarícese con los
procedimientos estándar de prevención de accidentes. Al final de cada advertencia encontrará el
número que le ayudará a encontrar el texto traducido en el apartado de traducciones que acompaña
a este dispositivo.
GUARDE ESTAS INSTRUCCIONES
VIKTIGA SÄKERHETSANVISNINGAR
Denna varningssignal signalerar fara. Du befinner dig i en situation som kan leda till personskada.
Innan du utför arbete på någon utrustning måste du vara medveten om farorna med elkretsar och
känna till vanliga förfaranden för att förebygga olyckor. Använd det nummer som finns i slutet av
varje varning för att hitta dess översättning i de översatta säkerhetsvarningar som medföljer denna
anordning.
SPARA DESSA ANVISNINGAR
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
xxi
Preface
xxii
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Preface
Aviso
Advarsel
INSTRUÇÕES IMPORTANTES DE SEGURANÇA
Este símbolo de aviso significa perigo. Você se encontra em uma situação em que há risco de lesões
corporais. Antes de trabalhar com qualquer equipamento, esteja ciente dos riscos que envolvem os
circuitos elétricos e familiarize-se com as práticas padrão de prevenção de acidentes. Use o
número da declaração fornecido ao final de cada aviso para localizar sua tradução nos avisos de
segurança traduzidos que acompanham o dispositivo.
GUARDE ESTAS INSTRUÇÕES
VIGTIGE SIKKERHEDSANVISNINGER
Dette advarselssymbol betyder fare. Du befinder dig i en situation med risiko for
legemesbeskadigelse. Før du begynder arbejde på udstyr, skal du være opmærksom på de
involverede risici, der er ved elektriske kredsløb, og du skal sætte dig ind i standardprocedurer til
undgåelse af ulykker. Brug erklæringsnummeret efter hver advarsel for at finde oversættelsen i de
oversatte advarsler, der fulgte med denne enhed.
GEM DISSE ANVISNINGER
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
xxiii
Preface
xxiv
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Preface
Obtaining Optical Networking Information
This section contains information that is specific to optical networking products. For information that
pertains to all of Cisco, refer to the Obtaining Documentation and Submitting a Service Request section.
Where to Find Safety and Warning Information
For safety and warning information, refer to the Cisco Optical Transport Products Safety and
Compliance Information document that accompanied the product. This publication describes the
international agency compliance and safety information for the Cisco ONS 15454 system. It also
includes translations of the safety warnings that appear in the ONS 15454 system documentation.
Optical networking-related documentation, including Cisco ONS 15xxx product documentation, is
available in a CD-ROM package that ships with your product. The Optical Networking Product
Documentation CD-ROM is updated periodically and may be more current than printed documentation.
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional
information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and
revised Cisco technical documentation, at:
Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed
and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free
service and Cisco currently supports RSS version 2.0.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
xxv
Preface
xxvi
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
CHA PTER
1
Overview of the ML-Series Card
This chapter provides an overview of the ML-100T-8 card for Cisco ONS 15310-CL and the Cisco ONS
15310-MA. It lists Ethernet and SONET capabilities and Cisco IOS and Cisco Transport Controller
(CTC) software features, with brief descriptions of selected features.
The CE-100T-8 card for the Cisco ONS 15310-CL and the Cisco ONS 15310-MA and CE-MR-6 card
the Cisco ONS 15310-MA is covered in Chapter 17, “CE-Series Ethernet Cards.” For Ethernet card
specifications, refer to the Cisco ONS 15454 Reference Manual. For step-by-step Ethernet card circuit
configuration, hard-reset, and soft-reset procedures, refer to the Cisco ONS 15454 Procedure Guide.
Refer to the Cisco ONS SONET TL1 Command Guide for TL1 provisioning commands. For specific
details on ONS 15310-CL Ethernet card interoperability with other ONS platforms, refer to the “POS on
ONS Ethernet Cards” chapter of the Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide.
This chapter contains the following major sections:
•
ML-Series Card Description, page 1-1
•
ML-Series Feature List, page 1-2
•
Key ML-Series Features, page 1-4
ML-Series Card Description
The ML-Series card is a module in the Cisco ONS 15310-CL and the Cisco ONS 15310-MA. It is an
independent Fast Ethernet switch with eight RJ-45 interfaces. The ML-Series card uses Cisco IOS
Release 12.2(28)SV, and the Cisco IOS command-line interface (CLI) is the primary user interface for
the ML-Series card. Most configuration for the card, such as Ethernet and packet-over-SONET (POS)
port provisioning, bridging, VLAN, and Quality of Service (QoS), can be done only with the Cisco IOS
CLI.
However, CTC—the ONS 15310-CL graphical user interface (GUI)—and Transaction Language One
(TL1) also support the ML-Series card. SONET circuits must be configured through CTC or TL1 and
cannot be provisioned through Cisco IOS. CTC also offers ML-Series card status information, SONET
alarm management, Cisco IOS Telnet session initialization, provisioning, inventory, and other standard
functions.
The ML-Series card features two virtual ports, which function in a manner similar to OC-N card ports.
The SONET circuits are provisioned through CTC in the same manner as standard OC-N circuits.
For detailed card specifications, refer to the Cisco ONS 15454 Reference Manual.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
1-1
ML-Series Feature List
ML-Series Feature List
The ML-100T-8 has the following features:
•
Layer 1 data features:
–
10/100BASE-TX half-duplex and full-duplex data transmission
–
IEEE 802.3x compliant flow control
•
SONET features:
–
High-level data link control (HDLC) or frame-mapped generic framing procedure (GFP-F)
framing mechanisms for POS
–
GFP-F supports LEX (default), Cisco HDLC, and Point-to-Point Protocol/Bridging Control
Protocol (PPP/BCP) encapsulation for POS
–
HDLC framing supports LEX encapsulation only
–
Two POS virtual ports
–
Virtual concatenated (VCAT) circuits with Link Capacity Adjustment Scheme (LCAS) or
without LCAS
Chapter 1 Overview of the ML-Series Card
–
ONS 15310 ML-Series LCAS is compatible with ONS 15454 ML-Series SW-LCAS
•
Layer 2 bridging features:
–
Transparent bridging
–
MAC address learning, aging, and switching by hardware
–
Protocol tunneling
–
Multiple Spanning Tree (MST) protocol tunneling
–
255 active bridge group maximum
–
8,000 MAC address maximum per card
–
Integrated routing and bridging (IRB)
–
IEEE 802.1P/Q-based VLAN trunking
–
IEEE 802.1Q VLAN tunneling
–
IEEE 802.1D Spanning Tree Protocol (STP) and IEEE 802.1W Rapid Spanning Tree Protocol
(RSTP)
–
IEEE 802.1D STP instance per bridge group
–
Resilient packet ring (RPR)
–
VLAN-transparent and VLAN-specific services (Ethernet Relay Multipoint Service [ERMS])
•
Fast EtherChannel (FEC) features:
–
Bundling of up to four Fast Ethernet ports
1-2
–
Load sharing based on source and destination IP addresses of unicast packets
–
Load sharing for bridge traffic based on MAC addresses
–
IRB
–
IEEE 802.1Q trunking
–
Up to 4 active FEC port channels
•
POS channel:
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Load balancing among equal cost paths based on source and destination IP addresses
–
Up to 350 IP routes per card
–
Up to 350 IP hosts per card
–
IRB routing mode support
•
QoS features:
–
Multicast priority queuing classes
ML-Series Feature List
–
Service level agreements (SLAs) with 1-Mbps granularity
–
Input policing
–
Guaranteed bandwidth (weighted round-robin [WDRR] plus strict priority scheduling)
–
Low latency queuing support for unicast voice over IP (VoIP)
–
Class of service (CoS) based on Layer 2 priority, VLAN ID, Layer 3 Type of Service/DiffServ
Code Point
–
CoS-based packet statistics
–
Up to 350 QoS entries per card
–
Up to 350 policers per card
–
IP SLA network monitoring using Cisco IP SLA (formerly Cisco Service Assurance Agent)
•
Security features
–
Cisco IOS login enhancements
–
Secure Shell connection (SSH Version 2)
–
Disabled console port
–
Authentication, Authorization, and Accounting/Remote Authentication Dial-In User Service
(AAA/RADIUS) stand alone mode
–
AAA/RADIUS relay mode
•
Additional protocols:
(TOS/DSCP), and port
–
Cisco Discovery Protocol (CDP) support on Ethernet ports
–
Dynamic Host Configuration Protocol (DHCP) relay
–
Hot Standby Router Protocol (HSRP) over 10/100 Ethernet, FEC and Bridge Group Virtual
Interface (BVI)
–
Internet Control Message Protocol (ICMP)
•
Management features:
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
1-3
Key ML-Series Features
–
Cisco IOS Release 12.2(28)SV
–
CTC
–
Remote monitoring (RMON)
–
Simple Network Management Protocol (SNMP)
–
TL1
•
System features:
–
Network Equipment Building Systems 3 (NEBS3) compliant
•
CTC features:
–
Standard synchronous transport signal (STS) and VCAT circuit provisioning for POS virtual
ports
–
SONET alarm reporting for path alarms and other ML-Series card specific alarms
–
Raw port statistics
–
Standard inventory and card management functions
–
J1 path trace
–
Cisco IOS CLI Telnet sessions from CTC
Chapter 1 Overview of the ML-Series Card
–
Cisco IOS startup configuration file management from CTC
Key ML-Series Features
This section describes selected key features and their implementation on the ML-Series cards.
Cisco IOS
Cisco IOS controls the data functions of the ML-Series cards. Users cannot update the ML-Series
Cisco IOS image in the same manner as the Cisco IOS system image on a Cisco Catalyst Series. An
ML-Series Cisco IOS image upgrade is available only as part of the Cisco ONS 15310-CL or the Cisco
ONS 15310-MA software release and accomplished only through CTC or TL1. The image is not
available for download or shipped separately.
GFP-F Framing
GFP defines a standard-based mapping of different types of services onto SONET/SDH. The ML-Series
and CE-Series support frame-mapped GFP (GFP-F), which is the protocol data unit (PDU)-oriented
client signal adaptation mode for GFP. GFP-F maps one variable length data packet onto one GFP
packet.
GFP is composed of common functions and payload specific functions. Common functions are those
shared by all payloads. Payload-specific functions are different depending on the payload type. GFP is
detailed in the ITU recommendation G.7041.
1-4
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 1 Overview of the ML-Series Card
Link Aggregation (FEC and POS)
The ML-Series offers Fast EtherChannel and POS channel link aggregation. Link aggregation groups
multiple ports into a larger logical port and provides resiliency during the failure of any individual ports.
The ML-Series supports a maximum of four Ethernet ports in Fast EtherChannel, and two SONET
virtual ports in POS channel. POS channel is only supported with LEX encapsulation.
Traffic flows map to individual ports based on MAC source address (SA)/destination address (DA) for
bridged packets and IP SA/DA for routed packets. There is no support for policing or class-based packet
priorities when link aggregation is configured.
RMON
The ML-Series card features RMON that allows network operators to monitor the health of the network
with an NMS. ONG RMON is recommended for the ML-100T-8. The ONG RMON contains the
statistics, history, alarms, and events MIB groups from the standard RMON MIB. The standard
Cisco IOS RMON is also available. A user can access RMON threshold provisioning through TL1 or
CTC. For more information on RMON, refer to the “SNMP Remote Monitoring” section in “SNMP”
chapter of the Cisco ONS 15310-CL and Cisco ONS 15310-MA Reference Manual.
Key ML-Series Features
RPR
SNMP
RPR is an emerging network architecture designed for metro fiber ring networks. This new MAC
protocol is designed to overcome the limitations of STP, RSTP, and SONET in packet-based networks.
RPR convergence times are comparable to SONET and much faster than STP or RSTP. RPR operates at
the Layer 2 level and is compatible with Ethernet and protected or unprotected SONET circuits.
The Cisco ONS 15310-CL, the Cisco ONS 15310-MA, and the ML-Series cards have SNMP agents and
support SNMP Version 1 (SNMPv1) and SNMP Version 2c (SNMPv2c) sets and traps. The Cisco ONS
15310-CL and the Cisco ONS 15310-MA accept, validate, and forward get/getNext/set requests to the
ML-Series through a proxy agent. Responses from the ML-Series are relayed by the Cisco ONS
15310-CL and the Cisco ONS 15310-MA to the requesting SNMP agents.
The ML-Series card SNMP support includes:
•
STP traps from Bridge-MIB (RFC 1493)
•
Authentication traps from RFC 1157
•
Export of QoS statistics through the CISCO-PORT-QOS-MIB extension
For more information on how the ONS 15310-CL implements SNMP, refer to the “SNMP” chapter of
the Cisco ONS 15310-CL and Cisco ONS 15310-MA Reference Manual. For more information on
specific MIBs, refer to the Cisco SNMP Object Navigator at http://www.cisco.com.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
1-5
Key ML-Series Features
TL1
Chapter 1 Overview of the ML-Series Card
TL1 on the ML-Series cards can be used for card inventory, fault and alarm management, card
provisioning, and retrieval of status information for both data and SONET ports. TL1 can also be used
to provision SONET STS circuits and transfer a Cisco IOS startup configuration file to the card memory.
For specific TL1 commands and general TL1 information, refer to the Cisco ONS SONET TL1 Command Guide.
1-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
CHA PTER
2
CTC Operations on the ML-Series Card
This chapter covers Cisco Transport Controller (CTC) operation of the ML-Series card. All operations
described in the chapter take place at the card-level view of CTC. CTC shows provisioning information
and statistics for both the Ethernet and packet-over-SONET (POS) ports of the ML-Series card. For the
ML-Series cards, CTC manages SONET alarms and provisions STS circuits in the same manner as other
Cisco ONS 15310-CL and Cisco ONS 15310-MA SONET traffic.
Use CTC to load a Cisco IOS configuration file or to open a Cisco IOS command-line interface (CLI)
session. See Chapter 3, “Initial Configuration of the ML-Series Card.”
This chapter contains the following major sections:
•
Displaying ML-Series POS Statistics in CTC, page 2-1
•
Displaying ML-Series Ethernet Statistics in CTC, page 2-2
•
Displaying ML-Series Ethernet Ports Provisioning Information on CTC, page 2-2
•
Displaying ML-Series POS Ports Provisioning Information on CTC, page 2-3
•
Displaying SONET Alarms, page 2-4
•
Displaying J1 Path Trace, page 2-4
•
Provisioning SONET Circuits, page 2-4
Displaying ML-Series POS Statistics in CTC
The POS statistics window lists POS port-level statistics. Display the CTC card view for the ML-Series
card and click the Performance > POS Ports tabs to display the window.
Table 2-1 describes the buttons in the POS Ports window.
Table 2-1ML-Series POS Statistics Fields and Buttons
ButtonDescription
Refresh
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Manually refreshes the statistics.
2-1
Chapter 2 CTC Operations on the ML-Series Card
Displaying ML-Series Ethernet Statistics in CTC
Table 2-1ML-Series POS Statistics Fields and Buttons
ButtonDescription
Baseline
Auto-Refresh
Refer to the Cisco ONS 15454 Troubleshooting Guide for definitions of the SONET POS parameters.
CTC displays a different set of parameters for high-level data link control (HDLC) and frame-mapped
generic framing procedure (GFP-F) framing modes.
Resets the software counters (in that particular CTC client only) temporarily to zero
without affecting the actual statistics on the card. From that point on, only counters
displaying the change from the temporary baseline are displayed by this CTC client.
These new baselined counters are shown only as long as the user displays the
Performance window. If the user navigates to another CTC window and comes back
to the Performance window, the true actual statistics retained by the card are shown.
Sets a time interval for the automatic refresh of statistics.
Displaying ML-Series Ethernet Statistics in CTC
The Ethernet statistics window lists Ethernet port-level statistics. It is similar in appearance to the POS
statistics window with different statistic parameters. The ML-Series Ethernet ports are zero based.
Display the CTC card view for the ML-Series card and click the Performance > Ether Ports tabs to
display the window. Table 2-2 describes the buttons in the EtherPorts window.
Table 2-2ML-Series Ethernet Statistics Fields and Buttons
ButtonDescription
Refresh
Baseline
Auto-Refresh
Refer to the Cisco ONS 15454 Troubleshooting Guide for definitions of the Ethernet parameters. CTC
displays a different set of parameters for HDLC and GFP-F framing modes.
Queries the current values from the card and updates the CTC display.
Resets the software counters (in that particular CTC client only) temporarily to zero
without affecting the actual statistics on the card. From that point on, only counters
displaying the change from the temporary baseline are displayed by this CTC client.
These new baselined counters appear as long as the user displays the Performance
window. If the user navigates to another CTC window and comes back to the
Performance window, the true actual statistics retained by the card are shown.
Sets a time interval for the automatic refresh of statistics.
Displaying ML-Series Ethernet Ports Provisioning Information
on CTC
2-2
The Ethernet port provisioning window displays the provisioning status of the Ethernet ports. Click the
Provisioning > Ether Ports tabs to display this window. For ML-Series cards, the user must configure
ML-Series Ethernet ports and POS ports using the Cisco IOS CLI.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 2 CTC Operations on the ML-Series Card
The following fields can be provisioned using CTC: Port Name, Pre-Service Alarm Suppression (PSAS),
and Soak Time. Click the Port Name field to assign a name to the port. For more information on
provisioning these fields, refer to the “Change Card Settings” chapter in the Cisco ONS 15454 Procedure Guide.
Displaying ML-Series POS Ports Provisioning Information on CTC
Note
The port name can also be configured in Cisco IOS. The port name field configured in CTC and the port
name configured in Cisco IOS are independent of each other, and will not match unless the same name
is used to configure the port name in both CTC and Cisco IOS.
The Provisioning > Ether Ports tab displays the following information:
•
Port #—The fixed number identifier for the specific port.
•
Port Name—Configurable 12-character alphanumeric identifier for the port.
•
Admin State—Configured port state, which is administratively active or inactive. Possible values are
UP and DOWN.
•
PSAS—A check indicates alarm suppression is set on the port for the time designated in the Soak
Time column.
•
Soak Time—Desired soak time in hours and minutes. Use this column when you have checked PSAS
to suppress alarms. Once the port detects a signal, the countdown begins for the designated soak
time. Soak time hours can be set from 0 to 48. Soak time minutes can be set from 0 to 45 in 15 minute
increments.
•
Link State—Status between signaling points at port and attached device. Possible values are UP and
DOWN.
•
Operating Speed—ML-100T-8 possible values are Auto, 10Mbps, or 100Mbps.
•
Operating Duplex—Setting of the port. ML-100T-8 possible values are Auto, Full, or Half.
•
Flow Control—Negotiated flow control mode. ML-100T-8 possible values are None or
Symmetrical.
Note
Auto indicates the port is set to autonegotiate capabilities with the attached link partner.
Displaying ML-Series POS Ports Provisioning Information on
CTC
The POS ports provisioning window displays the provisioning status of the card’s POS ports. Click the
Provisioning > POS Ports tabs to display this window. For ML-Series cards, the user must configure
ML-Series Ethernet ports and POS ports using the Cisco IOS CLI.
The following fields can be provisioned using CTC: Port Name, PSAS, and Soak Time. Click in the Port
Name field to assign a name to the port. For more information on provisioning these fields, refer to the
“Change Card Settings” chapter in the Cisco ONS 15454 Procedure Guide.
Note
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
The port name can also be configured in Cisco IOS. The port name field configured in CTC and the port
name configured in Cisco IOS are independent of each other and will not match unless the same name
is used to configure the port name in both CTC and Cisco IOS.
2-3
Displaying SONET Alarms
The Provisioning > POS Ports tab displays the following information:
•
•
•
•
•
•
•
Chapter 2 CTC Operations on the ML-Series Card
Port #—Fixed number identifier for the specific port.
Port Name—Configurable 12-character alphanumeric identifier for the port.
Admin State—Configured administrative port state, which is active or inactive. Possible values are
UP and DOWN. For the UP value to appear, a POS port must be both administratively active and
have a SONET/SDH circuit provisioned.
PSAS—A check indicates alarm suppression is set on the port for the time designated in the Soak
Time column.
Soak Time—Desired soak time in hours and minutes. Use this column when you have checked PSAS
to suppress alarms. Once the port detects a signal, the countdown begins for the designated soak
time. Soak time hours can be set from 0 to 48. Soak time minutes can be set from 0 to 45 in 15 minute
increments.
MTU—The maximum transfer unit, which is the largest acceptable packet size for that port. This
value cannot be configured on the Cisco ONS 15310-CL and the Cisco ONS 15310-MA ML-Series
card.
Link State—Status between signaling points at the port and an attached device. Possible values are
UP and DOWN.
•
Framing Type- HDLC or frame-mapped generic framing procedure (GFP-F) framing type shows the
POS framing mechanism being employed on the port
Displaying SONET Alarms
To view SONET alarms on the ML-Series card, click the Alarms tab.
CTC manages the ML-Series card SONET alarm behavior in the same manner as it manages alarm
behavior for other Cisco ONS 15310-CL and the Cisco ONS 15310-MA SONET traffic. Click the
Provisioning > Alarm Profiles tabs for the Ethernet and POS port alarm profile information. Refer to
the Cisco ONS 15454 Troubleshooting Guide for detailed information.
Displaying J1 Path Trace
The J1 Path Trace is a repeated, fixed-length string comprised of 64 consecutive J1 bytes. You can use
the string to monitor interruptions or changes to SONET circuit traffic. Click the Maintenance > Path Trace tabs for the J1 Path Trace information.
For information on J1 Path Trace, refer to the Cisco ONS 15454 Troubleshooting Guide.
Provisioning SONET Circuits
2-4
CTC provisions and edits STS level circuits for the two POS ports of the ML-Series card in the same
manner as it provisions other Cisco ONS 15310-CL and Cisco ONS 15310-MA SONET OC-N cards.
The ONS 15310-CL ML-Series card supports both contiguous concatenation (CCAT) and virtual
concatenation (VCAT) circuits. Refer to the “Create Circuits” chapter of the Cisco ONS 15454 Procedure Guide to create SONET STS circuits.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 2 CTC Operations on the ML-Series Card
Provisioning SONET Circuits
Note
The initial state of the ML-Series card POS port is inactive. A Cisco IOS POS interface command of no
shutdown is required to carry traffic on the SONET circuit.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
2-5
Provisioning SONET Circuits
Chapter 2 CTC Operations on the ML-Series Card
2-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Initial Configuration of the ML-Series Card
This chapter describes the initial configuration of the ML-Series card and contains the following major
sections:
•
Hardware Installation, page 3-1
•
Cisco IOS on the ML-Series Card, page 3-1
•
Startup Configuration File, page 3-5
•
Cisco IOS Command Modes, page 3-9
•
Using the Command Modes, page 3-11
Hardware Installation
This section lists hardware installation tasks, including booting up the ML-Series card. Because the
ONS 15310 card slots can be preprovisioned for an ML-Series line card, the following physical
operations can be performed before or after the provisioning of the slot has taken place.
CHA PTER
3
1.
Install the ML-Series card into the ONS 15310. For physical installation instructions, refer to the
Cisco ONS 15454 Troubleshooting Guide.
2.
Connect the Ethernet cables to the ML-Series card.
3.
Connect the console terminal to the ML-Series card (optional).
Note
A NO-CONFIG condition is reported in CTC under the Alarms pane when an ML-Series card is inserted
and no valid Cisco IOS startup configuration file exists. Loading or creating this file clears the condition.
See the “Startup Configuration File” section on page 3-5 for information on loading or creating the file.
Cisco IOS on the ML-Series Card
The Cisco IOS software image used by the ML-Series card is not permanently stored on the ML-Series
card but in the flash memory of the 15310-CL-CTX or CTX2500 card. During a hard reset, the Cisco IOS
software image is downloaded from the flash memory of the 15310-CL-CTX or CTX2500 to the memory
cache of the ML-Series card. The cached image is then decompressed and initialized for use by the
ML-Series card.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-1
Cisco IOS on the ML-Series Card
During a soft reset, which reloads or warm restarts the ML-Series card, the ML-Series card checks the
cache for a Cisco IOS image. If a valid and current Cisco IOS image exists, the ML-Series card
decompresses and initializes the image. If the image does not exist, the ML-Series requests a new copy
of the Cisco IOS image from the 15310-CL-CTX or CTX2500. Caching the Cisco IOS image provides
a significant time savings when a soft reset is performed.
To use CTC to reset the ML-Series card with a hard reset or soft reset, at the CTC card-level view or
node-level view, right-click on the ML-Series card and click Hard-reset Card or Soft-reset Card. A
hard reset also requires that the ML-Series card is in the out of service (OOS) state, which is set under
the Inventory tab. Then click Yes at the confirmation dialog that appears. You can also initiate a hard
reset by removing and reinserting the ML-Series card. You can initiate a soft reset through Cisco IOS
with the privileged EXEC reboot command. For TL1 commands, refer to the Cisco ONS SONET TL1 Command Guide.
Chapter 3 Initial Configuration of the ML-Series Card
Caution
A soft reset or a hard reset on the Cisco ONS 15310 ML-Series card is service-affecting.
There are four ways to access the ML-Series card Cisco IOS configuration. The two out-of-band options
are opening a Cisco IOS session on CTC and telnetting to the node IP Address and 2001. The
two-in-band signalling options are telnetting to a configured management interface and directly
connecting to the console port.
Opening a Cisco IOS Session Using CTC
Users can initiate a Cisco IOS CLI session for the ML-Series card using CTC. Click the IOS tab at the
card-level CTC view, then click the Open IOS Command Line Interface (CLI) button. A window
opens and a standard Cisco IOS CLI User EXEC command mode prompt appears.
Note
A Cisco IOS startup configuration file must be loaded and the ML-Series card must be installed and
initialized prior to opening a Cisco IOS CLI session on CTC. See the “Startup Configuration File”
section on page 3-5 for more information.
Telnetting to the Node IP Address and Slot Number
Users can telnet to the Cisco IOS CLI using the IP address and the port number (2000 plus the slot
number).
3-2
Note
Note
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
A Cisco IOS startup configuration file must be loaded and the ML-Series card must be installed and
initialized prior to telnetting to the ML-Series card. See the “Startup Configuration File” section on
page 3-5 for more information.
If the ONS 15310 node is set up as a proxy server, where one ONS 15310 node in the ring acts as a
gateway network element (GNE) for the other nodes in the ring, telnetting over the GNE firewall to the
IP address and slot number of a non-GNE or end network element (ENE) requires the user’s Telnet client
to be SOCKS v5 aware (RFC 1928). Configure the Telnet client to recognize the GNE as the SOCKS v5
proxy for the Telnet session and to recognize the ENE as the host.
78-19415-01
Chapter 3 Initial Configuration of the ML-Series Card
134411
Node IP address
Cisco IOS on the ML-Series Card
Step 1
Obtain the node IP address from the IP Addr field shown at the CTC node view (Figure 3-1).
Figure 3-1CTC Node View Showing IP Address
Step 2
If you are telnetting into an ONS 15310-CL with an ML-Series card, use the IP address and the port
number 2001 as the Telnet address in your preferred communication program. For example with the IP
address of 10.92.18.124 on the ONS 15310-CL in the example, you would enter or telnet
. The slot number is always 1 for the ONS 15310-CL.
2001
Step 3
If you are telnetting into an ONS 15310-MA with an ML-Series card, use the IP address and the port
number (2000 plus the slot number) as the Telnet address in your preferred communication program. For
example, with an IP address of 10.92.18.125 on an ONS 15310-CL with an ML-Series card in slot 5, you
would enter or telnet to
Telnetting to a Management Port
Users can access the ML-Series through a standard Cisco IOS management port in the same manner as
other Cisco IOS platforms. For further details about configuring ports and lines for management access,
refer to the Cisco IOS Configuration Fundamentals Configuration Guide.
As a security measure, the vty lines used for Telnet access are not fully configured. In order to gain
Telnet access to the ML-Series card, you must configure the vty lines via the serial console connection
or preload a startup-configuration file that configures the vty lines. A port on the ML-Series must first
be configured as the management port; see the “Configuring the Management Port” section on page 3-6
or the “Loading a Cisco IOS Startup Configuration File Through CTC” section on page 3-8.
10.92.18.125 2005
10.92.18.124
.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-3
Cisco IOS on the ML-Series Card
78970
ML-Series IOS CLI Console Port
The ML-Series card has an RJ-11 serial console port on the card faceplate labeled Console. It enables
communication from the serial port of a PC or workstation running terminal emulation software to the
Cisco IOS CLI on a specific ML-Series card.
RJ-11 to RJ-45 Console Cable Adapter
Due to space limitations on the ML-Series card faceplate, the console port is an RJ-11 modular jack
instead of the more common RJ-45 modular jack. Cisco supplies an RJ-11 to RJ-45 console cable adapter
with each ML-Series card. After connecting the adapter, the console port functions like the standard
Cisco RJ-45 console port. Figure 3-2 shows the RJ-11 to RJ-45 console cable adapter.
Figure 3-2Console Cable Adapter
Chapter 3 Initial Configuration of the ML-Series Card
Table 3-1 shows the mapping of the RJ-11 pins to the RJ-45 pins.
Table 3-1RJ-11 to RJ-45 Pin Mapping
RJ-11 Pin RJ-45 Pin
11
22
33
44
None5
56
None7
68
Connecting a PC or Terminal to the Console Port
Use the supplied cable, an RJ-11 to RJ-45 console cable adapter, and a DB-9 adapter to connect a PC to
the ML-Series console port.
The PC must support VT100 terminal emulation. The terminal-emulation software—frequently a PC
application such as HyperTerminal or Procomm Plus—makes communication between the ML-Series
and your PC or terminal possible during the setup program.
3-4
Step 1
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Configure the data rate and character format of the PC or terminal to match these console port default
settings:
•
9600 baud
78-19415-01
Chapter 3 Initial Configuration of the ML-Series Card
•
8 data bits
•
1 stop bit
•
No parity
Step 2
Insert the RJ-45 connector of the supplied cable into the female end of the supplied console cable
adapter.
Startup Configuration File
Step 3
Insert the RJ-11 modular plug end of the supplied console cable adapter into the RJ-11 serial console
port, labeled CONSOLE, on the ML-Series card faceplate.
Step 4
Step 5
Attach the supplied RJ-45-to-DB-9 female DTE adapter to the nine-pin DB-9 serial port on the PC.
Insert the other end of the supplied cable in the attached adapter.
Startup Configuration File
The ML-Series card needs a startup configuration file in order to configure itself beyond the default
configuration when it resets. If no startup configuration file exists in the 15310-CL-CTX or the CTX
2500 flash memory, then the card boots up to a default configuration. Users can manually set up the
startup configuration file through the serial console port and the Cisco IOS CLI configuration mode or
load a Cisco IOS supplied sample startup configuration file through CTC. A running configuration
becomes a startup configuration file when saved with a copy running-config startup-config command.
It is not possible to establish a Telnet connection to the ML-Series card until a startup configuration file
is loaded onto the ML-Series card. Access is available through the console port.
Caution
The copy running-config startup-config command saves a startup configuration file to the flash
memory of the ML-Series card. This operation is confirmed by the appearance of the text “[OK]” in the
Cisco IOS CLI session. The startup configuration file is also saved to the ONS node’s database
restoration file after approximately 30 additional seconds.
Caution
Accessing the read-only memory monitor mode (ROMMON) on the ML-Series card without the
assistance of Cisco personnel is not recommended. This mode allows actions that can render the
ML-Series card inoperable. The ML-Series card ROMMON is preconfigured to boot the correct
Cisco IOS software image for the ML-Series card.
Caution
The maximum permitted size of the startup configuration file on the ONS 15310 ML-Series card is 96
kilobytes.
Note
When the running configuration file is altered, a RUNCFG-SAVENEED condition appears in CTC. This
condition is a reminder to enter a copy running-config startup-config command in the Cisco IOS CLI,
or configuration changes will be lost when the ML-Series card reboots.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-5
Chapter 3 Initial Configuration of the ML-Series Card
Startup Configuration File
Manually Creating a Startup Configuration File Through the Serial Console Port
Configuration through the serial console port is familiar to those who have worked with other products
using Cisco IOS. At the end of the configuration procedure, the copy running-config startup-config
command saves a startup configuration file.
The serial console port gives the user visibility to the entire booting process of the ML-Series card.
During initialization the ML-Series card first checks for a locally, valid cached copy of Cisco IOS. It
then either downloads the Cisco IOS software image from the 15310-CL-CTX or the CTX 2500 or
proceeds directly to decompressing and initializing the image. Following Cisco IOS initialization the
CLI prompt appears, at which time the user can enter the Cisco IOS CLI configuration mode and setup
the basic ML-Series configuration.
Passwords
There are two types of passwords that you can configure for an ML-Series card: an enable password and
an enable secret password. For maximum security, make the enable password different from the enable
secret password.
•
Enable password—The enable password is an unencrypted password. It can contain any number of
uppercase and lowercase alphanumeric characters. Give the enable password only to users permitted
to make configuration changes to the ML-Series card.
•
Enable secret password—The enable secret password is a secure, encrypted password. By setting an
encrypted password, you can prevent unauthorized configuration changes. On systems running
Cisco IOS software, you must enter the enable secret password before you can access global
configuration mode.
An enable secret password can contain from 1 to 25 uppercase and lowercase alphanumeric
characters. The first character cannot be a number. Spaces are valid password characters. Leading
spaces are ignored; trailing spaces are recognized.
Passwords are configured in the “Configuring the Management Port” section on page 3-6.
Configuring the Management Port
Because there is no separate management port on ML-Series cards, any Fast Ethernet interface (0-7), or
any POS interface (0-1) can be configured as a management port.
You can remotely configure the ML-Series card through the management port, but first you must
configure an IP address so that the ML-Series card is reachable or load a startup configuration file. You
can manually configure the management port interface from the Cisco IOS CLI via the serial console
connection.
To configure Telnet for remote management access, perform the following procedure, beginning in user
EXEC mode:
CommandPurpose
Step 1
Step 2
Router> enable
Router# configure terminal
Activates user EXEC (or enable) mode.
The # prompt indicates enable mode.
Activates global configuration mode. You can abbreviate
the command to config t. The Router(config)# prompt
indicates that you are in global configuration mode.
3-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 3 Initial Configuration of the ML-Series Card
CommandPurpose
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
Router(config)# enable password
password
Router(config)# enable secret
Router(config)# interface
Router(config-if)#
Router(config-if)# ip address
ip-address subnetmask
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)#
Router(config)# line vty
Router(config-line)# password
Router(config-line)# end
Router#
Router# copy running-config
startup-config
password
type number
line-number
password
Startup Configuration File
Sets the enable password. See the “Passwords” section
on page 3-6.
Allows you to enter an enable secret password. See the
“Passwords” section on page 3-6. A user must enter the
enable secret password to gain access to global
configuration mode.
Activates interface configuration mode on the interface.
Allows you to enter the IP address and IP subnet mask
for the interface specified in Step 5.
Enables the interface.
Returns to global configuration mode.
Activates line configuration mode for virtual terminal
connections. Commands entered in this mode control the
operation of Telnet sessions to the ML-Series card.
Allows you to enter a password for Telnet sessions.
Returns to privileged EXEC mode.
(Optional) Saves your configuration changes to
NVRAM.
After you have completed configuring remote management on the management port, you can use Telnet
to remotely assign and verify configurations.
Configuring the Hostname
In addition to the system passwords and enable password, your initial configuration should include a
hostname to easily identify your ML-Series card. To configure the hostname, perform the following task,
beginning in enable mode:
CommandPurpose
Step 1
Step 2
Step 3
Step 4
Router# configure terminal
Router(config)# hostname
Router(config)# end
Router# copy running-config
startup-config
name-string
Activates global configuration mode.
Allows you to enter a system name. In this example, we
set the hostname to “Router.”
Returns to privileged EXEC mode.
(Optional) Copies your configuration changes to
NVRAM.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-7
Chapter 3 Initial Configuration of the ML-Series Card
Startup Configuration File
Loading a Cisco IOS Startup Configuration File Through CTC
CTC allows a user to load the startup configuration file required by the ML-Series card. A
Cisco-supplied sample Cisco IOS startup configuration file, named Basic-IOS-startup-config.txt, is
available on the Cisco ONS 15310 software CD. CISCO15 is the Cisco IOS CLI default line password
and the enable password for this configuration. Users can also create their own startup configuration file
(see the “Manually Creating a Startup Configuration File Through the Serial Console Port” section on
page 3-6).
CTC can load a Cisco IOS startup configuration file into the 15310-CL-CTX or CTX 2500 card flash
before the ML-Series card is physically installed in the slot. When installed, the ML-Series card
downloads and applies the Cisco IOS software image and the preloaded Cisco IOS startup-configuration
file. Preloading the startup configuration file allows an ML-Series card to immediately operate as a fully
configured card when inserted into the ONS 15310.
If the ML-Series card is booted up prior to the loading of the Cisco IOS startup configuration file into
15310-CL-CTX or CTX 2500 card flash, then the ML-Series card must be reset to use the Cisco IOS
startup configuration file or the user can issue the command copy start run at the Cisco IOS CLI to
configure the ML-Series card to use the Cisco IOS startup configuration file.
This procedure details the initial loading of a Cisco IOS Startup Configuration file through CTC.
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
At the card-level view of the ML-Series card, click the IOS tab (Figure 3-1 on page 3-3).
The CTC IOS window appears.
Click the IOS startup config button.
The config file dialog box appears.
Click the Local -> CTX button.
The sample Cisco IOS startup configuration file can be installed from either the ONS 15310 software
CD or from a PC or network folder:
•
To install the Cisco supplied startup config file from the ONS 15310 software CD, insert the CD into
the CD drive of the PC or workstation. Using the CTC config file dialog box, navigate to the CD
drive of the PC or workstation, and double-click the Basic-IOS-startup-config.txt file.
•
To install the Cisco supplied config file from a PC or network folder, navigate to the folder
containing the desired Cisco IOS startup config file and double-click the desired Cisco IOS startup
config file.
At the Are you sure? dialog box, click the Ye s button.
The Directory and Filename fields on the configuration file dialog update to reflect that the Cisco IOS
startup config file is loaded onto the 15310-CL-CTX.
Load the Cisco IOS startup config file from the 15310-CL-CTX to the ML-Series card:
a.
If the ML-Series card has already been installed, right-click on the ML-Series card at the node-level
or card-level CTC view and select Soft-reset.
After the reset, the ML-Series card runs under the newly loaded Cisco IOS startup configuration.
3-8
b.
If the ML-Series card is not yet installed, installing the ML-Series card into the slot loads and runs
the newly loaded Cisco IOS startup configuration on the ML-Series card.
Caution
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
A soft reset or a hard reset on the ONS 15310 ML-Series card is service-affecting.
78-19415-01
Chapter 3 Initial Configuration of the ML-Series Card
Cisco IOS Command Modes
Note
Note
If there is a parsing error when the Cisco IOS startup configuration file is downloaded and
parsed at initialization, an ERROR-CONFIG alarm is reported and appears under the CTC
alarms tab or in TL1. No other Cisco IOS error messages regarding the parsing of text are
reported to the CTC or in TL1. An experienced Cisco IOS user can locate and troubleshoot the
line in the startup configuration file that produced the parsing error by opening the Cisco IOS
CLI and entering a copy start run command.
A standard ONS 15310 database restore reinstalls the Cisco IOS startup config file, but does not
implement the Cisco IOS startup config on the ML-Series. Complete Step 6 to load the
Cisco IOS startup config file from the 15310-CL-CTX to the ML-Series card.
Database Restore of the Startup Configuration File
The ONS 15310-CL includes a database restoration feature. Restoring the database will reconfigure a
node and the installed line cards to the saved provisioning, except for the ML-Series card. The
ML-Series card does not automatically restore the startup configuration file saved in the database.
A user can load the saved startup configuration file onto the ML-Series card in two ways. He can revert
completely to the saved startup configuration and lose any additional provisioning in the unsaved
running configuration, which is a restoration scheme similar to other ONS cards, or he can install the
saved startup configuration file on top of the current running configuration, which is a merging
restoration scheme used by many Cisco Catalyst devices.
To revert completely to the startup configuration file saved in the restored database, the user needs to
soft reset the ML-Series card. Right-click the ML-Series card in CTC and choose Soft-reset or use the
Cisco IOS CLI reload command to reset the ML-Series card.
To merge the saved startup configuration file with the running configuration, use the Cisco IOS CLI copy startup-config running-config command. This restoration scheme should only be used by experienced
users with an understanding of the current running configuration and the Cisco IOS copy command. The
copy startup-config running-config command will not reset the ML-Series card. The user also needs
to use the Cisco IOS CLI copy running-config startup-config command to save the new merged
running configuration to the startup configuration file.
Cisco IOS Command Modes
The Cisco IOS user interface has several different modes. The commands available to you depend on
which mode you are in. To get a list of the commands available in a given mode, type a question mark
(?) at the system prompt.
Table 3-2 describes the most commonly used modes, how to enter the modes, and the resulting system
prompts. The system prompt helps you identify which mode you are in and, therefore, which commands
are available to you.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-9
Cisco IOS Command Modes
Chapter 3 Initial Configuration of the ML-Series Card
Note
When a process makes unusually heavy demands on the CPU of the ML-Series card, it might impair CPU
response time and cause a CPUHOG error message to appear on the console. This message indicates
which process used a large number of CPU cycles, such as the updating of the routing table with a large
number of routes due to an event. Seeing this message as a result of card reset or other infrequent events
should not be a cause for concern.
Table 3-2Cisco IOS Command Modes
ModeWhat You Use It ForHow to AccessPrompt
User EXECConnect to remote devices,
Log in.
Router>
change terminal settings on a
temporary basis, perform basic
tests, and display system
information.
Privileged EXEC
(also called Enable
mode)
Set operating parameters. The
privileged command set includes
the commands in user EXEC
From user EXEC mode, enter the
enable command and the enable
password.
Router#
mode, as well as the configure
command. Use this command
mode to access the other
command modes.
Global configurationConfigure features that affect the
system as a whole.
From privileged EXEC mode,
enter the configure terminal
Router(config)#
command.
Interface configuration Enable features for a particular
interface. Interface commands
enable or modify the operation
of a Fast Ethernet or POS port.
From global configuration mode,
enter the interface type number
command.
For example, enter
Router(config-if)#
interface fastethernet 0for
Fast Ethernet or interface pos 0
for POS interfaces.
Line configurationConfigure the console port or vty
line from the directly connected
console or the virtual terminal
used with Telnet.
From global configuration mode,
enter the line console 0
command to configure the
console port or the
Router(config-line)#
line vtyline-number command
to configure a vty line.
3-10
When you start a session on the ML-Series card, you begin in user EXEC mode. Only a small subset of
the commands are available in user EXEC mode. To have access to all commands, you must enter
privileged EXEC mode, also called Enable mode. From privileged EXEC mode, you can type in any
EXEC command or access global configuration mode. Most of the EXEC commands are single-use
commands, such as show commands, which show the current configuration status, and clear commands,
which clear counters or interfaces. The EXEC commands are not saved across reboots of the ML-Series
card.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 3 Initial Configuration of the ML-Series Card
The configuration modes allow you to make changes to the running configuration. If you later save the
configuration, these commands are stored across ML-Series card reboots. You must start in global
configuration mode. From global configuration mode, you can enter interface configuration mode,
subinterface configuration mode, and a variety of protocol-specific modes.
ROMMON mode is a separate mode used when the ML-Series card cannot boot properly. For example,
your ML-Series card might enter ROM monitor mode if it does not find a valid system image when it is
booting, or if its configuration file is corrupted at startup.
Using the Command Modes
The Cisco IOS command interpreter, called the EXEC, interprets and executes the commands you enter.
You can abbreviate commands and keywords by entering just enough characters to make the command
unique from other commands. For example, you can abbreviate the show command to sh and the
configure terminal command to config t.
Exit
Using the Command Modes
Getting Help
When you type exit, the ML-Series card backs out one level. In general, typing exit returns you to global
configuration mode. Enter end to exit configuration mode completely and return to privileged EXEC
mode.
In any command mode, you can get a list of available commands by entering a question mark (?).
Router> ?
To obtain a list of commands that begin with a particular character sequence, type in those characters
followed immediately by the question mark (?). Do not include a space. This form of help is called word
help, because it completes a word for you.
Router# co?
configure
To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space
before the question mark. This form of help is called command syntax help, because it reminds you
which keywords or arguments are applicable based on the command, keywords, and arguments you have
already entered.
Router# configure ?
memory Configure from NV memory
network Configure from a TFTP network host
overwrite-network Overwrite NV memory from TFTP network host
terminal Configure from the terminal
<cr>
To redisplay a command you previously entered, press the Up Arrow key. You can continue to press the
Up Arrow key to see more of the previously issued commands.
Tip
If you are having trouble entering a command, check the system prompt, and enter the question mark (?)
for a list of available commands. You might be in the wrong command mode or using incorrect syntax.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
3-11
Using the Command Modes
You can press Ctrl-Z or type end in any mode to immediately return to privileged EXEC (enable) mode,
instead of entering exit, which returns you to the previous mode.
Chapter 3 Initial Configuration of the ML-Series Card
3-12
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Caution
CHA PTER
4
Configuring Bridging on the ML-Series Card
This chapter describes how to configure bridging for the ML-Series card. Bridging is one of the simplest
configurations of the ML-Series card. Other alternatives exist to simple bridging, such as Integrated
Routing and Bridging (IRB). The user should consult the chapter detailing their desired type of
configuration.
This chapter includes the following major sections:
•
Understanding Bridging, page 4-1
•
Configuring Bridging, page 4-2
•
Monitoring and Verifying Bridging, page 4-3
Cisco Inter-Switch Link (ISL) and Cisco Dynamic Trunking Protocol (DTP) are not supported by the
ML-Series cards, but the ML-Series broadcast forwards these formats. Using ISL or DTP on connecting
devices is not recommended. Some Cisco devices attempt to use ISL or DTP by default.
Understanding Bridging
The ML-Series card supports transparent bridging for Fast Ethernet, Fast EtherChannel (FEC),
packet-over-SONET/SDH (POS) ports, and POS channel. It supports a maximum of 255 active bridge
groups. Transparent bridging combines the speed and protocol transparency of a spanning-tree bridge,
along with the functionality, reliability, and security of a router.
To configure bridging, you must perform the following tasks in the modes indicated:
•
In global configuration mode:
–
Enable bridging of IP packets.
–
(Optional) Select the type of Spanning Tree Protocol (STP).
•
In interface configuration mode:
–
Determine which interfaces belong to the same bridge group.
The ML-Series card bridges all nonrouted traffic among the network interfaces comprising the
bridge group. If spanning tree is enabled, the interfaces become part of the same spanning tree.
Interfaces that do not participate in a bridge group cannot forward bridged traffic.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
4-1
Configuring Bridging
If the destination address of the packet is known in the bridge table, the packet is forwarded on
a single interface in the bridge group. If the packet’s destination is unknown in the bridge table,
the packet is flooded on all forwarding interfaces in the bridge group. The bridge places source
addresses in the bridge table as it learns them during the process of bridging.
Spanning tree is not mandatory for an ML-Series card bridge group, but if it is configured, a
separate spanning-tree process runs for each configured bridge group. A bridge group
establishes a spanning tree based on the bridge protocol data units (BPDUs) it receives on only
its member interfaces.
Configuring Bridging
Beginning in global configuration mode, use the following steps to configure bridging:
CommandPurpose
Step 1
Step 2
ML_Series(config)# no ip
routing
ML_Series(config)# bridge
bridge-group-number
{drpi-rstp | rstp | ieee}]
[protocol
Chapter 4 Configuring Bridging on the ML-Series Card
Enables bridging of IP packets. This command needs to be
executed once per card, not once per bridge-group. This step is
not done for IRB.
Assigns a bridge group number and defines the appropriate
spanning-tree type:
•
drpri-rstp is the protocol used to interconnect dual resilient
packet ring (RPR) to protect from node failure. Do not
configure this option on the ONS 15310-CL or
ONS 15310-MA ML-Series.
•
rstp is the IEEE 802.1W Rapid Spanning Tree.
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
ML_Series(config)# bridge
bridge-group-number
number
ML_Series(config)# interface
type number
ML_Series(config-if)#
bridge-group
bridge-group-number
ML_Series(config-if)# no
shutdown
ML_Series(config-if)# end
ML_Series# copy running-config
startup-config
priority
•
ieee is the IEEE 802.1D Spanning Tree Protocol.
Note
Spanning tree is not mandatory for an ML-Series card
bridge group, but configuring spanning tree blocks
network loops.
(Optional) Assigns a specific priority to the bridge, to assist in
the spanning-tree root definition. Lowering the priority of a
bridge makes it more likely that the bridge is selected as the root.
Enters interface configuration mode to configure the interface of
the ML-Series card.
Assigns a network interface to a bridge group.
Changes the shutdown state to up and enables the interface.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.
4-2
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 4 Configuring Bridging on the ML-Series Card
fast ethernet 0
pos 0pos 0
fast ethernet 0
ML_Series_A
ML_Series_B
124411
SONET/SDH
Figure 4-1 shows a bridging example. Example 4-1 shows the code used to configure ML-Series A.
Example 4-2 shows the code used to configure ML-Series B.
Figure 4-1Bridging Example
Example 4-1ML_Series A Configuration
bridge irb
bridge 1 protocol ieee
!
!
interface FastEthernet0
no ip address
bridge-group 1
!
interface POS0
no ip address
bridge-group 1
Monitoring and Verifying Bridging
Example 4-2ML_Series B Configuration
bridge irb
bridge 1 protocol ieee
!
!
interface FastEthernet0
no ip address
bridge-group 1
!
interface POS0
no ip address
bridge-group 1
Monitoring and Verifying Bridging
After you have set up the ML-Series card for bridging, you can monitor and verify its operation by
performing the following procedure in privileged EXEC mode:
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
4-3
Monitoring and Verifying Bridging
CommandPurpose
Step 1
Step 2
Step 3
Step 4
ML_Series# clear bridge
bridge-group-number
ML_Series# show bridge
bridge-group-number
{
interface-address
ML_Series# show bridge verbose
ML_Series# show spanning-tree
bridge-group-number
[
Example 4-3 shows examples of monitoring and verifying bridging.
Example 4-3Monitoring and Verifying Bridging
}
][brief]
|
Chapter 4 Configuring Bridging on the ML-Series Card
Removes any learned entries from the forwarding database of a
particular bridge group, clears the transmit, and receives counts
for any statically configured forwarding entries.
Displays classes of entries in the bridge forwarding database.
Displays detailed information about configured bridge groups.
Displays detailed information about spanning tree.
•
bridge-group-number restricts the spanning tree information
to specific bridge groups.
•
brief displays summary information about spanning tree.
ML_Series# show bridge 1
Total of 1260 station blocks, 310 free
Codes: P - permanent, S - self
Bridge Group 1:
Maximum dynamic entries allowed: 1000
Current dynamic entry count: 1
Address Action Interface
0000.0001.3100 forward FastEthernet0
ML_Series# show spanning-tree 1
Bridge group 1 is executing the rstp compatible Spanning Tree protocol
Bridge Identifier has priority 32768, sysid 1, address 000b.fcfa.339e
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Topology change flag not set, detected flag not set
Number of topology changes 1 last change occurred 1w1d ago
from POS0.1
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Port 3 (FastEthernet0) of Bridge group 1 is designated disabled
Port path cost 19, Port priority 128, Port Identifier 128.3.
Designated root has priority 32769, address 000b.fcfa.339e
Designated bridge has priority 32769, address 000b.fcfa.339e
Designated port id is 128.3, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 0
Link type is point-to-point by default
BPDU: sent 0, received 0
4-4
Port 15 (POS0.1) of Bridge group 1 is designated down
Port path cost 37, Port priority 128, Port Identifier 128.15.
Designated root has priority 32769, address 000b.fcfa.339e
Designated bridge has priority 32769, address 000b.fcfa.339e
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 4 Configuring Bridging on the ML-Series Card
Designated port id is 128.15, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
BPDU: sent 370832, received 4
Monitoring and Verifying Bridging
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
4-5
Monitoring and Verifying Bridging
Chapter 4 Configuring Bridging on the ML-Series Card
4-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Configuring Interfaces on the ML-Series Card
This chapter describes basic interface configuration for the ML-Series card to help you get your
ML-Series card up and running. Advanced packet-over-SONET (POS) interface configuration is covered
in Chapter 6, “Configuring POS on the ML-Series Card.” For more information about the Cisco IOS
commands used in this chapter, refer to the Cisco IOS Command Reference publication.
This chapter contains the following major sections:
•
General Interface Guidelines, page 5-1
•
Basic Interface Configuration, page 5-3
•
Basic Fast Ethernet and POS Interface Configuration, page 5-4
•
Monitoring Operations on the Fast Ethernet Interfaces, page 5-6
General Interface Guidelines
CHA PTER
5
The main function of the ML-Series card is to relay packets from one data link to another. Consequently,
you must configure the characteristics of the interfaces, which receive and send packets. Interface
characteristics include, but are not limited to, IP address, address of the port, data encapsulation method,
and media type.
Many features are enabled on a per-interface basis. Interface configuration mode contains commands
that modify the interface operation (for example, of an Ethernet port). When you enter the interface
command, you must specify the interface type and number.
The following general guidelines apply to all physical and virtual interface configuration processes:
•
•
•
•
MAC Addresses
Every port or device that connects to an Ethernet network needs a MAC address. Other devices in the
network use MAC addresses to locate specific ports in the network and to create and update routing
tables and data structures.
All interfaces have a name that is composed of an interface type (word) and a Port ID (number). For
example, Fast Ethernet 2.
Configure each interface with a bridge-group or IP address and IP subnet mask.
VLANs are supported through the use of subinterfaces. The subinterface is a logical interface
configured separately from the associated physical interface.
Each physical interface, including the internal POS interfaces, has an assigned MAC address.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
5-1
General Interface Guidelines
To find MAC addresses for a device, use the show interfaces command, as follows:
ML_Series# show interfaces fastethernet 0
FastEthernet0 is up, line protocol is up
Hardware is epif_port, address is 000b.fcfa.339e (bia 000b.fcfa.339e)
Description: 100 mbps full duplex q-in-q tunnel
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 18/255, rxload 200/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 75000 kilobits/sec
30 second input rate 78525000 bits/sec, 144348 packets/sec
30 second output rate 7363000 bits/sec, 13537 packets/sec
4095063706 packets input, 3885007012 bytes
Received 0 broadcasts (0 IP multicast)
2 runts, 0 giants, 0 throttles
4 input errors, 0 CRC, 0 frame, 1 overrun, 0 ignored
0 watchdog, 0 multicast
0 input packets with dribble condition detected
1463732665 packets output, 749573412 bytes, 0 underruns
131072 output errors, 131072 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Chapter 5 Configuring Interfaces on the ML-Series Card
Interface Port ID
The interface port ID designates the physical location of the interface within the ML-Series card. It is
the name that you use to identify the interface you are configuring. The system software uses interface
port IDs to control activity within the ML-Series card and to display status information. Interface port
IDs are not used by other devices in the network; they are specific to the individual ML-Series card and
its internal components and software.
The ML-100T-8 port IDs for the eight Fast Ethernet interfaces are Fast Ethernet 0 through 7. The
ML-Series card features two POS ports. The ML-Series port IDs for the two POS interfaces are POS 0
and 1. You can use user-defined abbreviations such as f0 through f7 to configure the eight Fast Ethernet
interfaces, and POS0 and POS1 to configure the two POS ports.
You can use Cisco IOS show commands to display information about any or all the interfaces of the
ML-Series card.
5-2
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 5 Configuring Interfaces on the ML-Series Card
Basic Interface Configuration
The following general configuration instructions apply to all interfaces. Before you configure interfaces,
develop a plan for a bridge or routed network.
To configure an interface, do the following:
Basic Interface Configuration
Step 1
Step 2
Step 3
Step 4
Enter the configure EXEC command at the privileged EXEC prompt to enter global configuration mode.
The key word your-password is the password set up by the user in the initial configuration of the
ML-Series card.
Enter the interface command, followed by the interface type (for example, fastethernet or pos) and its
interface port ID (see the “Interface Port ID” section on page 5-2).
For example, to configure a Fast Ethernet port, enter this command:
ML_Series(config)# interface fastethernet
number
Follow each interface command with the interface configuration commands required for your particular
interface.
The commands you enter define the protocols and applications that will run on the interface. The
ML-Series card collects and applies commands to the interface command until you enter another
interface command or a command that is not an interface configuration command. You can also enter
end to return to privileged EXEC mode.
Check the status of the configured interface by entering the EXEC show interface command.
ML_Series# show interfaces fastethernet 0
FastEthernet0 is up, line protocol is up
Hardware is epif_port, address is 000b.fcfa.339e (bia 000b.fcfa.339e)
Description: 100 mbps full duplex q-in-q tunnel
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 18/255, rxload 200/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 75000 kilobits/sec
30 second input rate 78525000 bits/sec, 144348 packets/sec
30 second output rate 7363000 bits/sec, 13537 packets/sec
4095063706 packets input, 3885007012 bytes
Received 0 broadcasts (0 IP multicast)
2 runts, 0 giants, 0 throttles
4 input errors, 0 CRC, 0 frame, 1 overrun, 0 ignored
0 watchdog, 0 multicast
0 input packets with dribble condition detected
1463732665 packets output, 749573412 bytes, 0 underruns
131072 output errors, 131072 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
5-3
Chapter 5 Configuring Interfaces on the ML-Series Card
Basic Fast Ethernet and POS Interface Configuration
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Basic Fast Ethernet and POS Interface Configuration
ML-Series cards support Fast Ethernet and POS interfaces. This section provides some examples of
configurations for all interface types.
To configure an IP address or bridge-group number on a Fast Ethernet or POS interface, perform the
following procedure, beginning in global configuration mode:
CommandPurpose
Step 1
Step 2
Step 3
Step 4
Step 5
ML_Series(config)# interface
ML_Series(config-if)# {ip address
ip-address subnet-mask |
bridge-group-number
ML_Series(config-if)# no shutdown
ML_Series(config)# end
ML_Series# copy running-config
startup-config
}
type number
bridge-group
Activates interface configuration mode to
configure either the Fast Ethernet interface or the
POS interface.
Sets the IP address and IP subnet mask to be
assigned to the interface.
or
Assigns a network interface to a bridge group.
Enables the interface by preventing it from
shutting down.
Returns to privileged EXEC mode.
(Optional) Saves configuration changes to flash
database.
Configuring the Fast Ethernet Interfaces
To configure the IP address or bridge-group number, autonegotiation, and flow control on a Fast Ethernet
interface, perform the following procedure, beginning in global configuration mode:
CommandPurpose
Step 1
Step 2
Step 3
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Activates interface configuration mode to
configure the Fast Ethernet interface.
Sets the IP address and IP subnet mask to be
assigned to the interface.
or
Assigns a network interface to a bridge group.
Configures the transmission speed for 10 or
100 Mbps. If you set the speed or duplex for auto,
you enable autonegotiation on the system—the
ML-Series card matches the speed and duplex
mode of the partner node.
78-19415-01
Chapter 5 Configuring Interfaces on the ML-Series Card
CommandPurpose
Step 4
Step 5
Step 6
Step 7
Step 8
ML_Series(config-if)# [no] duplex {full |
half
|
auto}
ML_Series(config-if)# flowcontrol send {on
| off | desired}
ML_Series(config-if)# no shutdown
ML_Series(config)# end
ML_Series# copy running-config
startup-config
Example 5-1 shows how to do the initial configuration of a Fast Ethernet interface with an IP address,
autonegotiated speed, and autonegotiated duplex.
Example 5-1Initial Configuration of a Fast Ethernet Interface
Basic Fast Ethernet and POS Interface Configuration
Sets full duplex, half duplex, or autonegotiate
mode.
(Optional) Sets the send flow control value for an
interface. Flow control works only with port-level
policing. ML-Series card Fast Ethernet port flow
control is IEEE 802.3x compliant.
Enables the interface by preventing it from
shutting down.
Returns to privileged EXEC mode.
(Optional) Saves your configuration changes to
the flash database.
ML_Series(config)# interface fastethernet 1
ML_Series(config-if)# ip address 10.1.2.4 255.0.0.0
ML_Series(config-if)# speed auto
ML_Series(config-if)# duplex auto
ML_Series(config-if)# no shutdown
ML_Series(config-if)# end
ML_Series# copy running-config startup-config
Configuring the POS Interfaces
Encapsulation changes on POS ports are allowed only when the interface is in a manual shutdown
(ADMIN_DOWN). For advanced POS interface configuration, see Chapter 6, “Configuring POS on the
ML-Series Card.”
Note
Step 1
Step 2
The initial state of the ONS 15310-CL and ONS 15310-MA ML-Series card POS port is inactive. A POS
interface command of no shutdown is required to carry traffic on the SONET circuit.
To configure the IP address, bridge group, or encapsulation for the POS interface, perform the following
procedure, beginning in global configuration mode:
CommandPurpose
ML_Series(config)# interface pos
ML_Series(config-if)# {ip address
ip-address subnet-mask |
bridge-group-number
}
number
bridge-group
Activates interface configuration mode to
configure the POS interface.
Sets the IP address and subnet mask.
or
Assigns a network interface to a bridge group.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
5-5
Monitoring Operations on the Fast Ethernet Interfaces
CommandPurpose
Step 3
Step 4
ML_Series(config-if)# shutdown
ML_Series(config-if)# encapsulation
type
Chapter 5 Configuring Interfaces on the ML-Series Card
Manually shuts down the interface. Encapsulation
changes on POS ports are allowed only when the
interface is shut down (ADMIN_DOWN).
Sets the encapsulation type. Valid values are:
•
hdlc—Cisco high-level data link control
(HDLC)
•
lex—(Default) LAN extension, special
encapsulation for use with Cisco ONS
Ethernet line cards
•
ppp—Point-to-Point Protocol
Note
Under GFP-F framing, the
ONS 15310-CL and ONS 15310-MA
ML-Series card is restricted to LEX
encapsulation.
Step 5
Step 6
Step 7
ML_Series(config-if)# noshutdown
ML_Series(config)# end
ML_Series# copy running-config
startup-config
Restarts the shutdown interface.
Returns to privileged EXEC mode.
(Optional) Saves configuration changes to
NVRAM.
Monitoring Operations on the Fast Ethernet Interfaces
To verify the settings after you have configured the interfaces, enter the show interface command. For
additional information on monitoring the operations on POS interfaces, see the “Configuring POS on the
ML-Series Card” chapter.
Example 5-2 shows the output from the show interface command, which displays the status of the
interface including port speed and duplex operation.
Example 5-2show interface Command Output
ML_Series# show interface fastethernet 0
FastEthernet0 is up, line protocol is up
Hardware is epif_port, address is 000b.fcfa.339e (bia 000b.fcfa.339e)
Description: 100 mbps full duplex q-in-q tunnel
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 18/255, rxload 200/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 75000 kilobits/sec
30 second input rate 78525000 bits/sec, 144348 packets/sec
30 second output rate 7363000 bits/sec, 13537 packets/sec
5-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 5 Configuring Interfaces on the ML-Series Card
Chapter 5 Configuring Interfaces on the ML-Series Card
Enter the show run interface [type number] command to display information about the configuration of
the Fast Ethernet interface. The command is useful when there are multiple interfaces and you want to
look at the configuration of a specific interface.
Example 5-4 shows output from the show run interface [type number] command, which includes
information about the IP or lack of IP address and the state of the interface.
Example 5-4show run interface Command Output
daytona# show run interface fastethernet 1
Building configuration...
Current configuration : 222 bytes
!
interface FastEthernet1
no ip address
duplex full
speed 10
mode dot1q-tunnel
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp
no cdp enable
bridge-group 2
bridge-group 2 spanning-disabled
end
5-8
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
CHA PTER
Configuring POS on the ML-Series Card
This chapter describes advanced packet-over-SONET (POS) interface configuration for the ML-Series
card. Basic POS interface configuration is included in Chapter 5, “Configuring Interfaces on the
ML-Series Card.” For more information about the Cisco IOS commands used in this chapter, refer to the
Cisco IOS Command Reference publication.
This chapter contains the following major sections:
•
Understanding POS on the ML-Series Card, page 6-1
•
Configuring the POS Interface, page 6-4
•
Monitoring and Verifying POS, page 6-8
Understanding POS on the ML-Series Card
Ethernet frames and IP data packets need to be framed and encapsulated into SONET frames for
transport across the SONET network. This framing and encapsulation process is known as POS and is
carried out by the ML-Series card.
6
The ML-Series card treats all the standard Ethernet ports on the front of the card and the two POS ports
as switch ports. Under Cisco IOS, the POS port is an interface similar to the other Ethernet interfaces on
the ML-Series card. Many standard Cisco IOS features, such as IEEE 802.1 Q VLAN configuration, are
configured on the POS interface in the same manner as on a standard Ethernet interface. Other features
and configurations are done strictly on the POS interface. The configuration of features limited to POS
ports is shown in this chapter.
Available Circuit Sizes and Combinations
Each POS port terminates an independent contiguous SONET concatenation (CCAT) or virtual SONET
concatenation (VCAT). The SONET circuit is created for these ports through Cisco Transport Controller
(CTC) or Transaction Language One (TL1) in the same manner as a SONET circuit is created for a
non-Ethernet line card. Table 6-1shows the circuit sizes available for the ML-Series card on the
ONS 15310-CL and ONS 15310-MA, and the circuit sizes required for Ethernet wire speeds.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
6-1
Understanding POS on the ML-Series Card
Table 6-1ML-Series Card Supported Circuit Sizes and Sizes Required for Ethernet Wire Speeds
Ethernet Wire Speed CCAT High OrderVCAT High Order
10 MbpsSTS-1 STS-1-1v
100 Mbps—STS-1-2v
1. STS-1-2v provides a total transport capacity of 98 Mbps
Chapter 6 Configuring POS on the ML-Series Card
1
Caution
Note
Note
LCAS Support
The maximum tolerable VCAT differential delay for the ML-100T-8 is 48 milliseconds. The VCAT
differential delay is the relative arrival time measurement between members of a virtual concatenation
group (VCG).
The initial state of the ONS 15310-CL and ONS 15310-MA ML-Series card POS port is inactive. A POS
interface command of no shutdown is required to carry traffic on the SONET circuit.
ML-Series card POS interfaces normally send an alarm for signal label mismatch failure in the ONS
15454 STS path overhead (PDI-P) to the far end when the POS link goes down or when RPR wraps.
ML-Series card POS interfaces do not send PDI-P to the far-end when PDI-P is detected, when a remote
defection indication alarm (RDI-P) is being sent to the far end, or when the only defects detected are
generic framing procedure (GFP)-loss of frame delineation (LFD), GFP client signal fail (CSF), virtual
concatenation (VCAT)-loss of multiframe (LOM), or VCAT-loss of sequence (SQM).
The ML-100T-8 card and the CE-100T-8 card (both the ONS 15310-CL/ONS 15310-MA version and the
ONS 15454 SONET/SDH version) have hardware-based support for the ITU-T G.7042 standard link
capacity adjustment scheme (LCAS). This allows the user to dynamically resize a high-order or
low-order VCAT circuit through CTC or TL1 without affecting other members of the VCG (errorless).
ML-100T-8 LCAS support is high order only and is limited to a two-member VCG.
The ONS 15454 SONET/SDH ML-Series card has a software-based LCAS (SW-LCAS) scheme. This
scheme is also supported by both the ML-100T-8 card and both versions of the CE-100T-8, but only for
circuits terminating on an ONS 15454 SONET ML-Series card.
J1 Path Trace, and SONET Alarms
The ML-100T-8 card also reports SONET alarms and transmits and monitors the J1 path trace byte in
the same manner as OC-N cards. Support for path termination functions includes:
•
H1 and H2 concatenation indication
•
Bit interleaved parity 3 (BIP-3) generation
•
G1 path status indication
•
C2 path signal label read/write
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
6-2
78-19415-01
Chapter 6 Configuring POS on the ML-Series Card
Understanding POS on the ML-Series Card
•
Path-level alarms and conditions, including loss of pointer (LOP), unequipped (UNEQ-P), payload
mismatch (PLM-P), alarm indication signal (AIS) detection, and remote defect indication (RDI)
•
J1 path trace for high-order paths
Framing Mode, Encapsulation, Scrambling, MTU and CRC Support
The ML-Series card on the ONS 15310-CL and ONS 15310-MA supports high-level data link control
(HDLC) framing and frame-mapped generic framing procedure (GFP-F) framing. Supported
encapsulation and cyclic redundancy check (CRC) sizes for the framing types are detailed in Tab l e 6 - 2 .
Table 6-2ML-Series Card Encapsulation, Framing, and CRC Sizes
GFP-F Framing HDLC Framing
EncapsulationsLEX (default)
Cisco HDLC
PPP/BCP
CRC Sizes32-bit (default)32-bit (default)
1
LEX (default)
None (FCS disabled)
1. RPR requires LEX encapsulation in either framing mode.
LEX is the common term for Cisco-EoS-LEX, which is a proprietary Cisco Ethernet-over-SONET
encapsulation. This encapsulation is available on most ONS Ethernet cards. When the ML-Series card
is configured for GFP-F framing, the LEX encapsulation is in accordance with ITU-T G.7041 as
standard mapped Ethernet over GFP. Under GFP-F framing, the Cisco IOS CLI also uses this lex
keyword to represent standard mapped Ethernet over GFP-F.
LEX encapsulation is the required and default encapsulation for RPR on the ML-Series card. The
maximum transmission unit (MTU) size is not configurable and is set at a 1500-byte maximum (standard
Ethernet MTU). In addition, the ML-Series card supports baby giant frames in which the standard
Ethernet frame is augmented by IEEE 802.1 Q tags or Multiprotocol Label Switching (MPLS) tags. It
does not support full Jumbo frames.
The ML-Series card supports GFP null mode. GFP-F client-management frames (CMFs) are counted and
discarded.
The ML-100T-8 card is interoperable with the ONS 15310-CL and ONS 15310-MA CE-100T-8 card and
several other ONS Ethernet cards. For specific details on the ONS 15310-CL and ONS 15310-MA
CE-100T-8 card’s encapsulation, framing, and CRC, see Chapter 17, “CE-Series Ethernet Cards.” For
specific details on interoperability with other ONS system Ethernet cards, including framing mode,
encapsulation, and CRC, refer to the “POS on ONS Ethernet Cards” chapter of the Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
6-3
Configuring the POS Interface
Configuring the POS Interface
The user can configure framing mode, encapsulation, and Cisco IOS SONET alarm reporting parameters
through Cisco IOS.
Scrambling on the ONS 15310-CL and ONS 15310-MA ML-Series card is on by default and is not
configurable. The C2 byte is not configurable. CRC-under-HDLC framing is restricted to 32-bit and is
not configurable. CRC-under-GFP-F is restricted to 32-bit, but can be enabled (default) and disabled.
Chapter 6 Configuring POS on the ML-Series Card
Note
ML-Series card POS interfaces normally send PDI-P to the far end when the POS link goes down or RPR
wraps. ML-Series card POS interfaces do not send PDI-P to the far end when PDI-P is detected, when
RDI-P is being sent to the far end, or when the only defects detected are GFP LFD, GFP CSF,
V C AT L O M , o r V C AT SQ M .
Configuring POS Interface Framing Mode
You can configure framing mode on an ML-100T-8 card through Cisco IOS. You cannot configure
framing mode through CTC on the ML-100T-8 card.
Framing mode can be changed on a port by port basis. The user does not need to delete the existing
circuits or reboot the ML-100T-8 card. On the ONS 15454 or ONS 15454 SDH ML-Series cards, the
circuits must be deleted and the card must reboot for the framing mode to change.
To configure framing mode for the ML-Series card, perform the following steps, beginning in global
configuration mode:
CommandPurpose
Step 1
Step 2
Router(config)# interface pos
Router(config-if)# shutdown
number
Activates interface configuration mode to
configure the POS interface.
Manually shuts down the interface. Encapsulation
and framing mode changes on POS ports are
allowed only when the interface is shut down
(ADMIN_DOWN).
6-4
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Sets the framing mode employed by the ONS
Ethernet card for framing and encapsulating data
packets onto the SONET transport layer. Valid
framing modes are:
•
HDLC—A common mechanism employed in
framing data packets for SONET. HDLC is
not a keyword choice in the command. The no
form of the command sets the framing mode
to Cisco HDLC.
•
GFP (default)—The ML-Series card supports
the frame mapped version of generic framing
procedure (GFP-F).
GFP-F with a 32-bit CRC, also referred to as
frame check sequence (FCS), is enabled by
default. The optional FCS-disabled keyword
disables the GFP-F 32-bit FCS.
The FCS-disabled keyword is not available when
setting the framing mode to Cisco HDLC.
Note
CRC-under-HDLC framing is restricted to
a 32-bit size and cannot be disabled.
Note
The GFP-F FCS is compliant with ITU-T
G.7041/Y.1303
Step 4
Step 5
Step 6
Router(config-if)# noshutdown
Router(config)# end
Router# copy running-config startup-config
Restarts the shutdown interface.
Returns to privileged EXEC mode.
(Optional) Saves configuration changes to
NVRAM.
Configuring POS Interface Encapsulation Type Under GFP-F Framing
To configure the encapsulation type for a ML-Series card, perform the following steps beginning in
global configuration mode:
CommandPurpose
Step 1
Step 2
Router(config)# interface pos
Router(config-if)# shutdown
number
Activates interface configuration mode to
configure the POS interface.
Manually shuts down the interface. Encapsulation
and framing mode changes on POS ports are
allowed only when the interface is shut down
(ADMIN_DOWN).
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
6-5
Configuring the POS Interface
CommandPurpose
Step 3
Router(config-if)# encapsulation
type
Chapter 6 Configuring POS on the ML-Series Card
Sets the encapsulation type. Valid values are:
•
hdlc—Cisco HDLC
•
lex—(default) LAN extension
(Cisco-EoS-LEX), special encapsulation for
use with Cisco ONS Ethernet line cards
•
ppp—Point-to-Point Protocol
Step 4
Step 5
Step 6
SONET Alarms
Note
Under HDLC framing, the
ONS 15310-CL and ONS 15310-MA
ML-Series card is restricted to LEX
encapsulation.
Router(config-if)# noshutdown
Router(config)# end
Router# copy running-config startup-config
Restarts the shutdown interface.
Returns to privileged EXEC mode.
(Optional) Saves configuration changes to
NVRAM.
The ML-Series cards report SONET alarms under Cisco IOS, CTC, and TL1. A number of path alarms
are reported in the Cisco IOS console. Configuring Cisco IOS console alarm reporting has no effect on
CTC and TL1 alarm reporting. The “Configuring SONET Alarms” section on page 6-7 procedure
specifies the alarms reported to the Cisco IOS console.
CTC and TL1 have sophisticated SONET alarm reporting capabilities. The ML-Series card reports
Telcordia GR-253 SONET alarms on the Alarms tab of CTC, and in TL1-like other ONS system line
cards. For more information about alarms and alarm definitions, refer to the “Alarm Troubleshooting”
chapter of the Cisco ONS 15454 Troubleshooting Guide.
6-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 6 Configuring POS on the ML-Series Card
Configuring SONET Alarms
All SONET alarms are logged on the Cisco IOS CLI by default. But to provision or disable the reporting
of SONET alarms on the Cisco IOS CLI, perform the following steps beginning in global configuration
mode:
Enters interface configuration mode and specifies the POS
interface to configure.
Permits console logging of selected SONET alarms. Use the
no form of the command to disable reporting of a specific
alarm.
The alarms are as follows:
•
all—All alarms/signals
•
encap—Path encapsulation mismatch
•
pais—Path alarm indication signal
Step 3
Step 4
Router(config-if)# end
Router# copy running-config
startup-config
To determine which alarms are reported on the POS interface and to display the bit error rate (BER)
thresholds, use the show controllers pos command, as described in the “Monitoring and Verifying POS”
section on page 6-8.
Configuring SONET Delay Triggers
You can set path alarms listed as triggers to bring down the line protocol of the POS interface. When you
configure the path alarms as triggers, you can also specify a delay for the triggers using the pos trigger delay command. You can set the delay from 200 to 2000 ms. If you do not specify a time interval, the
default delay is set to 200 ms.
•
plop—Path loss of pointer
•
ppdi—Path payload defect indication
•
pplm—Payload label, C2 mismatch
•
prdi—Path remote defect indication
•
ptim—Path trace identifier mismatch
•
puneq—Path label equivalent to zero
•
sd-ber-b3—PBIP BER in excess of SD threshold
•
sf-ber-b3—PBIP BER in excess of SF threshold
Returns to the privileged EXEC mode.
(Optional) Saves configuration changes to NVRAM.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
6-7
Monitoring and Verifying POS
To configure path alarms as triggers and specify a delay, perform the following steps beginning in global
configuration mode:
puneq—Path Label Equivalent to Zero failure (default)
Sets waiting period before the line protocol of the interface
goes down. Delay can be set from 200 to 2000 ms. If no time
intervals are specified, the default delay is set to 200 ms.
Returns to the privileged EXEC mode.
(Optional) Saves configuration changes to NVRAM.
6-8
ML_Series# show controller pos0
Interface POS0
Hardware is Packet Over SONET
Framing Mode: HDLC
Concatenation: CCAT
*************** GFP ***************
Active Alarms : None
Active Alarms : None
LDF = 0 CSF = 0
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
6-9
Monitoring and Verifying POS
Chapter 6 Configuring POS on the ML-Series Card
6-10
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Configuring STP and RSTP on the ML-Series Card
This chapter describes the IEEE 802.1D Spanning Tree Protocol (STP) and the ML-Series
implementation of the IEEE 802.1W Rapid Spanning Tree Protocol (RSTP). It also explains how to
configure STP and RSTP on the ML-Series card.
This chapter consists of these sections:
•
•
•
•
•
STP Features
CHA PTER
STP Features, page 7-1
RSTP Features, page 7-9
Interoperability with IEEE 802.1D STP, page 7-15
Configuring STP and RSTP Features, page 7-15
Verifying and Monitoring STP and RSTP Status, page 7-20
7
These sections describe how the spanning-tree features work:
•
STP Overview, page 7-2
•
Supported STP Instances, page 7-2
•
Bridge Protocol Data Units, page 7-2
•
Election of the Root Switch, page 7-3
•
Bridge ID, Switch Priority, and Extended System ID, page 7-4
•
Spanning-Tree Timers, page 7-4
•
Creating the Spanning-Tree Topology, page 7-5
•
Spanning-Tree Interface States, page 7-5
•
Spanning-Tree Address Management, page 7-8
•
STP and IEEE 802.1Q Trunks, page 7-8
•
Spanning Tree and Redundant Connectivity, page 7-8
•
Accelerated Aging to Retain Connectivity, page 7-9
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-1
STP Features
STP Overview
Chapter 7 Configuring STP and RSTP on the ML-Series Card
STP is a Layer 2 link management protocol that provides path redundancy while preventing loops in the
network. For a Layer 2 Ethernet network to function properly, only one active path can exist between
any two stations. Spanning-tree operation is transparent to end stations, which cannot detect whether
they are connected to a single LAN segment or a switched LAN of multiple segments.
When you create fault-tolerant internetworks, you must have a loop-free path between all nodes in a
network. The spanning-tree algorithm calculates the best loop-free path throughout a switched Layer 2
network. Switches send and receive spanning-tree frames, called bridge protocol data units (BPDUs), at
regular intervals. The switches do not forward these frames, but use the frames to construct a loop-free
path.
Multiple active paths among end stations cause loops in the network. If a loop exists in the network, end
stations might receive duplicate messages. Switches might also learn end-station MAC addresses on
multiple Layer 2 interfaces. These conditions result in an unstable network.
Spanning tree defines a tree with a root switch and a loop-free path from the root to all switches in the
Layer 2 network. Spanning tree forces redundant data paths into a standby (blocked) state. If a network
segment in the spanning tree fails and a redundant path exists, the spanning-tree algorithm recalculates
the spanning-tree topology and activates the standby path.
When two interfaces on a switch are part of a loop, the spanning-tree port priority and path cost settings
determine which interface is put in the forwarding state and which is put in the blocking state. The port
priority value represents the location of an interface in the network topology and how well it is located
to pass traffic. The path cost value represents media speed.
Supported STP Instances
The ML-Series card supports the per-VLAN spanning tree (PVST+) and a maximum of
255 spanning-tree instances.
Caution
At more than 100 STP instances the STP instances may flap and may result in MAC entries flushed, and
MAC entries learned again and again. This will cause flooding in the network. So it is recommended to
keep the STP instances to be less than 100, to keep system from being unstable.
Bridge Protocol Data Units
The stable, active, spanning-tree topology of a switched network is determined by these elements:
•
Unique bridge ID (switch priority and MAC address) associated with each VLAN on each switch
•
Spanning-tree path cost to the root switch
•
Port identifier (port priority and MAC address) associated with each Layer 2 interface
7-2
When the switches in a network are powered up, each functions as the root switch. Each switch sends a
configuration BPDU through all of its ports. The BPDUs communicate and compute the spanning-tree
topology. Each configuration BPDU contains this information:
•
Unique bridge ID of the switch that the sending switch identifies as the root switch
•
Spanning-tree path cost to the root
•
Bridge ID of the sending switch
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
•
Message age
•
Identifier of the sending interface
•
Values for the hello, forward delay, and max-age protocol timers
When a switch receives a configuration BPDU that contains superior information (lower bridge ID,
lower path cost, etc.), it stores the information for that port. If this BPDU is received on the root port of
the switch, the switch also forwards it with an updated message to all attached LANs for which it is the
designated switch.
If a switch receives a configuration BPDU that contains inferior information to that currently stored for
that port, it discards the BPDU. If the switch is a designated switch for the LAN from which the inferior
BPDU was received, it sends that LAN a BPDU containing the up-to-date information stored for that
port. In this way, inferior information is discarded, and superior information is propagated on the
network.
A BPDU exchange results in these actions:
•
One switch in the network is elected as the root switch.
•
A root port is selected for each switch (except the root switch). This port provides the best path
(lowest cost) when the switch forwards packets to the root switch.
STP Features
•
The shortest distance to the root switch is calculated for each switch based on the path cost.
•
A designated switch for each LAN segment is selected. The designated switch incurs the lowest path
cost when forwarding packets from that LAN to the root switch. The port through which the
designated switch is attached to the LAN is called the designated port.
•
Interfaces included in the spanning-tree instance are selected. Root ports and designated ports are
put in the forwarding state.
•
All interfaces not included in the spanning tree are blocked.
Election of the Root Switch
All switches in the Layer 2 network participating in the spanning tree gather information about other
switches in the network through an exchange of BPDU data messages. This exchange of messages results
in these actions:
•
Election of a unique root switch for each spanning-tree instance
•
Election of a designated switch for every switched LAN segment
•
Removal of loops in the switched network by blocking Layer 2 interfaces connected to redundant
links
For each VLAN, the switch with the highest switch priority (the lowest numerical priority value) is
elected as the root switch. If all switches are configured with the default priority (32768), the switch with
the lowest MAC address in the VLAN becomes the root switch. The switch priority value occupies the
most significant bits of the bridge ID.
When you change the switch priority value, you change the probability that the switch will be elected as
the root switch. Configuring a higher value decreases the probability; a lower value increases the
probability.
The root switch is the logical center of the spanning-tree topology in a switched network. All paths that
are not needed to reach the root switch from anywhere in the switched network are placed in the
spanning-tree blocking mode.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-3
Chapter 7 Configuring STP and RSTP on the ML-Series Card
STP Features
BPDUs contain information about the sending switch and its ports, including switch and MAC
addresses, switch priority, port priority, and path cost. Spanning tree uses this information to elect the
root switch and root port for the switched network and the root port and designated port for each
switched segment.
Bridge ID, Switch Priority, and Extended System ID
The IEEE 802.1D standard requires that each switch has an unique bridge identifier (bridge ID), which
determines the selection of the root switch. Because each VLAN is considered as a different
logical bridge with PVST+, the same switch must have as many different bridge IDs as VLANs
configured on it. Each VLAN on the switch has a unique 8-byte bridge ID; the two most-significant bytes
are used for the switch priority, and the remaining six bytes are derived from the switch MAC address.
The ML-Series card supports the IEEE 802.1T spanning-tree extensions, and some of the bits previously
used for the switch priority are now used as the bridge ID. The result is that fewer MAC addresses are
reserved for the switch, and a larger range of VLAN IDs can be supported, all while maintaining the
uniqueness of the bridge ID. As shown in Ta ble 7 - 1, the two bytes previously used for the switch priority
are reallocated into a 4-bit priority value and a 12-bit extended system ID value equal to the bridge ID.
In earlier releases, the switch priority is a 16-bit value.
Table 7-1Switch Priority Value and Extended System ID
Switch Priority ValueExtended System ID (Set Equal to the Bridge ID)
Bit 16Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1
327681638481924096204810245122561286432168421
Spanning tree uses the extended system ID, the switch priority, and the allocated spanning-tree MAC
address to make the bridge ID unique for each VLAN.
Spanning-Tree Timers
Table 7-2 describes the timers that affect the entire spanning-tree performance.
Table 7-2Spanning-Tree Timers
VariableDescription
Hello timerWhen this timer expires, the interface sends out a Hello message to the
neighboring nodes.
Forward-delay timerDetermines how long each of the listening and learning states last before the
interface begins forwarding.
Maximum-age timerDetermines the amount of time the switch stores protocol information
received on an interface.
7-4
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
124085
DP
DP
RP DP
DP
RP
DP
RP = root port
DP = designated port
DP
RP
DP
DA
CB
ML-Series
ML-Series
ML-Series
ML-Series
Creating the Spanning-Tree Topology
In Figure 7-1, Switch A is elected as the root switch because the switch priority of all the switches is set
to the default (32768) and Switch A has the lowest MAC address. However, because of traffic patterns,
number of forwarding interfaces, or link types, Switch A might not be the ideal root switch. By
increasing the priority (lowering the numerical value) of the ideal switch so that it becomes the root
switch, you force a spanning-tree recalculation to form a new topology with the ideal switch as the root.
Figure 7-1Spanning-Tree Topology
STP Features
When the spanning-tree topology is calculated based on default parameters, the path between source and
destination end stations in a switched network might not be ideal. For instance, connecting higher-speed
links to an interface that has a higher number than the root port can cause a root-port change. The goal
is to make the fastest link the root port.
Spanning-Tree Interface States
Propagation delays can occur when protocol information passes through a switched LAN. As a result,
topology changes can take place at different times and at different places in a switched network. When
an interface transitions directly from nonparticipation in the spanning-tree topology to the forwarding
state, it can create temporary data loops. Interfaces must wait for new topology information to propagate
through the switched LAN before starting to forward frames. They must allow the frame lifetime to
expire for forwarded frames that have used the old topology.
Each Layer 2 interface on a switch using spanning tree exists in one of these states:
•
Blocking—The interface does not participate in frame forwarding.
•
Listening—The first transitional state after the blocking state when the spanning tree determines
that the interface should participate in frame forwarding.
•
Learning—The interface prepares to participate in frame forwarding.
•
Forwarding—The interface forwards frames.
•
Disabled—The interface is not participating in spanning tree because of a shutdown port, no link on
the port, or no spanning-tree instance running on the port.
78-19415-01
An interface moves through these states:
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
1.
From initialization to blocking
7-5
STP Features
Power-on
initialization
Blocking
state
Listening
state
Disabled
state
Learning
state
Forwarding
state
Chapter 7 Configuring STP and RSTP on the ML-Series Card
2.
From blocking to listening or to disabled
3.
From listening to learning or to disabled
4.
From learning to forwarding or to disabled
5.
From forwarding to disabled
Figure 7-2 illustrates how an interface moves through the states.
Figure 7-2Spanning-Tree Interface States
Blocking State
When you power up the switch, STP is enabled by default, and every interface in the switch, VLAN, or
network goes through the blocking state and the transitory states of listening and learning. Spanning tree
stabilizes each interface at the forwarding or blocking state.
When the spanning-tree algorithm places a Layer 2 interface in the forwarding state, this process occurs:
1.
The interface is in the listening state while spanning tree waits for protocol information to transition
the interface to the blocking state.
2.
While spanning tree waits for the forward-delay timer to expire, it moves the interface to the
learning state and resets the forward-delay timer.
3.
In the learning state, the interface continues to block frame forwarding as the switch learns
end-station location information for the forwarding database.
4.
When the forward-delay timer expires, spanning tree moves the interface to the forwarding state,
where both learning and frame forwarding are enabled.
A Layer 2 interface in the blocking state does not participate in frame forwarding. After initialization, a
BPDU is sent to each interface in the switch. A switch initially functions as the root until it exchanges
BPDUs with other switches. This exchange establishes which switch in the network is the root or root
switch. If there is only one switch in the network, no exchange occurs, the forward-delay timer expires,
and the interfaces move to the listening state. An interface always enters the blocking state after switch
initialization.
7-6
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
An interface in the blocking state performs as follows:
•
Discards frames received on the port
•
Discards frames switched from another interface for forwarding
•
Does not learn addresses
•
Receives BPDUs
Listening State
The listening state is the first state a Layer 2 interface enters after the blocking state. The interface enters
this state when the spanning tree determines that the interface should participate in frame forwarding.
An interface in the listening state performs as follows:
•
Discards frames received on the port
•
Discards frames switched from another interface for forwarding
•
Does not learn addresses
•
Receives BPDUs
STP Features
Learning State
Forwarding State
A Layer 2 interface in the learning state prepares to participate in frame forwarding. The interface enters
the learning state from the listening state.
An interface in the learning state performs as follows:
•
Discards frames received on the port
•
Discards frames switched from another interface for forwarding
•
Learns addresses
•
Receives BPDUs
A Layer 2 interface in the forwarding state forwards frames. The interface enters the forwarding state
from the learning state.
An interface in the forwarding state performs as follows:
•
Receives and forwards frames received on the port
•
Forwards frames switched from another port
•
Learns addresses
•
Receives BPDUs
Disabled State
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
A Layer 2 interface in the disabled state does not participate in frame forwarding or in the spanning tree.
An interface in the disabled state is nonoperational.
A disabled interface performs as follows:
•
Forwards frames switched from another interface for forwarding
7-7
STP Features
Workstations
Active link
Blocked link
124094
ONS 15454
with ML100T-12
ML-Series
ML-Series
•
Learns addresses
•
Does not receive BPDUs
Spanning-Tree Address Management
IEEE 802.1D specifies 17 multicast addresses, ranging from 0x00180C2000000 to 0x0180C2000010, to
be used by different bridge protocols. These addresses are static addresses that cannot be removed.
The ML-Series card switches supported BPDUs (0x0180C2000000 and 01000CCCCCCD) when they
are being tunneled via the protocol tunneling feature.
STP and IEEE 802.1Q Trunks
When you connect a Cisco switch to a non-Cisco device through an IEEE 802.1Q trunk, the Cisco switch
uses PVST+ to provide spanning-tree interoperability. PVST+ is automatically enabled on IEEE 802.1Q
trunks after users assign a protocol to a bridge group. The external spanning-tree behavior on access
ports and Inter-Switch Link (ISL) trunk ports is not affected by PVST+.
Chapter 7 Configuring STP and RSTP on the ML-Series Card
For more information on IEEE 802.1Q trunks, see Chapter 8, “Configuring VLANs on the ML-Series
Card.”
Spanning Tree and Redundant Connectivity
You can create a redundant backbone with spanning tree by connecting two switch interfaces to another
device or to two different devices. Spanning tree automatically disables one interface but enables it if
the other one fails, as shown in Figure 7-3. If one link is high speed and the other is low speed, the
low-speed link is always disabled. If the speeds are the same, the port priority and port ID are added
together, and spanning tree disables the link with the lowest value.
Figure 7-3Spanning Tree and Redundant Connectivity
7-8
You can also create redundant links between switches by using EtherChannel groups. For more
information, see Chapter 10, “Configuring Link Aggregation on the ML-Series Card.”
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Accelerated Aging to Retain Connectivity
The default for aging dynamic addresses is 5 minutes, which is the default setting of the bridge bridge-group-number aging-time global configuration command. However, a spanning-tree
reconfiguration can cause many station locations to change. Because these stations could be unreachable
for 5 minutes or more during a reconfiguration, the address-aging time is accelerated so that station
addresses can be dropped from the address table and then relearned.
Because each VLAN is a separate spanning-tree instance, the switch accelerates aging on a per-VLAN
basis. A spanning-tree reconfiguration on one VLAN can cause the dynamic addresses learned on that
VLAN to be subject to accelerated aging. Dynamic addresses on other VLANs can be unaffected and
remain subject to the aging interval entered for the switch.
RSTP Features
RSTP provides rapid convergence of the spanning tree. It improves the fault tolerance of the network
because a failure in one instance (forwarding path) does not affect other instances (forwarding paths).
The most common initial deployment of RSTP is in the backbone and distribution layers of a Layer 2
switched network; this deployment provides the highly available network required in a service-provider
environment.
RSTP improves the operation of the spanning tree while maintaining backward compatibility with
equipment that is based on the (original) IEEE 802.1D spanning tree.
RSTP Features
RSTP takes advantage of point-to-point wiring and provides rapid convergence of the spanning tree.
Reconfiguration of the spanning tree can occur in less than 2 second (in contrast to 50 seconds with the
default settings in the IEEE 802.1D spanning tree), which is critical for networks carrying
delay-sensitive traffic such as voice and video.
These sections describe how RSTP works:
•
Supported RSTP Instances, page 7-9
•
Port Roles and the Active Topology, page 7-10
•
Rapid Convergence, page 7-11
•
Synchronization of Port Roles, page 7-12
•
Bridge Protocol Data Unit Format and Processing, page 7-13
•
Topology Changes, page 7-14
Supported RSTP Instances
The ML Series supports per-VLAN rapid spanning tree (PVRST) and a maximum of 255 rapid
spanning-tree instances.
Caution
At more than 100 RSTP instances the RSTP instances may flap and may result in MAC entries flushed,
and MAC entries learned again and again. This will cause flooding in the network. So it is recommended
to keep the RSTP instances to be less than 100, to keep system from being unstable.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-9
RSTP Features
Port Roles and the Active Topology
The RSTP provides rapid convergence of the spanning tree by assigning port roles and by determining
the active topology. The RSTP builds upon the IEEE 802.1D STP to select the switch with the highest
switch priority (lowest numerical priority value) as the root switch as described in the “Election of the
Root Switch” section on page 7-3. Then the RSTP assigns one of these port roles to individual ports:
•
Root port—Provides the best path (lowest cost) when the switch forwards packets to the root switch.
•
Designated port—Connects to the designated switch, which incurs the lowest path cost when
forwarding packets from that LAN to the root switch. The port through which the designated switch
is attached to the LAN is called the designated port.
•
Alternate port—Offers an alternate path toward the root switch to that provided by the current root
port.
•
Backup port—Acts as a backup for the path provided by a designated port toward the leaves of the
spanning tree. A backup port can exist only when two ports are connected together in a loopback by
a point-to-point link or when a switch has two or more connections to a shared LAN segment.
•
Disabled port—Has no role within the operation of the spanning tree.
A port with the root or a designated port role is included in the active topology. A port with the alternate
or backup port role is excluded from the active topology.
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Caution
In a stable topology with consistent port roles throughout the network, the RSTP ensures that every root
port and designated port immediately transition to the forwarding state while all alternate and backup
ports are always in the discarding state (equivalent to blocking in IEEE 802.1D). The port state controls
the operation of the forwarding and learning processes. Ta b l e 7 - 3 provides a comparison of
IEEE 802.1D and RSTP port states.
Table 7-3Port State Comparison
Is Port Included in the
Operational StatusSTP Port StateRSTP Port State
Active Topology?
EnabledBlockingDiscardingNo
EnabledListeningDiscardingNo
EnabledLearningLearningYes
EnabledForwardingForwardingYes
DisabledDisabledDiscardingNo
STP edge ports are bridge ports that do not need STP enabled, where loop protection is not needed out
of that port or an STP neighbor does not exist out of that port. For RSTP, it is important to disable STP
on edge ports, which are typically front-side Ethernet ports, using the command bridge bridge-group-number spanning-disabled on the appropriate interface. If RSTP is not disabled on edge
ports, convergence times will be excessive for packets traversing those ports.
7-10
Note
To be consistent with Cisco STP implementations, Ta b le 7 - 3 describes the port state as blocking instead
of discarding. Designated ports start in the listening state.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Rapid Convergence
The RSTP provides for rapid recovery of connectivity following the failure of switch, a switch port, or
a LAN. It provides rapid convergence for new root ports, and ports connected through point-to-point
links as follows:
•
Root ports—If the RSTP selects a new root port, it blocks the old root port and immediately
transitions the new root port to the forwarding state.
•
Point-to-point links—If you connect a port to another port through a point-to-point link and the local
port becomes a designated port, it negotiates a rapid transition with the other port by using the
proposal-agreement handshake to ensure a loop-free topology.
As shown in Figure 7-4, Switch A is connected to Switch B through a point-to-point link, and all of the
ports are in the blocking state. Assume that the priority of Switch A is a smaller numerical value than
the priority of Switch B. Switch A sends a proposal message (a configuration BPDU with the proposal
flag set) to Switch B, proposing itself as the designated switch.
After receiving the proposal message, Switch B selects as its new root port the port from which the
proposal message was received, forces all non-edge ports to the blocking state, and sends an agreement
message (a BPDU with the agreement flag set) through its new root port.
RSTP Features
After receiving an agreement message from Switch B, Switch A also immediately transitions its
designated port to the forwarding state. No loops in the network are formed because Switch B blocked
all of its non-edge ports and because there is a point-to-point link between Switches A and B.
When Switch C is connected to Switch B, a similar set of handshaking messages are exchanged. Switch
C selects the port connected to Switch B as its root port, and both ends immediately transition to the
forwarding state. With each iteration of this handshaking process, one more switch joins the active
topology. As the network converges, this proposal-agreement handshaking progresses from the root
toward the leaves of the spanning tree.
The switch determines the link type from the port duplex mode: a full-duplex port is considered to have
a point-to-point connection; a half-duplex port is considered to have a shared connection.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-11
RSTP Features
Proposal
FF
RPDP
FF
RPDP
FF
RPDP
FF
RPDP
124086
Agreement
Root
Switch A
Switch A
Switch A
Switch A
Switch B
Switch B
Switch B
Switch B
Switch B
Switch B
Proposal
Agreement
DP = designated port
RP = root port
F = forwarding
ML-Series
ML-Series
ML-Series
Root
ML-Series
Root
ML-Series
ML-Series
ML-Series
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Figure 7-4Proposal and Agreement Handshaking for Rapid Convergence
Synchronization of Port Roles
When the switch receives a proposal message on one of its ports and that port is selected as the new root
port, the RSTP forces all other ports to synchronize with the new root information. The switch is
synchronized with superior root information received on the root port if all other ports are synchronized.
If a designated port is in the forwarding state, it transitions to the blocking state when the RSTP forces
it to synchronize with new root information. In general, when the RSTP forces a port to synchronize with
root information and the port does not satisfy any of the above conditions, its port state is set to blocking.
After ensuring all of the ports are synchronized, the switch sends an agreement message to the designated
switch corresponding to its root port. When the switches connected by a point-to-point link are in agreement
about their port roles, the RSTP immediately transitions the port states to forwarding. The sequence of events
is shown in Figure 7-5.
7-12
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
2. Block
9. Forward
1. Proposal4. Agreement
6. Proposal
Root port
Designated port
8. Agreement10. Agreement
Edge port
7. Proposal
5. Forward
3. Block
11. Forward
74008
Figure 7-5Sequence of Events During Rapid Convergence
RSTP Features
Bridge Protocol Data Unit Format and Processing
The RSTP BPDU format is the same as the IEEE 802.1D BPDU format except that the protocol version
is set to 2. A new Length field is set to zero, which means that no version 1 protocol information is
present. Table 7-4 shows the RSTP flag fields.
Table 7-4RSTP BPDU Flags
BitFunction
0Topology change (TC)
1Proposal
Port role:
Unknown
Alternate port
Root port
Designated port
2–3:
00
01
10
11
4Learning
5Forwarding
6Agreement
7Topology change acknowledgement
The sending switch sets the proposal flag in the RSTP BPDU to propose itself as the designated switch
on that LAN. The port role in the proposal message is always set to the designated port.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-13
RSTP Features
The sending switch sets the agreement flag in the RSTP BPDU to accept the previous proposal. The port
role in the agreement message is always set to the root port.
The RSTP does not have a separate topology change notification (TCN) BPDU. It uses the topology
change (TC) flag to show the topology changes. However, for interoperability with IEEE 802.1D
switches, the RSTP switch processes and generates TCN BPDUs.
The learning and forwarding flags are set according to the state of the sending port.
Processing Superior BPDU Information
If a port receives superior root information (lower bridge ID, lower path cost, etc.) than currently stored
for the port, the RSTP triggers a reconfiguration. If the port is proposed and is selected as the new root
port, RSTP forces all the other ports to synchronize.
If the BPDU received is an RSTP BPDU with the proposal flag set, the switch sends an agreement
message after all of the other ports are synchronized. If the BPDU is an IEEE 802.1D BPDU, the switch
does not set the proposal flag and starts the forward-delay timer for the port. The new root port requires
twice the forward-delay time to transition to the forwarding state.
If the superior information received on the port causes the port to become a backup or alternate port,
RSTP sets the port to the blocking state but does not send the agreement message. The designated port
continues sending BPDUs with the proposal flag set until the forward-delay timer expires, at which time
the port transitions to the forwarding state.
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Processing Inferior BPDU Information
If a designated port receives an inferior BPDU (higher bridge ID, higher path cost, etc.) than currently
stored for the port with a designated port role, it immediately replies with its own information.
Topology Changes
This section describes the differences between the RSTP and the IEEE 802.1D in handling spanning-tree
topology changes.
•
Detection—Unlike IEEE 802.1D, in which any transition between the blocking and the forwarding
state causes a topology change, only transitions from the blocking to the forwarding state cause a
topology change with RSTP. (Only an increase in connectivity is considered a topology change.)
State changes on an edge port do not cause a topology change. When an RSTP switch detects a
topology change, it flushes the learned information on all of its non-edge ports.
•
Notification—Unlike IEEE 802.1D, which uses TCN BPDUs, the RSTP does not use them.
However, for IEEE 802.1D interoperability, an RSTP switch processes and generates TCN BPDUs.
•
Acknowledgement—When an RSTP switch receives a TCN message on a designated port from an
IEEE 802.1D switch, it replies with an IEEE 802.1D configuration BPDU with the topology change
acknowledgement bit set. However, if the timer (the same as the topology-change timer in
IEEE 802.1D) is active on a root port connected to an IEEE 802.1D switch and a configuration
BPDU with the topology change acknowledgement bit set is received, the timer is reset.
This behavior is only required to support IEEE 802.1D switches. The RSTP BPDUs never have the
topology change acknowledgement bit set.
7-14
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
•
Propagation—When an RSTP switch receives a TC message from another switch through a
designated or root port, it propagates the topology change to all of its non-edge, edge, designated
ports, and root port (excluding the port on which it is received). The switch starts the TC-while timer
for all such ports and flushes the information learned on them.
•
Protocol migration—For backward compatibility with IEEE 802.1D switches, RSTP selectively
sends IEEE 802.1D configuration BPDUs and TCN BPDUs on a per-port basis.
When a port is initialized, the timer is started (which specifies the minimum time during which
RSTP BPDUs are sent), and RSTP BPDUs are sent. While this timer is active, the switch processes
all BPDUs received on that port and ignores the protocol type.
If the switch receives an IEEE 802.1D BPDU after the port’s migration-delay timer has expired, it
assumes that it is connected to an IEEE 802.1D switch and starts using only IEEE 802.1D BPDUs.
However, if the RSTP switch is using IEEE 802.1D BPDUs on a port and receives an RSTP BPDU
after the timer has expired, it restarts the timer and starts using RSTP BPDUs on that port.
Interoperability with IEEE 802.1D STP
A switch running RSTP supports a built-in protocol migration mechanism that enables it to interoperate
with legacy IEEE 802.1D switches. If this switch receives a legacy IEEE 802.1D configuration BPDU
(a BPDU with the protocol version set to 0), it sends only IEEE 802.1D BPDUs on that port.
Interoperability with IEEE 802.1D STP
However, the switch does not automatically revert to the RSTP mode if it no longer receives
IEEE 802.1D BPDUs because it cannot determine whether the legacy switch has been removed from the
link unless the legacy switch is the designated switch. Also, a switch might continue to assign a boundary
role to a port when the switch to which this switch is connected has joined the region.
Configuring STP and RSTP Features
These sections describe how to configure spanning-tree features:
•
Default STP and RSTP Configuration, page 7-16
•
Disabling STP and RSTP, page 7-16
•
Configuring the Root Switch, page 7-17
•
Configuring the Port Priority, page 7-17
•
Configuring the Path Cost, page 7-18
•
Configuring the Switch Priority of a Bridge Group, page 7-18
•
Configuring the Hello Time, page 7-19
•
Configuring the Forwarding-Delay Time for a Bridge Group, page 7-20
•
Configuring the Maximum-Aging Time for a Bridge Group, page 7-20
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-15
Configuring STP and RSTP Features
Default STP and RSTP Configuration
Table 7-5 shows the default STP and RSTP configuration.
Table 7-5Default STP and RSTP Configuration
FeatureDefault Setting
Enable state Up to 255 spanning-tree instances
Switch priority32768 + Bridge ID
Spanning-tree port priority (configurable on a per-interface
basis—used on interfaces configured as Layer 2 access ports)
Spanning-tree port cost (configurable on a per-interface basis) 100 Mbps: 19
Hello time2 seconds
Forward-delay time15 seconds
Maximum-aging time20 seconds
Chapter 7 Configuring STP and RSTP on the ML-Series Card
can be enabled.
128
10 Mbps: 100
STS-1: 37
Disabling STP and RSTP
STP is enabled by default on the native VLAN 1 and on all newly created VLANs up to the specified
spanning-tree limit of 255. Disable STP only if you are sure there are no loops in the network topology.
Caution
Caution
Step 1
Step 2
Step 3
Step 4
STP edge ports are bridge ports that do not need STP enabled—where loop protection is not needed out
of that port or an STP neighbor does not exist out of that port. For RSTP, it is important to disable STP
on edge ports, which are typically front-side Ethernet ports, using the command bridge bridge-group-number spanning-disabled on the appropriate interface. If RSTP is not disabled on edge
ports, convergence times will be excessive for packets traversing those ports.
When STP is disabled and loops are present in the topology, excessive traffic and indefinite packet
duplication can drastically reduce network performance.
Beginning in privileged EXEC mode, follow these steps to disable STP or RSTP on a per-VLAN basis:
CommandPurpose
ML_Series# configure terminal
ML_Series(config)# interface
ML_Series(config-if)# bridge-group
bridge-group-number
ML_Series(config-if)# end
interface-id
spanning disabled
Enters the global configuration mode.
Enters the interface configuration mode.
Disables STP or RSTP on a per-interface basis.
Returns to privileged EXEC mode.
7-16
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
To reenable STP, use the no bridge-group bridge-group-number spanning disabled interface-level
configuration command.
Configuring the Root Switch
The switch maintains a separate spanning-tree instance for each active VLAN configured on it. A
bridge ID, consisting of the switch priority and the switch MAC address, is associated with each
instance. For each VLAN, the switch with the lowest bridge ID becomes the root switch for that VLAN.
Configuring STP and RSTP Features
Note
If your network consists of switches that both do and do not support the extended system ID, it is unlikely
that the switch with the extended system ID support will become the root switch. The extended system
ID increases the switch priority value every time the bridge ID is greater than the priority of the
connected switches that are running older software.
Configuring the Port Priority
If a loop occurs, spanning tree uses the port priority when selecting an interface to put into the
forwarding state. You can assign higher priority values (lower numerical values) to interfaces that you
want selected first, and lower priority values (higher numerical values) that you want selected last. If all
interfaces have the same priority value, spanning tree puts the interface with the lowest interface number
in the forwarding state and blocks the other interfaces.
Beginning in privileged EXEC mode, follow these steps to configure the port priority of an interface:
CommandPurpose
Step 1
Step 2
Step 3
ML_Series# configure terminal
ML_Series(config)# interface
interface-id
ML_Series(config-if)# bridge-group
bridge-group-number priority-value
Enters the global configuration mode.
Enters the interface configuration mode, and specifies an
interface to configure.
Valid interfaces include physical interfaces and
port-channel logical interfaces (port-channel port-channel-number).
Configures the port priority for an interface that is an
access port.
For the priority-value, the range is 0 to 255; the default is
128 in increments of 16. The lower the number, the higher
the priority.
Step 4
ML_Series(config-if)# end
Return to privileged EXEC mode.
To return the interface to its default setting, use the no bridge-group id bridge-group-number priority-value command.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-17
Configuring STP and RSTP Features
Configuring the Path Cost
The spanning-tree path cost default value is derived from the media speed of an interface. If a loop
occurs, spanning tree uses cost when selecting an interface to put in the forwarding state. You can assign
lower cost values to interfaces that you want selected first and higher cost values to interfaces that you
want selected last. If all interfaces have the same cost value, spanning tree puts the interface with the
lowest interface number in the forwarding state and blocks the other interfaces.
Beginning in privileged EXEC mode, follow these steps to configure the cost of an interface:
CommandPurpose
Step 1
Step 2
Step 3
Step 4
ML_Series# configure terminal
ML_Series(config)# interface
interface-id
ML_Series(config-if)#
bridge-group
bridge-group-number
cost
ML_Series(config-if)# end
path-cost
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Enters the global configuration mode.
Enters the interface configuration mode and specifies an
interface to configure.
Valid interfaces include physical interfaces and port-channel
logical interfaces (port-channel port-channel-number).
Configures the cost for an interface that is an access port.
If a loop occurs, spanning tree uses the path cost when selecting
an interface to place into the forwarding state. A lower path cost
represents higher-speed transmission.
For cost, the range is 0 to 65535; the default value is derived
from the media speed of the interface.
Returns to the privileged EXEC mode.
Note
The show spanning-tree interfaceinterface-id privileged EXEC command displays information only
for ports that are in a link-up operative state. Otherwise, you can use the show running-config privileged
EXEC command to confirm the configuration.
To return the interface to its default setting, use the no bridge-group bridge-group-number path-cost cost command.
Configuring the Switch Priority of a Bridge Group
You can configure the switch priority and make it more likely that the switch will be chosen as the root
switch.
7-18
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Beginning in privileged EXEC mode, follow these steps to configure the switch priority of a bridge
group:
CommandPurpose
Step 1
Step 2
Step 3
ML_Series# configure terminal
ML_Series(config)# bridge
bridge-group-number
priority-number
ML_Series(config)# end
priority
To return the switch to its default setting, use the no bridge bridge-group-number priority
priority-number command.
Configuring STP and RSTP Features
Enters the global configuration mode.
Configures the switch priority of a bridge group.
For priority, the range is 0 to 61440 in increments of 4096; the
default is 32768. The lower the number, the more likely the switch
will be chosen as the root switch.
The value entered is rounded to the lower multiple of 4096. The
actual number is computed by adding this number to the bridge
group number.
Return to the privileged EXEC mode.
Configuring the Hello Time
Change the hello time to configure the interval between the generation of configuration messages by the
root switch.
Beginning in privileged EXEC mode, follow these steps to configure the hello time of a bridge group:
CommandPurpose
Step 1
Step 2
Step 3
ML_Series# configure terminal
ML_Series(config)# bridge
bridge-group-number
seconds
ML_Series(config)# end
To return the switch to its default setting, use the no bridge bridge-group-number hello-time seconds
command. The number for seconds should be the same number as configured in the original command.
hello-time
Enters global configuration mode.
Configures the hello time of a bridge group. The hello time is
the interval between the generation of configuration
messages by the root switch. These messages mean that the
switch is alive.
For seconds, the range is 1 to 10; the default is 2.
Returns to privileged EXEC mode.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-19
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Verifying and Monitoring STP and RSTP Status
Configuring the Forwarding-Delay Time for a Bridge Group
Beginning in privileged EXEC mode, follow these steps to configure the forwarding-delay time for a
bridge group:
CommandPurpose
Step 1
Step 2
Step 3
ML_Series# configure
terminal
ML_Series(config)# bridge
bridge-group-number
forward-time
seconds
Enters global configuration mode.
Configures the forward time of a VLAN. The forward delay is the
number of seconds a port waits before changing from its
spanning-tree learning and listening states to the forwarding state.
For seconds, the range is 4 to 200; the default is 15.
ML_Series(config)# end
Returns to privileged EXEC mode.
To return the switch to its default setting, use the no bridge bridge-group-number forward-time seconds
command. The number for seconds should be the same number as configured in the original command.
Configuring the Maximum-Aging Time for a Bridge Group
Beginning in privileged EXEC mode, follow these steps to configure the maximum-aging time for a
bridge group:
CommandPurpose
Step 1
Step 2
ML_Series# configure
terminal
ML_Series(config)# bridge
bridge-group-number
seconds
max-age
Enters global configuration mode.
Configures the maximum-aging time of a bridge group. The
maximum-aging time is the number of seconds a switch waits
without receiving spanning-tree configuration messages before
attempting a reconfiguration.
For seconds, the range is 6 to 200; the default is 20.
Step 3
ML_Series(config)# end
Returns to privileged EXEC mode.
To return the switch to its default setting, use the no bridge bridge-group-number max-age seconds
command. The number for seconds should be the same number as configured in the original command.
Verifying and Monitoring STP and RSTP Status
To display the STP or RSTP status, use one or more of the privileged EXEC commands in Table 7-6.
7-20
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 7 Configuring STP and RSTP on the ML-Series Card
Table 7-6Commands for Displaying Spanning-Tree Status
CommandPurpose
ML_Series# show spanning-tree
ML_Series# show spanning-tree
brief
ML_Series# show spanning-tree
interface
ML_Series# show spanning-tree
summary
interface-id
[
totals
]
Verifying and Monitoring STP and RSTP Status
Displays detailed STP or RSTP information.
Displays brief summary of STP or RSTP information.
Displays STP or RSTP information for the specified interface.
Displays a summary of port states or displays the total lines of
the STP or RSTP state section.
Note
The show spanning-tree interfaceinterface-id privileged EXEC command displays information only
if the port is in a link-up operative state. Otherwise, you can use the show running-config interface
privileged EXEC command to confirm the configuration.
Examples of the show spanning-tree privileged EXEC commands are shown here:
Example 7-1show spanning-tree Commands
ML_Series# show spanning-tree brief
Bridge group 1 is executing the rstp compatible Spanning Tree protocol
Bridge Identifier has priority 32768, sysid 1, address 000b.fcfa.339e
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Topology change flag not set, detected flag not set
Number of topology changes 1 last change occurred 1w1d ago
from POS0.1
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Port 3 (FastEthernet0) of Bridge group 1 is designated disabled
Port path cost 19, Port priority 128, Port Identifier 128.3.
Designated root has priority 32769, address 000b.fcfa.339e
Designated bridge has priority 32769, address 000b.fcfa.339e
Designated port id is 128.3, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 0
Link type is point-to-point by default
BPDU: sent 0, received 0
ML_Series# show spanning-tree interface fastethernet 0
Port 3 (FastEthernet0) of Bridge group 1 is designated disabled
Port path cost 19, Port priority 128, Port Identifier 128.3.
Designated root has priority 32769, address 000b.fcfa.339e
Designated bridge has priority 32769, address 000b.fcfa.339e
Designated port id is 128.3, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 0
Link type is point-to-point by default
BPDU: sent 0, received 0
ML_Series# show spanning-tree summary totals
Switch is in pvst mode
Root bridge for: Bridge group 1-Bridge group 8
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
7-21
Verifying and Monitoring STP and RSTP Status
Name Blocking Listening Learning Forwarding STP Active
Chapter 7 Configuring STP and RSTP on the ML-Series Card
7-22
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Note
CHA PTER
8
Configuring VLANs on the ML-Series Card
This chapter describes VLAN configurations for the ML-Series card. It describes how to configure
IEEE 802.1Q VLAN encapsulation. For more information about the Cisco IOS commands used in this
chapter, refer to the Cisco IOS Command Reference publication.
This chapter contains the following major sections:
Configuring VLANs is optional. Complete general interface configurations before proceeding with
configuring VLANs as an optional step.
Understanding VLANs
VLANs enable network managers to group users logically rather than by physical location. A VLAN is
an emulation of a standard LAN that allows secure intragroup data transfer and communication to occur
without the traditional restraints placed on the network. It can also be considered a broadcast domain
that is set up within a switch. With VLANs, switches can support more than one subnet (or VLAN) on
each switch and give routers and switches the opportunity to support multiple subnets on a single
physical link. A group of devices that belong to the same VLAN, but are part of different LAN segments,
are configured to communicate as if they were part of the same LAN segment.
VLANs enable efficient traffic separation and provide excellent bandwidth utilization. VLANs also
alleviate scaling issues by logically segmenting the physical LAN structure into different subnetworks
so that packets are switched only between ports within the same VLAN. This can be very useful for
security, broadcast containment, and accounting.
ML-Series software supports port-based VLANs and VLAN trunk ports, which are ports that carry the
traffic of multiple VLANs. Each frame transmitted on a trunk link is tagged as belonging to only one
VLAN.
ML-Series software supports VLAN frame encapsulation through the IEEE 802.1Q standard. The
Cisco Inter-Switch Link (ISL) VLAN frame encapsulation is not supported. ISL frames are broadcast at
Layer 2 or dropped at Layer 3.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
8-1
Configuring IEEE 802.1Q VLAN Encapsulation
Host station
Host station
Host station
Host station
VLAN 10
VLAN 10
VLAN 2
VLAN 10
VLAN 2VLAN 2
Fast Ethernet 3
ML-Series
ML-Series
124089
Fast Ethernet 1Fast Ethernet 4
POS 0.10POS 0. 2
Fast Ethernet 2
ML-Series switching supports up to 254 VLAN subinterfaces per interface. A maximum of 255 logical
VLANs can be bridged per card (limited by the number of bridge-groups). Each VLAN subinterface can
be configured for any VLAN ID in the full 1 to 4095 range. Figure 8-1 shows a network topology in
which two VLANs span two ONS 15310-CLs with ML-Series cards.
Figure 8-1VLANs Spanning Devices in a Network
Chapter 8 Configuring VLANs on the ML-Series Card
Configuring IEEE 802.1Q VLAN Encapsulation
You can configure IEEE 802.1Q VLAN encapsulation on either type of ML-Series card interfaces,
Ethernet or Packet over SONET/SDH (POS). VLAN encapsulation is not supported on POS interfaces
configured with HDLC encapsulation.
The native VLAN is always VLAN ID 1 on ML-Series cards. Frames on the native VLAN are normally
transmitted and received untagged. On an trunk port, all frames from VLANs other than the native
VLAN are transmitted and received tagged.
To configure VLANs using IEEE 802.1Q VLAN encapsulation, perform the following procedure,
beginning in global configuration mode:
CommandPurpose
Step 1
Step 2
Step 3
Step 4
Step 5
ML_Series(config)# bridge
bridge-group-number
ML_Series(config)# interface
ML_Series(config)# interface
number.subinterface-number
ML_Series(config-subif)# encap dot1q
vlan-id
ML_Series(config-subif)# bridge-group
bridge-group
-
number
protocol
type
type number
type
Assigns a bridge group (VLAN) number and
define the appropriate spanning tree type.
Enters interface configuration mode to configure
the interface.
Enters subinterface configuration mode to
configure the subinterface.
Sets the encapsulation format on the VLAN to
IEEE 802.1Q.
Assigns a network interface to a bridge group.
8-2
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 8 Configuring VLANs on the ML-Series Card
CommandPurpose
Step 6
Step 7
ML_Series(config-subif)# end
ML_Series# copy running-config
startup-config
IEEE 802.1Q VLAN Configuration
Returns to privileged EXEC mode.
(Optional) Saves your configuration changes to
NVRAM.
Note
In a bridge group on the ML-Series card, the VLAN ID does not have to be uniform across interfaces
that belong to that bridge group. For example, a bridge-group can connect from a VLAN ID subinterface
to a subinterface with a different VLAN ID, and then frames entering with one VLAN ID can be changed
to exit with a different VLAN ID. This is know as VLAN translation.
Note
Note
IP routing is enabled by default. To enable bridging, enter the no ip routing or bridge IRB command.
Native VLAN frames transmitted on the interface are normally untagged. All untagged frames received
on the interface are associated with the native VLAN, which is always VLAN 1. Use the command
encapsulation dot1q 1 native.
IEEE 802.1Q VLAN Configuration
The VLAN configuration example for the ML-Series card shown in Figure 8-2 depicts the following
VLANs:
•
Fast Ethernet subinterface 0.1 is in the IEEE 802.1Q native VLAN 1.
•
Fast Ethernet subinterface 0.2 is in the IEEE 802.1Q VLAN 2.
•
Fast Ethernet subinterface 0.3 is in the IEEE 802.1Q VLAN 3.
•
Fast Ethernet subinterface 0.4 is in the IEEE 802.1Q VLAN 4.
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
8-3
IEEE 802.1Q VLAN Configuration
ML-Series
ML-Series
POS 0POS 0
Router_A
Router_B
124090
SONET/SDH
Fast Ethernet 0.1
Host station
VLAN 2
Host stationHost station
VLAN 3
VLAN 4
Fast Ethernet 0.3
Fast Ethernet 0.2
Fast Ethernet 0.4
Switch
802.1.Q
Fast Ethernet 0.1
Host station
VLAN 2
Host stationHost station
VLAN 3
VLAN 4
Fast Ethernet 0.3
Fast Ethernet 0.2
Fast Ethernet 0.4
Switch
802.1.Q
Native VLAN 1
Native VLAN 1
Figure 8-2Bridging IEEE 802.1Q VLANs
Chapter 8 Configuring VLANs on the ML-Series Card
Example 8-1 shows how to configure VLANs for IEEE 802.1Q VLAN encapsulation. Use this
configuration for both ML_Series A and ML_Series B.
Example 8-1Configure VLANs for IEEE 8021Q VLAN Encapsulation