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