Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useless initialization commands #7

Open
yangguanwudi opened this issue Sep 13, 2024 · 0 comments
Open

Useless initialization commands #7

yangguanwudi opened this issue Sep 13, 2024 · 0 comments

Comments

@yangguanwudi
Copy link

yangguanwudi commented Sep 13, 2024

When I use module(comware_command) by CLI, I noticed that after logging into the device, the module automatically executes some initialization commands, logs as follows:

%Sep 13 16:17:56:816 2024 XXXX-S5130S-AS-1 SHELL/4/SHELL_CMD_MATCHFAIL: -User=XXXX-IPAddr=10.XXXX; Command set cli timestamp disable in view shell failed to be matched.
%Sep 13 16:17:56:981 2024 XXXX-S5130S-AS-1 SHELL/4/SHELL_CMD_MATCHFAIL: -User=XXXX-IPAddr=10.XXXX; Command set cli screen-length 0 in view shell failed to be matched.
%Sep 13 16:17:57:105 2024 XXXX-S5130S-AS-1 SHELL/4/SHELL_CMD_MATCHFAIL: -User=XXXX-IPAddr=10.XXXX; Command set cli screen-width 1024 in view shell failed to be matched.
%Sep 13 16:17:57:281 2024 XXXX-S5130S-AS-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=10.XXXX-User=XXXX; Command is display version

set cli timestamp disable
set cli screen-length 0
set cli screen-width 1024
These commands are not H3C's, seem more like Juniper's.
"screen-length disable" is recommended for H3C, I think.

@yangguanwudi yangguanwudi changed the title Useless initialization Command Useless initialization commands Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant