Upload
sandro-omar-lizano-guzman
View
235
Download
0
Embed Size (px)
Citation preview
8/13/2019 Quick Software Configuration 6000's
1/56
170 West Tasman DriveSan J ose, CA 95134-1706USAhttp://www.cisco.com
Cisco Systems, Inc.Corporate Headquarters
Tel:800 553-NETS (6387)408 526-4000
Fax: 408 526-4100
C atalyst 60 0 0 Fam ily QuickSoftware Configuration GuideSoftware Release 6.x
Customer Order Number: DOC-7811206=
Text Part Number: 78-11206-01
8/13/2019 Quick Software Configuration 6000's
2/56
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 Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as
part of UCBs public domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.
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.
Access Registrar, AccessPath, Any to Any, Are You Ready, AtmDirector, Browse with Me, CCDA, CCDE, CCDP, CCIE, CCNA, CCNP, CCSI,
CD-PAC, the Cisco logo, Cisco Certified Internetwork Expert logo, CiscoLink, the Cisco Management Connection logo, the Cisco NetWorkslogo,the Cisco Powered Network logo, Cisco Systems Capital, the Cisco Systems Capital logo, Cisco Systems Networking Academy, the Cisco Systems
Networking Academy logo, the Cisco Technologies logo, Fast Step, FireRunner, Follow Me Browsing, FormShare, GigaStack, IGX, Intelligence in
the Optical Core, Internet Quotient, IP/VC, IQ Breakthrough, IQ Expertise, IQ FastTrack, IQ Readiness Scorecard, The IQ Logo, Kernel Proxy,
MGX, Natural Network Viewer, NetSonar, Network Registrar, the Networkers logo, Packet, PIX, Point and Click Internetworking, Policy Builder,
Precept, RateMux, ReyMaster, ReyView, ScriptShare, Secure Script, Shop with Me, SlideCast, SMARTnet, SVX, The Cell, TrafficDirector,
TransPath, VlanDirector, Voice LAN, Wavelength Router, Workgroup Director, and Workgroup Stack are trademarks; Changing the Way We Work,
Live, Play, and Learn, Empowering the Internet Generation, The Internet Economy, and The New Internet Economy are service marks; and Aironet,
ASIST, BPX, Catalyst, Cisco, Cisco IOS, the Cisco IOS logo, Cisco Systems, the Cisco Systems logo, the Cisco Systems Cisco Press logo,
CollisionFree, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, FastLink, FastPAD, FastSwitch, GeoTel, IOS, IP/TV, IPX, LightStream,
LightSwitch, MICA, NetRanger, Post-Routing, Pre-Routing, Registrar, StrataView Plus, Stratm, TeleRouter, and VCO are registered trademarks of
Cisco Systems, Inc. or its affiliates in the U.S. and certain other countries. All other trademarks mentioned in this document 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. (0005R)
Catalyst 6000 Family Quick Software Configuration Guide
Copyright 2000, Cisco Systems, Inc.
All rights reserved.
8/13/2019 Quick Software Configuration 6000's
3/56
iii
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
C O N T E N T S
Preface vii
Audience vii
Organization vii
Related Documentation viii
Conventions viii
Obtaining Documentation ix
W orld Wide Web ix
Documentation CD-ROM ix
Ordering Documentat ion x
Obtaining Technical Assistance x
Cisco Connect ion Online x
Technical A ssistance Center xi
Documentati on Feedback xii
C H A P T E R 1 Basic Software Configuration 1-1
Prepare to Configure the Sw itch 1-2
Estab lish a Console Port Connection 1-2
Set the Sw itch IP Address 1-3
Configure Ethernet Ports 1-5
Configure t he Global System Sett ings 1-7
Check Network Connectivity 1-8
8/13/2019 Quick Software Configuration 6000's
4/56
Contents
iv
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
C H A P T E R 2 Configuring VLANs 2-1
Configure VLAN Trunk Protocol 2-1
Configure the Switch as a VTP Server 2-2
Configure the Switch as a VTP Client 2-3
Configure the Switch as VTP Transparent 2-4
Configure VLAN s 2-5
Create VLANs 2-6
Assign Sw itch Ports to VLAN s 2-7
Configure VLAN Trunks 2-8
C H A P T E R 3 Configuring Key Software Features 3-1
Configure the Login Banner 3-1
Configure EtherChannel 3-2
Configure DN S 3-4
Configure CDP 3-5
C H A P T E R 4 Administering the Switch 4-1
M anage Configurati on Files 4-1
M anage System Images 4-3
Use t he Flash File System 4-5
Reset a M odule or the Sw itch 4-10
C H A P T E R 5 Default Configurations 5-1
Default Global System Configuration 5-1
Default Ethernet Configurat ion 5-2
Default VTP Configurat ion 5-3
8/13/2019 Quick Software Configuration 6000's
5/56
v
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Contents
Default VLAN Configuration 5-3
Default Trunk Configurati on 5-4
I N D E X
8/13/2019 Quick Software Configuration 6000's
6/56
Contents
vi
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
8/13/2019 Quick Software Configuration 6000's
7/56
vii
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Preface
This preface describes the audience, organization, and conventions of this
Catalyst 6000 Family Quick Software Configuration guide and provides
information on how to obtain related documentation.
AudienceThis guide is intended for switch administrators who are familiar with Ethernet,
Fast Ethernet, and Gigabit Ethernet LAN switches but may not have experience
configuring Catalyst 6000 family switches.
OrganizationThis guide is organized as follows:
Title Description
Basic Software Configuration Describes how to configure the switch for
basic network connectivity.
Configuring VLANs Describes how to configure the VLAN Trunk
Protocol (VTP), VLANs, and Ethernet trunk
ports.
Configuring Key SoftwareFeatures
Describes how to configure a variety of usefulsoftware features.
8/13/2019 Quick Software Configuration 6000's
8/56
Preface
Related Documentation
viii
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Related DocumentationThis guide does not fully describe the operation and options for the software
features discussed. Refer to the following documents for complete information:
Release notes for your software release
Catalyst 6000 Family Software Configuration Guide Catalyst 6000 Family Command Reference
ConventionsThis document uses the following conventions:
Administering the Switch Describes how to perform basic switch
administration, including configuration file
and software image management.
Default Configurations Lists default configuration information for the
Catalyst 6000 family software.
Title Description
Convention Description
boldfacefont Commands and keywords are in boldface.
italicfont Arguments for which you supply values are in italics.
[ ] Elements in square brackets are optional.
{ x | y | z } Alternative keywords are grouped in braces and
separated by vertical bars.
[ x | y | z ] Optional alternative keywords are grouped in brackets
and separated by vertical bars.
string A nonquoted set of characters. Do not use quotation
marks around the string or the string will include the
quotation marks.
8/13/2019 Quick Software Configuration 6000's
9/56
ix
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Preface
Obtaining Documentation
Notes use the following conventions:
Note Means reader take note. Notes contain helpful suggestions or
references to material not covered in the publication.
Obtaining Documentation
World Wide Web
You can access the most current Cisco documentation on the World Wide Web at
http://www.cisco.com, http://www-china.cisco.com, or
http://www-europe.cisco.com.
Documentation CD-ROM
Cisco documentation and additional literature are available in a CD-ROM
package, which ships with your product. The Documentation CD-ROM is updated
monthly. Therefore, it is probably more current than printed documentation. The
CD-ROM package is available as a single unit or as an annual subscription.
screenf ont Terminal sessions and information the system displays
are in screenfont.
boldface screenfont Information you must enter is inboldface screenfont.
italic screenfont Arguments for which you supply values are in italic
screenfont.
^ The symbol represents the key labeled Controlfor
example, the key combination ^D in a screen displaymeans hold down the Control key while you press the
D key.
< > Nonprinting characters, such as passwords are in angle
brackets.
Convention Description
8/13/2019 Quick Software Configuration 6000's
10/56
Preface
Obtaining Technical Assistance
x
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Ordering Documentation
Registered CCO users can order the Documentation CD-ROM and other Cisco
Product documentation through our online Subscription Services at
http://www.cisco.com/cgi-bin/subcat/kaojump.cgi.
Nonregistered CCO users can order documentation through a local account
representative by calling Ciscos corporate headquarters (California, USA) at
408 526-4000 or, in North America, call 800 553-NETS (6387).
Obtaining Technical AssistanceCisco provides Cisco Connection Online (CCO) as a starting point for all
technical assistance. Warranty or maintenance contract customers can use the
Technical Assistance Center. All customers can submit technical feedback on
Cisco documentation using the web, e-mail, a self-addressed stamped response
card included in many printed docs, or by sending mail to Cisco.
Cisco Connection Online
Cisco continues to revolutionize how business is done on the Internet. Cisco
Connection Online is the foundation of a suite of interactive, networked services
that provides immediate, open access to Cisco information and resources at
anytime, from anywhere in the world. This highly integrated Internet application
is a powerful, easy-to-use tool for doing business with Cisco.
CCOs broad range of features and services helps customers and partners to
streamline business processes and improve productivity. Through CCO, you will
find information about Cisco and our networking solutions, services, and
programs. In addition, you can resolve technical issues with online support
services, download and test software packages, and order Cisco learning materials
and merchandise. Valuable online skill assessment, training, and certification
programs are also available.
Customers and partners can self-register on CCO to obtain additional
personalized information and services. Registered users may order products,
check on the status of an order and view benefits specific to their relationships
with Cisco.
8/13/2019 Quick Software Configuration 6000's
11/56
xi
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Preface
Obtaining Technical Assistance
You can access CCO in the following ways:
WWW: www.cisco.com
Telnet: cco.cisco.com
Modem using standard connection rates and the following terminal settings:
VT100 emulation; 8 data bits; no parity; and 1 stop bit.
From North America, call 408 526-8070
From Europe, call 33 1 64 46 40 82
You can e-mail questions about using CCO to [email protected].
Technical Assistance Center
The Cisco Technical Assistance Center (TAC) is available to warranty or
maintenance contract customers who need technical assistance with a Ciscoproduct that is under warranty or covered by a maintenance contract.
To display the TAC web site that includes links to technical support information
and software upgrades and for requesting TAC support, use
www.cisco.com/techsupport.
To contact by e-mail, use one of the following:
In North America, TAC can be reached at 800 553-2447 or 408 526-7209. For
other telephone numbers and TAC e-mail addresses worldwide, consult the
following web site:
http://www.cisco.com/warp/public/687/Directory/DirTAC.shtml.
Language E-mail Address
English [email protected]
Hanzi (Chinese) [email protected]
Kanji (Japanese) [email protected]
Hangul (Korean) [email protected]
Spanish [email protected]
Thai [email protected]
8/13/2019 Quick Software Configuration 6000's
12/56
Preface
Obtaining Technical Assistance
xii
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Documentation Feedback
If you are reading Cisco product documentation on the World Wide Web, you can
submit technical comments electronically. Click Feedbackin the toolbar and
select Documentation. After you complete the form, click Submitto send it to
Cisco.
You can e-mail your comments to [email protected].
To submit your comments by mail, for your convenience many documents containa response card behind the front cover. Otherwise, you can mail your comments
to the following address:
Cisco Systems, Inc.
Document Resource Connection
170 West Tasman Drive
San Jose, CA 95134-9883
We appreciate and value your comments.
8/13/2019 Quick Software Configuration 6000's
13/56
C H A P T E R
1-1
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
1
Basic Software Configuration
Very little configuration is required to establish basic connectivity to your
Catalyst 6000 family switch. This section describes the basic tasks needed to get
your switch up and running:
Step 1 Prepare to Configure the SwitchGather the information you need to configure
the switch.
Step 2 Establish a Console Port ConnectionConnect to the switch via the console port
to access the command-line interface (CLI).
Step 3 Set the Switch IP AddressAssign an IP address, subnet mask, and default
gateway to the switch interface.Step 4 Configure Ethernet PortsMake sure the Ethernet, Fast Ethernet, and Gigabit
Ethernet ports are properly configured to communicate with connected devices.
Step 5 Configure the Global System SettingsConfigure global settings such as system
name, date and time, prompt, and passwords.
Step 6 Check Network ConnectivityUse the pingand traceroutecommands to test
network connectivity.
Ch t 1 B i S ft C fi ti
8/13/2019 Quick Software Configuration 6000's
14/56
Chapter1 Basic Software Configuration
Prepare to Configure the Switch
1-2
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Prepare to Configure the SwitchBefore you configure the switch, make sure the switch, modules, and power
supplies are installed and cabled as described in the Catalyst 6000 Family
Installation Guideand Catalyst 6000 Family Module Installation Guide
publications.
Before you begin configuring the switch, you should collect the following
information:
A map or diagram of your network topology showing how the Catalyst 6000
family switch will be used in the network.
The IP address and netmask for the switch. You will assign this address to the
in-band (sc0) interface on the switch.
Establish a Console Port ConnectionConnecting a terminal to the supervisor engine console port allows you to access
the switch CLI before the switch is configured and connected to the network.
Note Refer to the Catalyst 6000 Family Module Installation Guide for
information on connecting a terminal to the console port.
You must enter privileged mode to perform most of the tasks described in this
publication. Enter the enablecommand to enter privileged mode.
Chapter1 BasicSoftwareConfiguration
8/13/2019 Quick Software Configuration 6000's
15/56
1-3
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Chapter1 Basic Software Configuration
Set the Switch IP Address
To connect to the switch via the console port and enter privileged mode, perform
these steps:
This example shows how to enter privileged mode (by default, both the normal
and privileged mode passwords are not set; press Returnat the Enter Password
prompts):
Cisco Systems Console
Enter password:
Console> enableEnter password:
Console> (enable)
Set the Switch IP Address
Before you can Telnet to your Catalyst 6000 family switch, you need to assign anIP address, a netmask, and a default gateway to allow the switch to use IP.
Task Command
Step1 Make sure the terminal connected to
the console port is configured as
follows: 9600 baud, 8 data bits, no
parity, 2 stop bits.
Step2 Power up the switch. Output from the
bootup script appears on the terminal
screen.
Step3 At the Enter Password prompt, press
Return.
Step4 Enter privileged mode. enable
Step5 At the Enter Password prompt, press
Return.
Chapter1 BasicSoftwareConfiguration
8/13/2019 Quick Software Configuration 6000's
16/56
Chapter1 Basic Software Configuration
Set the Switch IP Address
1-4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
When configuring the switch for the first time, assign the in-band (sc0) interface
to the default VLAN, VLAN 1. After you have configured additional VLANs, youcan assign the interface to any VLAN. Make sure the IP address you specify
belongs to the subnet associated with that VLAN.
To assign an IP address, netmask, and default gateway to your switch, perform
these steps in privileged mode:
Task Command
Step1 Assign an IP address and netmask to
the switch.
set interface sc0 ip_addr/netmask
Step2 (Optional) Assign the switch interface
to a VLAN. (If you do not specify a
VLAN, VLAN 1 is used.)
set interface sc0vlan_num
Step3 Assign a default gateway to the switch. set ip route default gateway
Step4 Verify the in-band interface
configuration.
show interface
Step5 Verify the default gateway assignment. show ip route
Step6 Test connectivity to a remote host on
the network.
ping[-s] host[packet_size]
[packet_count]
Chapter1 Basic Software Configuration
8/13/2019 Quick Software Configuration 6000's
17/56
1-5
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
C ape ascSo aeCo gua o
Configure Ethernet Ports
This example shows how to assign an IP address and default gateway to the
switch, verify the configuration, and check connectivity to a remote host:Console> (enable) set interface sc0 10.1.1.50/255.0.0.0
Interface sc0 IP address and netmask set.
Console> (enable) set interface sc0 100
Interface sc0 vlan set.
Console> (enable) set ip route default 10.1.1.1
Route added.
Console> (enable) show interface
sl0: flags=51
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63
vlan 100 inet 10.1.1.50 netmask 255.0.0.0 broadcast 10.255.255.255
Console> (enable) show ip route
Fragmentation Redirect Unreachable
------------- -------- -----------
enabled enabled enabled
Destination Gateway Flags Use Interface
----------------------- ----------------------- ------ ---------- ---------
default 10.1.1.1 UG 0 sc0
10.0.0.0 10.1.1.50 U 0 sc0
default default UH 0 sl0
Console> (enable)ping 10.1.1.100
10.1.1.100 is alive
Console> (enable)
Configure Ethernet PortsEthernet, Fast Ethernet, and Gigabit Ethernet ports on both ends of a link must use
the same port speed and duplex. Ethernet and Fast Ethernet ports autonegotiate
duplex mode. 10/100-Mbps Fast Ethernet ports autonegotiate port speed. Gigabit
Ethernet ports are always full duplex.
Chapter1 Basic Software Configuration
8/13/2019 Quick Software Configuration 6000's
18/56
p g
Configure Ethernet Ports
1-6
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
To set the port configuration on Ethernet ports, perform these steps in privileged
mode:
This example shows how to configure a 10/100-Mbps Fast Ethernet port to
autonegotiate speed and duplex, set the port name, and verify the port
configuration:
Console> (enable) set port speed 2/12 auto
Port 2/12 speed set to auto detect.
Console> (enable) set port name 2/12 NT Server 12
Port 2/12 name set.
Console> (enable) show port 2/12
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
2/12 NT Server 12 connect 1 normal a-half a-100 10/100BaseTX
Console> (enable)
Task Command
Step1 On 10/100-Mbps Fast Ethernet ports,
set the port speed. Use the auto
keyword to configure the port to
autonegotiate both port speed and
duplex mode with the connected port.
set port speedmod_num/port_num
{10 | 100 | auto}
Step2 On Ethernet or Fast Ethernet ports, set
the port duplex mode. Use the auto
keyword to configure the port to
autonegotiate duplex mode1.
1. On 10/100-Mbps Fast Ethernet ports, you cannot change the duplex mode manually if the port speed is set
to auto.
set port duplexmod_num/port_num
{full | half| auto}
Step3 Enable the port, if necessary. set port enablemod_num/port_num
Step4 Set the port name, if desired. set port namemod_num/port_numname_string
Step5 Verify the port configuration. show portmod_num/port_num
Chapter1 Basic Software Configuration
8/13/2019 Quick Software Configuration 6000's
19/56
1-7
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Configure the Global SystemSettings
Configure the Global SystemSettingsYou can specify a variety of useful global system settings for your switch, such as
system name, current date and time, system prompt, and passwords.
To configure the global system settings, perform these steps in privileged mode:
This example shows how to configure the global system settings:
Console> (enable) set system name Catalyst 6000System name set.
Catalyst 6000> (enable) set time 08/18/98 10:08:00
Sat Apr 18 1998, 10:08:00
Catalyst 6000> (enable) set password
Enter old password:
Enter new password:
Retype new password:
Password changed.
Catalyst 6000> (enable) set enablepassEnter old password:
Enter new password:
Retype new password:
Password changed.
Catalyst 6000> (enable)
Task Command
Step1 Set the system name. set system namename_string
Step2 Set the current date and time. set timemm/dd/yyhh:mm:ss
Step3 Set the system prompt. (By default, if
the system name is set, it is used as the
prompt. Use this command to override
the default name.)
set promptprompt_string
Step4 Set the console password (used toaccess the switch CLI).
set password
Step5 Set the enable password (used to
access privileged configuration mode).
set enablepass
Chapter1 Basic Software Configuration
Ch kN t kC ti it
8/13/2019 Quick Software Configuration 6000's
20/56
Check Network Connectivity
1-8
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Check Network ConnectivityAfter you assign an IP address and a default gateway and connect at least one
properly configured switch port to the network, you should be able to
communicate with other nodes on the network.
To check whether the switch is properly connected and configured, perform these
steps in privileged mode:
Task Command
Step1 Ping another node on the network. ping[-s] host[packet_size]
[packet_count]
Step2 (Optional) Trace the route of packets
through the network to another node
(only Layer 3 devices, such as routers,
will appear in the path).
traceroute [-qnqueries] host
[data_size]
Step3 If the host is unresponsive, check the
IP address, subnet mask, broadcast
address, and VLAN assignment of the
in-band (sc0) switch interface.
show interface
Step4 If the interface is properly configured,
check the default gateway assignment.
show ip route
Chapter1 Basic Software Configuration
CheckNetworkConnectivity
8/13/2019 Quick Software Configuration 6000's
21/56
1-9
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Check Network Connectivity
This example shows how to check connectivity out a switch port using the ping
and traceroutecommands:
Console> (enable)ping -s 172.20.52.20 1200 4
PING 172.20.52.20: 1200 data bytes
1208 bytes from 172.20.52.20: icmp_seq=0. time=6 ms
1208 bytes from 172.20.52.20: icmp_seq=1. time=6 ms
1208 bytes from 172.20.52.20: icmp_seq=2. time=6 ms
1208 bytes from 172.20.52.20: icmp_seq=3. time=5 ms
----172.20.52.20 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 5/5/6
Console> (enable) traceroute 172.20.52.20 1400
traceroute to 172.20.52.20 (172.20.52.20), 30 hops max, 1440 byte
packets
1 172.20.52.33 (172.20.52.33) 2 ms 3 ms 1 ms
2 172.20.52.20 (172.20.52.20) 4 ms * 4 ms
Console> (enable)
Chapter1 Basic Software Configuration
CheckNetworkConnectivity
8/13/2019 Quick Software Configuration 6000's
22/56
Check Network Connectivity
1-10
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
8/13/2019 Quick Software Configuration 6000's
23/56
C H A P T E R
2-1
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
2Configuring VLANs
To configure VLANs on your Catalyst 6000 family switch, perform these steps:
Step 1 Configure VLAN Trunk ProtocolCreate a VLAN Trunk Protocol (VTP) domain
and set the VTP mode on the switch.
Step 2 Configure VLANsCreate VLANs in the VTP domain and place the switch ports
in those VLANs.
Step 3 Configure VLAN TrunksConfigure trunk ports between switches to transport
traffic from multiple VLANs.
Configure VLAN Trunk ProtocolVTP propagates information about the VLAN configuration throughout the
switched network. A Catalyst 6000 family switch can operate in any one of these
three VTP modes: ServerVTP servers advertise their VLAN configuration to other switches
in the same VTP domain and synchronize their VLAN configuration with
other switches based on advertisements received over trunk links. VTP server
is the default mode.
ClientVTP clients are similar to VTP servers, except that you cannot
create, change, or delete VLANs on a VTP client.
Chapter2 Configuring VLANs
Configure VLAN Trunk Protocol
8/13/2019 Quick Software Configuration 6000's
24/56
g
2-2
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
TransparentVTP transparent switches do not participate in VTP. A VTP
transparent switch does not advertise its VLAN configuration and does not
synchronize its VLAN configuration based on received advertisements.
Note Before you configure VLANs on the switch, you should decide
whether to use VTP. If you choose to use VTP, decide if the switch
should function as a VTP client or a VTP server. If you are
connecting the switch to an existing network, make sure your VTP
configuration is compatible with the rest of the network.
Configure the Switch as a VTP Server
When you configure a switch as a VTP server, you must define a VTP domain
before you can create VLANs.
To configure a switch as a VTP server, perform these steps in privileged mode:
Task Command
Step1 Assign a name to the VTP management
domain.
set vtp domainname
Step2 Set the VTP mode. set vtp mode serverStep3 Verify the VTP configuration. show vtp domain
Chapter2 Configuring VLANs
Configure VLAN Trunk Protocol
8/13/2019 Quick Software Configuration 6000's
25/56
2-3
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure a switch as a VTP server:
Console> (enable) set vtp domain BigCorpVTP domain BigCorp modified
Console> (enable) set vtp mode server
VTP domain BigCorp modified
Console> (enable) show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
BigCorp 1 2 server -
Vlan-count Max-vlan-storage Config Revision Notifications---------- ---------------- --------------- -------------
9 1023 0 enabled
Last Updater V2 Mode Pruning PruneEligible on Vlans
--------------- -------- -------- -------------------------
172.20.52.40 disabled disabled 2-1000
Console> (enable)
Configure the Switch as a VTP Client
When you configure a switch as a VTP client, you cannot configure VLANs on
the switch; instead, you configure VLANs on a VTP server in the same VTP
domain as the client. The VTP client synchronizes its VLAN configuration to the
configuration of the server.
To configure a switch as a VTP client, perform these steps in privileged mode:
Task Command
Step1 Assign a name to the VTP management
domain.
set vtp domainname
Step2 Set the VTP mode. set vtp mode client
Step3 Verify the VTP configuration. (It might
take a few minutes before a VTP client
learns the VTP and VLAN
configuration information from
neighboring switches.)
show vtp domain
Chapter2 Configuring VLANs
Configure VLAN Trunk Protocol
8/13/2019 Quick Software Configuration 6000's
26/56
2-4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure a switch as a VTP client:
Console> (enable) set vtp domain BigCorpVTP domain BigCorp modified
Console> (enable) set vtp mode client
VTP domain BigCorp modified
Console> (enable) show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
BigCorp 1 2 client -
Vlan-count Max-vlan-storage Config Revision Notifications---------- ---------------- --------------- -------------
9 1023 0 enabled
Last Updater V2 Mode Pruning PruneEligible on Vlans
--------------- -------- -------- -------------------------
172.20.52.40 disabled disabled 2-1000
Console> (enable)
Configure the Switch as VTP Transparent
When you configure a switch as VTP transparent, you must configure VLAN
information manually on the switch. A VTP-transparent switch does not advertise
VLAN information to other switches and will ignore VTP updates from VTP
clients and servers.
To configure a switch for VTP transparent mode, perform these steps in privileged
mode:
Task Command
Step1 Set the VTP mode. set vtp mode transparent
Step2 Verify the VTP configuration. show vtp domain
Chapter2 Configuring VLANs
Configure VLANs
8/13/2019 Quick Software Configuration 6000's
27/56
2-5
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure a switch as VTP transparent:
Console> (enable) set vtp mode transparentVTP domain modified
Console> (enable) show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
1 2 Transparent -
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
9 1023 0 enabled
Last Updater V2 Mode Pruning PruneEligible on Vlans
--------------- -------- -------- -------------------------
172.20.52.40 disabled disabled 2-1000
Console> (enable)
Configure VLANsWhen you properly configure a switch for VTP, you can create, modify, and delete
VLANs on the switch (unless you configured the switch as a VTP client). When
you configure a VLAN on a VTP server, the configuration information is
distributed to switches throughout the VTP domain.
VTP clients and servers in the same domain update their VLAN configuration
based on the advertised configuration. VTP transparent switches do not act on
VTP updates; you must make changes to the VLAN configuration locally on such
switches.
Typically, in an IP network, each VLAN is associated with a single IP subnetwork.
That is, all of the hosts in a given VLAN belong to a single subnet, use the same
subnet mask, and use one or more default gateways connected to that subnetwork.
Stations in different VLANs cannot communicate with one another without either
a router configured to route between the different VLANs or manually configured
(static) routes configured on the switches.
The Catalyst 6000 family software supports many VLAN types, including
Ethernet, FDDI, ATM, and Token Ring.
Chapter2 Configuring VLANs
Configure VLANs
8/13/2019 Quick Software Configuration 6000's
28/56
2-6
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Note Two Token Ring VLAN types are supported on switches runningVTP version 2: Token Ring TrBRF VLANs and Token Ring TrCRF
VLANs. Catalyst 6000 family switches do not support
ISL-encapsulated Token Ring frames.
This section describes how to configure Ethernet VLANs only. For information
about configuring other types of VLANs, refer to the Catalyst 6000 Family
Software Configuration Guide.
Create VLANs
To configure an Ethernet VLAN in a VTP domain, perform these steps in
privileged mode:
This example shows how to create a VLAN and verify the VLAN configuration:
Console> (enable) set vlan 100 name Pubs
Vlan 100 configuration successful
Console> (enable) show vlan 100
VLAN Name Status Mod/Ports, Vlans
---- -------------------------------- --------- ----------------------------
100 Pubs active
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
100 enet 100100 1500 - - - - - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
Console> (enable)
Task Command
Step1 Create a VLAN by assigning it a
VLAN number and, if desired, a
VLAN name.
set vlanvlan_num[namename]
Step2 Verify the VLAN configuration. show vlanvlan_num
Chapter2 Configuring VLANs
Configure VLANs
8/13/2019 Quick Software Configuration 6000's
29/56
2-7
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Assign Switch Ports to VLANs
After you create a VLAN, you can assign one or more switch ports to the VLAN.
Devices connected to those ports will belong to that VLAN. Make sure the
connected device is properly configured with an IP address, subnet mask, and
default gateway in the subnet used for the VLAN.
To add a switch port to a VLAN, perform these steps in privileged mode:
Task Command
Step1 Add one or more switch ports to a
VLAN.
set vlanvlan_num
mod_num/port_num
Step2 Verify that the ports are properly
assigned to the VLAN.
show vlanvlan_num
Step3 Check to which VLAN a particular
port belongs.
show port[mod_num/port_num]
Chapter2 Configuring VLANs
Configure VLAN Trunks
8/13/2019 Quick Software Configuration 6000's
30/56
2-8
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to assign ports to a VLAN and how to verify to which
VLAN the ports belong:
Console> (enable) set vlan 100 2/1-4
VLAN 100 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
100 2/1-4
Console> (enable) show vlan 100
VLAN Name Status Mod/Ports, Vlans---- -------------------------------- --------- ----------------------------
100 Pubs active 2/1-4
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
100 enet 100100 1500 - - - - - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
Console> (enable) show port 2
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
2/1 notconnect 100 normal half 100 100BaseTX
2/2 notconnect 100 normal half 100 100BaseTX
2/3 notconnect 100 normal half 100 100BaseTX
2/4 notconnect 100 normal half 100 100BaseTX
2/5 notconnect 1 normal half 100 100BaseTX
Console> (enable)
Configure VLAN TrunksVLAN trunks are point-to-point links that carry the traffic of multiple VLANs.
Trunk ports are useful in the network backbone, where traffic from many VLANs
is handled.
All Ethernet ports can use Inter-Switch Link (ISL) or IEEE 802.1Q encapsulation
for trunking.
Chapter2 Configuring VLANs
Configure VLAN Trunks
8/13/2019 Quick Software Configuration 6000's
31/56
2-9
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
By default, all Ethernet ports are set to negotiateand attempt to use ISL
encapsulation.
If the port on the other end of the link is set to desirableor on, a port set to auto
automatically becomes a trunk port. (For complete information on the various
trunk modes and encapsulation types, refer to the Catalyst 6000 Family Software
Configuration Guide.)
To configure an Ethernet port as a trunk, perform these steps in privileged mode:
This example shows how to configure a port to become a trunk and how to verify
the trunk configuration (this example assumes that the port on the other end of the
link is set to auto):
Console> (enable) set trunk 1/2 desirable
Port(s) 1/2 trunk mode set to desirable.
Console> (enable) 07/22/1998,10:16:58:DTP-5:Port 1/2 has become isl trunk
07/22/1998,10:16:58:PAGP-5:Port 1/2 left bridge port 1/2.07/22/1998,10:17:09:PAGP-5:Port 1/2 joined bridge port 1/2.
Console> (enable) show trunk 1/2
Port Mode Encapsulation Status Native vlan
-------- ----------- ------------- ------------ -----------
1/2 desirable isl trunking 523
Port Vlans allowed on trunk
-------- ---------------------------------------------------------------------
1/2 1-1005
Port Vlans allowed and active in management domain-------- ---------------------------------------------------------------------
1/2 1,10,105,152,521-524
Port Vlans in spanning tree forwarding state and not pruned
-------- ---------------------------------------------------------------------
1/2 1,10,105,152,521-524
Console> (enable)
Task Command
Step1 Configure a port as a trunk. A message
appears on the console indicating that
the port has become a trunk.
set trunkmod_num/port_num {on|
desirable | auto} {isl| dot1q|
negotiate}
Step2 Verify that the trunk configuration is
correct.
show trunk
Chapter2 Configuring VLANs
Configure VLAN Trunks
8/13/2019 Quick Software Configuration 6000's
32/56
2-10
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
8/13/2019 Quick Software Configuration 6000's
33/56
C H A P T E R
3-1
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
3Configuring Key Software Features
This section describes how to configure the following software features:
Configure the Login BannerHow to change the message-of-the-day
display.
Configure EtherChannelHow to configure EtherChannel on Ethernet ports.
Configure DNSHow to configure the switch to use the Domain Name
System (DNS).
Configure CDPHow to enable the Cisco Discovery Protocol (CDP).
Configure the Login BannerThe login banner, or message of the day, is the text that appears onscreen when
you open a Telnet session or console port connection to the switch. The login
banner can be up to 255 characters long.
To configure the login banner, perform these steps in privileged mode:
Task Command
Step1 Enter the message of the day (where c
is a character that signifies the
beginning and end of the message).
set banner motdc[text] c
Chapter3 Configuring Key Software Features
Configure EtherChannel
8/13/2019 Quick Software Configuration 6000's
34/56
3-2
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure the login banner and how to verify the
banner configuration (when connected via the console port):
Console> (enable) set banner motd *Catalyst 6000
Software Release 6.1
IP address 10.1.1.20
*
MOTD banner set
Console> (enable) exit
Cisco Systems Console
Catalyst 6000
Software Release 6.1
IP address 10.1.1.20
Enter password:
Configure EtherChannelEtherChannel provides parallel bandwidth of up to 1600 Mbps (Fast
EtherChannel full duplex) or 16 Gbps (Gigabit EtherChannel full duplex)
between a Catalyst 6000 family switch and another switch or host by grouping
multiple Fast or Gigabit Ethernet interfaces into a single logical transmission
path.
Step2 If you are connected to the switch viathe console port, verify the login
banner by ending your session.
exit
Step3 If you are connected to the switch via
Telnet, exit and reconnect, or view the
configuration file.
show configuration
Task Command
Chapter3 Configuring Key Software Features
Configure EtherChannel
8/13/2019 Quick Software Configuration 6000's
35/56
3-3
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
A Catalyst 6000 family switch supports a maximum of 128 EtherChannels. You
can form an EtherChannel with up to eight compatibly configured Ethernet ports
on any module in a Catalyst 6000 family switch. All ports in each EtherChannelmust be the same speed: 10, 100, or 1000 Mbps.
The Port Aggregation Protocol (PAgP) negotiates EtherChannel port groups
automatically. By default, Ethernet ports are set to auto. If a group of
EtherChannel ports set to autois connected to a group of ports set to desirableor
on, PAgP automatically creates an EtherChannel connection between those ports.
For complete information on the various EtherChannel modes, refer to the
Catalyst 6000 Family Software Configuration Guide.
Configuring an EtherChannel creates an administrative group, designated by an
integer between 1 and 1024, to which the EtherChannel belongs. When an
administrative group is created, you can assign an administrative group number or
let the next available administrative group number be assigned automatically.
Forming a channel without specifying an administrative group number creates a
new automatically numbered administrative group.
Note Before enabling EtherChannel, verify that all the ports in the channel
are enabled, are assigned to the same VLAN, and have the same
configuration on both ends of the channel.
To configure EtherChannel on a group of Ethernet ports, perform this task in
privileged mode:
Task Command
Create the EtherChannel on the desired
ports.
set port channelmod/portmode{on |
off |desirable |auto} [silent |
non-silent]
Chapter3 Configuring Key Software Features
Configure DNS
8/13/2019 Quick Software Configuration 6000's
36/56
3-4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to create a six-port EtherChannel in administrative
group 2:
Console> (enable) set port channel 2/2-7 2 mode desirable
Ports 2/2-7 left admin_group 1.
Ports 2/2-7 joined admin_group 2.
admin_group Ports
----------- -------------------------------------------------
1 1/1-2
2 2/2-7
Ports 2/2-7 channel mode set to desirable.
Console> (enable)
Configure DNSDomain Name System (DNS) allows you to use host names instead of IP
addresses to refer to other devices on the network. To use DNS, you must have
one or more name servers connected to the network.
To configure DNS, perform these steps in privileged mode:
Task Command
Step1 Set the address of the DNS server. The
first address entered is considered the
primary server. If more than one serveris entered, you can use the primary
keyword to make a particular name
server the primary server.
set ip dns serverip_addr[primary]
Step2 Set the domain name. set ip dns domainname
Step3 Enable DNS. setipdnsenable
Step4 Verify the DNS configuration. Use thenoaliaskeyword to show IP addresses
instead of server names.
show ip dns[noalias]
Chapter3 Configuring Key Software Features
Configure CDP
8/13/2019 Quick Software Configuration 6000's
37/56
3-5
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure the switch to use DNS and how to verify
the DNS configuration:
Console> (enable) set ip dns server 10.1.1.100 primary
10.1.1.100 added to DNS server table as primary server.
Console> (enable) set ip dns server 10.1.1.122
10.1.1.122 added to DNS server table as backup server.
Console> (enable) set ip dns domain bigcorp.com
Default DNS domain name set to bigcorp.com
Console> (enable) set ip dns enable
DNS is enabled
Console> (enable) show ip dnsDNS is currently enabled.
The default DNS domain name is: bigcorp.com
DNS name server status
---------------------------------------- -------
10.1.1.100 primary
10.1.1.122
Console> (enable)
Configure CDPCisco Discovery Protocol (CDP) is a media- and protocol-independent protocol
that runs on all Cisco-manufactured equipment including routers, bridges, access
servers, and switches. CDP allows a Catalyst 6000 family switch to learn the
device type and other information about neighboring devices. CDP messages are
sent every 60 seconds by default.
To configure CDP, perform these steps in privileged mode:
Task Command
Step1 Enable CDP on the switch or on the
desired ports.
set cdp enable[mod_num/port_num ]
Step2 (Optional) Set the message interval
for CDP. The allowed range is
5900 seconds.
set cdp intervalinterval
Chapter3 Configuring Key Software Features
Configure CDP
8/13/2019 Quick Software Configuration 6000's
38/56
3-6
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to configure CDP on all ports, how to set the message
interval to 100 seconds for all ports, how to verify the CDP configuration, and
how to view information about the neighboring devices:
Console> (enable) set cdp enable
CDP enabled for all ports.
Console> (enable) set cdp interval 100
CDP message interval set to 100 seconds for all ports.
Console> (enable) show cdp port
Port CDP Status Message-Interval
-------- ---------- ----------------
1/1 enabled 100
1/2 enabled 100
2/1 enabled 100Console> (enable) show cdp neighbors
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port Device-ID Port-ID Platform
-------- ------------------------------- ------------------------- ------------
3/5 002267619(cat1.cisco.com) 3/6 * WS-C5000
3/6 002267619(cat1.cisco.com) 3/5 WS-C5000
4/1 002267619(cat1.cisco.com) 4/2 WS-C50004/2 002267619(cat1.cisco.com) 4/1 # WS-C5000
4/20 069000057(cat2.cisco.com) 8/5 WS-C5500
5/1 005763872(cat3.cisco.com) 2/1 WS-C5000
5/1 066506245(cat4.cisco.com) 2/1 WS-C5505
5/1 066508595(cat5.cisco.com) 5/12 *# WS-C5505
5/1 066508596(cat6.cisco.com) 5/1 WS-C5505
Console> (enable)
Step3 (Optional) Set the time that CDPframes are held by the device that
receives them before being aged out.
The allowed range is 10255 seconds
(default: 180 seconds).
set cdp holdtimeinterval
Step4 Verify the CDP configuration. show cdp port[mod_num[/port_num]]
Step5 View information about CDP
neighbors.
show cdp neighbors
[mod_num[/port_num]] [vlan |
duplex | capabilities | detail]
Task Command
8/13/2019 Quick Software Configuration 6000's
39/56
Chapter4 Administering the Switch
Manage Configuration Files
8/13/2019 Quick Software Configuration 6000's
40/56
4-2
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to display the current configuration:
Console> (enable) show config
.....
..........
..........
.........
.........
...........
..
begin
set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set prompt Console>
set length 24 default
set logout 20
set banner motd ^C
Catalyst 6000 #2
Software Release 6.1
IP address 172.20.52.70^C
!
#system
set system baud 9600
set system modem disable
set system name
set system location
set system contact
!
#switch port analyzer
set span disable
!
#cam
set cam agingtime 1,100,522-524,1003,1005 300
end
Console> (enable)
8/13/2019 Quick Software Configuration 6000's
41/56
Chapter4 Administering the Switch
Manage SystemImages
8/13/2019 Quick Software Configuration 6000's
42/56
4-4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to copy a software image from a TFTP server, reset the
switch, and check the version of the installed software image:
Console> (enable) copy tftp flash
IP address or name of remote host []? 172.20.52.3
Name of file to copy from []? cat6000-sup.6-1-1.bin
Flash device [bootflash]?
Name of file to copy to [cat6000-sup.6-1-1.bin]?
4369664 bytes available on device bootflash, proceed (y/n) [n]? y
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCFile has been copied successfully.
Console> (enable) set boot system flash bootflash:cat6000-sup.6-1-1.bin prepend
BOOT variable = bootflash:cat6000-sup.6-1-1.bin,1;bootflash:cat6000-sup.6-1-1.bin
,1;
Console> (enable) reset system
This command will reset the system.
Do you want to continue (y/n) [n]? y
Console> (enable)
Autoboot executing command: "boot bootflash:cat6000-sup.6-1-1.bin"
Cisco Systems Console
Enter password:
Console> show flash
File Version Sector Size Built
--------------- -------------------- ------------ ------- -----------------
c6000 nmp 6.1(1) 02-11 1882546 08/15/00 14:06:03
Console>
Chapter4 Administering the Switch
Use the Flash File System
8/13/2019 Quick Software Configuration 6000's
43/56
4-5
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Use the Flash File SystemYou can use the Flash file system to store multiple system-software images and
configuration files locally on the switch (instead of having to save them to a TFTP
server).
Flash PC (PCMCIA) cards must be formatted before use. To format a Flash PC
card, or any Flash device, perform this task in privileged mode:
This example shows how to format a Flash PC card:
Console> (enable) format slot0:
All sectors will be erased, proceed (y/n) [n]? y
Enter volume id (up to 30 characters): Supervisor Flash Card
Formatting sector 1
Format device slot0 completed
Console> (enable)
To change the default Flash device and see which device is the current default,
perform this task:
Task Command
Format the desired Flash device. format[m/]device:
Task Command
Step1 Set the default Flash device for the
switch.
cddevice:
Step2 Verify the default Flash device for the
switch.
pwd
Chapter4 Administering the Switch
Use the Flash File System
8/13/2019 Quick Software Configuration 6000's
44/56
4-6
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to change the default Flash device and how to verify
which device is the default:
Console> (enable) cd slot0:
Console> (enable)pwd
slot0
Console> (enable) cd bootflash:
Console> (enable)pwd
bootflash
Console> (enable)
To copy Flash files between Flash devices or between a Flash device and a TFTPserver, perform these tasks in privileged mode:
Task Command
Copy the current configuration to a
Flash device or a TFTP server.
copy config{flash|file-id| tftp}
Copy a Flash file on the currentdefault Flash device to another
Flash device.
copyfile-id device:[file-id]
Copy a Flash file on the current
default Flash device to a TFTP
server.
copyfile-idtftp
Copy a file from a TFTP server to
a Flash device (you are prompted
for the Flash device name).
copy tftpfile-id
Chapter4 Administering the Switch
Use the Flash File System
8/13/2019 Quick Software Configuration 6000's
45/56
4-7
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to copy the current configuration to the current default
Flash device:
Console> (enable) copy config flash
Flash device [slot0]?
Name of file to copy to []? 6000_config.cfg
Upload configuration to slot0:6000_config.cfg
13259828 bytes available on device slot0, proceed (y/n) [n]? y
.....
..........
..........
..
Configuration has been copied successfully.
Console> (enable)
This example shows how to copy a file from the current default Flash device to a
different Flash device:
Console> (enable) copy 6000_config.cfg slot0:
16383872 bytes available on device slot0, proceed (y/n) [n]? y
File has been copied successfully.
Console> (enable)
This example shows how to copy a file from the current default Flash device to a
TFTP server:
Console> (enable) copy 6000_config.cfg tftp
IP address or name of remote host []? 10.1.1.3
Name of file to copy to [6000_config.cfg]?
-
File has been copied successfully.
Console> (enable)
Chapter4 Administering the Switch
Use the Flash File System
8/13/2019 Quick Software Configuration 6000's
46/56
4-8
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
This example shows how to copy a file from a TFTP server to a Flash device:
Console> (enable) copy tftp flash
IP address or name of remote host []? 10.1.1.3
Name of file to copy from []? 6000_config.cfg
Flash device [bootflash]? slot0:
Name of file to copy to [6000_config.cfg]?
16376740 bytes available on device slot0, proceed (y/n) [n]? y
-
File has been copied successfully.
Console> (enable)
To display a list of files on a Flash device, perform this task in privileged mode:
This example shows how to list the files on a Flash device:
Console> (enable) dir
-#- -length- -----date/time------ name
2 7004 Aug 14 2000 10:06:37 6000_config.cfg
3 3102520 Aug 14 2000 10:09:42 cat6000-sup.6-1-1.bin
13259956 bytes available (3124044 bytes used)
Console> (enable)
To delete files on a Flash device, perform this task in privileged mode:
This example shows how to delete a file on a Flash device:
Console> (enable) delete 6000_config.cfg
Console> (enable)
Task Command
Display a list of files on a Flash device. dir[[device:]file-id] [all| deleted|
long]
Task Command
Delete a file on a Flash device. delete[[m/]device:]file-id
8/13/2019 Quick Software Configuration 6000's
47/56
Chapter4 Administering the Switch
Reset a Module or the Switch
R t M d l th S it h
8/13/2019 Quick Software Configuration 6000's
48/56
4-10
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Reset a Module or the SwitchSometimes you need to reset an individual module or the entire switch (for
example, when you install a new system software image). If you are connected to
the switch via Telnet, resetting an individual module can disconnect your session
(if the Telnet session was established through a port on that module). If you reset
the entire switch, your Telnet session will disconnect.
To reset an individual module installed in the switch, perform this task in
privileged mode:
This example shows how to reset an individual module in the switch:
Console> (enable) reset 2This command will reset module 2 and may disconnect your telnet
session.
Do you want to continue (y/n) [n]? y
Resetting module 2...
Console> (enable)
08/18/2000,09:32:23:SYS-5:Module 2 is online
Console> (enable)
To reset the entire switch, perform this task in privileged mode:
This example shows how to reset the entire switch:
Console> (enable) reset
This command will reset the system.
Do you want to continue (y/n) [n]? y
Console> (enable)
Task Command
Reset an individual module. resetmod_num
Task Command
Reset the switch. reset
8/13/2019 Quick Software Configuration 6000's
49/56
C H A P T E R
5-1
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
5Default Configurations
This section describes the following:
Default Global System Configuration
Default Ethernet Configuration
Default VTP Configuration
Default VLAN Configuration
Default Trunk Configuration
Default Global SystemConfigurationThe default supervisor engine configuration is as follows:
Feature Default Setting
Console port The console port is configured as
follows: 9600 baud, 8 data bits, no
parity, 2 stop bits.
Passwords There is no default password for normal
and privileged modes. Press Returnat
the Enter Password prompt.
System prompt Console>
Chapter5 Default Configurations
Default Ethernet Configuration
8/13/2019 Quick Software Configuration 6000's
50/56
5-2
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Default Ethernet ConfigurationThe default Ethernet, Fast Ethernet, and Gigabit Ethernet port configuration is as
follows:
In-band (sc0) interface configuration The in-band interface is in VLAN 1; theIP address, subnet mask, and broadcast
address are set to 0.0.0.0.
Default gateway Default gateway address is 0.0.0.0 with a
metric of 0.
Feature Default Setting
Feature Default Setting
Port enable state All ports are enabled
Port name None
Port duplex setting Auto (to autonegotiate duplex mode)
on Ethernet and Fast Ethernet; full
duplex on Gigabit Ethernet (half
duplex is not supported)
Port speed (on 10/100-Mbps ports) Auto (to autonegotiate both speed andduplex)
Spanning Tree Protocol Enabled for VLAN 1
Spanning tree port-VLAN cost 19 for Ethernet and Fast Ethernet
ports, 4 for Gigabit Ethernet ports
Spanning tree port-VLAN priority 32
VLAN All ports are on VLAN 1
EtherChannel Disabled
Flow control on Gigabit Ethernet ports Flow control send is set to desired;
flow control receive is set to off
Flow control on other Ethernet ports Flow control receive is set to off; send
is not supported
Chapter5 Default Configurations
Default VTP Configuration
DefaultVTPConfiguration
8/13/2019 Quick Software Configuration 6000's
51/56
5-3
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Default VTP ConfigurationThe default VTP configuration is as follows:
Default VLAN ConfigurationThe default Ethernet VLAN configuration is as follows:
Feature Default Setting
VTP Disabled (switch is in a no-management domain state)
VTP version 2 Disabled
VTP domain name Not specified
VTP mode Server
VTP pruning Disabled
VTP password None (management domains are set to nonsecure mode)
Feature Default Setting
Default VLAN1
1. In effect when a port is not a trunk.
VLAN 1
Native VLAN2
2. In effect when a port is an 802.1Q trunk.
VLAN 1
MTU size3
3. MTU=maximum transmission unit
1500 bytes
Pruning eligibility VLANs 21000 are pruning-eligible
VLAN SAID4value
4. SAID=Security Association Identification
100,000 plus the VLAN number. The SAID for VLAN 1
is 100001, for VLAN 2 100002, for VLAN 3 100003, and
so on.
Chapter5 Default Configurations
Default Trunk Configuration
DefaultTrunkConfiguration
8/13/2019 Quick Software Configuration 6000's
52/56
5-4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
Default Trunk ConfigurationThe default trunk configuration on Ethernet ports is as follows:
Feature Default Setting
Trunking state Disabled
Encapsulation Negotiate (if both ports are set to negotiate mode, the trunk
uses ISL encapsulation)Trunk mode Auto
Allowed VLANs All VLANs are allowed for trunking
8/13/2019 Quick Software Configuration 6000's
53/56
1
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
I N D E X
A
administrative group 3-3
assigning switch ports to VLANs 2-7
auto mode 3-3
autonegotiating
duplex mode 1-5
port speed 1-5
B
banner, login 3-1
C
cd command 4-5
CDP
configuring 3-5
Cisco Discovery Protocol
See CDP
configuration files
managing 4-1
configuring
CDP 3-5
DNS 3-4
EtherChannel 3-2
switch 1-2
VLANs 2-5
VLAN trunks 2-8
console port 1-2,5-1
copy command 4-3
copy config command 4-6
copy tftp command 4-6
creating VLANs 2-6
D
default configuration settings
Ethernet ports 5-2Fast Ethernet ports 5-2
Gigabit Ethernet ports 5-2
trunking 5-4
VLANs 5-3
VTP 5-3
default gateway 1-4
delete command 4-8
desirable mode 3-3
dir command 4-8
dir deleted command 4-9
DNS, configuring 3-4
8/13/2019 Quick Software Configuration 6000's
54/56
Index
L R
8/13/2019 Quick Software Configuration 6000's
55/56
3
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
L
login banner 3-1
M
managing configuration files 4-1
message of the day 3-1
module, resetting 4-10
N
netmask 1-4
P
PAgP 3-3
PCMCIA cards
See Flash PC cards
ping command 1-4,1-8
Port Aggregation Protocol
See PAgP
port speed 1-5
privileged mode 1-3
pwd command 4-5
R
reset command 4-3
resetting module 4-10
resetting switch 4-10
S
set banner motd command 3-1
set boot system flash command 4-3
set cdp enable command 3-5
set cdp holdtime command 3-6
set cdp interval command 3-5
set enablepass command 1-7
set interface sc0 command 1-4
set ip dns domain command 3-4
set ip dns enable command 3-4
set ip dns server command 3-4
set ip route default command 1-4
set password command 1-7
set port duplex command 1-6
set port enable command 1-6
set port name command 1-6
set port speed command 1-6set prompt command 1-7
set system name command 1-7
set time command 1-7
set trunk command 2-9
set vlan command 2-6,2-7
set vtp domain command 2-2
Index
set vtp mode client command 2-3T
8/13/2019 Quick Software Configuration 6000's
56/56
4
Catalyst 6000 Family Quick Software Configuration Guide
78-11206-01
set vtp mode server command 2-2
set vtp mode transparent command 2-4
show cdp neighbors command 3-6
show cdp port command 3-6
show configuration command 3-2,4-1
show flash command 4-3
show interface command 1-4,1-8
show ip dns command 3-4
show ip route command 1-4,1-8
show port command 1-6,2-7
show trunk command 2-9
show vlan command 2-6,2-7
show vtp domain command 2-2,2-4
software features
related documentation viii
software images
downloading from TFTP server 4-3
managing 4-3
squeeze command 4-9
subnet mask
See netmask
supervisor engine configuration
default settings 5-1switch
configuring 1-2
configuring as VTP client 2-3
configuring as VTP server 2-2
resetting 4-10
switch ports, assigning to VLANs 2-7
T
TFTP servers
downloading software images from 4-3
traceroute command 1-8
trunking
default configuration settings 5-4
U
undelete command 4-9
V
VLANs
configuring 2-5
creating 2-6
default configuration settings 5-3
VLAN Trunk Protocol
See VTP
VLAN trunks, configuring 2-8
VTP
client 2-1,2-3
default configuration settings 5-3
server 2-1,2-2
transparent mode 2-4
transparent switches 2-2