Guide
Cisco Content Services Switch Routing and Bridging Configuration
Software Version January
Corporate Headquarters
Copyright 2004, Cisco Systems, Inc. All rights reserved
Preface
C O N T E N T S
Configuring Circuit-IP Unreachables
Configuring Circuits
Enabling BPDU Guard
Showing Interface Information
Configuring Spanning-Tree Bridge Aging-Time
Configuring Router-Discovery Limited-Broadcast
Configuring Spanning-Tree Bridge Priority
Configuring Spanning -Tree Bridging for the CSS
Stub Area
OSPF Overview
Areas
Showing the Configured Advertised ASE Routes
Setting the Retransmission Interval
Showing Summary Route Configuration Information
OSPF Configuration in a Startup-Configuration File
Configuring the Internet Protocol
Configuring Routing Information Protocol
Contents
Configuring an IP Source Route
Configuring the Cisco Discovery Protocol
Setting the CDP Hold Time
Configuring the DHCP Relay Agent
Contents
OL-4580-01
Contents
F I G U R E S
Interface Trunking Between VLANs
CSS Interfaces and Circuits
Example of SPAN Connectivity
OL-4580-01
Figures
Global OSPF Configuration Quick Start
Field Description for the show bridge port-fast Command
Interface and Circuit Configuration Quick Start
Field Descriptions for the show circuits Command
Field Descriptions for the show ospf ase Command
IP Configuration Quick Start
Field Descriptions for the show ospf redistribute Command
RIP Configuration Quick Start
Audience How to Use This Guide Related Documentation
Preface
Symbols and Conventions Obtaining Documentation
Documentation Feedback Obtaining Technical Assistance
Audience
How to Use This Guide
Chapter 1, Configuring
Configure the CSS interface ports and circuits for
Chapter 7, Configuring
Related Documentation
Configure Cisco Discovery Protocol CDP
Chapter 8, Configuring
xviii
Document Title
Description
Description
Document Title
Symbols and Conventions
Ordering Documentation
Obtaining Documentation
Cisco.com
Obtaining Technical Assistance
Documentation Feedback
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
Configuring Interfaces and Circuits
Interface and Circuit Overview
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
Task and Command Example
Interface and Circuit Configuration Quick Start
8. Optional Display the interface configuration
Task and Command Example
Configuring an Interface Entering a Description for the Interface
Configuring Interfaces
Configuring Interface Duplex and Speed
Setting Interface Maximum Idle Time Bridging an Interface to a VLAN
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
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 Bridge Pathcost
Configuring Spanning-Tree Bridging for a VLAN or a Trunked Interface
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 Spanning-Tree Bridge State
Configuring Port Fast on an Interface
Enabling Port Fast Enabling BPDU Guard Showing Port Fast Information
1-16
Enabling BPDU Guard
Enabling Port Fast
config-if2/1# bridge port-fast enable
config-if2/1# bridge port-fast disable
disabled command
Showing Port Fast Information
Field
Description
Showing Bridge Configurations
Showing Interface Configurations
Showing Bridge Configurations Showing Trunking Configurations
Showing Interface Statistics Showing Ethernet Interface Errors
Description
Field
Field
Description
Field
Command continued
Description
1-21
Showing Interface Information
Showing Trunking Configurations
Field
Description
Table 1-6 Field Descriptions for the show interface Command
Showing Interface Duplex and Speed
Field
Description
Table 1-7 Field Descriptions for the show phy Command
Showing Interface Statistics
Field
Description
Field
Table 1-8 describes the fields in the show mibii command output
Description
1-25
Field
Table 1-8 Field Descriptions for the show mibii Command continued
Description
1-26
Field
Showing Ethernet Interface Errors
Description
1-27
1-28
Field
Description
Shutting Down All Interfaces
Shutting Down an Interface
config-ife3# admin-shutdown
config-ife3# shut
1-30
Restarting an Interface
Restarting All Interfaces
Entering Circuit Configuration Mode
Configuring Circuits
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 Unreachables
Configuring Circuit-IP Redirects
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 Router-Discovery Limited-Broadcast
Configuring the Router-Discovery Lifetime
Configuring the Router-Discovery Lifetime
Configuring Router-Discovery Limited-Broadcast
Configuring the Router-Discovery Min-Advertisement-Interval
Configuring the Router-Discovery Max-Advertisement-Interval
config-circuitVLAN7# router-discovery max-advertisement-interval 300
config-circuitVLAN7# router-discovery min-advertisement-interval 100
Table 1-10 Field Descriptions for the show circuits Command
Showing Circuits
Field
Description
Table 1-11 Field Descriptions for the show ip interfaces Command
Showing IP Interfaces
Field
Description
Enabling RIP on an IP Interface
Configuring RIP for 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 Receive Version
Configuring a RIP Default Route
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
Field
Table 1-12 Field Descriptions for the show rip Command
Description
1-42
Description
Field
Field
Description
1-44
Configuring the Switched Port Analyzer Feature
Figure 1-3 Example of SPAN Connectivity
1-45
SSPAN Rx
SSPAN Tx
Configuring SPAN on a CSS Verifying the SPAN Configuration on a CSS
Configuring SPAN on a CSS
setspan srcport number destport number copyBothcopyTxOnlycopyRxOnly
1-46
Field
Verifying the SPAN Configuration on a CSS
Description
1-47
Field
Table 1-15 Field Descriptions for the show setspan Command continued
Description
1-48
C H A P T E R
Configuring Spanning-Tree Bridging for the CSS
Configuring Spanning-Tree Bridge Aging-Time
CSS Spanning-Tree Bridging Quick Start
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
Disabling Bridge Spanning-Tree
Configuring Spanning-Tree Bridge Priority
Field
Showing Bridge Configurations
Description
Field
Description
Field
OL-4580-01
Chapter 2 Configuring Spanning-Tree Bridging for the CSS
Showing Bridge Configurations
OSPF Overview CSS OSPF Configuration Quick Start
Configuring Open Shortest Path First OSPF
Configuring OSPF on the CSS Configuring OSPF on a CSS IP Interface
OSPF Configuration in a Startup-Configuration File
OSPF Routing Hierarchy Link-State Databases
OSPF Overview
OSPF Routing Hierarchy
Backbone Area
Autonomous System
Areas
Autonomous System Boundary Routers
Area Border Routers
Stub Area
Link-State Databases
Global OSPF Configuration Quick Start
CSS OSPF Configuration Quick Start
Global OSPF Configuration Quick Start
OSPF IP Interface Configuration Quick Start
Table 3-1 Global OSPF Configuration Quick Start
Task and Command Example
config ospf router-id
config ospf area
Task and Command Example
OSPF IP Interface Configuration Quick Start
config-circuitVLAN6# ip address 3.1.2.2/24
Task and Command Example
config-circuit-ipVLAN6-3.1.2.2# ospf
config-circuit-ipVLAN6-3.1.2.2 ospf area
3-11
Verifying Your Configuration
Configuring the OSPF Router ID
Configuring OSPF on the CSS
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 Summarized Routes at an ABR
Configuring Equal-Cost Routes
Removing an Area
3-14
config# no ospf enable config# ospf range 0.1.0.1 192.168.0.0
Configuring the CSS as an Autonomous System Boundary Router
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 Default ASE Route Advertising Other Routes Through OSPF
Advertising a Route as an OSPF ASE Route
Advertising a Route as an OSPF ASE Route
3-16
Configuring OSPF on the CSS
Chapter 3 Configuring Open Shortest Path First OSPF
3-17
OL-4580-01
Configuring OSPF on the CSS
Chapter 3 Configuring Open Shortest Path First OSPF
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
config# ospf default metric 10 type1
Advertising Other Routes Through OSPF
config# no ospf default
config# ospf redistribute firewall
Configuring the CSS IP Interface as an OSPF Interface
Configuring OSPF on a CSS IP Interface
Enabling OSPF on the Interface Configuring the Interface Attributes
Assigning an OSPF Area to the Interface
3-23
Configuring the CSS IP Interface as an OSPF Interface
Assigning an OSPF Area to the Interface
Configuring the Interface Attributes
Enabling OSPF on the Interface
Setting the Cost Setting the Dead Router Interval
Setting the Dead Router Interval
Setting the Cost
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
Showing OSPF Information
Setting the Transit-Link Delay
Showing ASE Entries Showing the Configured Advertised ASE Routes
Showing Summary Route Configuration Information
Showing Global Statistics
Showing OSPF Area Information
Field
Description
Field
Showing IP Interface Information
Description
Field
3-31
Field
Description
3-32
Field
Description
Field
Showing Link-State Databases
Description
3-33
Field
Table 3-6 Field Descriptions for the show ospf lsdb Command
Description
3-34
Description
Field
ADV Router
3-35
show ospf asegrep
Showing ASE Entries
Field
Description
Table 3-8 Field Descriptions for the show ospf advertise Command
Showing the Configured Advertised ASE Routes
Field
Description
Firewall Field
Showing the Redistribution Policy
Description
3-38
Showing OSPF Neighbors
Showing Summary Route Configuration Information
Field
Description
Description
Field
Address
3-40
3-41
Field
Description
3-42
Field
Description
Chapter 3 Configuring Open Shortest Path First OSPF
OSPF Configuration in a Startup-Configuration File
OSPF Configuration in a Startup-Configuration File
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
3-44
OL-4580-01
Protocol
Configuring the Address Resolution
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
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
Table 4-3 Field Descriptions for the show arp summary Command
Table 4-2 Field Descriptions for the show arp Command
Field
Description
Table 4-5 Field Descriptions for the show arp management-port Command
Table 4-4 Field Descriptions for the show arp config Command
# show arp config
Field
Showing ARP Information
Chapter 4 Configuring the Address Resolution Protocol
# show arp
# show arp file
4-10
Chapter 4 Configuring the Address Resolution Protocol
Showing ARP Information
OL-4580-01
RIP Configuration Quick Start Configuring RIP Advertise
Configuring Routing Information Protocol
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
Table 5-2 Field Descriptions for the show rip Command
Showing RIP Configurations
Field
Description
Table 5-3 Field Descriptions for the show rip globals Command
Table 5-2 Field Descriptions for the show rip Command continued
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
IP Configuration Quick Start Configuring an IP Route
Configuring the Internet Protocol
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
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
Configuring the IP Record Route
Configuring an IP Source 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
ip subnet-broadcast command
Forwarding IP Subnet Broadcast Addressed Frames
6-10
Configuring IP Unconditional Bridging
Configuring IP Opportunistic Layer 3 Forwarding
6-11
Internet Router1 default Subnet CSS
Figure 6-1 Example of Opportunistic Layer 3 Forwarding
VLAN1 End Station A
Showing IP Global Configuration Parameters
Showing IP Configuration Information
Showing IP Interface Information Showing IP Routing Information
Showing IP Statistics Showing a Summary of IP Global Statistics
Table 6-2 Field Descriptions for the show ip config Command
Showing IP Global Configuration Parameters
Field
Description
Showing IP Interface Information
Table 6-3 Field Descriptions for the show ip interfaces Command
Field
Description
Field
Showing IP Routing Information
Description
6-15
Field
Showing IP Statistics
Description
Field
Description
Field
6-17
TCP Statistics
Description
Field
6-18
ICMP Statistics
Description
Field
6-19
ARP Statistics
Showing a Summary of IP Global Statistics
Resetting IP Statistics
Field
Description
Description
Field
Total Hosts
6-21
Showing IP Configuration Information
Chapter 6 Configuring the Internet Protocol
6-22
OL-4580-01
C H A P T E R
Configuring the Cisco Discovery Protocol
CDP Configuration Quick Start Enabling CDP Setting the CDP Hold Time
CDP Configuration Quick Start
Setting the CDP Transmission Rate Showing CDP Information
Task and Command Example
cdp holdTime 255 cdp timer
Setting the CDP Hold Time
Enabling CDP
Showing CDP Information
Setting the CDP Transmission Rate
config# show cdp Global CDP information
Sending CDP packets every 60 seconds
DHCP Relay Agent Configuration Quick Start
Configuring the DHCP Relay Agent
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
Enabling and Disabling DHCP on the Circuit
Adding a DHCP Destination on a Circuit
Defining the Hops Field Value for Forwarding DHCP Messages
Displaying the DHCP Relay Configuration
Field
Description
Description
Field
OL-4580-01
Chapter 8 Configuring the DHCP Relay Agent
Displaying the DHCP Relay Configuration
IN-1
I N D E
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