Page 1
RG-IS2700-P Series PoE Switch RGOS Command Reference...
Page 2
This document is provided “as is”. The contents of this document are subject to change without any notice. Please obtain the latest information through the Ruijie Networks website. Ruijie Networks endeavors to ensure content accuracy and will not shoulder any responsibility for losses and damages caused due to content omissions, inaccuracies or errors.
Page 3
Thank you for using our products. This manual matches the RGOS Firmware Version 1.00.xx. Audience This manual is intended for: Network engineers Technical support and servicing engineers Network administrators Obtaining Technical Assistance Ruijie Networks Website: https://www.ruijienetworks.com/ Technical Support Website: https://ruijienetworks.com/support http://caseportal.ruijienetworks.com Case Portal: Community: http://community.ruijienetworks.com ...
Page 4
· L2 Features Configuration Commands 1. Port Configuration Commands 2. MAC Address Table 3. Jumbo Frame Commands 4. Flow Control Commands 5. Spanning Tree Commands 6. VLAN Commands 7. Q-in-Q Commands 8. Link Aggregation Commands 9. GARP Commands 10. GVRP Commands 11.
Command Reference Port Configuration Commands 1 Port Configuration Commands 1.1 [no] shutdown Use "shutdown" command to disable port and use "no shutdown" to enable port. If port is error disabled for any reason, use "no shutdown" command to recover the port manually. [no] shutdown Privileged EXEC mode Command...
Page 6
Command Reference Port Configuration Commands switch(config)# interface gi2 switch(config-if)# duplex half 1.4 description Use "description" command to give the port a name to identify it easily. If description includes space character, please use double quotes to wrap it. description string Privileged EXEC mode Command Mode...
Command Reference MAC Address Table Commands 2 MAC Address Table Commands 2.1 show mac address- table aging-time View the aging time of the address table. show mac address-table aging-time Command User EXEC mode Mode switch# show mac address-table aging-time Configuration Examples 2.2 show mac address-table A:B:C:D:E:F Displays entries for a specific MAC address (for all or VLAN).
Page 8
Command Reference MAC Address Table Commands 2.5 show mac address- table dynamic View dynamic MAC entry on specified interface or VLAN or all dynamic MAC entries in MAC address table. show mac address-table dynamic [vlan <1-4094>] [interfaces IF_PORTS] Command User EXEC mode Mode switch# show mac address-table dynamic vlan 1 interface gi5 Configuration...
Page 9
Command Reference MAC Address Table Commands Privileged EXEC mode Command Mode switch(config)# mac address-table aging-time 300 Configuration Examples 2.10 mac address-table static A:B:C:D:E:F vlan Add static addresses to the MAC address table. mac address-table static A:B:C:D:E:F vlan <1-4094> interfaces IF_PORTS Privileged EXEC mode Command Mode...
Command Reference Jumbo Frame Commands 3 Jumbo Frame Commands 3.1 jumbo-frame Use "jumbo-frame" com-mand to modify maximum frame size. The only way to show this configuration is by using "show running-config" command. jumbo-frame <1518- 9216> Command Privileged EXEC mode Mode Configuration This example shows how to modify maximum frame size to 9216 bytes.
Command Reference Spanning Tree Commands flowcontrol (off|on) Privileged EXEC mode Command Mode Configuration This example shows how to modify port duplex configuration. switch(config)# interface gi1 Examples switch(config-if)# flow-control on switch(config-if)# flow-control off 5 Spanning Tree Commands 5.1 show spanning-tree [instance <0-15>] Show spanning-tree instance information.
Command Reference Spanning Tree Commands User EXEC mode Command Mode switch# show spanning-tree interface gi1 Configuration Examples 5.5 show spanning-tree interfaces IF_PORTS statistic Show spanning-tree statistics of one port. show spanning-tree interfaces IF_PORTS statistic User EXEC mode Command Mode switch# show spanning-tree interface gi1 statistic Configuration Examples 5.6 [no] spanning-tree...
Command Reference Spanning Tree Commands switch(config)# exit 5.9 spanning-tree mode (stp | rstp | mstp) Specify the mode to Span-ning Tree Protocol. Specify the mode to Rapid Spanning Tree Protocol. Specify the mode to Multiple Spanning Tree Protocol spanning-tree mode (stp | rstp | mstp) Privileged EXEC mode Command Mode...
Command Reference Spanning Tree Commands 5.21 spanning-tree pathcost method Specify the type of pathcost value as 32 bits (long). Specify the type of pathcost value as 16 bits (short). spanning-tree pathcost method (long|short) Command Privileged EXEC mode Mode switch# configure Configuration switch(config)# spanning-tree pathcost method short Examples...
Command Reference Spanning Tree Commands switch(config)# interface gi1 Examples switch(config-if)# no spanning-tree port-priority switch(config-if)# exit switch(config)# exit 5.25 spanning-tree costlong Specify the STP port cost.In long pathcost method,the range is from 0 to 20000000. (0 = Auto). spanning-tree costlong <0-200000000> Privileged EXEC mode Command Mode...
Page 21
Command Reference VLAN Commands switch# show vlan dynamic Examples switch# show vlan static 6.4 show interfaces IF_PORTS Use "show interface" command to show port counters,parameters and status. show interfaces IF_PORTS Command User EXEC mode Mode switch# show interfaces GigabitEthernet 1 Configuration switch# show interfaces GigabitEthernet 1 Examples...
Command Reference VLAN Commands 6.8 [no] vlan VLAN-LIST Create or remove a VLAN entry. Using “vlan” command to enter the VLAN configuration mode. [no] vlan VLAN-LIST Command Privileged EXEC mode Mode switch (config)# vlan 100 Configuration switch (config)# no vlan 100 Examples 6.9 name NAME Configure the name of a VLAN entry.
Command Reference VLAN Commands Privileged EXEC mode Command Mode switch(config)# interface GigabitEthernet1 Configuration switch(config-if)# switchport mode hybrid Examples switch(config-if)# switchport hybrid pvid 100 6.13 [no] switchport hybrid ingress-filtering This command per port configures the ingress-filtering status. This filtering is used to filter the frames come from the non-member ingress port.
Command Reference VLAN Commands 6.16 switchport hybrid allowed vlan remove VLAN-LIST This command per hybrid port configures removes the allowed VLAN list. Use"show interface switchport" command to show configuration. switchport hybrid allowed vlan remove VLAN-LIST Command Privileged EXEC mode Mode switch(config)# interface GigabitEthernet 1 Configuration switch(config-if)# switchport mode hybrid...
Page 25
Command Reference Q-in-Q Commands switch(config-if)# switchport forbidden vlan 100 6.20 (no)management-vlan Set <1-4094> as management VLAN ID; it is recommended to first create the VLAN and then assign the port to it. When using no command, restore management VLAN to default VLAN. To view the created management VLAN, use "show management-vlan".
Command Reference Link Aggregation Commands This example shows how to disable load balance algorithm. Configuration switch(config)# no lag load-balance Examples 8.4 lag <1-8> mode Link aggregation group function aggregates multiple physical ports into one logic port to increase bandwidth. This command makes normal port joins a normal port to a specific LAG logic port in static or dynamic mode.
Command Reference Link Aggregation Commands Mode This example shows how to restore lacp system priority to default value. Configuration switch(config)# no lacp system-priority Examples 8.8 lacp port-priority LACP port priority is used for two connected DUT to select aggregation ports. Lower port priority value has higher priority.
Command Reference Port Mirror Commands 11.2 show mirror session Specify the mirror session to display. show mirror session <1-4> Command User EXEC mode Mode switch# show mirror session 1 Configuration Examples 11.3 mirror session <1-4> source interfaces Specify the mirror session to configure. Specify the source interface, include physical ports and LA port.
Command Reference LLDP Commands Examples 12.3 show lldp localdevice Display the local configuration. show lldp localdevice Command User EXEC mode Mode switch# show lldp local-device Configuration Examples 12.4 show lldp interfaces Display the local configuration in specified ports show lldp interfaces IF_NMLPORTS local-device Command User EXEC mode Mode...
Command Reference LLDP Commands Mode switch(config)# lldp tx-interval 30 Configuration Examples 12.17 no lldp tx-interval no lldp tx-interval Command Privileged EXEC mode Mode switch(config)# no lldp tx-interval Configuration Examples 12.18 lldp reinit-delay Set the LLDP re-initial delay. This delay avoids LLDP generating too many PDUs if the port is up and down frequently.
Page 37
Command Reference LLDP Commands 12.21 no lldp tx-delay no lldp tx-delay Command Privileged EXEC mode Mode switch(config)# no lldp tx-delay Configuration Examples 12.22 lldp tlv-select pvid This command per port configures the 802.1 PVID TLV attach enable status. lldp tlv-select pvid (enable|disable) Command Privileged EXEC mode Mode...
Command Reference LLDP Commands lag maxframe-size management-addr Examples 12.26 no lldp tlv-select no lldp tlv-select Command Privileged EXEC mode Mode switch(config-if)# no lldp tlv-select Configuration Examples 12.27 lldp lldpdu This command globally configures the LLDP PDU handling behavior when LLDP is globally disabled. It should be noted that if LLDP is globally enabled and per port LLDP RX status is configured to disable, the received LLDP PDU is dropped instead of taking the global disable behavior.
Need help?
Do you have a question about the RG-IS2700-P Series and is the answer not in the manual?
Questions and answers