Huawei is the leader, but Cisco is the master

  1. Cisco Router Fabric
    1) CPU
    2) Flash Flash (Cisco OS)
    3) NVRAM Non-Volatile Random Access Memory (user-configured save commands)
    4) ROM Read Only Storage
    5) RAM Random Access Storage (device running commands )
  2. Basic configuration:
    Router> User mode enable
    Router# Privileged mode configure terminal
    Router(config)# Global configuration mode interfacegigabitEthernet 0/0
    Router(config-if)# Interface mode
    Router#show running-config Query current configuration (RAM)
    Router (config )#line console 0
    Router (config-line)#exec-timeout 0 0 Configure console session time to never timeout
    Router (config)#line console 0 Enter console
    Router(config-line)#password 123 Configure console port password
    Router (config-line)#logging synchronous Configure output log synchronization
    Router (config)#no ip domain-lookup Disable DNS lookup

Router(config)#enable password 321 Set the privileged mode plaintext password
Router(config)#enable secret abc Set the privileged mode ciphertext password

  1. Cisco router and switch password settings
    Router(config)#line console 0
    Router(config-line)#password 123
    Router(config-line)#login Configure console port password
    Router(config)#enable password 123 Configure privileged mode plaintext password
    Router( config)#enable secret 123 Configure privileged mode ciphertext password
  2. Cisco router password recovery
    principle: To bypass the startup-config configuration when the router starts, the value of the configuration register (NVRAM) needs to be modified.
    Under normal circumstances, the value of the register: 0x2102 - the configuration of startup-confg to start and run normally, the value of the modified register: 0x2142 - indicates that the new machine is started without loading the configuration file
    Steps:
    Press and hold Ctrl+Break (pause) during the restart process, Interrupt the loading configuration, modify the value and restart
    Rommom1>confrg 0x2142
    Rommon2>reset
    to enter the privileged mode, read the user configuration into the
    Router> enable
    Router#copy startup-config running-config
    Change the password, and modify the configuration
    Router(config)#enable secret 123
    Router (config)#config-register 0x2102

  3. Cisco switch password recovery (understanding)
    steps:
    re-plug the switch power, and press and hold the MODE button, the switch prompts to release the button, initialize the Flash
    Switch: flash_init Change
    the config.text file to config.old, and start the switch after completion
    : renamefalsh:config.textflash:config.old
    Switch:boot
    and then change the name of the configuration file back
    Switch#renameflash:config.old flash:config.text
    Load the configuration file manually, then enter the configuration mode to change the password
    Switch#copy flash:config.text system:running-config

  4. Cisco device remote management
    router:
    Router(config)#line vty 0 2 enable remote virtual port
    Router(config-line)#login load configuration
    Router(config-line)#password 123 set user password
    Router(config)#enable secret abc set Privileged mode ciphertext password

    Switch: First configure the ip for the switch vlan 1, then enable the remote, and set the password.
    If the remote switch is not in the same network, you need to configure the switch with a gateway
    Switch(config)#ip default-gateway 192.168.1.254 to achieve network connectivity.

  5. Attachment: Huawei Cisco simple command comparison
    router command:
    Huawei is the leader, but Cisco is the master
    Huawei is the leader, but Cisco is the master

switch:

Huawei is the leader, but Cisco is the master

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325183595&siteId=291194637