单项选择题

在CiscoIOS交换机上配置交换机名的命令是()。

A、set system name HOSTNAME
B、user HOSTNAME pass PASSWORD
C、spanning-treeportfast
D、hostname HOSTNAME