单项选择题

哪种情况下需要使用switchport port-security mac-address sticky命令?()

A.当需要保护未使用的交换机端口时
B.当只允许一台主机设备连接到端口时
C.当想使端口识别MAC地址表中静态分配的MAC地址时
D.当多台设备共用同一端口时