Select the action that results from executing these commands.
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address sticky
  • 1、
【正确答案】 1、B    
【答案解析】考点:考查交换机端口安全。sticky 关键字使静态配置和动态学习的mac方式优势相结合
A:把动态学习的mac保存到startup-config文件中,错误。
B:把动态学习的mac保存到running-config文件中,正确。
C:把动态学习的mac保存到vlan数据库中。错误。
D:如果接收到数据帧中包含静态配置的MAC地址,它将被保存在startup-config文件,错误。
E:如果接收到数据帧中包含静态配置的MAC地址,它将被保存在running-config文件,错误静态配置的直接保存在running-config里了。