Connectrix Cisco MDS:MDS 密码字符串应允许明文输入中使用问号 (?)。

Summary: 带“?”的 NX-OS 密码在所有 MDS 平台上,都不能通过 CLI 或使用脚本(如 NX-OS CLI)输入字符。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms


带“?”的 NX-OS 密码无法在 CLI 或脚本中输入字符,因为 NX-OS CLI 解析器将其解释为内联帮助命令。
 

示例:
switch(config)# username san-admin password 123?
  WORD Password for the user (clear text) (Max Size 127)
  WORD Password for the user (clear text) (Max Size 64)


switch(config)# tacacs-server host x.x.x.x key 7 LP,K?
  WORD  TACACS+ shared secret(encrypted) (Max Size 63)

Cause


在 MDS 交换机上配置正常和 AAA 用户密码时,会出现此问题。

Resolution


解决办法:
  • 在每个“?”之前附加一个“ctrl-v”组合键字符。

进一步的问题描述:
  • 此问题可能会阻止在来自多个供应商的产品上使用与“?”相同的密码其他供应商在密码中接受字符。  

已知受影响的 Cisco MDS 9000 NX-OS 和 SAN-OS 软件 — 8.3(1)

修复:已知的修复版本:8.4(2) 及更高版本

提醒:
- 建议不要在普通用户或 AAA 用户密码中使用问号 (?)。

Additional Information


最佳实践请参阅《Cisco Nexus 9000 系列 NX-OS 安全配置指南》

对于用户名:
  • 用户名必须以字母数字字符开头,并且只能包含以下特殊字符:( + = ._ \ -). 
  • # 和 !不支持符号。如果用户名包含不允许的字符,则指定的用户无法登录。

对于密码:
  • 特殊字符,如美元符号 ($) 或百分比符号 (%),可在 Cisco Nexus 设备密码中使用。

Affected Products

Connectrix MDS-Series
Article Properties
Article Number: 000212190
Article Type: Solution
Last Modified: 14 Apr 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.