Sie sind auf Seite 1von 10

CCNA commands

Essam Jarrous

CCNA INTRO
Configuring the Switch IP Address wg_sw_a(config)#interface vlan 1 wg_sw_a(config-if)#ip address 10.5.5.11 255.255.255.0 wg_sw_a(config-if)#no shutdown Configuring the Switch Default Gateway wg_sw_a(config)#ip default-gateway 172.20.137.1 Showing Switch Initial Startup Status wg_sw_a#show version wg_sw_a#show running-config wg_sw_a#show interfaces Configuring Router Identification Router(config)#hostname wg_ro_c Wg_ro_c(config)#banner motd # here's the message, and then there should be a # Wg_ro_c(config)#interface Ethernet 0 Wg_ro_c(config-if)#description HQ, Bldg 18. Configuring a Router Passwords Router(config)#line console 0 Router(config-line)#login Router(config-line)#password cisco Router(config)#line vty 0 4 Router(config-line)#login [local] Router(config-line)#password sanjose Router(config)#enable password cisco Router(config)#enable secret sanfran Router(config)#service password-encryption Console-Line Commands Router(config)#line console 0 Router(config-line)#exec-timeout 20 30 Router(config-line)#logging synchronous Configuring a Serial Interface Router#configure terminal Router(config)#interface serial 0/0 Router(config-if)#clock rate 64000 "DCE only" Router(config-if)#bandwidth 64 Router(config-if)#ip address 172.16.0.2 255.255.255.0 Router(config-if)#no shutdown

CCNA commands Verifying a Serial Interface Configuration Router#show interface serial 0/0 Router#show controller serial 0/0 Using CDP Router(config)#cdp timer 60 Router(config)#cdp holdtime 180 Router(config)#no cdp run Router(config-if)#no cdp enable Router#show cdp neighbors [detail] Router#show cdp entry { * | dev-ID | ip address} Router#show cdp traffic Router#show cdp interface Using Telnet to Connect to Remote Devices Router#telnet 10.2.2.2 Router#show sessions Router#show users Router#<ctrl-shift-6>x Router#resume 1 Router#exit Router#logout Router#disconnect [session 11] Router#clear line 11

Essam Jarrous

CCNA commands

Essam Jarrous

CCNA ICND
Catalyst 2950 Series Switches wg_sw_2950#show run wg_sw_2950#show spanning-tree detail wg_sw_2950#show vlan wg_sw_2950#show interfaces vlan 1 Setting Duplex Options wg_sw_2950(config)#interface fa0/1 wg_sw_2950(config-if)#duplex {auto | full | half} Managing the MAC Address Table wg_sw_2950#show mac-address-table wg_sw_2950(config)# mac-address-table static 0004.5600.67ab vlan 1 interface fa0/2 Configuring Port Security wg_sw_2950(config-if)#switchport port-security [mac-address mac-address] | [maximum value] | [violation {protect |restrict | shutdown}] wg_sw_2950#show port-security [interface interface-id] [address] [ | {begin | exclude | include} expression] eg: wg_sw_2950(config)#interface fa0/1 wg_sw_2950(config-if)#switchport mode access wg_sw_2950(config-if)#switchport port-security wg_sw_2950(config-if)#switchport port-security maximum 1 wg_sw_2950(config-if)#switchport port-security mac-address 0008.eeee.eeee wg_sw_2950(config-if)#switchport port-security violation shutdown wg_sw_2950(config-if)#switchport port-security mac-address sticky wg_sw_2950#show port-security wg_sw_2950#show port-security address wg_sw_2950#show port-security interface fastethernet 0/1 Managing the Configuration File wg_sw_2950#copy nvram:startup-config tftp:[[[//location]/directory]/filename] wg_sw_2950#copy system:running-config tftp:[[[//location]/directory]/filename] wg_sw_2950#erase nvram: wg_sw_2950#erase startup-config eg: wg_sw_2950# copy nvram:startup-config tftp://172.16.2.155/wg_sw_a.cfg Creating a VTP Domain wg_sw_2950(config)#vtp mode [ server | client | transparent ] wg_sw_2950(config)#vtp domain domain-name wg_sw_2950(config)#vtp password password wg_sw_2950(config)#vtp pruning

CCNA commands wg_sw_2950#show vtp status wg_sw_2950#vtp version number wg_sw_2950#delete vtp

Essam Jarrous

Configuring Trunking wg_sw_2950(config-if)#switchport trunk encapsulation {isl | dot1q | negotiate} wg_sw_2950(config-if)#switchport mode {dynamic {auto | desirable} | trunk} wg_sw_2950#show interfaces interface [switchport | trunk] Configuring VLAN wg_sw_2950 (config)#vlan 2 or wg_sw_2950 (config)#vlan database wg_sw_2950 (config-vlan)#name VLAN2 wg_sw_2950(config-if)#switchport access [vlan vlan# | dynamic] wg_sw_2950#show vlan [brief | id vlan-id || name vlan-name] Configuring STP wg_sw_2950 (config)#spanning-tree vlan vlan# root wg_sw_2950 (config)#spanning-tree vlan vlan# priority priority wg_sw_2950 (config-if)#spanning-tree cost cost wg_sw_2950 (config-if)#spanning-tree portfast wg_sw_2950 (config-if)#channel-group ch# mode {auto | desirable | on} wg_sw_2950#show spanning-tree [active | detail | vlan vlan# | interface interface | summary] wg_sw_2950#show etherchannel ch# Static and Default Routes Router(config)#ip route network [mask] {address | interface}[distance] [permanent] Router(config)#ip route 0.0.0.0 0.0.0.0 {address | interface} Router(config)#ip classless Router#show ip route RIP Configuration Router(config)#router rip Router(config-router)#network network-number Router(config-router)#maximum-paths max-path Router#show ip protocols Router#show ip route Router#show ip interface brief Router#debug ip rip IGRP Configuration Router(config)#router igrp autonomous-system Router(config-router)#network network-number Router(config-router)#variance multiplier Router(config-router)#traffic-share {balanced | min} Router(config-router)#maximum-paths max-path Router#debug ip igrp transactions [ip-address] Router#debug ip igrp events [ip-address]

CCNA commands EIGRP Configuration Router(config)#router eigrp autonomous-system Router(config-router)#network network-number Router#show ip eigrp neighbors Router#show ip eigrp topology Router#show ip eigrp traffic Router#debug ip eigrp OSPF Configuration Router(config)#router ospf process-id Router(config-router)#network wildcard-mask area area-id Router#show ip ospf interface Router#show ip ospf neighbor Router#debug ip ospf events Router#debug ip ospf packet Router(config)#interface loopback number

Essam Jarrous

Standard IP ACL Configuration Router(config)#access-list access-list-number {permit | deny | remark} source [mask] Router(config-if)#ip access-group access-list-number {in | out} Extended IP ACL Configuration Router(config)#access-list access-list-number {permit | deny} protocol source source-wildcard [operator port] destination destination-wildcard [operator port] [established] [log] *** operator = {eq | lt | gt | neq} *** Router(config-if)#ip access-group access-list-number {in | out} Using Named IP ACL Router(config)#ip access-list {standard | extended} name Router(config {std- | ext-}nacl)#{permit | deny} {ip access list test conditions} Router(config-if)#ip access-group name {in | out} vty Commands Router(config)#line vty {vty# | vty-range} Router(config-line)#access-class access-list-number {in | out} Router#show ip interfaces e0 Router#show {protocol} access-list {access-list number} Router#show access-lists {access-list number} Configuring Static Translation Router(config)#ip nat inside source static local-ip global-ip Router(config-if)#ip nat inside Router(config-if)#ip nat outside Configuring Dynamic Translation Router(config)#ip nat pool name start-ip end-ip {netmask netmask | prefix prefix} Router(config)#access-list access-list-number permit source [source-wildcard] Router(config)#ip nat inside source list access-list-number pool name

CCNA commands

Essam Jarrous

Configuring Overloading Router(config)#access-list acl-number permit source source-wildcard Router(config)#ip nat inside source list acl-number interface interface overload Verifying NAT Router#show ip nat translations Router#show ip nat statistics Router#debug ip nat [detailed] Clearing the NAT Translation Table Router#clear ip nat translation * Router#clear ip nat translation inside global-ip local-ip [outside local-ip global-ip] Router#clear ip nat translation outside local-ip global-ip Router#clear ip nat translation protocol inside global-ip global-port local-ip local-port [outside local-ip local-port global-ip global-port] Configuring HDLC Encapsulation Router(config-if)#encapsulation hdlc Configuring PPP Router(config)#hostname name Router(config)#username name password password Router(config-if)#encapsulation ppp Router(config-if)#ppp authentication {chap | chap pap | pap chap | pap} Router#debug ppp authentication Configuring Basic Frame Relay Router(config-if)#ip address 10.16.0.1 255.255.255.0 Router(config-if)#bandwidth 64 Router(config-if)#encapsulation frame-relay [cisco | ietf] Router(config-if)#frame-relay lmi-type {ansi | cisco | q933a} Router(config-if)#frame-relay inverse-arp {ip | ipx | . } dlci Configuring a Static Frame Relay Map Router(config-if)#frame-relay map {ip | ipx | } address dlci [broadcast] [cisco | ietf | payload-compress packet-by-packet] Configuring Point-to-Point Subinterfaces interface Serial0 no ip address encapsulation frame-relay interface Serial0.110 point-to-point ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay interface-dlci 110 interface Serial0.120 point-to-point ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay interface-dlci 120

CCNA commands Multipoint Subinterfaces Configuration interface Serial0 no ip address encapsulation frame-relay interface Serial0.2 multi-point ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay map ip 10.17.0.2 120 broadcast frame-relay map ip 10.17.0.3 130 broadcast frame-relay map ip 10.17.0.4 140 broadcast Verifying Frame Relay Operation Router#show frame-relay traffic Router#show frame-relay lmi [type number] Router#show frame-relay map Router#show frame-relay pvc [interface type number] [dlci] Router#clear frame-relay-inarp Router#debug frame-relay lmi

Essam Jarrous

CCNA commands UCS Diagrams HA


UCS 2208XP
FAN STATUS FAN STATUS

Essam Jarrous

UCS 2208XP
FAN STATUS FAN STATUS

FAN 1

FAN 5

FAN 2

FAN 6

FAN 3

FAN 7

FAN 4

FAN 8

5
FAN STATUS FAN STATUS

5
FAN STATUS FAN STATUS

CHS A56

FCoE 10Gbps UCS 5108 Chassis FCoE 10Gbps


CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

ID STAT

Fabric Interconnect B 10Gbps Twinax


CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

ID STAT

Fabric Interconnect A 10Gbps Twinax

BGP

WAN Router

M Lease ain d Lin

Internet

Nexus 5500 with L3 External Switches WAN Router 10Gbps Fiber Nexus 5500 with L3 10Gbps Fiber Firewall Cluster

Backup Line Leased

Storage Array

CCNA commands Non HA


UCS 2208XP
FAN STATUS FAN STATUS

Essam Jarrous

UCS 2208XP
FAN STATUS FAN STATUS

FAN 1

FAN 5

FAN 2

FAN 6

FAN 3

FAN 7

FAN 4

FAN 8

5
FAN STATUS FAN STATUS

5
FAN STATUS FAN STATUS

CHS A56

UCS 5108 Chassis FCoE 10Gbps FCoE 10Gbps

CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

ID STAT

ID STAT

Fabric Interconnect A 10Gbps Twinax

Fabric Interconnect B

Internet Leased Line WAN Router Firewall Cluster Nexus 5500 with L3

10Gbps Fiber

Storage Array

CCNA commands Alternate design


UCS 2208XP
FAN STATUS FAN STATUS

Essam Jarrous

UCS 2208XP
FAN STATUS FAN STATUS

FAN 1

FAN 5

FAN 2

FAN 6

FAN 3

FAN 7

FAN 4

FAN 8

5
FAN STATUS FAN STATUS

5
FAN STATUS FAN STATUS

CHS A56

FCoE 10Gbps UCS 5108 Chassis FCoE 10Gbps


CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

ID STAT

Fabric Interconnect B 10Gbps Twinax


CISCO UCS 6248UP

10 11

12 13

14 15

16

17

18 19

20 21

22 23

24 25

26 27

28 29

30 31

32

ID STAT

Fabric Interconnect A

10Gbps Twinax

Internet Nexus 5500 with L3 WAN Router Firewall Cluster 10Gbps Fiber Nexus 5500 with L3 10Gbps Fiber Leased Line

Storage Array

11

Das könnte Ihnen auch gefallen