Get the App
SLTechnology News&Howtos  ›  Network Security  › 

TELNET and default routing experiment

Shulou Source: shulou.com Published: 2022-06-01 04:19:51 10月06日 Update

TELNET and Default Routing Experiment

Take the AR5 router configuration as an example:

(Huawei devices are sometimes configured with local-user privilege of 1, setting super password will take effect, depending on the version)

How to set the privilege password of Huawei switch?

Question:

The switch enters the device with one of the user names telnet, enters the user name password, and uses

Sys can be accessed directly without a privileged password at all. All other users need it

If I want to use the user name password, then how should I set ah

After using this command, super password cipher can still be directly accessed.

Answer:

It's easy to set local-user to level 1

For example: local-user wgzx level 1

Different Huawei switches are different.

There is one type that is AAA first and then configured after entering.

There are also local-user user first established users, enter user mode,

Reconfigure permissions, levels, passwords.

There are also direct local-user configuration permissions, levels, passwords

But it means the same thing.

script file

(Note to change interface IP address sys status during actual configuration)

sys

aaa

local-user wgzx password cipher wgzx.cisco

local-user wgzx service-type telnet

local-user wgzx privilege level 1

local-user wgzx idle-timeout 5

quit

user-interface vty 0 4

history-command max-size 50

authentication-mode aaa

idle-timeout 5

quit

super password cipher sbcc.sb

quit

interface g0/0/0

ip add 172.30.30.2 255.255.255.0

quit

ip route-static 192.168.1.0 255.255.255.0 172.30.30.2

quit

Tags: Password user configuration permissions switch level Huawei routing privileges user name device experiment different no command address actual meaning I want user name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MariaDB Redmi MySQL OPPO Reno