BASIC CONFIGURATION CISCO SWITCH

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

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

IEEE 802.1Q Configuration

configuring and connecting 24

Lecture (01) configuring and connecting 24 ports switch

CS IT ports switch basic configuration. Lecture (01) Introduction to 24 ports managed switches By: Dr. Ahmed ElShafee.

1 of :22

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Lab Configuring Basic Switch Settings (Solution)

Using Setup Mode to Configure a Cisco Networking Device

Lab Advanced Telnet Operations Instructor Version 2500

PT Activity 2.5.1: Basic Switch Configuration

Cisco Introduction to Cisco Networking Technologies Exam. Practice Test. Version

Management IP Interface

Using Setup Mode to Configure a Cisco Networking Device

Lab - Exploring Router Physical Characteristics

Configuring Interfaces

Configuring Link Aggregation on the ML-MR-10 card

Table of Contents. co Configuring InterVLAN Routing and ISL/802.1Q Trunking on a Catalyst 2900XL/3500XL/2950 Switch Using An Extern

Configuring Interfaces on the ML-Series Card

Lab - Troubleshooting Connectivity Issues

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

Configuring IRB. Integrated Routing and Bridging CHAPTER

Configuring Interfaces

Lab Catalyst 2950T and 3550 Series VTP Domain and VLAN Trunking

The configuration of the router at the initial stage was fairly simple (quoting only significant commands, not the entire config):

Configuring Interfaces

Lab Viewing Network Device MAC Addresses

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

Configuring Interfaces

Configuring EtherChannel and 802.1Q Trunking Between Catalyst L2 Fixed Configuration Switches and a Router (InterVLAN Routing)

Lab - Configuring VLANs and Trunking (Solution)

Scenarios A P P E N D I X

Troubleshoot interface down issues in Cisco routers

Question 5.1. Every port on a switch is a collision domain. Every port on a router is a collision domain.

Netw 3000 VLAN 1 LAB Darlene Redmond Ryan Gamblin January 19 th 2012

Configuring Gigabit Ethernet Interfaces

Configuring Interfaces

Lab Exploring Cisco IOS and Configuring Basic Switch Settings

Peter, Please approve us apply a new ISP connection to separate with CCA for ccahalmar. The bandwidth is 100M.

Lab - Configuring VLANs and Trunking

Useful Switch Information

Address Resolution Protocol

Application Guide. VLANs for improved Q-SYS performance

Basic Router Configuration

Configuring the SM-1-STM1

Lab Inter-VLAN Routing with the Internal Route Processor

Configuring PPPoE Client on the Cisco 2600 to Connect to a Non Cisco DSL CPE

Configuring GRE Tunnel Over Cable

Lab Catalyst 2950T and 3550 Series Static VLANS

Lab 9.1.5a Trunking with ISL 2924XL Series

Configuring the Cisco ASR 1000 Series Modular Ethernet Line Card

Lab Configuring Fast EtherChannel

Lab Catalyst 2950T and 3550 Series VTP Domain and VLAN Trunking

Chapter 4 Lab 4-1, Inter-VLAN Routing with an External Router

Configuring IEEE 802.3ad Link Bundling and Load Balancing

Lab - Configuring VLANs and Trunking

Lab Catalyst 2950T and 3550 Series Basic Setup

Configuring the 4-Port Serial Interface SPA

Lab QoS Manually Configured Frame Relay Traffic Shaping

GRE Tunnel with VRF Configuration Example

Lab QoS Manually Configured Frame Relay Traffic Shaping

Lab 6.2.7a Managing Switch Operating System Files 2900XL Series

Chapter 3: Using Maintenance & Troubleshooting Tools and Applications

Route between VLANs using a 3560 switch with an internal route processor using Cisco Express Forwarding (CEF).

Chapter 2 Lab 2-1, Static VLANS, VLAN Trunking, and VTP Domains and Modes

Note: Use two 2960 switches for ALS1 and ALS2 and two 3560 switches for DLS1 and DLS2

CCNP SWITCH 6.0 Student Lab Manual

Throughput Issues on ASR1000 Series Router

IPv6 Tunnel through an IPv4 Network

Lab - Troubleshooting VLAN Configurations (Instructor Version Optional Lab)

SAMI Cisco IOS PPC Commands

Configuring the SS7 Q.703 High Speed Port Adapter

Chapter 5 Lab 5-1, Configure and Verify Path Control

Chapter 5 Lab 5-1, Configure and Verify Path Control Using PBR. Topology. Objectives. Background. Required Resources. CCNPv7 ROUTE

Configuring Interfaces

Lab - Configuring Basic Single-Area OSPFv2

Section 3 Understanding Ethernet and Switch Operations

Configuring Management Interfaces on Cisco IOS XR Software

Auto In-Service State for Ports

Lab 15d. PPPoE Troubleshooting

CCNA Semester 1 labs. Part 1 of 2 Labs for chapters 1 7

Ethernet over GRE Tunnels

Troubleshooting Ethernet Collisions

Configuring LAN Interfaces

VLANs. 2003, Cisco Systems, Inc. All rights reserved. 2-1

VLANs. 2003, Cisco Systems, Inc. All rights reserved. 2-1

Configuring the OC3 POS Line Card

Flow-Based Redirect. Finding Feature Information

Configuring the SS7 Port Adapter

Flow-Based Redirect. Finding Feature Information

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

EtherSwitch Service Module (ES) Configuration Example

Configuring the OC12 POS Line Card

PT Activity 4.4.1: Basic VTP Configuration

ord Recovery Procedure for the Cisco Catalyst 8510 Multiserv

VLANs. Traditional Campus Networks. Performance Issues. Broadcast Issues. Bridges terminate collision domains

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

CCNA Semester 2 labs. Part 2 of 2 Labs for chapters 8 11

Configuring T1/E1 Interfaces

Transcription:

BASIC CONFIGURATION CISCO SWITCH switch#show running-config ( prikaz trenutne konfiguracije ) switch#show startup-config ( prikaz startne konfiguracije ) switch#configure terminal ( ulaz u global config mode ) switch (config)#hostname SW1 ( postavljanje imena switcha SW1 ) exit configure terminal ( ulaz u global config mode ) SW1(config)#line console 0 ( ulaz u config mode console ) SW1(config-line)#line console 0 ( ulaz u config mode console ) SW1(config-line)#password cisco ( postavljanje passw. cisco za ulaz preko console ) SW1(config-line)#login ( prihvaćanje passw. cisco za ulaz preko console ) SW1(config-line)#line vty 0 15 ( ulaz u config mode vty - telnet ) SW1(config-line)#password cisco ( postavljanje passw. cisco za ulaz preko telneta ) SW1(config-line)#login ( prihvaćanje passw. cisco za ulaz preko telneta ) SW1(config-line)#exit ( prelaz iz line config moda u global config mode ) SW1(config)#enable password cisco ( aktiviranje passworda cisco na switchu ) SW1(config)#enable secret class ( aktiviranje enkripcije passworda class na switchu ) SW1(config)#interface vlan 1 ( ulazak u config mode interface VLAN1 ) SW1(config-if)#ip address 192.168.1.2 255.255.255.0 ( postavljanje IP adrese za VLAN1 ) SW1(config-if)#no shutdown SW1(config)#ip default-gateway 192.168.1.1 ( postavljanje default gateway-a za VLAN1 ) show interface vlan 1 (prikaz interfacea u VLAN 1 ) copy running-config startup-config (spremanje trenutne konfiguracije u NVRAM ) show running-config (prikaz trenutne konfiguracije ) Autor: Ivan Cindrić 1/5 www.ic.ims.hr

switch#show running-config ( prikaz konfiguracije ) Current configuration : 866 bytes version 12.1 no service single-slot-reload-enable no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption hostname switch ip subnet-zero spanning-tree extend system-id interface FastEthernet0/1 interface FastEthernet0/2 interface FastEthernet0/3 interface FastEthernet0/4 interface Vlan1 no ip address ip http server line con 0 line vty 0 15 login end switch#config terminal ( ulazak u global terminal mode ) switch(config)#hostname SW1 ( postavljanje imena za uređaj ) show version ( prikaz verzije IOS-a ) Cisco Internetwork Operating System Software IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(14)EA1a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Tue 02-Sep-03 04:08 by antonino Image text-base: 0x00003000, data-base: 0x007E660C ROM: Bootstrap program is C3550 boot loader Switch uptime is 26 minutes System returned to ROM by power-on System image file is "flash:/c3550-i5q3l2-mz.121-14.ea1a.bin" cisco WS-C3550-24 (PowerPC) processor (revision J0) with 65526K/8192K bytes of memory. Processor board ID CAT0731Y0GQ Autor: Ivan Cindrić 2/5 www.ic.ims.hr

Last reset from warm-reset Bridging software. Running Layer2/3 Switching Image Ethernet-controller 1 has 10 Fast Ethernet/IEEE 802.3 interfaces 10 FastEthernet/IEEE 802.3 interface(s) The password-recovery mechanism is enabled. 384K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address: 00:0D:BD:25:5F:80 Motherboard assembly number: 73-5700-10 Power supply part number: 34-0966-03 Motherboard serial number: CAT07300FJF Power supply serial number: DTH07280J7T Model revision number: J0 Motherboard revision number: A0 Model number: WS-C3550-24-SMI System serial number: CAT0731Y0GQ Configuration register is 0x10F show interfaces ( prikaz svih interface na switchu ) FastEthernet0/1 is up, line protocol is up Hardware is Fast Ethernet, address is 00b0.1011.0bb8 (bia 00b0.1011.0bb8) MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-negotiate, Auto-speed input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 1w6d, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 1 packets input, 64 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 1 packets output, 64 bytes, 0 underruns 0 output errors, 0 collisions, 3 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out FastEthernet0/2 is up, line protocol is up Hardware is Fast Ethernet, address is 00b0.1012.3528 (bia 00b0.1012.3528) MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-negotiate, Auto-speed Autor: Ivan Cindrić 3/5 www.ic.ims.hr

input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 1w6d, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 1 packets input, 64 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 1 packets output, 64 bytes, 0 underruns 0 output errors, 0 collisions, 3 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out copy running-config startup-config ( spremanje trenutne konfiguracije ) Destination filename [startup-config]? [OK] show vlan ( prikaz VLAN-ova ) VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default ( VLAN 1 ) active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ configure terminal SW1(config)#line console 0 ( ulaz u console mode ) SW1(config-line)#password cisco ( postavljanje cisco passw. Za ulaz u user mode switch a ) SW1(config-line)#login ( potvrda postavljene lozinke ) SW1(config-line)#line vty 0 15 ( ulaz u Telnet mode za postavu lozinke ) SW1(config-line)#password class ( postava lozineke class ) SW1(config-line)#login ( potvrda postavljene lozinke ) Autor: Ivan Cindrić 4/5 www.ic.ims.hr

SW1(config-line)#exit ( izlaz iz line moda ) SW1(config)#exit copy running-config startup-config ( snimanje trenutne konfiguracije ) Destination filename [startup-config]? [OK] configure terminal ( ulaz u globalni konfiguracijski mod ) SW1(config)#interface vlan 1 ( ulaz u konfig. Mod VLAN 1 ) SW1(config-if)#no shutdown ( aktiviranje porta FA0/1 ) SW1(config-if)# ip address 192.168.1.5 255.255.255.0 ( postavljanje IP adrese za VLAN 1 ) SW1(config)#ip default-gateway 192.168.1.1 ( postavljanje defaultnog gateway-a ) SW1(config)# SW1(config)#interface fa0/1 ( ulaz u konfig mode porta FA0/1 ) SW1(config-if)#speed 100 ( postavljanje brzine bandwitha ) SW1(config-if)# Autor: Ivan Cindrić 5/5 www.ic.ims.hr