Port Port Mirroring

1.1.1 Configuration

1) ge1 first switch 208 and ge47 vlan2 added to them, when port mirroring is not configured, only the number of PC-91 machine to receive packets sent to the PC-101.

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#switchport

xNet(config-if)#switchport mode access

xNet(config-if)#switchport access vlan 2

xNet(config-if)#exit

xNet(config)#interface ge47

xNet(config-if)#switchport

xNet(config-if)#switchport mode access

xNet(config-if)#switchport access vlan 2

xNet(config-if)#exit

xNet(config)#end

XNET #

2) configure the port mirroring the copied packet to the mirrored port ge48 by ge47.

xNet#configure terminal

xNet(config)#interface ge48

xNet(config-if)#switchport

xNet(config-if)#mirror interface ge47 direction both

xNet(config-if)#end

XNET #

3) view mirror configuration

 

1.1.2 results

By configuring port mirroring, mirroring port can monitor the flow into or out of a particular port

 

1.2         storm-control

1.2.1         broadcast

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control broadcast level 10

xNet(config-if)#end

XNET #

1.2.2         multicast

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control multicast level 10

xNet(config-if)#end

XNET #

1.2.3         dlf

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control dlf level 10

xNet(config-if)#end

XNET #

 

1.3         Speed

Configuring a Gigabit port Gigabit dubbed

Configuring

xNet#configure terminal

xNet(config)#interface xe1

xNet(config-if)#duplex full

xNet(config-if)#speed 1000

xNet(config-if)#end

XNET #

Guess you like

Origin www.cnblogs.com/niezhongle/p/11075376.html