SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Sumario de Comandos
                                Comandos Básicos
   Comandos Básico del IOS                             Comandos Básico CLI
Switch(config)#hostname hostname            Switch> (enable) set system name name-string
                                            Switch> (enable) set prompt name (for different
                                            prompt)

                 The switch in-band management, management vlan
Switch(config)#interface vlan 1             Switch> (enable) set interface sc0 up
Switch(config-if)#ip address ip-address     Switch> (enable) set interface sc0 ip-address
netmask                                     netmask broad
Switch(config-if)#ip default-gateway        Switch> (enable) set interface sc0 vlan
ipaddress                                   (default = 1)
                                            Switch> (enable) set ip route default gateway-
                                            address

Ends and Exits
Switch(config-if)#end
Switch#
Switch(config-if)#exit
Switch(config)#
Switch(vlan)#end
Switch#

                                       Session Timeout
Switch(config-line)#exec-timeout            Switch> (enable) set logout minutes
minutes
                                      Salvar configuración
Switch#copy running-config startup-         {Config saved automatically}
config
                                            Switch> (enable) write net (upload)
Switch#copy running-config tftp
                                            Switch> (enable) configure net download)
Switch#copy tftp running-config
                                            Switch> (enable) copy config [flash |file-id |
                                            tftp]
                                            Switch> (enable) copy flash [flash |file-id |
                                            config]
                           Comando Show Visualización Configuración
Switch#show running-config                  Switch> (enable) show config [all]
Switch#show ip interface                    Switch> (enable) show port mod/num
                                            Switch> (enable) show interface
                                            Switch> (enable) show module
Comandos Básicos
   Comandos Básico del IOS                              Comandos Básico CLI
                                      Borrar configuración
Switch#erase startup-config                 Do Both of these:
1900 Switches:                              Switch> (enable) clear config all
1900-SW#(config)#delete nvram               Switch> (enable) clear vtp
1900-SW#(config)#delete vtp
1900-Switch#show ip

                                          Passwords
Set EXEC level password                     Set privileged level password
Switch(config)#enable password level 1      Switch> (enable) set enablepass
password
                                            vty and con passwords
Set privileged level password
                                            Switch> (enable) set password
Switch(config)#enable password level 15
password
vty and con passwords
Switch(config)#line vty vty-first vty-
last
Switch(config-line)#password password
Switch(config)#line con 0
Switch(config-line)#password password

                                  Comandos de Interfaces
Switch(config)#interface fastethernet 0     Switch> (enable) set port enable mod/num (enable
Switch(config-if)#description               a port or a range of ports)
description-string                          Switch> (enable) set port name mod/num
Switch(config-if)#speed [10 | 100 |         description
auto] (Ether only)                          Switch> (enable) set port speed mod/num [10 |
Switch(config-if)#duplex [auto | full |     100 | auto]
half] (Ether only)                          Switch> (enable) set port duplex mod/num [auto
                                            | full | half]
Comandos Show
                                            (auto sets speed and duplex)
Switch#show ip
                                            Comandos Show
                                            Switch> (enable) show interface
                                            Switch> (enable) show port name mod/num

                                             CDP
Switch(config-if)#cdp enable                Switch> (enable) set cdp {enable|disable}
                                            mod/port
Comandos Show
                                            Comandos Show
Switch#show cdp inteface type mod/num
                                            Switch> (enable) show cdp neighbors [mod/port]
Switch#show cdp neighbors type mod/num      [vlan |duplex |capabilities | detail]
[detail]
VLANs
   Comandos Básico del IOS     Comandos Básico CLI
                           The switch in-band management, management vlan
Switch(config)#interface vlan 1                     Switch> (enable) set interface sc0
                                                    ipaddress netmask broad
Switch(config-if)#ip address ip-address
netmask                                             Switch> (enable) set interface sc0 vlan
                                                    (default = 1)
Switch(config-if)#ip default-gateway
ipaddress                                           Switch> (enable) set ip route default
                                                    gateway-address
                                           Creación VLANs
Switch#vlan database                                Switch> (enable) set vlan vlan-num [name
                                                    name]
Switch(vlan)#vlan vlan-num name vlan-name
                                                    Switch> (enable) set vlan vlan-num
Switch(config)#interface fastethernet 0             mod/num,list
Switch(config-if)#switchport access vlan            Switch> (enable) clear vlan vlan-
vlan-num
Switch(config-if)#no switchport access vlan
vlan-num
1900 Switches
1900-SW(config-if)#vlan-membership static
vlan-num (Doesn’t exist)

Comandos Show                                       Comandos Show
Switch#show vlan brief                              Switch> (enable) show vlan
Switch#show ip                                      Switch> (enable) show interface
                                             VLAN Trunks
                                              Publicación
Switch(config)#interface fastethernet 0             Switch> (enable) set trunk mod/port [on |
                                                    off |desirable | auto | nonegotiate] [isl
Switch(config-if)#switchport mode [access |         | dot1q | dot10 | lane | negotiate] vlan-
multi | trunk]                                      range

Switch(config-if)#switchport trunk                  Switch> (enable) clear trunk mod/port
encapsulation {isl|dot1q}
                                                    vlan-range (must remove as all vlans trunked by
Otros comandos                                      default)
Switch(config-if)#switchport trunk allowed
vlan remove vlan-list (must remove as all trunked
by default)

Switch(config-if)#switchport trunk allowed
vlan add vlan-list (then add vlans to be trunked)

Switches 1900
Switch(config-if)#trunk on

Switch(config-if)#no trunk-vlan vlan-list
Comandos Show                                       Comandos Show
Switch#show interface mod/num switchport            Switch> (enable) show trunk
Show port capabilities
                                                    Switch> (enable) show port capabilities
                                                    mod/num
VLANs
    Comandos Básico del IOS     Comandos Básico CLI
                                      VTP (VLAN Trunking Protocol)
                                            Habilitación de VTP

Switch#vlan database                                      Switch> (enable) set vtp [domain
                                                          domainname][mode {server | client |
Switch(vlan)#vtp domain domain-name                       transparent}] [password password]
Switch(vlan)#vtp {server | client |
transparent}                                              Switch> (enable) set vtp v2 enable (version
Switch(vlan)#vtp password password
Switch(vlan)#vtp v2-mode (version2)

                                                   VTP Pruning

Switch(vlan)#vtp pruning                                  Switch> (enable) set vtp pruning enable
                                                          Switch> (enable) set vtp pruneeligible
Switch(config-if)#switchport trunk pruning                vlan-range
vlan remove vlan-list (remove vlans from pruning)
                                                          Switch> (enable) clear vtp pruning
                                                          vlanrange
Comandos Show                                             Comandos Show
Switch#show vtp                                           Switch> (enable) show vtp domain
Switch#show vtp status                                    Switch> (enable) show vtp statistics
Switch#show vtp counters                                  Switch> (enable) show vlan




                                    Spanning Tree Protocol
        Comandos Básico del IOS                                         Comandos Básico CLI
                       Habilitación de Spanning Tree (Habilitado por Omisión)
Switch(config)#spantree vlan-list                     Switch> (enable) set spantree enable [all |
                                                      mod/num]
(Enabled by default)



                                    Otros comandos de configuración

Bridge Priority                                       Bridge Priority

Switch(config)#spanning-tree [vlan                    Switch> (enable) set spantree priority
vlanlist] priority prty                               priority vlan (Lower wins, Priority default = 32,768)
Port Cost                                             Port Cost
                                                      Switch> (enable) set spantree portcost
Switch(config-if)#spanning-tree [vlan vlan-list]      mod/num cost (Lower wins)
cost cost
                                                      Switch> (enable) set spantree portvlancost
                                                      mod/num [cost cost] [vlanlist]
Spanning Tree Protocol
         Comandos Básico del IOS                                         Comandos Básico CLI
Port Priority                                            Port Priority
Switch(config-if)#spanning-tree [vlan vlan-list] port-   Switch> (enable) set spantree portpri mod/num
priority port-priority                                   cost (Lower wins, Priority default = 32, range 0-63)

                                                         Switch> (enable) set spantree portvlanpri
                                                         mod/num priority vlan-list

Root Bridge                                              Root Bridge
                                                         Switch> (enable) set spantree root
N/A                                                      [secondary] [vlan-list][dia diameter] [hello
                                                         hellotime]

                                                         (Reduces default priority of 32,768 to 8,192)
                                                     STP Timers

Switch(config)#spanning-tree [vlan                       Switch> (enable) set spantree hello interval
vlanlist][hello-time seconds]                            [vlan]
(Default = 2 secs )                                      Switch> (enable) set spantree fwddelay delay
                                                         [vlan]
Switch(config)#spanning-tree [vlan
vlanlist][forward-time seconds]                          Switch> (enable) set spantree maxage
                                                         agingtime [vlan]
(Default = 15 secs )
                                                         Switch> (enable) set spantree root
Switch(config)#spanning-tree [vlan                       [secondary] [vlan-list] [dia diameter] [hello
vlanlist][max-age seconds]                               hellotime]
(Default = 20 secs )                                     (Lower wins, Priority default = 32,768)

                                  STP PortFast, UplinkFast, BackboneFast

Switch(config)#spanning-tree portfast                    Switch> (enable) set spantree portfast
                                                         [mod/num] [enable|disable]
Or
                                                         Switch> (enable) set spantree uplinkfast
Switch(config)#spantree start-forwarding                 [enable|disable] [rate update-rate]
                                                         [allprotocols off | on]
(For server and workstation ports)
                                                         Switch> (enable) set spantree backbonefast
Switch(config)#spanning-tree uplinkfast                  [enable|disable]
[max-update-rate pkts-per-sec]
                                                         (Must be on all switches, when receives inferior BPDU)
(For access switches when direct knowledge of failure)

                                                  Comandos Show

Switch#show spanning-tree [vlan]                         Switch> (enable) show spantree [vlan]
Switch#show spanning-tree mod/num                        Switch> (enable) show spantree mod/num




                                          Inter-VLAN Routing
                                                                 5000 Integrated Route Processor
  External Route Processor Commands
                                                                           Commands
VLANs – created at the switch level, but controlled at
the route processor level.
Inter-VLAN Routing
                                                       5000 Integrated Route Processor
 External Route Processor Commands
                                                                 Commands
External Route Processor                       Integrated Route Processor
Router(config)#interface ethernet 0            Switch> (enable) session module-number
Router(config-if)#encapsulation [isl |         *Router(config)#interface vlan-
dot1q] vlan-number                             interfacenumber
Router(config-if)#ip address ip-address        Router(config-if)#ip address ip-address
subnet-mask                                    subnet-mask

                                      Configuración de ruteo
Router(config)#ip routing                      Router(config)#ip routing
Router(config)#router routing-protocol         Router(config)#router routing-protocol
                                               Router(config-router)#network network
Router(config-router)#network network
                                               * Differs from:
                                               Switch(config)#interface vlan 1
                                               Switch(config)#assigns ip address to switch mngt
                                               interface

                                               Router(config)#configures vlan interface on
                                               RSM
            Comandos Básico del IOS                              Comandos Básico CLI
Default Gateway                                Default Gateway
Switch(config)#ip default-gateway ip           Switch> (enable) set ip route destination
address
                                               gateway metric
Comandos Show
                                               Comandos Show
Switch#show ip
                                               Switch> (enable) show module mod-number

Mais conteúdo relacionado

Mais procurados

Comandos
ComandosComandos
Comandos1 2d
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet3Anetwork com
 
Ccna voice study summary 460
Ccna voice study summary 460Ccna voice study summary 460
Ccna voice study summary 460B Mach
 
Huawei cisco command conversion
Huawei cisco command conversionHuawei cisco command conversion
Huawei cisco command conversionjames Omara
 
Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco DJENNA AMIR
 
Ccna icnd2-labs exercices
Ccna icnd2-labs exercicesCcna icnd2-labs exercices
Ccna icnd2-labs exercicessaqrjareh
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commandsHuanetwork
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntaxguestcc37e8c
 
Athenticated smaba server config with open vpn
Athenticated smaba server  config with open vpnAthenticated smaba server  config with open vpn
Athenticated smaba server config with open vpnChanaka Lasantha
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)DH Da Lat
 
Cisco vs. huawei CLI Commands
Cisco vs. huawei CLI CommandsCisco vs. huawei CLI Commands
Cisco vs. huawei CLI CommandsBootcamp SCL
 

Mais procurados (17)

Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
 
Comandos
ComandosComandos
Comandos
 
Router commands
Router commandsRouter commands
Router commands
 
Router commands
Router commandsRouter commands
Router commands
 
Open MP cheet sheet
Open MP cheet sheetOpen MP cheet sheet
Open MP cheet sheet
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
Ccna voice study summary 460
Ccna voice study summary 460Ccna voice study summary 460
Ccna voice study summary 460
 
Hsrp
HsrpHsrp
Hsrp
 
Huawei cisco command conversion
Huawei cisco command conversionHuawei cisco command conversion
Huawei cisco command conversion
 
Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco
 
Ccna icnd2-labs exercices
Ccna icnd2-labs exercicesCcna icnd2-labs exercices
Ccna icnd2-labs exercices
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commands
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
 
Athenticated smaba server config with open vpn
Athenticated smaba server  config with open vpnAthenticated smaba server  config with open vpn
Athenticated smaba server config with open vpn
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
Cisco vs. huawei CLI Commands
Cisco vs. huawei CLI CommandsCisco vs. huawei CLI Commands
Cisco vs. huawei CLI Commands
 
9210 commissioning manual
9210 commissioning manual9210 commissioning manual
9210 commissioning manual
 

Semelhante a Comandos routing switching

Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration3Anetwork com
 
Basic Switch Configurations
Basic Switch ConfigurationsBasic Switch Configurations
Basic Switch ConfigurationsNicholas Shell
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideIT Tech
 
labffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxlabffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxBinyamBekeleMoges
 
CCNA R&S 2 3 4 All Commands
CCNA R&S 2 3 4 All Commands CCNA R&S 2 3 4 All Commands
CCNA R&S 2 3 4 All Commands MohamedZiadi5
 
Resumen vlan configuracion basica
Resumen vlan configuracion basicaResumen vlan configuracion basica
Resumen vlan configuracion basicaRodrigo Guerra
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheetGuntaka Reddy
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheetEZREIG OMAR
 
Cisco Router Basic Configuraiton
Cisco Router Basic ConfiguraitonCisco Router Basic Configuraiton
Cisco Router Basic ConfiguraitonKadir CIKIS
 
VLAN, VTP, DTP, Ether channel Cheat Sheet With examples.pptx
VLAN, VTP, DTP, Ether channel  Cheat Sheet With examples.pptxVLAN, VTP, DTP, Ether channel  Cheat Sheet With examples.pptx
VLAN, VTP, DTP, Ether channel Cheat Sheet With examples.pptxINFitunes
 
Ccna 4 final lab switchi
Ccna 4 final lab switchiCcna 4 final lab switchi
Ccna 4 final lab switchiLeandro Uglar
 
commandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfcommandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfAchRaf264021
 
Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2MAFANTIRI SELLO
 

Semelhante a Comandos routing switching (20)

Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Basic Switch Configurations
Basic Switch ConfigurationsBasic Switch Configurations
Basic Switch Configurations
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
labffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxlabffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptx
 
CCNA R&S 2 3 4 All Commands
CCNA R&S 2 3 4 All Commands CCNA R&S 2 3 4 All Commands
CCNA R&S 2 3 4 All Commands
 
Resumen vlan configuracion basica
Resumen vlan configuracion basicaResumen vlan configuracion basica
Resumen vlan configuracion basica
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheet
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheet
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Configuración del dial peer
Configuración del dial peer Configuración del dial peer
Configuración del dial peer
 
Vlan
VlanVlan
Vlan
 
Cisco Router Basic Configuraiton
Cisco Router Basic ConfiguraitonCisco Router Basic Configuraiton
Cisco Router Basic Configuraiton
 
VLAN, VTP, DTP, Ether channel Cheat Sheet With examples.pptx
VLAN, VTP, DTP, Ether channel  Cheat Sheet With examples.pptxVLAN, VTP, DTP, Ether channel  Cheat Sheet With examples.pptx
VLAN, VTP, DTP, Ether channel Cheat Sheet With examples.pptx
 
Simulasi vlan
Simulasi vlanSimulasi vlan
Simulasi vlan
 
Ccna 4 final lab switchi
Ccna 4 final lab switchiCcna 4 final lab switchi
Ccna 4 final lab switchi
 
commandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfcommandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdf
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2
 
CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 

Mais de 1 2d

Notas clase
Notas claseNotas clase
Notas clase1 2d
 
Notas clase java ii
Notas clase java iiNotas clase java ii
Notas clase java ii1 2d
 
J2me
J2meJ2me
J2me1 2d
 
6. control de acceso
6. control de acceso6. control de acceso
6. control de acceso1 2d
 
5. administracioìn de claves y certificados
5. administracioìn de claves y certificados5. administracioìn de claves y certificados
5. administracioìn de claves y certificados1 2d
 
4. certificados digitales
4. certificados digitales4. certificados digitales
4. certificados digitales1 2d
 
3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales1 2d
 
2. criptografiìa con java
2. criptografiìa con java2. criptografiìa con java
2. criptografiìa con java1 2d
 
1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1 2d
 
1046 pdfsam opos informatica
1046 pdfsam opos informatica1046 pdfsam opos informatica
1046 pdfsam opos informatica1 2d
 
1203 pdfsam opos informatica
1203 pdfsam opos informatica1203 pdfsam opos informatica
1203 pdfsam opos informatica1 2d
 
878 pdfsam opos informatica
878 pdfsam opos informatica878 pdfsam opos informatica
878 pdfsam opos informatica1 2d
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica1 2d
 
1704 pdfsam opos informatica
1704 pdfsam opos informatica1704 pdfsam opos informatica
1704 pdfsam opos informatica1 2d
 
1893 pdfsam opos informatica
1893 pdfsam opos informatica1893 pdfsam opos informatica
1893 pdfsam opos informatica1 2d
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica1 2d
 
706 pdfsam opos informatica
706 pdfsam opos informatica706 pdfsam opos informatica
706 pdfsam opos informatica1 2d
 
330 pdfsam opos informatica
330 pdfsam opos informatica330 pdfsam opos informatica
330 pdfsam opos informatica1 2d
 
1 pdfsam opos informatica
1 pdfsam opos informatica1 pdfsam opos informatica
1 pdfsam opos informatica1 2d
 
1379 pdfsam opos informatica
1379 pdfsam opos informatica1379 pdfsam opos informatica
1379 pdfsam opos informatica1 2d
 

Mais de 1 2d (20)

Notas clase
Notas claseNotas clase
Notas clase
 
Notas clase java ii
Notas clase java iiNotas clase java ii
Notas clase java ii
 
J2me
J2meJ2me
J2me
 
6. control de acceso
6. control de acceso6. control de acceso
6. control de acceso
 
5. administracioìn de claves y certificados
5. administracioìn de claves y certificados5. administracioìn de claves y certificados
5. administracioìn de claves y certificados
 
4. certificados digitales
4. certificados digitales4. certificados digitales
4. certificados digitales
 
3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales
 
2. criptografiìa con java
2. criptografiìa con java2. criptografiìa con java
2. criptografiìa con java
 
1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1. introduccioìn a la seguridad
1. introduccioìn a la seguridad
 
1046 pdfsam opos informatica
1046 pdfsam opos informatica1046 pdfsam opos informatica
1046 pdfsam opos informatica
 
1203 pdfsam opos informatica
1203 pdfsam opos informatica1203 pdfsam opos informatica
1203 pdfsam opos informatica
 
878 pdfsam opos informatica
878 pdfsam opos informatica878 pdfsam opos informatica
878 pdfsam opos informatica
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica
 
1704 pdfsam opos informatica
1704 pdfsam opos informatica1704 pdfsam opos informatica
1704 pdfsam opos informatica
 
1893 pdfsam opos informatica
1893 pdfsam opos informatica1893 pdfsam opos informatica
1893 pdfsam opos informatica
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica
 
706 pdfsam opos informatica
706 pdfsam opos informatica706 pdfsam opos informatica
706 pdfsam opos informatica
 
330 pdfsam opos informatica
330 pdfsam opos informatica330 pdfsam opos informatica
330 pdfsam opos informatica
 
1 pdfsam opos informatica
1 pdfsam opos informatica1 pdfsam opos informatica
1 pdfsam opos informatica
 
1379 pdfsam opos informatica
1379 pdfsam opos informatica1379 pdfsam opos informatica
1379 pdfsam opos informatica
 

Último

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Último (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

Comandos routing switching

  • 1. Sumario de Comandos Comandos Básicos Comandos Básico del IOS Comandos Básico CLI Switch(config)#hostname hostname Switch> (enable) set system name name-string Switch> (enable) set prompt name (for different prompt) The switch in-band management, management vlan Switch(config)#interface vlan 1 Switch> (enable) set interface sc0 up Switch(config-if)#ip address ip-address Switch> (enable) set interface sc0 ip-address netmask netmask broad Switch(config-if)#ip default-gateway Switch> (enable) set interface sc0 vlan ipaddress (default = 1) Switch> (enable) set ip route default gateway- address Ends and Exits Switch(config-if)#end Switch# Switch(config-if)#exit Switch(config)# Switch(vlan)#end Switch# Session Timeout Switch(config-line)#exec-timeout Switch> (enable) set logout minutes minutes Salvar configuración Switch#copy running-config startup- {Config saved automatically} config Switch> (enable) write net (upload) Switch#copy running-config tftp Switch> (enable) configure net download) Switch#copy tftp running-config Switch> (enable) copy config [flash |file-id | tftp] Switch> (enable) copy flash [flash |file-id | config] Comando Show Visualización Configuración Switch#show running-config Switch> (enable) show config [all] Switch#show ip interface Switch> (enable) show port mod/num Switch> (enable) show interface Switch> (enable) show module
  • 2. Comandos Básicos Comandos Básico del IOS Comandos Básico CLI Borrar configuración Switch#erase startup-config Do Both of these: 1900 Switches: Switch> (enable) clear config all 1900-SW#(config)#delete nvram Switch> (enable) clear vtp 1900-SW#(config)#delete vtp 1900-Switch#show ip Passwords Set EXEC level password Set privileged level password Switch(config)#enable password level 1 Switch> (enable) set enablepass password vty and con passwords Set privileged level password Switch> (enable) set password Switch(config)#enable password level 15 password vty and con passwords Switch(config)#line vty vty-first vty- last Switch(config-line)#password password Switch(config)#line con 0 Switch(config-line)#password password Comandos de Interfaces Switch(config)#interface fastethernet 0 Switch> (enable) set port enable mod/num (enable Switch(config-if)#description a port or a range of ports) description-string Switch> (enable) set port name mod/num Switch(config-if)#speed [10 | 100 | description auto] (Ether only) Switch> (enable) set port speed mod/num [10 | Switch(config-if)#duplex [auto | full | 100 | auto] half] (Ether only) Switch> (enable) set port duplex mod/num [auto | full | half] Comandos Show (auto sets speed and duplex) Switch#show ip Comandos Show Switch> (enable) show interface Switch> (enable) show port name mod/num CDP Switch(config-if)#cdp enable Switch> (enable) set cdp {enable|disable} mod/port Comandos Show Comandos Show Switch#show cdp inteface type mod/num Switch> (enable) show cdp neighbors [mod/port] Switch#show cdp neighbors type mod/num [vlan |duplex |capabilities | detail] [detail]
  • 3. VLANs Comandos Básico del IOS Comandos Básico CLI The switch in-band management, management vlan Switch(config)#interface vlan 1 Switch> (enable) set interface sc0 ipaddress netmask broad Switch(config-if)#ip address ip-address netmask Switch> (enable) set interface sc0 vlan (default = 1) Switch(config-if)#ip default-gateway ipaddress Switch> (enable) set ip route default gateway-address Creación VLANs Switch#vlan database Switch> (enable) set vlan vlan-num [name name] Switch(vlan)#vlan vlan-num name vlan-name Switch> (enable) set vlan vlan-num Switch(config)#interface fastethernet 0 mod/num,list Switch(config-if)#switchport access vlan Switch> (enable) clear vlan vlan- vlan-num Switch(config-if)#no switchport access vlan vlan-num 1900 Switches 1900-SW(config-if)#vlan-membership static vlan-num (Doesn’t exist) Comandos Show Comandos Show Switch#show vlan brief Switch> (enable) show vlan Switch#show ip Switch> (enable) show interface VLAN Trunks Publicación Switch(config)#interface fastethernet 0 Switch> (enable) set trunk mod/port [on | off |desirable | auto | nonegotiate] [isl Switch(config-if)#switchport mode [access | | dot1q | dot10 | lane | negotiate] vlan- multi | trunk] range Switch(config-if)#switchport trunk Switch> (enable) clear trunk mod/port encapsulation {isl|dot1q} vlan-range (must remove as all vlans trunked by Otros comandos default) Switch(config-if)#switchport trunk allowed vlan remove vlan-list (must remove as all trunked by default) Switch(config-if)#switchport trunk allowed vlan add vlan-list (then add vlans to be trunked) Switches 1900 Switch(config-if)#trunk on Switch(config-if)#no trunk-vlan vlan-list Comandos Show Comandos Show Switch#show interface mod/num switchport Switch> (enable) show trunk Show port capabilities Switch> (enable) show port capabilities mod/num
  • 4. VLANs Comandos Básico del IOS Comandos Básico CLI VTP (VLAN Trunking Protocol) Habilitación de VTP Switch#vlan database Switch> (enable) set vtp [domain domainname][mode {server | client | Switch(vlan)#vtp domain domain-name transparent}] [password password] Switch(vlan)#vtp {server | client | transparent} Switch> (enable) set vtp v2 enable (version Switch(vlan)#vtp password password Switch(vlan)#vtp v2-mode (version2) VTP Pruning Switch(vlan)#vtp pruning Switch> (enable) set vtp pruning enable Switch> (enable) set vtp pruneeligible Switch(config-if)#switchport trunk pruning vlan-range vlan remove vlan-list (remove vlans from pruning) Switch> (enable) clear vtp pruning vlanrange Comandos Show Comandos Show Switch#show vtp Switch> (enable) show vtp domain Switch#show vtp status Switch> (enable) show vtp statistics Switch#show vtp counters Switch> (enable) show vlan Spanning Tree Protocol Comandos Básico del IOS Comandos Básico CLI Habilitación de Spanning Tree (Habilitado por Omisión) Switch(config)#spantree vlan-list Switch> (enable) set spantree enable [all | mod/num] (Enabled by default) Otros comandos de configuración Bridge Priority Bridge Priority Switch(config)#spanning-tree [vlan Switch> (enable) set spantree priority vlanlist] priority prty priority vlan (Lower wins, Priority default = 32,768) Port Cost Port Cost Switch> (enable) set spantree portcost Switch(config-if)#spanning-tree [vlan vlan-list] mod/num cost (Lower wins) cost cost Switch> (enable) set spantree portvlancost mod/num [cost cost] [vlanlist]
  • 5. Spanning Tree Protocol Comandos Básico del IOS Comandos Básico CLI Port Priority Port Priority Switch(config-if)#spanning-tree [vlan vlan-list] port- Switch> (enable) set spantree portpri mod/num priority port-priority cost (Lower wins, Priority default = 32, range 0-63) Switch> (enable) set spantree portvlanpri mod/num priority vlan-list Root Bridge Root Bridge Switch> (enable) set spantree root N/A [secondary] [vlan-list][dia diameter] [hello hellotime] (Reduces default priority of 32,768 to 8,192) STP Timers Switch(config)#spanning-tree [vlan Switch> (enable) set spantree hello interval vlanlist][hello-time seconds] [vlan] (Default = 2 secs ) Switch> (enable) set spantree fwddelay delay [vlan] Switch(config)#spanning-tree [vlan vlanlist][forward-time seconds] Switch> (enable) set spantree maxage agingtime [vlan] (Default = 15 secs ) Switch> (enable) set spantree root Switch(config)#spanning-tree [vlan [secondary] [vlan-list] [dia diameter] [hello vlanlist][max-age seconds] hellotime] (Default = 20 secs ) (Lower wins, Priority default = 32,768) STP PortFast, UplinkFast, BackboneFast Switch(config)#spanning-tree portfast Switch> (enable) set spantree portfast [mod/num] [enable|disable] Or Switch> (enable) set spantree uplinkfast Switch(config)#spantree start-forwarding [enable|disable] [rate update-rate] [allprotocols off | on] (For server and workstation ports) Switch> (enable) set spantree backbonefast Switch(config)#spanning-tree uplinkfast [enable|disable] [max-update-rate pkts-per-sec] (Must be on all switches, when receives inferior BPDU) (For access switches when direct knowledge of failure) Comandos Show Switch#show spanning-tree [vlan] Switch> (enable) show spantree [vlan] Switch#show spanning-tree mod/num Switch> (enable) show spantree mod/num Inter-VLAN Routing 5000 Integrated Route Processor External Route Processor Commands Commands VLANs – created at the switch level, but controlled at the route processor level.
  • 6. Inter-VLAN Routing 5000 Integrated Route Processor External Route Processor Commands Commands External Route Processor Integrated Route Processor Router(config)#interface ethernet 0 Switch> (enable) session module-number Router(config-if)#encapsulation [isl | *Router(config)#interface vlan- dot1q] vlan-number interfacenumber Router(config-if)#ip address ip-address Router(config-if)#ip address ip-address subnet-mask subnet-mask Configuración de ruteo Router(config)#ip routing Router(config)#ip routing Router(config)#router routing-protocol Router(config)#router routing-protocol Router(config-router)#network network Router(config-router)#network network * Differs from: Switch(config)#interface vlan 1 Switch(config)#assigns ip address to switch mngt interface Router(config)#configures vlan interface on RSM Comandos Básico del IOS Comandos Básico CLI Default Gateway Default Gateway Switch(config)#ip default-gateway ip Switch> (enable) set ip route destination address gateway metric Comandos Show Comandos Show Switch#show ip Switch> (enable) show module mod-number