Skip to content
Ask AI

MVRP Configuration

[Command] show mvrp interfaces

[Purpose]

View the MVRP status of the interface

[View]

System view

[Use Cases]

sonic# show mvrp interfaces
+------------+----------+-------------------+-----------------+
| Port | Status | Registered VLAN | Declared VLAN |
+============+==========+===================+=================+
| Ethernet1 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet2 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet3 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet4 | disabled | | |
+------------+----------+-------------------+-----------------+

Description of the show mvrp interfaces command output

ItemDescription
PortPort name
StatusMVRP function enabled status
Registered VLANThe list of registered VLANs, which are the dynamically learned VLANs
Declared VLANThe list of declared VLANs, which are the VLANs advertised by this device

[Command] mvrp enable

[Purpose]

Enable MVRP function globally

[View]

System view

[Use Cases]

sonic(config)# mvrp enable

[Command] mvrp enable

[Purpose]

Port enables MVRP function

[View]

Interface view

[Use Cases]

sonic(config)# interface ethernet 1
sonic(config-if-1)# mvrp enable

mvrp {jointimer|leavealltimer|leavetimer|periodictimer}

Section titled “mvrp {jointimer|leavealltimer|leavetimer|periodictimer}”

[Command] **mvrp {jointimer|leavealltimer|leavetimer|periodictimer}**time-value

[Purpose]

Configure MVRP timer time

[Parameter]

ParameterDescription
jointimerMVRP Join timer. Controls the interval at which Join messages are sent
leavealltimerMVRP LeaveAll timer. Controls the periodic event that deregisters all attributes, forcing all peers to re-register
leavetimerMVRP Leave timer. Controls the waiting period before an attribute is deregistered after a Leave message is sent
periodictimerMVRP Periodic Transmission timer. Controls the interval for sending periodic MVRP declarations
time-valueTimer value in centiseconds. The range is 10 to 32760 cs (0.1 to 327.6 seconds)

[View]

Interface view

[Use Cases]

sonic(config)# interface ethernet 1
sonic(config-if-1)# mvrp jointimer 100