Cisco CLI

Description

Command line diagram of cisco commands
Jason Hall
Mind Map by Jason Hall, updated more than 1 year ago
Jason Hall
Created by Jason Hall over 7 years ago
255
0

Resource summary

Cisco CLI
  1. User EXEC
    1. enable (priv exec)
      1. show
        1. ip nat statistics
          1. ip nat translations
            1. mac address-table

              Annotations:

              • * dynamic * static * secure - port-security * count* aging-timeclear mac address-table dynamicdynamic vlan _vlan-id_dynamic interface _int-id_dynamic address _mac-addr_
              1. running -config
                1. dhcp lease

                  Annotations:

                  • display any leases assigned to the switch or router
                  1. crypto key mypubkey rsa

                    Annotations:

                    • displays the public and private key pair generated by crypto key generate
                    1. ip ssh

                      Annotations:

                      • displays information about the ssh server and version 
                      1. ssh

                        Annotations:

                        • display information about ssh sessions
                        1. ip default-gateway
                          1. history

                            Annotations:

                            • display command history
                          2. terminal history size __size__

                            Annotations:

                            • changes the history size for the current session
                          3. show mac address-table
                          4. configure terminal
                            1. interface <type id>

                              Annotations:

                              • * type -  ** gig, ten, po, vlan
                              1. switchport mode <mode>

                                Annotations:

                                • * trunk * access * dynamic auto * dynamic desirable * dynamic auto * nonegotiate
                                1. ip address <address> <mask> [secondary]

                                  Annotations:

                                  • ip address dhcp for auto configuration 
                                  1. ip nat <zone>

                                    Annotations:

                                    • * inside - applied to inside interface with RFC1918 address * outside - applied to outside interface with public address
                                    1. switchport access vlan __vlan-id__
                                      1. switchport trunk allowed vlan [add,remove] __vlan-id__
                                      2. ip
                                        1. route <address> <mask> <next-hop> [AD]
                                          1. nat inside source static <inside-local> <inside-global>

                                            Annotations:

                                            • * inside global is the address that is used to traverse the internet.
                                            1. nat pool <name> <first addr> <second addr> netmask <mask>

                                              Annotations:

                                              • Dynamic NAT
                                              1. nat inside source list [#] pool <name>

                                                Annotations:

                                                • Dynamic NAT
                                                1. nat inside source list [#] interface <type id> overload

                                                  Annotations:

                                                  • NAT overload or PAT
                                                  1. ssh version <1|2>
                                                    1. ssh source interface <type id>
                                                      1. default-gateway __ip-address__
                                                        1. name-server __ip-addr__ __ip-addr__ ...

                                                          Annotations:

                                                          • add a dns resolver to IOS
                                                        2. access-list [#] <permit|deny> <addr>
                                                          1. line
                                                            1. console 0
                                                              1. vty 0 _num_
                                                                1. access-class __access-list__ <in|out>
                                                                  1. tranport input <all|ssh|telnet|none>
                                                                  2. password _password_
                                                                    1. login [local]
                                                                      1. history __size__ __length__
                                                                        1. exec-timeout __minutes__ [seconds]
                                                                        2. hostname __hostname__

                                                                          Annotations:

                                                                          • set the hostname for the router
                                                                          1. enable secret __secret__
                                                                            1. logging synchronous

                                                                              Annotations:

                                                                              • it will wait until the command is entered before outputting the logs to the console
                                                                              1. crypto key generate rsa [general-use] [modulous 1024, 2048]
                                                                              Show full summary Hide full summary

                                                                              Similar

                                                                              CCNA Security 210-260 IINS - Exam 3
                                                                              Mike M
                                                                              CCNA Security 210-260 IINS - Exam 1
                                                                              Mike M
                                                                              CCNA Security 210-260 IINS - Exam 2
                                                                              Mike M
                                                                              CCNP TShoot Final
                                                                              palciny
                                                                              Hálózat 5
                                                                              Cougar
                                                                              CISCO CCNA FInal Exam
                                                                              scuig
                                                                              CCNA Security HW 3 & 4 (also exam review)
                                                                              Anthony Schulmeister
                                                                              Hálózat 10
                                                                              Cougar
                                                                              Cisco IT Essentials 7.0 - Chapter 5: Networking Concepts Exam
                                                                              dksajpigbdu asdfagdsga
                                                                              Cisco IT Essentials 7.0 | Chapter 13: Security Exam
                                                                              dksajpigbdu asdfagdsga
                                                                              Hálózat 7
                                                                              Cougar