Veritas NetBackup™ Appliance 命令参考指南
- 概述
- 附录 A. Main > Appliance 命令
- 附录 B. Main > Manage > FibreChannel 命令
- 附录 C. Main > Manage > HighAvailability 命令
- 附录 D. Main > Manage > Libraries 命令
- 附录 E. Main > Manage > Libraries > Advanced > ACS 命令
- Manage > Libraries > Advanced > ACS > ACS_CSI_HOSTPORT
- Manage > Libraries > Advanced > ACS > ACS_SEL_SOCKET
- Manage > Libraries > Advanced > ACS > ACS_SSI_HOSTNAME
- Manage > Libraries > Advanced > ACS > ACS_SSI_INET_PORT
- Manage > Libraries > Advanced > ACS > ACS_SSI_SOCKET
- Manage > Libraries > Advanced > ACS > ACS_TCP_RPCSERVICE
- Manage > Libraries > Advanced > ACS > ACS_UDP_RPCSERVICE
- Manage > Libraries > Advanced > ACS > API_BARCODE_RULES
- Manage > Libraries > Advanced > ACS > TestACS
- Manage > Libraries > Advanced > ACS > ViewVMconf
- 附录 F. Main > Manage > License 命令
- 附录 G. Main > Manage > MountPoints 命令
- 附录 H. Main > Manage > NetBackup CLI 命令
- 附录 I. Main > Manage > OpenStorage 命令
- 附录 J. Main > Manage > Software 命令
- Manage > Software > Cancel
- Manage > Software > Delete
- Manage > Software > Download
- Manage > Software > DownloadProgress
- Manage > Software > Firmware
- Manage > Software > Install
- Manage > Software > List
- Manage > Software > LiveUpdateClients
- Manage > Software > Readme
- Manage > Software > Rollback
- Manage > Software > Share
- Manage > Software > UpgradeStatus
- 附录 K. Main > Manage > Storage 命令
- 附录 L. Main > Manage > Tapes 命令
- 附录 M. Main > Manage > Certificates 命令
- 附录 N. Main > Monitor 命令
- 附录 O. Main > Network 命令
- Network > Configure
- Network > Date
- Network > DNS
- Network > Gateway
- Network > Hostname
- Network > Hosts
- Network > IPv4
- Network > IPv6
- Network > LinkAggregation
- Network > NetStat
- Network > NTPServer
- Network > Ping
- Network > SetProperty
- Network > Show
- Network > TimeZone
- Network > TraceRoute
- Network > Unconfigure
- Network > VLAN
- Network > WANOptimization
- 附录 P. Main > Network > Security (IPsec) 命令
- 附录 Q. Main > Reports 命令
- 附录 R. Main > Settings 命令
- Settings > Cloud
- Settings > Deduplication
- Settings > FibreTransport
- Settings > iSCSI > Initiator
- Settings > iSCSI > Interface
- Settings > iSCSI > Target
- Settings > LogForwarding
- Settings > LifeCycle
- Settings > LiveUpdateServer
- Settings > NetBackup
- Settings > Password
- Settings > Share
- Settings > SNMP polling
- Settings > Sysctl
- Settings > SystemLocale
- 附录 S. Main > Settings > Alerts 命令
- 附录 T. Main > Settings > Notifications 视图命令
- 附录 U. Main > Settings > Security 命令
- 附录 V. Main > Support 命令
- Support > Checkpoint
- Support > Cleanup > RemoveShelfEntries
- Support > Cleanup > ResetDIMMErrors
- Support > Collect
- Support > DataCollect
- Support > Disk
- Support > Errors
- Support > FactoryReset
- Support > FibreTransport
- Support > InfraServices
- Support > iostat
- Support > IPMI
- Support > KillRemoteCall
- Support > Logs
- Support > Maintenance
- Support > Messages
- Support > NBDNA
- Support > nbperfchk
- Support > NBSU
- Support > Processes
- Support > RAID
- Support > Reboot
- Support > RecoverStorage
- Support > Service
- Support > ServiceAllowed
- Support > Show
- Support > Shutdown
- Support > Storage ClearReservations
- Support > Storage Reset
- Support > Storage SanityCheck
- Support > Test
名称
Main > Settings > Notifications > LoginBanner — 设置并管理用户登录到设备之前出现的文本横幅。
大纲
Remove
Set
Show
SyncNetBackup
描述
LoginBanner 命令使您能够针对设备创建一个文本提示消息,在用户通过其中一个设备登录之前显示该提示。
当您设置登录提示时,使用以下设备登录方法可出现提示:
NetBackup Appliance Shell Menu
IPMI 控制台会话
NetBackup Appliance Web Console
NetBackup 管理控制台(可选)
选项
- Remove
从设备中删除当前登录横幅。同时也提供从 NetBackup 管理控制台删除登录提示的选项。
- Set
设置新的设备登录提示。当使用此选项时,设备将提示您输入用户尝试登录设备时将显示的登录提示标题和消息。
提示标题和提示消息均为必填字段。为标题文本或信息文本键入 return 可退出提示配置而不保存任何更改。
登录提示文本参数:
提示标题的最大字符数:250
提示消息的最大字符数:29,000
标准英文字母表
- Show
查看当前登录提示。
- SyncNetBackup
在 NetBackup 管理员控制台中,设置现有的设备登录提示。此命令使用设备登录提示内容覆盖现有的 NetBackup 登录提示内容。如果在没有现有设备登录提示时运行此命令,则会删除 NetBackup 登录提示。
示例
示例 1 - 使用 LoginBanner Set 命令为设备和 NetBackup 设置新的登录提示:
appliance123.Notifications> LoginBanner Set Enter a heading for the login banner (250 characters limit) or type 'return' to exit: This is a test banner heading Enter the message text for the login banner (type 'end' on a new line to indicate the end of message text): This is a test banner message.end Preview: ******************************* This is a test banner heading ******************************* This is a test banner message. The existing banner will be overwritten and the SSH daemon will be restarted. Do you want to proceed? [y,n]: (y) y Setting the login banner... done Do you want to use this banner for the NetBackup Administration Console as well? (Any existing NetBackup login banner will be overwritten.) [y,n]: (y) y Setting the login banner in NetBackup... done
设置登录横幅后,将在任何用户尝试通过 SSH 访问设备时显示该横幅。请参见以下示例:
设置登录提示后,提示会在任意用户尝试通过 SSH 和 IPMI 访问设备时显示。 请参见以下示例:
ssh admin@appliance123.com
*******************************
This is a test banner heading
*******************************
This is a test banner message.
Password:
示例 2 - 使用 LoginBanner Remove 命令从设备和 NetBackup 删除登录提示:
appliance123.Notifications> LoginBanner Remove The existing banner will be removed and the SSH daemon will be restarted. Do you want to proceed? [y,n]: (y) y Removing the login banner... done Do you want to remove the banner from the NetBackup Administration Console as well? [y,n]: (y) y Removing the login banner from NetBackup... done
示例 3 - 使用 LoginBanner SyncNetBackup 命令设置 NetBackup 管理控制台的当前设备登录横幅:
appliance123.Notifications> LoginBanner SyncNetBackup Are you sure you want to use the current appliance login banner for the NetBackup Administration Console as well? (Any existing NetBackup login banner will be overwritten.) [y, n]: (y) y Setting the login banner in NetBackup... done