端口安全

 

配置命令:

一、sw1

observe-port 1 interface g0/0/3

interface g0/0/2

port-mirroring to observe-port 1 both       

interface g0/0/1

port-mirroring to observe-port 1 both   

二、

 

Sw4

vlan 36

mac-address learning disable

interface g0/0/2

port link-type trunk

port trunk allow-pass vlan all

q

observe-port 1 interface g0/0/2 vlan 36

interface g0/0/1

port-mirroring to observe-port 1 both    

 

sw5

vlan 36

interface g0/0/1

port link-type trunk

port trunk allow-pass vlan all

q

interface g0/0/2

port link-type access

port default vlan 36

 

posted on 2018-06-12 10:15  快乐的阳光  阅读(124)  评论(0)    收藏  举报