1-交换机基本配置.pptVIP

  • 15
  • 0
  • 约 41页
  • 2016-01-06 发布于湖北
  • 举报
1-交换机基本配置.ppt

实验内容(选做) 查看交换机的mac地址表 Switch#show mac-address-table 交换机端口绑定设置(以下命令实现一个mac地址与端口3 的绑定,一旦违反规则则关闭端口3 ) Switch(config)#int f0/3 Switch(config-if)#switchport port-security mac-address 000d.bd4.a67d Switch(config-if)#switchport port-security violation shut 交换机端口镜像(以下两条命令将端口3-5镜像到端口1) Switch(config)#monitor session 1 source int f0/3-5 Switch(config)#monitor session 1 destination int f0/1 ingress untagged vlan 1 交换机的命令模式 4.接口配置模式 在全局配置模式下,执行interface命令,即进入接口配置模式。在该模式下,可对选定的接口(端口)进行配置,并且只能执行配置交换机端口的命令。接口配置模式的命令行提示符为:Switch (config-if)# Switch (config)#int f0/1 Switch (config-if)# * 交换机的命令模式 5.Line

文档评论(0)

1亿VIP精品文档

相关文档