switch

13
Switch> enable Entra a modo privilegiado enable Switch> Switch# Abreviatura en-> exit Salir exit Switch con0 is now available Press RETURN to get started. Abreviatura ex-> Switch# clear Reset functions clear access-list counters (linea en blanca) Abreviatura cle---ac--l-c> clear arp-cache (linea en blanca) Abreviatura cle---ar--> clear arp-cache (linea en blanca) Abreviatura cle---ar--> clear interface [Interface] (linea en blanca) Abreviatura cle---in--> clear mac-address-table dynamic

Upload: guptak09

Post on 20-Nov-2014

98 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Switch

Switch>

enable Entra a modo privilegiadoenableSwitch>Switch#

Abreviaturaen->

exit SalirexitSwitch con0 is now availablePress RETURN to get started.

Abreviaturaex->

Switch#

clear Reset functions clear access-list counters

(linea en blanca)Abreviatura

cle---ac--l-c>

clear arp-cache(linea en blanca)Abreviatura

cle---ar-->

clear arp-cache(linea en blanca)Abreviatura

cle---ar-->

clear interface [Interface](linea en blanca)Abreviatura

cle---in-->

clear mac-address-table dynamic(linea en blanca)Abreviatura

cle---mac-dy->

clock Administra la hora del sistema clock set hh:mm:ss <DD> MONTH <YYYY>

Page 2: Switch

(linea en blanco)

Exception% Incomplete command.

% Invalid input detected at '^' marker.

Abreviaturaclo-s->

configure Entrar a un modo de configuracionAbreviatura

conf->

configure terminal Enter configuration commands, one per line.

End with CNTL/Z.

Abreviaturaconf---- t->

exit Salir

exitAbreviatura

ex->

show Informacion del Sistema

show access-listsStandard IP access list [number 1-99] [permit/deny] [any/ip]Extended IP access list [number 100-199] [permit/deny/dynamic] [ip/tcp/icmp] [any/ip] any precedence internet log

Abreviaturash-- acce->

show arpAbreviatura

sh-- arp->

show clock*00:53:31.927 UTC Mon Mar 1 1993

Abreviaturash-- cl->

show configuration

Using 1014 out of 32768 bytes!version 12.1no service pad

Page 3: Switch

service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Switch!!ip subnet-zero!spanning-tree extend system-id!!interface FastEthernet0/1 no ip address!interface FastEthernet0/2 no ip address!interface FastEthernet0/3 no ip address!interface FastEthernet0/4 no ip address!interface FastEthernet0/5 no ip address!interface FastEthernet0/6 no ip address!interface FastEthernet0/7 no ip address!interface FastEthernet0/8 no ip address!interface FastEthernet0/9 no ip address!interface FastEthernet0/10 no ip address!interface FastEthernet0/11 no ip address!interface FastEthernet0/12 no ip address!interface GigabitEthernet0/1 no ip address!interface GigabitEthernet0/2 no ip address!interface Vlan1 no ip address no ip route-cache shutdown!ip http server!!line con 0line vty 5 15!!monitor session 1 source interface Fa0/1 - 2monitor session 1 destination interface Fa0/5end

Abreviaturash-- conf->

show interfaces Vlan1 is administratively down, line protocol is down Hardware is CPU Interface, address is 000f.24a2.7900 (bia 000f.24a2.7900) MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set

Page 4: Switch

ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, 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 0 packets input, 0 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 packets output, 0 bytes, 0 underruns 0 output errors, 2 interface resets 0 output buffer failures, 0 output buffers swapped outFastEthernet0/1 is down, line protocol is down Hardware is Fast Ethernet, address is 000f.24a2.7901 (bia 000f.24a2.7901) 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-duplex, Auto-speed input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 02:00:37, 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

Abreviaturash-- in->

show mac-address-table Mac Address Table------------------------------------------

Vlan Mac Address Type Ports---- ----------- ---- -----

Abreviaturash-- mac- ->

show running-configBuilding configuration...

Current configuration : 1039 bytes!version 12.1no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname ksks!!ip subnet-zero!spanning-tree extend system-id!!interface FastEthernet0/1 no ip address!

Page 5: Switch

interface FastEthernet0/2 no ip address!interface FastEthernet0/3 no ip address!interface FastEthernet0/4 no ip address!interface FastEthernet0/5 no ip address!interface FastEthernet0/6 no ip address!interface FastEthernet0/7 no ip address!interface FastEthernet0/8 no ip address!interface FastEthernet0/9 no ip address!interface FastEthernet0/10 no ip address!interface FastEthernet0/11 no ip address!interface FastEthernet0/12 no ip address!interface GigabitEthernet0/1 no ip address!interface GigabitEthernet0/2 no ip address!interface Vlan1 no ip address no ip route-cache shutdown!ip http server!!line con 0line vty 0 4 loginline vty 5 15 login!!monitor session 1 source interface Fa0/1 - 2monitor session 1 destination interface Fa0/5end

Abreviaturash-- ru-->

show startup-config Using 1014 out of 32768 bytes!version 12.1no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Switch!!ip subnet-zero!spanning-tree extend system-id!!interface FastEthernet0/1

Page 6: Switch

no ip address!interface FastEthernet0/2 no ip address!interface FastEthernet0/3 no ip address!interface FastEthernet0/4 no ip address!interface FastEthernet0/5 no ip address!interface FastEthernet0/6 no ip address!interface FastEthernet0/7 no ip address!interface FastEthernet0/8 no ip address!interface FastEthernet0/9 no ip address!interface FastEthernet0/10 no ip address!interface FastEthernet0/11 no ip address!interface FastEthernet0/12 no ip address!interface GigabitEthernet0/1 no ip address!interface GigabitEthernet0/2 no ip address!interface Vlan1 no ip address no ip route-cache shutdown!ip http server!!line con 0line vty 5 15!!monitor session 1 source interface Fa0/1 - 2monitor session 1 destination interface Fa0/5end

Abreviaturash-- star- ->

show vlanVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Gi0/1, Gi0/22 Servidores_BD_Aplic active3 Servidores_Unix_Red_Adm active4 VLAN0004 active5 Red_Administrativa active6 Novell_conta active8 pabellon8 active10 Ventas active20 Prod active50 TeleIP active100 Linux_Fwall active140 Lab_1403 active401 Lab_401 active

Page 7: Switch

403 Lab_404_Mecatronica active409 Lab_409 active605 Lab_605 active701 Lab_701 active

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------702 Lab_702 active703 Lab_703 active704 Lab_704 active706 Lab_706 active707 Lab_707 active708 lab708 active709 Lab_709 active1002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 02 enet 100002 1500 - - - - - 0 03 enet 100003 1500 - - - - - 0 04 enet 100004 1500 - - - - - 0 05 enet 100005 1500 - - - - - 0 06 enet 100006 1500 - - - - - 0 08 enet 100008 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------50 enet 100050 1500 - - - - - 0 0100 enet 100100 1500 - - - - - 0 0140 enet 100140 1500 - - - - - 0 0401 enet 100401 1500 - - - - - 0 0403 enet 100403 1500 - - - - - 0 0409 enet 100409 1500 - - - - - 0 0605 enet 100605 1500 - - - - - 0 0701 enet 100701 1500 - - - - - 0 0702 enet 100702 1500 - - - - - 0 0703 enet 100703 1500 - - - - - 0 0704 enet 100704 1500 - - - - - 0 0706 enet 100706 1500 - - - - - 0 0707 enet 100707 1500 - - - - - 0 0708 enet 100708 1500 - - - - - 0 0709 enet 100709 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 01003 tr 101003 1500 - - - - srb 0 01004 fdnet 101004 1500 - - 1 ieee - 0 01005 trnet 101005 1500 - - 1 ibm - 0 0

Remote SPAN VLANs------------------------------------------------------------------------------

Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------

Abreviaturash-- vl- ->

show etherchannel Mac Address Table------------------------------------------

Vlan Mac Address Type Ports---- ----------- ---- -----

Page 8: Switch

Abreviaturash-- mac- ->

show ip Mac Address Table------------------------------------------

Vlan Mac Address Type Ports---- ----------- ---- -----

Abreviaturash-- mac- ->

reload ReiniciarreloadSystem configuration has been modified. Save? [yes/no]:

Proceed with reload? [confirm]:01:59:24: %SYS-5-RELOAD: Reload requested

Abreviaturarel->

vlan Configure VLAN parametersvlan database

abort Exit mode without applying the changes apply Apply current changes and bump revision number exit Apply changes, bump revision number, and exit mode no Negate a command or set its defaults reset Abandon current changes and reread current database show Show database information vlan Add, delete, or modify values associated with a single VLAN vtp Perform VTP administrative functions.

write Graba configuracion writeBuilding configuration...[OK]

Abreviaturawr->

Switch(config)#

access-list Add an access list entry

Page 9: Switch

arp Set a static ARP entry

exit Salir exitAbreviatura

ex->

hostname Ingresas el nombre del perifericohostname [WORD]Abreviatura

ho->

interface Seleccionas la interface a configurarinterface ethernet [0-MaxNumero]Abreviatura

in-- e->

ip Global IP configuration subcommands

access-list Named access-list accounting-list Select hosts for which IP accounting information is kept accounting-threshold Sets the maximum number of accounting entries accounting-transits Sets the maximum number of transit entries alias Alias an IP address to a TCP port default-gateway Specify default gateway (if not routing IP) dhcp-server Specify address of DHCP server to use domain-list Domain name to complete unqualified host names. domain-lookup Enable IP Domain Name System hostname translation domain-name Define the default domain name finger finger server ftp FTP configuration commands gdp Router discovery mechanism gratuitous-arps Generate gratuitous ARPs for PPP/SLIP peer addresses host Add an entry to the ip hostname table host-routing Enable host-based routing (proxy ARP and redirect) hp-host Enable the HP proxy probe service http HTTP server configuration icmp ICMP options igmp IGMP options local Specify local options name-server Specify address of name server to use radius RADIUS configuration commands rcmd Rcmd commands reflexive-list Reflexive access list security Specify system wide security information source-route Process packets with source routing header options sticky-arp Allow the creation of sticky ARP entries subnet-zero Allow 'subnet zero' subnets tacacs TACACS configuration commands tcp Global TCP parameters telnet Specify telnet options tftp tftp configuration commands

mac-address-table Configure the MAC address table aging-time Set MAC address table entry maximum age notification Enable/Disable MAC Notification on the switch static static keyword

Page 10: Switch

vlan Vlan commands

Switch(config-if)#

channel-group Etherchannel/port bundling configurationchannel-group 2 mode auto Enable PAgP only if a PAgP device is detected desirable Enable PAgP unconditionally on Enable Etherchannel only

exit SalirexitAbreviatura

ex->

ip Interface Internet Protocol config commands

mac-address Manually set interface MAC address mac-address [H.H.H]

Abreviaturamac-a->

shutdown Shutdown a la interfaceshutdownAbreviatura

sh->

spanning-tree Spanning Tree Subsystem bpdufilter Don't send or receive BPDUs on this interface bpduguard Don't accept BPDUs on this interface cost Change an interface's spanning tree port path cost guard Change an interface's spanning tree guard mode link-type Specify a link type for spanning tree protocol use mst Multiple spanning tree port-priority Change an interface's spanning tree port priority portfast Enable an interface to move directly to forwarding on link up stack-port Enable stack port

vlan VLAN Switch Spanning Tree

switchport Set switching mode characteristics

access Set access mode characteristics of the interface host Set port host mode Set trunking mode of the interface nonegotiate Device will not engage in negotiation protocol on this interface port-security Security related command priority Set appliance 802.1p priority protected Configure an interface to be a protected port trunk Set trunking characteristics of the interface voice Voice appliance attributes

Page 11: Switch