Commands For Mrpp

11.3 Commands for MRPP

11.3.1 control-vlan

Command: control-vlan <vid>
no control-vlan
Function: Configure the control VLAN ID of an MRPP ring. The no command deletes the control VLAN ID.
Parameters:

  • <vid>: control VLAN ID. The valid range is from 1 to 4094.

Command mode: MRPP Ring Mode
Default: None.
Usage guide: The command specifies the Virtual VLAN ID of an MRPP ring. The ID used should be a non-configured VLAN ID and MRPP ring ID. When configuring an MRPP ring with the same MRPP loop switches, the control VLAN ID must be the same, otherwise the MRPP loop may not be able to work normally or form a broadcast.
The MRPP enable command must be started before the Control-VLAN command can be used. If the primary port, secondary port, node-mode, and enable commands are all configured after control-vlan, the mrpp-ring function is enabled.
Example: Configure the control VLAN of mrpp ring 4000 to 4000.

active500EM(config)#mrpp ring 4000
active500EM(mrpp-ring-4000)#control-vlan 4000

 

11.3.2 clear mrpp statistics

Command: clear mrpp statistics [<ring-id>] Function: Clear statistic information of MRPP data packets a MRPP ring is receiving and transferring.
Parameters:

  • <ring-id>: MRPP ring ID. The valid range is from 1 to 4096. If no ID is specified, all MRPP ring statistic information will be cleared.

Command mode: Admin Mode
Default: None.
Usage guide: Clear statistic information of MRPP data packets a MRPP ring is receiving and transferring.
Example: Clear the statistic information of MRPP ring 4000.

active500EM#clear mrpp statistics 4000

 

11.3.3 debug mrpp

Command: debug mrpp
no debug mrpp
Function: Display MRPP debug information. The no command disables the MRPP debug information display.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Enable MRPP debug information, check the message process of MRPP protocol, and receive data packet processes information.
Example: Display MRPP debug information.

active500EM#debug mrpp

 

11.3.4 enable

Command: enable
no enable
Function: Enables the configured MRPP ring. The no command disables the MRPP ring.
Parameters: None.
Command mode: MRPP Ring Mode
Default: Disable MRPP ring.
Usage guide: To execute this command MRPP protocol must be enabled.
Example: Configure MRPP ring 4000 to a primary node and enable the MRPP ring.

active500EM(config)#mrpp enable
active500EM(config)#mrpp ring 4000
active500EM(mrpp-ring-4000)#control-vlan 4000
active500EM(mrpp-ring-4000)#node-mode master
active500EM(mrpp-ring-4000)#fail-timer 18
active500EM(mrpp-ring-4000)#hello-timer 6
active500EM(mrpp-ring-4000)#enable
active500EM(mrpp-ring-4000)#exit
active500EM(config)#interface ethernet1/0/1
active500EM(config-if-ethernet1/0/1)#mrpp ring 4000 primary-port
active500EM(config)#interface ethernet 1/0/3
active500EM(config-if-ethernet1/0/3)#mrpp ring 4000 secondary-port

 

11.3.5 errp domain

Command: errp domain <domain-id>
no errp domain <domain-id>
Function: Create an ERRP domain. The no command deletes the configured ERRP domain.
Parameters:

  • <domain-id>: domain ID of ERRP. The valid range is between 1 and 15.

Command mode: Global Mode
Default: None.
Usage guide: If the domain ID of ERRP needs to be configured, the compatible mode of ERRP should be enabled first. When executing this command, it should create a new ERRP domain if there is no existing ERRP domain.
Example: Configure the domain ID for ERRP globally.

active500EM(config)#errp domain 1

 

11.3.6 fail-timer

Command: fail-timer <timer>
no fail-timer
Function: Configure whether the primary node of an MRPP ring receives the timer interval of a hello packet. The no command restores to default.
Parameters:

  • <timer>: sets the time interval. The valid range is 1 to 300s.

Command mode: MRPP Ring Mode
Default: 3s.
Usage guide: If the primary node of an MRPP ring doesn?t receive a hello packet from the primary port of a primary node on a configured fail timer, the whole loop fails. The transfer node of an MRPP ring doesn?t need this timer and configuration. To avoid time delay by a transfer node in forwarding a hello packet, the value of the fail timer must be more than or equal to 3 times the value of the hello timer. On a time delay loop, the user needs to modify the default and increase the value so that the primary node doesn?t receive a hello packet on a fail timer due to a time delay.
Example: Configure the fail timer of an MRPP ring 4000 to 10s.

active500EM(config)#mrpp ring 4000
active500EM(mrpp-ring-4000)#fail-timer 10

 

11.3.7 hello-timer

Command: hello-timer <timer>
no hello-timer
Function: Configure the timer interval of a hello packet from the primary node of an MRPP ring. The no command restores to default.
Parameters:

  • <timer>: time value. The valid range is from 1 to 100s.

Command mode: MRPP Ring Mode
Default: 1s.
Usage guide: The primary node of an MRPP ring continuously sends a hello packet on a configured hello timer interval. If the secondary port of a primary node can receive this packet in the configured period, the whole loop is normal; otherwise, it fails. The transfer node of an MRPP ring doesn?t need this timer and configuration.
Example: Configure the hello-timer of an MRPP ring 4000 to 3 seconds.

active500EM(config)#mrpp ring 4000
active500EM(mrpp-ring-4000)#hello-timer 3

 

11.3.8 mrpp eaps compatible

Command: mrpp eaps compatible
no mrpp eaps compatible
Function: Enable EAPS compatible mode. The no command disables the compatible mode.
Parameters: None.
Command mode: Global Mode
Default: Disabled.
Usage guide: If the EAPS compatible function needs to be configured, MRPP protocol should be enabled first. When executing the no mrpp eaps compatible command, the user should ensure that the MRPP protocol is enabled.
Example: Enable the EAPS compatible function globally.

active500EM(config)#mrpp enable
active500EM(config)#mrpp eaps compatible

 

11.3.9 mrpp enable

Command: mrpp enable
no mrpp enable
Function: Enable the MRPP protocol module. The no command disables MRPP protocol.
Parameters: None
Command mode: Global Mode
Default: Disabled.
Usage guide: The MRPP protocol module must be enabled to configure the MRPP ring.
Example: Globally enable MRPP protocol modules.

active500EM(config)#mrpp enable

 

11.3.10 mrpp errp compatible

Command: mrpp errp compatible
no mrpp errp compatible
Function: Enable the compatible mode for ERRP. The no command disables the compatible mode.
Parameters: None
Command mode: Global Mode
Default: Disabled.
Usage guide: The MRPP protocol should be enabled before the ERRP compatible function can be configured. The port with the ERRP compatible mode should be configured to hybrid or trunk mode and allow the packets with Control VLAN information.
Example: Enable the ERRP compatible function globally.

active500EM(config)#mrpp enable
active500EM(config)#mrpp errp compatible
active500EM(config)#mrpp ring 2
active500EM(mrpp-ring-2)#control-vlan 4000
active500EM(mrpp-ring-2)exit
active500EM(config)interface ethernet 1/0/23
active500EM(config-if-ethernet1/0/23)#switchport mode hybrid
active500EM(config-if-ethernet1/0/23)#switchport hybrid allowed vlan 4000 tag
active500EM(config-if-ehternet1/0/23)#interface ethernet 1/0/24
active500EM(config-if-ethernet1/0/24)#switchport mode hybrid
active500EM(config-if-ethernet1/0/24)#switchport hybrid allowed vlan 4000 tag

 

11.3.11 mrpp poll-time

Command: mrpp poll-time <20-2000>
Function: Configure the MRPP query interval.
Parameters:

  • <20-2000>: sets the time interval in milliseconds. The valid range is from 20 to 2000.

Command mode: Global Mode
Default: 100ms.
Usage guide: Configure the query time to adjust the MRPP query interval.
Example: Set the query time to 200ms.

active500EM(config)# mrpp poll-time 200

 

11.3.12 mrpp ring

Command: mrpp ring <ring-id>
no mrpp ring <ring-id>
Function: Create an MRPP ring and access MRPP ring mode. The no command deletes a configured MRPP ring.
Parameters:

  • <ring-id>: MRPP ring ID. The valid range is from 1 to 4096.

Command mode: Global Mode
Default: None.
Usage guide: If the specified MRPP ring doesn?t exist, executing the command will create a new MRPP ring, and it will then enter MRPP ring mode. A user needs to ensure the MRPP ring has been disabled when executing the no mrpp ring command.
Example: Create an MRPP ring and access MRPP ring mode.

active500EM(config)#mrpp ring 100

 

11.3.13 mrpp ring primary-port

Command: mrpp ring <ring-id> primary-port
no mrpp ring <ring-id> primary-port
Function: Specify the primary port of an MRPP ring. The no command removes the configuration.
Parameters:

  • <ring-id>: ID of MRPP ring. The valid range is 1 to 4096.

Command mode: Port Mode
Default: None.
Usage guide: The command establishes the primary port of the MRPP ring. The primary node uses the primary port to send a hello packet. The secondary port is used to receive a hello packet from the primary node. There are no differences in function between the primary port and the secondary port of a secondary node.
The mrpp enable command must be enabled before the control-vlan command can be used. If the primary port, secondary port, node-mode and enable commands are all configured after control-vlan, then the mrpp-ring function is enabled.
Example: Configure the primary port of MRPP ring 4000 to Ethernet 1/0/1.

active500EM(config)#interface ethernet 1/0/1
active500EM(config-if-ethernet1/0/1)#mrpp ring 4000 primary-port

 

11.3.14 mrpp ring secondary-port

Command: mrpp ring < ring-id > secondary-port
no mrpp ring < ring-id > secondary-port
Function: Specify the secondary port of an MRPP ring.
Parameters:

  • <ring-id>: ID of MRPP ring. The valid range is 1 to 4096.

Command mode: Port Mode
Default: None.
Usage guide: The command specifies the secondary port of an MRPP ring. The primary node uses the secondary port to receive a hello packet from the primary node. There are no differences in function between the primary port and the secondary port of a secondary node.
The mrpp enable command must be enabled before the control-vlan command can be used. If the primary port, secondary port, node-mode and enable commands are all configured after control-vlan, then the mrpp-ring function is enabled.
Example: Configure the secondary port of an MRPP ring to 1/0/3.

active500EM(config)#interface ethernet1/0/3
active500EM(config-if-ethernet1/0/3)#mrpp ring 4000 secondary-port

 

11.3.15 Node-Mode

Command: node-mode {master | transit}
Function: Configure the type of the node to primary or secondary node.
Parameters: None.
Command mode: MRPP Ring Mode
Default: Secondary node.
Usage guide: Configure the type of the node to primary or secondary node.
Example: Configure the primary node of MRPP ring 4000.

active500EM(config)#mrpp ring 4000
active500EM(mrpp-ring-4000)#node-mode master

 

11.3.16 show mrpp

Command: show mrpp [<ring-id>] Function: Display the MRPP ring configuration.
Parameters:

  • <ring-id>: MRPP ring ID. The valid range is from 1 to 4096. If there is no specified ID, all MRPP ring configurations will display.

Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Displays the MRPP ring configuration.
Example: Display configuration of MRPP ring 4000 of the switch.

active500EM#show mrpp 4000

 

11.3.17 show mrpp statistics

Command: show mrpp statistics [<ring-id>] Function: Display statistic information on the data packets an MRPP ring is receiving and transferring.
Parameters:

  • <ring-id>: MRPP ring ID. The valid range is from 1 to 4096. If no ID is specified, all MRPP ring configurations will display.

Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Display statistic information on the data packets an MRPP ring is receiving and transferring.
Example: Display MRPP ring 4000 statistic information.

active500EM#show mrpp statistic 4000

 


Return to Controller Wired CLI Table of Contents