ports vlan statistics

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
hi dears,

when I give the switch #show ports vlan statistics. a switch will replay to me (ports are not configured to monitor vlan statistics? how i can make this configuration  for per Vlan or many, over one port?
Photo of MUNIR ENG

MUNIR ENG

  • 1,256 Points 1k badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Senguttuvan, Arun

Senguttuvan, Arun, Employee

  • 876 Points 500 badge 2x thumb
Hi,

The command to configure the VLAN monitor for a port is "configure ports <port#> monitor vlan <VLAN Name>". 
Photo of MUNIR ENG

MUNIR ENG

  • 1,256 Points 1k badge 2x thumb
thank you for your reply, i want ask you many questions if you never mind,


1. If I run this ports Vlan statistics , i will not access to a switch that means a switch will not go to down or off line ? because i will do that by telnet?
2. What is the benefit if I' running  this command on Switch?
3. this task it will effect on the traffic?
Photo of Stephen Williams

Stephen Williams, Employee

  • 9,040 Points 5k badge 2x thumb
The command that Arun provided just enables the VLAN statistics.  Once it's enabled then you can run your command "#show ports vlan statistics" and you will see the vlan statistics.  It's not enabled by default.  This command is non intrusive.
Photo of MUNIR ENG

MUNIR ENG

  • 1,256 Points 1k badge 2x thumb
thank dear, that is mean there isn't any risky over the traffic or remote accesses to a switch?  
Photo of Brandon Faircloth

Brandon Faircloth, Alum

  • 284 Points 250 badge 2x thumb
Correct
Photo of MUNIR ENG

MUNIR ENG

  • 1,256 Points 1k badge 2x thumb
great full ..
what if I need disable configure ports <port#> monitor vlan <VLAN Name>". ..What are the steps that must be followed to doing this disable?
Photo of Brandon Faircloth

Brandon Faircloth, Alum

  • 284 Points 250 badge 2x thumb
"unconfigure ports <port#> monitor vlan <VLAN Name>"

Most commands that begin with "configure" can be undone with "unconfigure".