Catalyst Switch Operations. 2000, Cisco Systems, Inc. 6-1

Similar documents
Operating and Configuring a Cisco Catalyst Switch. 2000, Cisco Systems, Inc. 4-1

Extending Switched Networks with Virtual LANs. 2000, Cisco Systems, Inc. 7-1

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

CCNA Layer 2 switching. Revision no.: PPT/2K605/03

Configuring and Monitoring from the Switch Manager

Chapter 2. Switch Concepts and Configuration. Part I

Upon completion of this chapter, you will be able to perform the following tasks: Identify what a VLAN is and how it operates. Configure a VLAN to

Section 3 Understanding Ethernet and Switch Operations

Maintaining Specific VLAN Identification. Comparing ISL and 802.1Q. VLAN Trunking

Lab Troubleshooting LAN Connectivity

Chapter. Managed Switch Software Monitoring. In This Chapter...

3. What could you use if you wanted to reduce unnecessary broadcast, multicast, and flooded unicast packets?

Configuring Interfaces and Circuits

Implementing Spanning Tree Protocol

CCNA Cisco Certified Network Associate CCNA (v3.0)

PASS4TEST IT 인증시험덤프전문사이트

Chapter 4 Configuring Switching

Catalyst 1900 Series and Catalyst 2820 Series Enterprise Edition Software Configuration Guide

Packet Switching on L2 (LAN Level)

Switched Ethernet Virtual LANs

Out-of-Band Management

If this is your first time configuring the switch, you will notice that the Switch IOS is almost identical to Router IOS.

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full

Managing Your Switches

Configuring STP and RSTP

Overview. About the Catalyst 2820 and Catalyst 1900 Switches CHAPTER

Lab 1. CLI Navigation. Scenario. Initial Configuration for R1

3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP)

Configuring Rapid PVST+

SWP-0208G, 8+2SFP. 8-Port Gigabit Web Smart Switch. User s Manual

Spanning-Tree Protocol

VLANs Level 3 Unit 9 Computer Networks

Packet Switching on L2 (LAN Level)

1 of :22

Configuring STP. Understanding Spanning-Tree Features CHAPTER

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.)

Configuring and Monitoring from the Hub Manager

Chapter 5 Reading Organizer After completion of this chapter, you should be able to:

Exam Questions

Index. Numerics. Index p priority (QoS) definition Q VLAN standard w as a region 5-54

Exam E1 Copyright 2010 Thaar AL_Taiey

Configuring Spanning Tree Protocol

Exam : Cisco Certified Network Associate(CCNA) Title : Version : DEMO

Imi :... Data:... Nazwisko:... Stron:...

Introduction to LAN Protocols

Configuring VLANs. Understanding VLANs CHAPTER

Token Ring VLANs and Related Protocols

Semester 3 Switch CLI labs Basic switch management S1 (DTE) net net net net

Understanding Issues Related to Inter VLAN Bridging

Transparent Bridging and VLAN

CCNA 4 - Final Exam (B)

Configuring the Catalyst 3920

CS IT. Lecture (06) STP (I) Problem statement. By: Dr. Ahmed ElShafee

Cisco - Spanning Tree Protocol Problems and Related Design Considerations

The following graphic shows a single switch VLAN configuration.

- Hubs vs. Switches vs. Routers -

Chapter 3 Lab 3-1, Spanning Tree Protocol (STP) Default Behavior

Configuring Interfaces

The objective of this lab is to become familiar with Cisco switches as well as the Spanning Tree Protocol.

VLAN Configuration. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER

Computer Networking. December 2004 CEN CN

Switches Chapter 2 1

Configuring VLANs. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER

Configuring Rapid PVST+ Using NX-OS

CCNA Practice test. 2. Which protocol can cause high CPU usage? A. NTP B. WCCP C. Telnet D. SNMP Answer: D

A. ARPANET was an early packet switched network initially connecting 4 sites (Stanford, UC Santa Barbara, UCLA, and U of Utah).

Introduction to Switched Networks Routing And Switching

Configuring VLANs. Understanding VLANs CHAPTER

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Bridging Transmitting Non-IP Traffic or Merging Two Networks

LAN Troubleshooting. Ethernet Troubleshooting

Catalyst Switches for Microsoft Network Load Balancing Configuration Example

Configuring VLANs. Understanding VLANs CHAPTER

AT-S41 Version 1.1.7C Management Software for the AT-8326GB and AT-8350GB Series Fast Ethernet Switches. Software Release Notes

Switch configuration. By the end of this session, you will be able to: Describe basic switch configuration methods. Configure a switch.

Configuring VLANs. Understanding VLANs CHAPTER

Configuring Rapid PVST+

Spanning Tree Protocol

Configuring VLANs. Understanding VLANs CHAPTER

Buy full file at

For information about configuring these settings from Cluster Management Suite (CMS), refer to the online help.

Chapter 5. Spanning Tree Protocol (STP) Part I

Cisco 4-Port and 8-Port Layer 2 Gigabit EtherSwitch Network Interface Module Configuration Guide for Cisco 4000 Series ISR

Configuring Virtual Private LAN Services

RealCiscoLAB.com. Observe what happens when the default spanning tree behavior is modified.

Introducing Campus Networks

Answers to the Do I Know This Already? Quizzes

Powered by Accton. ES Port Gigabit Web-Smart Switch. Management Guide.

EIGRP Features and Operation

Why Packet Switching on LAN? Packet Switching on L2 (LAN Level) Bridge / Router. Agenda

Overview. Switch Features CHAPTER

Cisco EXAM CCNA Cisco Certified Network Associate. Buy Full Product.

Chapter 5: Ethernet. Introduction to Networks - R&S 6.0. Cisco Networking Academy. Mind Wide Open

The following steps should be used when configuring a VLAN on the EdgeXOS platform:

Token Ring VLANs and Related Protocols

Configuring Interfaces on the ML-Series Card

Establishing a Frame Relay PVC Connection Cisco Systems, Inc. 14-1

Transcription:

Catalyst Switch Operations 2000, Cisco Systems, Inc. 6-1

Objectives Upon completion of this chapter, you will be able to perform the following tasks: Describe Layer 2 switching (bridging) operations Describe the Catalyst 1900 switch operations Describe the Catalyst 1900 switch default configuration Configure Catalyst 1900 switch Use show commands to verify Catalyst 1900 switch configuration and operations 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-2

Switcing /bridging at OSI The layer of the OSI reference model at which bridging and switching technologies operate 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-3

Three Switch Functions Address learning Forward/filter decision Loop avoidance 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-4

How Switches Learn Host Locations Initial MAC address table is empty 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-5

How Switches Learn Hosts Locations Station A sends a frame to Station C Switch caches station A MAC address to port E0 by learning the source address of data frames The frame from station A to station C is flooded out to all ports except port E0 (unknown unicasts are flooded) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-6

How Switches Learn Host Locations Station D sends a frame to station C Switch caches station D MAC address to port E3 by learning the source Address of data frames The frame from station D to station C is flooded out to all ports except port E3 (unknown unicasts are flooded) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-7

How Switches Filter Frames Station C sends a frame to station A Destination is known, frame is not flooded 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-8

Forward/Filter Process Destination is known, frame is not flooded 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-9

Broadcast and Multicast Frames Station D sends a broadcast or multicast frame Broadcast and multicast frames are flooded to all ports other than the originating port 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-10

Forward/Filter Process Example of Forward/Filter Process 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-11

Redundant Topology Server/host X Router Y Segment 1 Segment 2 Redundant topology eliminates single points of failure Redundant topology causes broadcast storms, multiple frame copies, and MAC address table instability problems 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-12

Broadcast Storms Server/host X Router Y Segment 1 Broadcast Switch A Switch B Segment 2 Host X sends a Broadcast 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-13

Broadcast Storms Server/host X Router Y Broadcast Segment 1 Switch A Switch B Segment 2 Host X sends a Broadcast 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-14

Broadcast Storms Server/host X Router Y Segment 1 Switch A Broadcast Switch B Segment 2 Switches continue to propagate broadcast traffic over and over 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-15

Multiple Frame Copies Host X sends an unicast frame to router Y Router Y MAC address has not been learned by either switch yet 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-16

Multiple Frame Copies Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Router Y will receive two copies of the same frame 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-17

MAC Database Instability Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Switch A and B learn Host X MAC address on port 0 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-18

MAC Database Instability Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Switch A and B learn Host X MAC address on port 0 Frame to Router Y is flooded Switch A and B incorrectly learn Host X MAC address on port 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-19

Multiple Loop Problems Complex topology can cause multiple loops to occur Layer 2 has no mechanism to stop the loop 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-20

Solution: Spanning-Tree Protocol x Block Provides a loop free redundant network topology by placing certain ports in the blocking state 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-21

Spanning-Tree Operations One root bridge per network One root port per nonroot bridge One designated port per segment 100baseT Root bridge Designated port (F) Root port (F) SW X SW Y Designated port (F) Nondesignated port (B) x Nonroot bridge 10baseT 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-22

Spanning-Tree Protocol Root Bridge Selection Switch X Default priority 32768 (8000 hex) MAC 0c0011111111 BPDU Switch Y Default priority 32768 (8000 hex) MAC 0c0022222222 BPDU = Bridge protocol data unit (default = sent every 2 seconds) Root bridge = Bridge with the lowest bridge ID Bridge ID = Bridge priority + bridge MAC address In the example, which switch has the lowest bridge ID? 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-23

Spanning-Tree Protocol Port States 100baseT Switch X Default priority 32768 MAC 0c0011111111 Designated port (F) Port 0 Port 0 Root bridge Port 1 Port 1 Designated port (F) x Root port (F) Switch Y Default priority 32768 MAC 0c0022222222 Nondesignated port (B) 10baseT 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-24

Spanning-Tree Protocol Path Cost Link Speed Cost (reratify IEEE spec) Cost (previous IEEE spec) ---------------------------------------------------------------------------------------------------- 10 Gbps 2 1 1 Gbps 4 1 100 Mbps 19 10 10 Mbps 100 100 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-25

Spanning-Tree: Port 0 Switch Z Mac 0c0011110000 Default priority 32768 Port 0 Switch X MAC 0c0011111111 Default priority 32768 Port 1 100baseT 100baseT Port 0 Port 1 Switch Y MAC 0c0022222222 Default priority 32768 Can you figure out: What is the root bridge? What are the designated, nondesignated, and root ports? Which are the forwarding and blocking ports? 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-26

Spanning-Tree: Port 0 Switch Z Mac 0c0011110000 Default priority 32768 Designated port (F) Port 0 Switch X MAC 0c0011111111 Default priority 32768 Port 1 100baseT Root port (F) Port 0 Port 1 Designated port (F) 100baseT Root port (F) Switch Y MAC 0c0022222222 Default priority 32768 Nondesignated port (BLK) Can you figure out: What is the root bridge? What are the designated, nondesignated, and root parts? Which are the forwarding and blocking ports? 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-27

Spanning-Tree Port States Spanning-tree transitions each port through several different state: Blocking (20 sec) Listening (15 sec) Learning (15 sec) Forwarding 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-28

Spanning-Tree Recalculation 100baseT Switch X MAC 0c0011111111 Default priority 32768 Designated port Port 0 Root Bridge Port 1 Designated port Port 0 Port 1 x Root port (F) Switch Y MAC 0c0022222222 Default priority 32768 Nondesignated port (BLK) 10baseT 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-29

Spanning-Tree Recalculation 100baseT Switch X MAC 0c0011111111 Default priority 32768 Designated port Port 0 x Root Bridge Port 1 Designated port MAXAGE x BPDU Port 0 Port 1 x Root port (F) Switch Y MAC 0c0022222222 Default priority 32768 Nondesignated port (BLK) 10baseT 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-30

Key Issue: Time to Convergence Convergence occurs when all the switch and bridge ports have transitioned to either the forwarding or blocking state When network topology changes, switches and bridges must recompute the Spanning-Tree Protocol, which disrupts user traffic 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-31

Bridging Compared to LAN Switching Bridging Primarily software based One spanning-tree instance per bridge Usually up to 16 ports per bridge LAN Switching Primarily hardware based (ASIC) Many spanning-tree instances per switch More ports on a switch 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-32

Transmitting Frames Through a Switch Cut-through Switch checks destination address and immediately begins forwarding frame 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-33

Transmitting Frames through a Switch Cut-through Switch checks destination address and immediately begins forwarding frame Store and forward Complete frame is received and checked before forwarding 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-34

Transmitting Frames through a Switch Cut-through Store and forward Fragment free (modified cut-through) Cat1900 Default Switch checks the first 64 bytes then Immediately begins forwarding frame 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-35

Duplex Overview Half duplex (CSMA/CD) Unidirectional data flow Higher potential for collison Hubs connectivity Switch Hub 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-36

Duplex Overview Half duplex (CSMA/CD) Unidirectional data flow Higher potential for collison Hubs connectivity Switch Hub Full duplex Point-to-point only Attached to dedicated switched port Requires full-duplex support on both ends Collision free Collision detect circuit disabled 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-37

Configuring the Switch Catalyst 1900 Menu driven interface Web-based VSM (Visual Switch Manager) IOS CLI (command-line interface) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-38

Catalyst 1900 Default Configurations IP address: 0.0.0.0 CDP: Enabled Switching mode: fragment free 100baseT port: Auto-negotiate duplex mode 10baseT port: Half duplex Spanning Tree: Enabled Console password: none 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-39

Ports on the Catalyst 1900 Cat1912 Cat1924 10baseT ports AUI port 100baseT uplink ports e0/1 to e0/12 e0/1 to e0/24 e0/25 e0/25 fa0/26 (port A) fa0/27 (port B) fa0/26 (port A) fa0/27 (port B) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-40

Ports on the Catalyst 1900 wg_sw_d#sh run Building configuration... Current configuration:!! interface Ethernet 0/1! interface Ethernet 0/2 wg_sw_d#sh span Port Ethernet 0/1 of VLAN1 is Forwarding Port path cost 100, Port priority 128 Designated root has priority 32768, address 0090.8673.3340 Designated bridge has priority 32768, address 0090.8673.3340 Designated port is Ethernet 0/1, path cost 0 Timers: message age 20, forward delay 15, hold 1 wg_sw_a#show vlan-membership Port VLAN Membership Type Port VLAN Membership Type ------------------------------------------------------------------ 1 5 Static 13 1 Static 2 1 Static 14 1 Static 3 1 Static 15 1 Static 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-41

Configuring the Switch Configuration Modes Global configuration mode wg_sw_a# conf term wg_sw_a(config)# Interface configuration mode wg_sw_a(config)# interface e0/1 wg_sw_a(config-if)# 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-42

Configuring the Switch IP Address wg_sw_a(config)# ip address {ip address} {mask} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-43

Configuring the Switch IP Address wg_sw_a(config)# ip address {ip address} {mask} wg_sw_a(config)#ip address 10.5.5.11 255.255.255.0 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-44

Configuring the Switch Default Gateway wg_sw_a(config)# ip default-gateway {ip address} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-45

Configuring the Switch Default Gateway wg_sw_a(config)# ip default-gateway {ip address} wg_sw_a(config)#ip default-gateway 10.5.5.3 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-46

Showing the Switch IP Address wg_sw_a#show ip IP address: 10.5.5.11 Subnet mask: 255.255.255.0 Default gateway: 10.5.5.3 Management VLAN: 1 Domain name: Name server 1: 0.0.0.0 Name server 2: 0.0.0.0 HTTP server: Enabled HTTP port: 80 RIP: Enabled wg_sw_a# 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-47

Speed and Duplex Options wg_sw_a(config)#interface e0/1 wg_sw_a(config-if)# duplex {auto full full-flow-control half} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-48

Setting Duplex Options wg_sw_a(config)#interface e0/1 wg_sw_a(config-if)# duplex {auto full full-flow-control half} wg_sw_a(config-if)#duplex half 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-49

Showing Duplex Options wg _sw_a#sh interfaces Ethernet 0/1 is Enabled Hardware is Built-in 10Base-T Address is 0090.8673.3341 MTU 1500 bytes, BW 10000 Kbits 802.1d STP State: Forwardi ng Forward Transitions: 1 Port monitoring: Disabled Unknown unicast flooding: Enabled Unregistered multicast flooding: Enabled Description: Duplex setting: Half duplex Back pressure: Disabled Receive Statistics Transmit Statistics ------------------------------------- ------------------------------------- Total good frames 44841 Total frames 404502 Total octets 4944550 Total octets 29591574 Broadcast/multicast frames 31011 Broadcast/multicast frames 390913 Broadcast/multicast octets 3865029 Broadcast/multicast octets 28478154 Good frames forwarded 44832 Deferrals 0 Frames filtered 9 Single collisions 0 Runt frames 0 Multiple collisions 0 No buffer discards 0 Excessive collisions 0 Queue full discards 0 Errors: Errors: FCS errors 0 Late collisions 0 Alignment errors 0 Excessive deferrals 0 Giant frames 0 Jabber errors 0 Address violations 0 Other transmit errors 0 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-50

Duplex Mismatches The manually set duplex parameter differs between connected ports The switch port is in autonegotiate and the attached port is set to full duplex with no auto-negotiation capability causing the switch port to be in half-duplex mode 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-51

FCS and Late Collision wg _sw_a#show interfaces Errors Ethernet 0/1 is Enabled Hardware is Built-in 10Base-T Address is 0090.8673.3341 MTU 1500 bytes, BW 10000 Kbits 802.1d STP State: Forwardi ng Forward Transitions: 1 Port monitoring: Disabled Unknown unicast flooding: Enabled Unregistered multicast flooding: Enabled Description: Duplex setting: Half duplex Back pressure: Disabled Receive Statistics Transmit Statistics ------------------------------------- ------------------------------------- Total good frames 44841 Total frames 404502 Total octets 4944550 Total octets 29591574 Broadcast/multicast frames 31011 Broadcast/multicast frames 390913 Broadcast/multicast octets 3865029 Broadcast/multicast octets 28478154 Good frames forwarded 44832 Deferrals 0 Frames filtered 9 Single collisions 0 Runt frames 0 Mul tiple collisions 0 No buffer discards 0 Excessive collisions 0 Queue full discards 0 Errors: Errors: FCS errors 0 Late collisions 0 Alignment errors 0 Excessive deferrals 0 Giant frames 0 Jabber errors 0 Address violations 0 Other transmit errors 0 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-52

Managing Mac Address Table wg_sw_a#show mac-address-table 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-53

Managing Mac Address Table wg_sw_a#show mac-address-table wg_sw_a#sh mac-address-table Number of permanent addresses : 0 Number of restricted static addresses : 0 Number of dynamic addresses : 6 Address Dest Interface Type Source Interface List ------------------------------------------------------------------------------------------------- 00E0.1E5D.AE2F Ethernet 0/2 Dynamic All 00D0.588F.B604 FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2B FastEthernet 0/26 Dynamic All 0090.273B.87A4 FastEthernet 0/26 Dynamic All 00D0.588F.B600 FastEthernet 0/26 Dynamic All 00D0.5892.38C4 FastEthernet 0/27 Dynamic All 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-54

Setting Permanent MAC Address wg_sw_a(config)# mac-address-table permanent {mac-address type module/port} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-55

Setting Permanent MAC Address wg_sw_a(config)# mac-address-table permanent {mac-address type module/port} wg_sw_a(config)#mac-address-table permanent 2222.2222.2222 ethernet 0/3 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-56

Setting Permanent MAC Address wg_sw_a(config)# mac-address-table permanent {mac-address type module/port} wg_sw_a(config)#mac-address-table permanent 2222.2222.2222 ethernet 0/3 wg_sw_a#sh mac-address-table Number of permanent addresses : 1 Number of restricted static addresses : 0 Number of dynamic addresses : 4 Address Dest Interface Type Source Interface List -------------------------------------------------------------------------------------------------------------- 00E0.1E5D.AE2F Ethernet 0/2 Dynamic All 2222.2222.2222 Ethernet 0/3 Permanent All 00D0.588F.B604 FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2B FastEthernet 0/26 Dynamic All 00D0.5892.38C4 FastEthernet 0/27 Dynamic All 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-57

Setting Restricted Static MAC Address wg_sw_a(config)# mac-address-table restricted static {mac-address type module/port src-if-list} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-58

Setting Restricted Static MAC Address wg_sw_a(config)# mac-address-table restricted static {mac-address type module/port src-if-list} wg_sw_a(config)#mac-address-table restricted static 1111.1111.1111 e0/4 e0/1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-59

Setting Restricted Static MAC Address wg_sw_a(config)# mac-address-table restricted static {mac-address type module/port src-if-list} wg_sw_a(config)#mac-address-table restricted static 1111.1111.1111 e0/4 e0/1 wg_sw_a#sh mac-address-table Number of permanent addresses : 1 Number of restricted static addresses : 1 Number of dynamic addresses : 4 Address Dest Interface Type Source Interface List ----------------------------------------------------------------------------------------------- 1111.1111.1111 Ethernet 0/4 Static Et0/1 00E0.1E5D.AE2F Ethernet 0/2 Dynamic All 2222.2222.2222 Ethernet 0/3 Permanent All 00D0.588F.B604 FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2B FastEthernet 0/26 Dynamic All 00D0.5892.38C4 FastEthernet 0/27 Dynamic All 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-60

Configuring Port Security wg_sw_a(config-if)# port secure [max-mac-count count] Configures an interface to be a secured port Define a maximum number of mac addresses allowed in the address table for this port Count can be from 1 to 132 Default is 132 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-61

Configuring Port Security wg_sw_a(config-if)# port secure [max-mac-count count] Configures an interface to be a secured port Define a maximum number of mac addresses allowed in the address table for this port Count can be from 1 to 132 Default is 132 wg_sw_a(config)#interface e0/4 wg_sw_a(config-if)#port secure wg_sw_a(config-if)#port secure max-mac-count 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-62

Configuring Port Security wg_sw_a#show mac-address-table security wg_sw_a#show mac-address-table security Action upon address violation : Suspend Interface Addressing Security Address Table Size ------------------------------------------------------------------------------------ Ethernet 0/1 Disabled N/A Ethernet 0/2 Disabled N/A Ethernet 0/3 Disabled N/A Ethernet 0/4 Enabled 1 Ethernet 0/5 Disabled N/A Ethernet 0/6 Disabled N/A Ethernet 0/7 Disabled N/A Ethernet 0/8 Disabled N/A Ethernet 0/9 Disabled N/A Ethernet 0/10 Disabled N/A Ethernet 0/11 Disabled N/A Ethernet 0/12 Disabled N/A 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-63

Configuring Port Security wg_sw_a#show mac-address-table security wg_sw_a#show mac-address-table security Action upon address violation : Suspend Interface Addressing Security Address Table Size ------------------------------------------------------------------------------------ Ethernet 0/1 Disabled N/A Ethernet 0/2 Disabled N/A Ethernet 0/3 Disabled N/A Ethernet 0/4 Enabled 1 Ethernet 0/5 Disabled N/A Ethernet 0/6 Disabled N/A Ethernet 0/7 Disabled N/A Ethernet 0/8 Disabled N/A Ethernet 0/9 Disabled N/A Ethernet 0/10 Disabled N/A Ethernet 0/11 Disabled N/A Ethernet 0/12 Disabled N/A wg_sw_a(config)#address-violation {suspend disable ignore} 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-64

Show Version wg _sw_a#show version Cisco Catalyst 1900/2820 Enterprise Edi tion Software Version V8.01.01 Copyright (c) Cisco Systems, Inc. 1993-1998 ROM: System Bootstrap, Version 3.03 wg _sw_d uptime is 8day(s) 17hour(s) 53minute(s) 25second(s) cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memory Hardware board revision is 1 Upgrade Status: No upgrade currently in progress. Config File Status: File wgswd.cfg downloaded from 10.1.1.1 27 Fi xed Ethernet/IEEE 802. 3 interface(s) Base Ethernet Address: 00-90-86-73-33-40 wg _sw_a# 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-65

Managing Configuration File To send the configuration to a TFTP server: wg_sw_a# copy nvram tftp://host/dst_file 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-66

Managing Configuration File To send the configuration to a TFTP server: wg_sw_a# copy nvram tftp://host/dst_file To download the configuration from a TFTP server: wg_sw_a# copy tftp://host/src_file nvram 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-67

Managing Configuration File To send the configuration to a TFTP server: wg_sw_a# copy nvram tftp://host/dst_file To download the configuration from a TFTP server: wg_sw_a# copy tftp://host/src_file nvram wg_sw_a#copy nvram tftp://10.1.1.1/wgswd.cfg Configuration upload is successfully completed wg_sw_a#copy tftp://10.1.1.1/wgswd.cfg nvram TFTP successfully downloaded configuration file 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-68

Clear NVRAM wg_sw_d#delete nvram Resets the system configuration to factory defaults. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-69

Visual Objective pod sw ro s e0 A 10.1.1.10 10.1.1.11 B 10.1.1.20 10.1.1.21 C 10.1.1.30 10.1.1.31 D 10.1.1.40 10.1.1.41 E 10.1.1.50 10.1.1.51 F 10.1.1.60 10.1.1.61 G 10.1.1.70 10.1.1.71 H 10.1.1.80 10.1.1.81 I 10.1.1.90 10.1.1.91 J 10.1.1.100 10.1.1.101 K 10.1.1.110 10.1.1.111 L 10.1.1.120 10.1.1.121... wg_sw_a 10.1.1.10 wg_sw_l 10.1.1.120 wg_pc_a fa0/26 e0/1 (port A) e0/2 fa0/26 (port A) e0/1 wg_pc_l e0/2 e0 e0 wg_ro_a 10.1.1.11 wg_ro_l 10.1.1.121 fa0/1 fa0/12 core_ server (tftp server) 10.1.1.1 fa0/24 core_sw_a 10.1.1.2 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-70

Summary After completing this chapter, you should be able to perform the following tasks: Describe Layer 2 switching (bridging) operations Describe the Catalyst 1900 switch operations Describe the Catalyst 1900 switch s default configuration Configure Catalyst 1900 switch Use show commands to verify Catalyst 1900 switch configuration and operations 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 6-71