CCNA Class 09: Introduction of Cisco Packet Tracer & Basic Switch/Router Configuration

 Installation the Cisco Packet Tracer and Basic Switching Configuration


Understanding the Basic Router/Switch Configuration:

Fig: Basic Switch Configuration Diagram


Switch>? ~(User Exec Mode)

Exec commands:

connect              Open a terminal connection

disable               Turn off privileged commands

disconnect         Disconnect an existing network connection

enable                Turn on privileged commands

exit                     Exit from the EXEC

logout                Exit from the EXEC

ping                   Send echo messages

resume              Resume an active network connection

show                 Show running system information

ssh                    Open a secure shell client connection

telnet                Open a telnet connection

terminal            Set terminal line parameters

traceroute         Trace route to destination

Switch>enable

Switch#?                            ~(Privileged Exec Mode)

        Exec commands:

        clear             Reset functions

        clock             Manage the system clock

        configure      Enter configuration mode

        connect         Open a terminal connection

        copy              Copy from one file to another

        debug           Debugging functions (see also 'undebug')

        delete           Delete a file

        dir                List files on a filesystem

        disable         Turn off privileged commands

        disconnect   Disconnect an existing network connection

        enable         Turn on privileged commands

        erase           Erase a filesystem

        exit             Exit from the EXEC

        logout         Exit from the EXEC

        more          Display the contents of a file

        no              Disable debugging informations

        ping           Send echo messages

        reload        Halt and perform a cold restart

        resume      Resume an active network connection

        setup         Run the SETUP command facility

        show         Show running system information

        ssh            Open a secure shell client connection

        telnet        Open a telnet connection

        terminal    Set terminal line parameters

        traceroute Trace route to destination

        undebug   Disable debugging functions (see also 'debug')

        write        Write running configuration to memory, network, or terminal

Switch#show ip interface vlan 1

Switch#show running-config

Switch#Configure terminal

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

Switch(config)#?                            ~(Global Configuration Mode)

        Configure commands:

        aaa                  Authentication, Authorization and Accounting.

        access-list      Add an access list entry

        banner            Define a login banner

        boot               Boot Commands

        cdp                 Global CDP configuration subcommands

        clock               Configure time-of-day clock

        crypto             Encryption module

        default            Set a command to its defaults

        do-exec           To run exec commands in config mode

        dot1x              IEEE 802.1X Global Configuration Commands

        enable             Modify enable password parameters

        end                 Exit from configure mode

        exit                  Exit from configure mode

        hostname        Set system's network name

        interface         Select an interface to configure

        ip                     Global IP configuration subcommands

        line                 Configure a terminal line

        lldp                 Global LLDP configuration subcommands

        logging           Modify message logging facilities

        mac                 MAC configuration

        mls                 mls global commands

        monitor          SPAN information and configuration

        no                   Negate a command or set its defaults

        ntp                  Configure NTP

        port-channel   EtherChannel configuration

        privilege         Command privilege parameters

        sdm                Switch database management

        service            Modify use of network based services

        snmp-server   Modify SNMP engine parameters

        spanning-tree Spanning Tree Subsystem

        tacacs-server  Modify TACACS query parameters

        username        Establish User Name Authentication

        vlan                 Vlan commands

        vtp                  Configure global VTP state

Switch(config)#hostname “Core-Dist-SW”    

Core-Dist-SW(config)#line console 0

Switch(config-line)#?                            ~(Line Configuration Mode)

        Line configuration commands:

        access-class    Filter connections based on an IP access list

        accounting      Accounting parameters

        databits          Set number of data bits per character

        default            Set a command to its defaults

        exec-timeout   Set the EXEC timeout

        exit                 Exit from line configuration mode

        flowcontrol      Set the flow control

        history            Enable and control the command history function

        logging           Modify message logging facilities

        login               Enable password checking

        motd-banner   Enable the display of the MOTD banner

        no                  Negate a command or set its defaults

        parity             Set terminal parity

        password        Set a password

        privilege         Change privilege level for line

        speed             Set the transmit and receive speeds

        stopbits          Set async line stop bits

        transport     Define transport protocols for line

Core-Dist-SW(config-line)#password unitexho

Core-Dist-SW(config-line)#login authentication default

Core-Dist-SW(config-line)#end

Core-Dist-SW(config)#line vty 0 15

Core-Dist-SW(config-line)#password unitexho

Core-Dist-SW(config-line)#transport input ssh 

Core-Dist-SW(config-line)#end

Core-Dist-SW#copy running-config startup-config  


Core-Dist-SW#Configure terminal

Core-Dist-SW(config)#interface vlan 1

Core-Dist-SW(config-if)#ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx   ~(Interface Configuration Mode)

Core-Dist-SW(config)#no shutdown

Core-Dist-SW(config-if)#description "<Text>"

Core-Dist-SW(config)#ip default-gateway xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

Core-Dist-SW(config)#line vty 0 15

Core-Dist-SW(config-line)#transport input ssh 

Core-Dist-SW(config-line)#end

Core-Dist-SW#copy running-config startup-config 

Destination filename [startup-config]? 

Building configuration...

[OK]

Core-Dist-SW#write memory 


Core-Dist-SW>enable 

Core-Dist-SW#configure terminal 

Core-Dist-SW(config)#banner motd cHello this is Core SWc

Core-Dist-SW(config)#username  unitexh privilege 15 password unitexho

Core-Dist-SW(config)#enable password unitexho

Core-Dist-SW(config)#service password-encryption 

Core-Dist-SW(config)#vlan ?

  <1-4094>  ISL VLAN IDs 1-1005

Core-Dist-SW(config)#



Theoretical Concept Link:

https://www.cisco.com/en/US/docs/switches/lan/catalyst3850/software/release/3.2_0_se/multibook/configuration_guide/b_multibook_config_guide_wireless_3850_chapter_01.html


https://drive.google.com/file/d/1lqa-9DbYeAdlqmkSY1kUkfWT2B8x9uJ2/view?usp=sharing 


https://drive.google.com/file/d/1EoP6e7on0Gut-Y1i_rCWS6W5_0tHmpkB/view?usp=sharing


How to make the Banner on Switch or Router?

Configuring a Cisco Banner: MOTD & Login Banner with examples -

Banner MOTD: 
MOTD stands for "Message of the Day," and it will be displayed before the user authenticates to our devices. Example is -

Router(config)#banner motd %
Enter TEXT message.  End with the character '%'.
################################################
#                                                                                            #
#           BR ADVISED. BE ADVISED. A LEGITIMATE          #
#   CONTRACTOR WILL BE PERFORMING NETWORK    #
#      TEST ON ALL OF OUR SYSTEMS FOR THE NEXT    #
#     WEEK. IF YOU NOTICE ANY CONGESTION ISSUES #
#         REPORT THIS DIRECTLY TO THE NETADMIN        #
#                                    THANK YOU..!!                                #
################################################
##############################################
#                                                                                        #
#   YOU ARE ACCESSING A RESTRICTED SYSTEM.   #
#                                                                                        #
##############################################
%

Here, % using the delimiter Character


Banner Login:
The Login banner will also be displayed before the user authenticates to our devices and will be show after MOTD Banner. Example - 

Router(config)#banner login $
Enter TEXT message.  End with the character '$'.
#############################################
#     WELCOME TO THE CORE CISCO ROUTER         #
#############################################
#############################################
#                                                                                      #
#   ONLY THE AUTHORIZED PERSON ACCESSED.!   #
#   YOUR ACCESSED WILL BE RECORD FOR THE    #
#                          FUTURE INVESTIGATION.                #
#                                                                                      #
#############################################
$



Popular posts from this blog

RHCSA-EX200: Vendor Exam Problem Solving

CCNA Class 10: Introduction of Routed & Routing Protocols and Configuration

CCNA Class 05: IPv4 and IPv6 Addresses Introduction