Wednesday, May 15, 2013

Port Mirroring using Nexus



Port mirroring using Nexus


SW08# conf t

WS08(config)# no monitor session all

WS08(config)# interface e1/21   select the port#

WS08(config-if)# switchport monitor

WS08(config-if)# exit

WS08(config)# monitor session 2

WS08(config-monitor)# destination interface e 1/21

WS08(config-monitor)# exit

WS08(config)# monitor session 2

WS08(config-monitor)# source ?

  interface  Configure interfaces

  vlan       Vlan type

  vsan       Vsan type



WS08(config-monitor)# source vlan 90-91  select the source

WS08(config-monitor)# exit

WS08(config)# exit

WS08# sh monitor session 2

WS08(config-monitor)# ?

  description  Session description (max 32 characters)

  destination  Destination configuration

  no           Negate a command or set its defaults

  shut         Shut a monitor session

  source       Source configuration

  end          Go to exec mode

  exit         Exit from command interpreter

  pop          Pop mode from stack or restore from name

  push         Push current mode to stack or save it under name

  where        Shows the cli context you are in



WS08(config-monitor)# no shut

WS08(config-monitor)# exit

WS08(config)# exit

WS08# sh monitor session 2

   session 2

---------------

type              : local

state             : up

source intf       :

    rx            :

    tx            :

    both          :

source VLANs      :

    rx            : 90-91

source VSANs      :

    rx            :

destination ports : Eth1/21      




No comments:

Post a Comment

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...