Corporate Headquarters
Cisco Content Services Switch Routing and Bridging Configuration
Guide
Software Version January
Copyright 2004, Cisco Systems, Inc. All rights reserved
Preface
C O N T E N T S
Showing Interface Information
Configuring Circuits
Configuring Circuit-IP Unreachables
Enabling BPDU Guard
Configuring Spanning -Tree Bridging for the CSS
Configuring Router-Discovery Limited-Broadcast
Configuring Spanning-Tree Bridge Aging-Time
Configuring Spanning-Tree Bridge Priority
Areas
OSPF Overview
Stub Area
OSPF Configuration in a Startup-Configuration File
Setting the Retransmission Interval
Showing the Configured Advertised ASE Routes
Showing Summary Route Configuration Information
Configuring an IP Source Route
Configuring Routing Information Protocol
Configuring the Internet Protocol
Contents
Contents
Setting the CDP Hold Time
Configuring the Cisco Discovery Protocol
Configuring the DHCP Relay Agent
OL-4580-01
Contents
Example of SPAN Connectivity
Interface Trunking Between VLANs
F I G U R E S
CSS Interfaces and Circuits
OL-4580-01
Figures
Field Descriptions for the show circuits Command
Field Description for the show bridge port-fast Command
Global OSPF Configuration Quick Start
Interface and Circuit Configuration Quick Start
RIP Configuration Quick Start
IP Configuration Quick Start
Field Descriptions for the show ospf ase Command
Field Descriptions for the show ospf redistribute Command
Documentation Feedback Obtaining Technical Assistance
Preface
Audience How to Use This Guide Related Documentation
Symbols and Conventions Obtaining Documentation
Configure the CSS interface ports and circuits for
How to Use This Guide
Audience
Chapter 1, Configuring
Chapter 8, Configuring
Related Documentation
Chapter 7, Configuring
Configure Cisco Discovery Protocol CDP
Description
Document Title
xviii
Description
Document Title
Symbols and Conventions
Cisco.com
Obtaining Documentation
Ordering Documentation
http//tools.cisco.com/RPF/register/register.do
Documentation Feedback
Obtaining Technical Assistance
Cisco Technical Support Website
TAC Case Priority Definitions
Opening a TAC Case
xxiii
http//cisco.com/univercd/cc/td/doc/pcat
Obtaining Additional Publications and Information
xxiv
Internet Protocol Journal is a quarterly journal published by Cisco Systems for engineering professionals involved in designing, developing, and operating public and private internets and intranets. You can access the Internet Protocol Journal at this URL
Preface Obtaining Additional Publications and Information
xxvi
OL-4580-01
Configuring Circuits Configuring RIP for an IP Interface
Interface and Circuit Overview
Configuring Interfaces and Circuits
Interface and Circuit Overview Configuring Interfaces
For an 802.1Q trunk, you can use the default-vlan command to
Figure 1-2 Interface Trunking Between VLANs
Figure 1-1 CSS Interfaces and Circuits
Trunk
Task and Command Example
Interface and Circuit Configuration Quick Start
8. Optional Display the interface configuration
Task and Command Example
Setting Interface Maximum Idle Time Bridging an Interface to a VLAN
Configuring Interfaces
Configuring an Interface Entering a Description for the Interface
Configuring Interface Duplex and Speed
Entering a Description for the Interface
Configuring an Interface
Configuring Interface Duplex and Speed
Use the phy command to configure the duplex, speed Fast Ethernet ports only, and flow control Gigabit Ethernet ports only for the interface ports, as follows
1-10
Setting Interface Maximum Idle Time
Specifying VLAN Trunking for an Interface
Bridging an Interface to a VLAN
1-11
config-trunkif2/3# no trunk
Chapter 1 Configuring Interfaces and Circuits Configuring Interfaces
1-12
config-if-vlan1/1-3# no default-vlan
Selecting a Default VLAN in a Trunk
1-13
Configuring Spanning-Tree Bridge State
Configuring Spanning-Tree Bridging for a VLAN or a Trunked Interface
Configuring Spanning-Tree Bridge Pathcost
Configuring Spanning-Tree Bridge Port Priority
Configuring Spanning-Tree Bridge Port Priority
Configuring Spanning-Tree Bridge Pathcost
1-15
1-16
Configuring Port Fast on an Interface
Configuring Spanning-Tree Bridge State
Enabling Port Fast Enabling BPDU Guard Showing Port Fast Information
config-if2/1# bridge port-fast disable
Enabling Port Fast
Enabling BPDU Guard
config-if2/1# bridge port-fast enable
Description
Showing Port Fast Information
disabled command
Field
Showing Interface Statistics Showing Ethernet Interface Errors
Showing Interface Configurations
Showing Bridge Configurations
Showing Bridge Configurations Showing Trunking Configurations
Description
Field
Description
Field
1-21
Command continued
Field
Description
Description
Showing Trunking Configurations
Showing Interface Information
Field
Description
Showing Interface Duplex and Speed
Table 1-6 Field Descriptions for the show interface Command
Field
Description
Showing Interface Statistics
Table 1-7 Field Descriptions for the show phy Command
Field
1-25
Table 1-8 describes the fields in the show mibii command output
Field
Description
1-26
Table 1-8 Field Descriptions for the show mibii Command continued
Field
Description
1-27
Showing Ethernet Interface Errors
Field
Description
Description
Field
1-28
config-ife3# shut
Shutting Down an Interface
Shutting Down All Interfaces
config-ife3# admin-shutdown
Restarting All Interfaces
Restarting an Interface
1-30
Entering Circuit Configuration Mode
Configuring Circuits
Entering Circuit Configuration Mode
Configuring a Circuit IP Interface
Configuring a Circuit-IP Broadcast Address
Configuring a Circuit IP Address
1-32
config-circuit-ipVLAN7-172.16.6.58# no redirects
Configuring Circuit-IP Redirects
Configuring Circuit-IP Unreachables
Configuring Router-Discovery Preference for a Circuit IP Interface
Configuring Router-Discovery Protocol Settings for a Circuit
Enabling and Disabling a Circuit IP
1-34
Configuring Router-Discovery Limited-Broadcast
Configuring the Router-Discovery Lifetime
Configuring Router-Discovery Limited-Broadcast
Configuring the Router-Discovery Lifetime
config-circuitVLAN7# router-discovery min-advertisement-interval 100
Configuring the Router-Discovery Max-Advertisement-Interval
Configuring the Router-Discovery Min-Advertisement-Interval
config-circuitVLAN7# router-discovery max-advertisement-interval 300
Description
Showing Circuits
Table 1-10 Field Descriptions for the show circuits Command
Field
Description
Showing IP Interfaces
Table 1-11 Field Descriptions for the show ip interfaces Command
Field
Configuring a RIP Receive Version Configuring RIP Send Version
Configuring RIP for an IP Interface
Enabling RIP on an IP Interface
Enabling RIP on an IP Interface Configuring a RIP Default Route
config-circuit-ipVLAN7-192.168.1.58# rip default-route
Configuring a RIP Default Route
Configuring a RIP Receive Version
Configuring RIP Send Version
Showing RIP Configurations for IP Addresses
Configuring RIP Packet Logging
1-41
1-42
Table 1-12 Field Descriptions for the show rip Command
Field
Description
Description
Field
Description
Field
1-44
Configuring the Switched Port Analyzer Feature
SSPAN Tx
1-45
Figure 1-3 Example of SPAN Connectivity
SSPAN Rx
1-46
Configuring SPAN on a CSS
Configuring SPAN on a CSS Verifying the SPAN Configuration on a CSS
setspan srcport number destport number copyBothcopyTxOnlycopyRxOnly
1-47
Verifying the SPAN Configuration on a CSS
Field
Description
1-48
Table 1-15 Field Descriptions for the show setspan Command continued
Field
Description
C H A P T E R
Configuring Spanning-Tree Bridging for the CSS
Configuring Spanning-Tree Bridge Hello-Time
CSS Spanning-Tree Bridging Quick Start
Configuring Spanning-Tree Bridge Aging-Time
Configuring Spanning-Tree Bridge Forward-Time
Task and Command Example
Configuring Spanning-Tree Bridge Aging-Time
Table 2-1 Spanning-Tree Bridging Configuration Quick Start continued
Configuring Spanning-Tree Bridge Max-Age
Configuring Spanning-Tree Bridge Hello-Time
Configuring Spanning-Tree Bridge Forward-Time
Disabling Bridge Spanning-Tree
Configuring Spanning-Tree Bridge Priority
Field
Showing Bridge Configurations
Field
Description
Description
Field
Showing Bridge Configurations
Chapter 2 Configuring Spanning-Tree Bridging for the CSS
OL-4580-01
OSPF Configuration in a Startup-Configuration File
Configuring Open Shortest Path First OSPF
OSPF Overview CSS OSPF Configuration Quick Start
Configuring OSPF on the CSS Configuring OSPF on a CSS IP Interface
OSPF Routing Hierarchy Link-State Databases
OSPF Overview
OSPF Routing Hierarchy
Areas
Autonomous System
Backbone Area
Stub Area
Area Border Routers
Autonomous System Boundary Routers
Link-State Databases
OSPF IP Interface Configuration Quick Start
CSS OSPF Configuration Quick Start
Global OSPF Configuration Quick Start
Global OSPF Configuration Quick Start
config ospf area
Task and Command Example
Table 3-1 Global OSPF Configuration Quick Start
config ospf router-id
Task and Command Example
OSPF IP Interface Configuration Quick Start
config-circuit-ipVLAN6-3.1.2.2 ospf area
Task and Command Example
config-circuitVLAN6# ip address 3.1.2.2/24
config-circuit-ipVLAN6-3.1.2.2# ospf
3-11
Verifying Your Configuration
Configuring Equal-Cost Routes Configuring Summarized Routes at an ABR
Configuring OSPF on the CSS
Configuring the OSPF Router ID
Configuring the OSPF Router ID Enabling OSPF Configuring an Area
Enabling OSPF
Configuring an Area
3-13
3-14
Configuring Equal-Cost Routes
Configuring Summarized Routes at an ABR
Removing an Area
config# ospf range 0.1.0.1 192.168.0.0 255.255.0.0 block
Configuring the CSS as an Autonomous System Boundary Router
config# no ospf enable config# ospf range 0.1.0.1 192.168.0.0
config# no ospf range 0.1.0.1 192.168.0.0
3-16
Advertising a Route as an OSPF ASE Route
Advertising a Default ASE Route Advertising Other Routes Through OSPF
Advertising a Route as an OSPF ASE Route
OL-4580-01
Chapter 3 Configuring Open Shortest Path First OSPF
Configuring OSPF on the CSS
3-17
3-18
Chapter 3 Configuring Open Shortest Path First OSPF
Configuring OSPF on the CSS
config# ospf advertise 192.168.44.0
config# ospf advertise 193.23.44.0 255.255.255.0 metric 3 type1
config# no ospf advertise
3-19
config# ospf default
Advertising a Default ASE Route
3-20
config# ospf redistribute firewall
Advertising Other Routes Through OSPF
config# ospf default metric 10 type1
config# no ospf default
Assigning an OSPF Area to the Interface
Configuring OSPF on a CSS IP Interface
Configuring the CSS IP Interface as an OSPF Interface
Enabling OSPF on the Interface Configuring the Interface Attributes
3-23
Configuring the CSS IP Interface as an OSPF Interface
Setting the Cost Setting the Dead Router Interval
Configuring the Interface Attributes
Assigning an OSPF Area to the Interface
Enabling OSPF on the Interface
Setting the Retransmission Interval Setting the Transit-Link Delay
Setting the Cost
Setting the Dead Router Interval
Setting the Hello Packet Interval
Setting the Poll Interval
Setting the Password
3-26
Setting the Retransmission Interval
Setting the Priority of the CSS
3-27
Showing Summary Route Configuration Information
Setting the Transit-Link Delay
Showing OSPF Information
Showing ASE Entries Showing the Configured Advertised ASE Routes
Description
Showing OSPF Area Information
Showing Global Statistics
Field
Field
Showing IP Interface Information
Field
Description
Description
Field
3-31
Description
Field
3-32
3-33
Showing Link-State Databases
Field
Description
3-34
Table 3-6 Field Descriptions for the show ospf lsdb Command
Field
Description
3-35
Field
Description
ADV Router
Description
Showing ASE Entries
show ospf asegrep
Field
Description
Showing the Configured Advertised ASE Routes
Table 3-8 Field Descriptions for the show ospf advertise Command
Field
3-38
Showing the Redistribution Policy
Firewall Field
Description
Description
Showing Summary Route Configuration Information
Showing OSPF Neighbors
Field
3-40
Field
Description
Address
Description
Field
3-41
Description
Field
3-42
GLOBAL ospf router-id 121.23.21.1 ospf enable
OSPF Configuration in a Startup-Configuration File
Chapter 3 Configuring Open Shortest Path First OSPF
OSPF Configuration in a Startup-Configuration File
OL-4580-01
Chapter 3 Configuring Open Shortest Path First OSPF
OSPF Configuration in a Startup-Configuration File
3-44
Configuring ARP Timeout Configuring ARP Wait Updating ARP Parameters
Configuring the Address Resolution
Protocol
ARP Configuration Quick Start Configuring ARP Mapping
Task and Command Example
ARP Configuration Quick Start
Table 4-1 ARP Configuration Quick Start
arp iporhost macaddress interface vlan
Configuring ARP Mapping
Configuring ARP Wait
Configuring ARP Timeout
Clearing ARP Parameters
Updating ARP Parameters
show arp configfilemanagement-portsummaryiporhost
Showing ARP Information
Description
Table 4-2 Field Descriptions for the show arp Command
Table 4-3 Field Descriptions for the show arp summary Command
Field
Field
Table 4-4 Field Descriptions for the show arp config Command
Table 4-5 Field Descriptions for the show arp management-port Command
# show arp config
# show arp file
Chapter 4 Configuring the Address Resolution Protocol
Showing ARP Information
# show arp
OL-4580-01
Chapter 4 Configuring the Address Resolution Protocol
4-10
Showing ARP Information
Showing RIP Configurations
Configuring Routing Information Protocol
RIP Configuration Quick Start Configuring RIP Advertise
Configuring RIP Redistribute Configuring Equal-Cost RIP Routes
Task and Command Example
RIP Configuration Quick Start
Table 5-1 RIP Configuration Quick Start
Configuring RIP Redistribute
Configuring RIP Advertise
rip redistribute firewalllocalospfstatic metric
Configuring Equal-Cost RIP Routes
Description
Showing RIP Configurations
Table 5-2 Field Descriptions for the show rip Command
Field
Description
Table 5-2 Field Descriptions for the show rip Command continued
Table 5-3 Field Descriptions for the show rip globals Command
Field
Field
Table 5-4 Field Descriptions for the show rip statistics Command
Description
Showing RIP Configurations
Chapter 5 Configuring Routing Information Protocol
OL-4580-01
Configuring an IP Source Route Configuring the IP Record Route
Configuring the Internet Protocol
IP Configuration Quick Start Configuring an IP Route
Disabling an Implicit Service for the Static Route Next Hop
Task and Command Example
IP Configuration Quick Start
Table 6-1 IP Configuration Quick Start
ip no-implicit-service ip redundancy
Configuring an IP Route
Page
0.0.0.0 /0 and a next hop address of 192.167.1.1, enter
Disabling an Implicit Service for the Static Route Next Hop
config# no ip source-route
Configuring an IP Source Route
Configuring the IP Record Route
config# ip source-route
Configuring IP Equal-Cost Multipath
Configuring Box-to-Box Redundancy
ip ecmp addressno-prefer-ingressroundrobin
ip subnet-broadcast command
Forwarding IP Subnet Broadcast Addressed Frames
Configuring IP Opportunistic Layer 3 Forwarding
Configuring IP Unconditional Bridging
6-10
VLAN1 End Station A
Internet Router1 default Subnet CSS
6-11
Figure 6-1 Example of Opportunistic Layer 3 Forwarding
Showing IP Statistics Showing a Summary of IP Global Statistics
Showing IP Configuration Information
Showing IP Global Configuration Parameters
Showing IP Interface Information Showing IP Routing Information
Description
Showing IP Global Configuration Parameters
Table 6-2 Field Descriptions for the show ip config Command
Field
Description
Table 6-3 Field Descriptions for the show ip interfaces Command
Showing IP Interface Information
Field
6-15
Showing IP Routing Information
Field
Description
Field
Showing IP Statistics
Field
Description
TCP Statistics
Field
Description
6-17
ICMP Statistics
Field
Description
6-18
ARP Statistics
Field
Description
6-19
Description
Resetting IP Statistics
Showing a Summary of IP Global Statistics
Field
6-21
Field
Description
Total Hosts
OL-4580-01
Chapter 6 Configuring the Internet Protocol
Showing IP Configuration Information
6-22
C H A P T E R
Configuring the Cisco Discovery Protocol
Task and Command Example
CDP Configuration Quick Start
CDP Configuration Quick Start Enabling CDP Setting the CDP Hold Time
Setting the CDP Transmission Rate Showing CDP Information
Enabling CDP
Setting the CDP Hold Time
cdp holdTime 255 cdp timer
Sending CDP packets every 60 seconds
Setting the CDP Transmission Rate
Showing CDP Information
config# show cdp Global CDP information
C H A P T E R
Configuring the DHCP Relay Agent
DHCP Relay Agent Configuration Quick Start
Displaying the DHCP Relay Configuration
Task and Command Example
DHCP Relay Agent Configuration Quick Start
Table 8-1 DHCP Relay Agent Configuration Quick Start
Enabling and Disabling DHCP on the Circuit
Adding a DHCP Destination on a Circuit
Description
Displaying the DHCP Relay Configuration
Defining the Hops Field Value for Forwarding DHCP Messages
Field
Description
Field
Displaying the DHCP Relay Configuration
Chapter 8 Configuring the DHCP Relay Agent
OL-4580-01
IN-1
I N D E
2-2, 4-2, 5-2, 6-2
IN-2
3-12
IN-3
IN-4
IN-5
IN-6
IN-7
IN-8
Index
IN-9
OL-4580-01
Index
IN-10
OL-4580-01