不同厂家网络设备添加/删除用户

一、思科C4510、6509、2960、ASR1006

1、新增账号

username  xx secret  xxxx

2、删除账号

no username xx 

二、思科ASA

1、新增账号

username XX password  XXX

2、删除

no username xx

三、思科N7K、N5K

1、新增账号

  • 普通账号权限
username  XX  password  XXXX role priv-1
  • 高级权限
username  XX  password  XXXX role network-admin

2、删除

no username xx

四、juniper MX960

1、新增账号

  • 普通权限
set system login user XX class read-only
set system login user XX authentication plain-text-password 密码
  • 高级权限
set system login user XX class ABC
set system login user XX authentication plain-text-password 密码

2、删除

delete system login user xx

五、USG

1、新增账号

  • 普通权限
user administrator XX local xxx authorized-table admsee
  • 高级权限
user administrator XX local xxx authorized-table admin

2、删除

no user administrator  xx

六、阿尔卡特7750

1、新增账号

  • 普通账号
configure system security user xx password xxx 
configure system security user "xx" console member "read-only" 
  • 高级权限账号
configure system security user xx password xxx 
configure system security user "xx" console member  "administrative"

2、删除

configure system security  no user xx

七、迈普

1、新增账号

username xx  password 0 xxx
username xx terminal ssh

2、删除

no username xx

八、华为9303

1、新增账号

aaa 
local-user xx password cipher xxx
local-user xx privilege level 1
local-user xx service-type terminal ssh
quit
ssh user xx authentication-type password
ssh user xx service-type all

2、删除

aaa
undo local-user xx
quit
undo ssh user  xxx

你可能感兴趣的:(网络)