Viewing the current MVRP configuration on a switch

show mvrp

Syntax

show mvrp [config|state|statistics]

Description

Displays the MVRP settings and status.

Example output

switch# show mvrp
 config                Show the MVRP configuration for all ports.
 state                 Show the MVRP state.
 statistics            Show MVRP statistics.

show mvrp config

Syntax

show mvrp config

Description

Displays the MVRP configuration for all ports.

Example output
switch# show mvrp config

 Configuration and Status - MVRP

 Global MVRP status : Disabled

 Port     Status   Periodic Registration Join  Leave    LeaveAll Periodic
                   Timer    Type         Time  Timer    Timer    Timer
 -------  -------- -------- ------------ ----  -------- -------- --------
 1        Disabled Enabled  Normal       20    300      1000     100
 2        Disabled Enabled  Normal       20    300      1000     100
 3        Disabled Enabled  Normal       20    300      1000     100

show mvrp state

Syntax

show mvrp state <VLAN-ID> [<PORT-NUM>]

Description

Displays the MVRP state.

Parameters

VLAN-ID

Specify the MVRP state for VLAN ID.

PORT-NUM

Specify the port number on which MVRP is to be configured.

Example output
switch(config)# show mvrp state
 VLAN-ID               Enter a VLAN identifier or the VLAN name if configured.
switch(config)# show mvrp state 1
 [ethernet] PORT-NUM
switch(config)# show mvrp state 1

 Configuration and Status - MVRP state for VLAN 1

 Port     VLAN  Registrar Applicant Forbid
                State     State     Mode
 -------- ----- --------- --------- ---------
 1        1     MT        QA        No
 

show mvrp statistics

Syntax

show MVRP statistics [<PORT-LIST>]

Description

Displays the MVRP statistics.

Parameter

PORT-LIST

Displays the MVRP statistics at the specified port.

Example output
switch(config)# show mvrp statistics

Status and Counters - MVRP

  MVRP statistics for port  : A1
  ----------------------------
  Failed registration    : 0
  Last PDU origin        : 40a8f0-9e11ff
  Total PDU Transmitted  : 53
  Total PDU Received     : 72
  Frames Discarded       : 0

  Message type  Transmitted     Received
-------------- ------------    ------------
  New           0               0
  Empty         16466           258
  In            4               0
  Join Empty    0               72
  Join In       53              55
  Leave         0               0
  Leaveall      4               2

clear mvrp statistics

Syntax

clear mvrp statistics [<PORT-LIST>]

Description

Clears the statistics for MVRP on a port or all ports.

Parameter

PORT-LIST

Specify a port number or list of ports or all ports.

Example output

switch# clear mvrp statistics
 [ethernet] PORT-LIST  Enter a port number, a list of ports or 'all' for all ports.
switch# clear mvrp statistics all

debug mvrp

Syntax

debug mvrp {all | event| packet | state-machine | timer} [<PORT-LIST>]

Description

Enables debug messages.

Parameters

all

Display all MVRP debug messages.

event

Display all MVRP event messages.

packet

Display all MVRP packet messages.

state-machine

Display all MVRP state-machine messages.

timer

Display all MVRP timer messages.

PORT-LIST

Display all MVRP debug messages for a port.

Example output

switch(config)# debug mvrp all
switch(config)# show debug

Debug Logging

  Source IP Selection: Outgoing Interface
  Origin identifier: Outgoing Interface IP
  Destination: None

  Enabled debug types:
   mvrp event include port A1-A24,F1-F24
   mvrp packet include port A1-A24,F1-F24
   mvrp state-machine include port A1-A24,F1-F24
   mvrp timer include port A1-A24,F1-F24