show 2fa

モード
特権EXECモード
カテゴリー
運用・管理 / 2要素認証

構文

コマンド構文

# show 2fa

コマンド説明

2要素認証の設定と状態を表示する。

使用例

2要素認証の設定と状態を表示する。
awplus# show 2fa
Two-Factor Authentication Information:

Settings:
  Allow TOTP code reuse:         No
  Reject users with no config:   No
  Allow self-registration:       Yes
  Self-registration port:        10443
  TOTP window size:              3
  HOTP window size:              3
  Attempt Skew Adjustment:       No
  Label:                         Unset (using hostname)
  Debug:                         Enabled
  Email OTP enabled:             Yes

Number of configured users:      4

2要素認証サービス(service 2fa)が無効なときはその旨が表示される。
awplus# show 2fa
% Two-Factor Authentication service is not currently enabled.

関連コマンド