Sunteți pe pagina 1din 11

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


(linea en blanca)
Abreviatura
cle---mac-dy->

clock Administra la hora del sistema


clock set hh:mm:ss <DD> MONTH <YYYY>
(linea en blanco)

Exception
% Incomplete command.
% Invalid input detected at '^' marker.

Abreviatura
clo-s->

configure Entrar a un modo de configuracion


Abreviatura
conf->

 configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.

Abreviatura
conf---- t->

exit Salir
exit
Abreviatura
ex->

show Informacion del Sistema

 show access-lists
Standard 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

Abreviatura
sh-- acce->

 show arp
Abreviatura
sh-- arp->

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

Abreviatura
sh-- cl->

 show configuration
Using 1014 out of 32768 bytes
!
version 12.1
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
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 0
line vty 5 15
!
!
monitor session 1 source interface Fa0/1 - 2
monitor session 1 destination interface Fa0/5
end

Abreviatura
sh-- 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
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 out
FastEthernet0/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

Abreviatura
sh-- in->

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

Vlan Mac Address Type Ports


---- ----------- ---- -----

Abreviatura
sh-- mac- ->

 show running-config
Building configuration...

Current configuration : 1039 bytes


!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ksks
!
!
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 0
line vty 0 4
login
line vty 5 15
login
!
!
monitor session 1 source interface Fa0/1 - 2
monitor session 1 destination interface Fa0/5
end

Abreviatura
sh-- ru-->

 show startup-config
Using 1014 out of 32768 bytes
!
version 12.1
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
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 0
line vty 5 15
!
!
monitor session 1 source interface Fa0/1 - 2
monitor session 1 destination interface Fa0/5
end

Abreviatura
sh-- star- ->

 show vlan
VLAN 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/2
2 Servidores_BD_Aplic active
3 Servidores_Unix_Red_Adm active
4 VLAN0004 active
5 Red_Administrativa active
6 Novell_conta active
8 pabellon8 active
10 Ventas active
20 Prod active
50 TeleIP active
100 Linux_Fwall active
140 Lab_1403 active
401 Lab_401 active
403 Lab_404_Mecatronica active
409 Lab_409 active
605 Lab_605 active
701 Lab_701 active

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
702 Lab_702 active
703 Lab_703 active
704 Lab_704 active
706 Lab_706 active
707 Lab_707 active
708 lab708 active
709 Lab_709 active
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
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
6 enet 100006 1500 - - - - - 0 0
8 enet 100008 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
50 enet 100050 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
140 enet 100140 1500 - - - - - 0 0
401 enet 100401 1500 - - - - - 0 0
403 enet 100403 1500 - - - - - 0 0
409 enet 100409 1500 - - - - - 0 0
605 enet 100605 1500 - - - - - 0 0
701 enet 100701 1500 - - - - - 0 0
702 enet 100702 1500 - - - - - 0 0
703 enet 100703 1500 - - - - - 0 0
704 enet 100704 1500 - - - - - 0 0
706 enet 100706 1500 - - - - - 0 0
707 enet 100707 1500 - - - - - 0 0
708 enet 100708 1500 - - - - - 0 0
709 enet 100709 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - srb 0 0
1004 fdnet 101004 1500 - - 1 ieee - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0

Remote SPAN VLANs


------------------------------------------------------------------------------

Primary Secondary Type Ports


------- --------- ----------------- ------------------------------------------

Abreviatura
sh-- vl- ->

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

Vlan Mac Address Type Ports


---- ----------- ---- -----

Abreviatura
sh-- mac- ->

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

Vlan Mac Address Type Ports


---- ----------- ---- -----

Abreviatura
sh-- mac- ->

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

Proceed with reload? [confirm]:


01:59:24: %SYS-5-RELOAD: Reload requested

Abreviatura
rel->

vlan Configure VLAN parameters


vlan 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


write
Building configuration...
[OK]

Abreviatura
wr->

Switch(config)#
access-list Add an access list entry

arp Set a static ARP entry

exit Salir
exit
Abreviatura
ex->

hostname Ingresas el nombre del periferico


hostname [WORD]
Abreviatura
ho->

interface Seleccionas la interface a configurar


interface 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

vlan Vlan commands

Switch(config-if)#

channel-group Etherchannel/port bundling configuration


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

exit Salir
exit
Abreviatura
ex->

ip Interface Internet Protocol config commands

mac-address Manually set interface MAC address


mac-address [H.H.H]
Abreviatura
mac-a->

shutdown Shutdown a la interface


shutdown
Abreviatura
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

S-ar putea să vă placă și