Ruijie RG-IS2700-P Series Command Reference Manual

Ruijie RG-IS2700-P Series Command Reference Manual

Poe switch, rgos commands

Advertisement

Quick Links

RG-IS2700-P Series PoE Switch
RGOS Command Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RG-IS2700-P Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Ruijie RG-IS2700-P Series

  • 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.
  • Page 5: Port Configuration Commands

    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...
  • Page 7: Mac Address Table Commands

    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...
  • Page 10: Jumbo Frame Commands

    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.
  • Page 11: Spanning Tree Commands

    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.
  • Page 12: No] Spanning-Tree

    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...
  • Page 13: No Spanning-Tree Force-Version

    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...
  • Page 14: No Spanning-Tree Hello-Time

    Command Reference Spanning Tree Commands switch(config)# exit 5.13 spanning-tree hello-time Specify the hello-time interval (seconds). spanning-tree hello-time <1-10> Command Privileged EXEC mode Mode switch# configure Configuration switch(config)# spanning-tree hello-time 5 Examples switch(config)# exit 5.14 no spanning-tree hello-time Restore to default hello-time. Default hello-time is 2. no spanning-tree hello-time Command Privileged EXEC mode...
  • Page 15: Spanning-Tree Maximum-Age

    Command Reference Spanning Tree Commands 5.17 spanning-tree maximum-age Specify the maximum-age time (seconds). spanning-tree maximum-age <6-40> Command Privileged EXEC mode Mode switch# configure Configuration switch(config)# spanning-tree maximum-age 10 Examples switch(config)# exit 5.18 no spanning-tree maximum-age Restore to default maximum-age. Default maximum-age is 20. no spanning-tree maximum-age Command Privileged EXEC mode...
  • Page 16: Spanning-Tree Pathcost Method

    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...
  • Page 17: No Spanning-Tree Cost

    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 18: Spanning-Tree Mcheck

    Command Reference Spanning Tree Commands 5.28 [no] spanning-tree edge Enable or Disable Spanning-Tree edge. [no] spanning-tree edge Command Privileged EXEC mode Mode switch# configure Configuration switch(config)# interface gi1 Examples switch(config-if)# spanning-tree edge switch(config-if)# exit switch(config)# exit 5.29 Spanning-tree link-type point-to-point Specify the STP port linktype to point-to-point.
  • Page 19 Command Reference Spanning Tree Commands switch# configure Configuration switch(config)# interface gi1 Examples switch(config-if)# spanning-tree mcheck switch(config-if)# exit switch(config)# exit 5.32 spanning-tree mstconfig-id revision-level Specify the MSTP mst-config-id revision level. spanning-tree mstconfig-id revision-level LEVEL<0-65535> Privileged EXEC mode Command Mode switch# configure Configuration switch(config)# spanning-tree mst-config-id revision-level 100 Examples...
  • Page 20: Vlan Commands

    Command Reference VLAN Commands switch# configure Configuration switch(config)# spanning-tree instance-id 10 vlan add 10-20 Examples switch(config)# exit 5.36 spanning-tree instance-id INST<1-15> priority Specify the instance priority. spanning-tree instance-id INST<1-15> priority VALUE<0-61440> Privileged EXEC mode Command Mode switch# configure Configuration switch(config)# spanning-tree instance-id 10 priority 1000 Examples switch(config)# exit 6 VLAN Commands...
  • 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...
  • Page 22: Show Management-Vlan

    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.
  • Page 23: Switchport Hybrid Acceptable-Frame-Type

    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.
  • Page 24: Switchport Forbidden Vlan

    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".
  • Page 26: Link Aggregation Commands

    Command Reference Link Aggregation Commands switch(config-if)# exit switch(config)# interface GigabitEthernet 2 switch(config-if)# switchport qinqmode uni 7.3 vlan outertpid Use "vlan outertpid" command to change outer VLAN's Tag Protocol Identifier(tpid) configuration vlan outertpid <0x0000-0xFFFF> Privileged EXEC mode Command Mode This example shows how to modify Tag Protocol Identifier configuration. Configuration switch(config)# vlan outertpid 0x9100 Examples...
  • Page 27: Lacp System-Priority

    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.
  • Page 28: Lacp Port-Priority

    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.
  • Page 29: Garp Commands

    Command Reference GARP Commands 9 GARP Commands 9.1 show garp Display GARP status. show garp Command User EXEC mode Mode switch# show garp Configuration Examples 9.2 garp join-time Set interval of join timer. garp join-time <6-600> Command Privileged EXEC mode Mode switch(config)# garp join-time 10 Configuration...
  • Page 30: Gvrp Commands

    Command Reference GVRP Commands 9.5 garp timer join Set interval of all timers. garp timer join <6-600> leave <12-3000> leaveall <12-12000> Command Privileged EXEC mode Mode switch(config)# garp timer join 10 leave 30 leaveall 240 Configuration Examples 10 GVRP Commands 10.1 show gvrp Display GVRP status.
  • Page 31: Show Mirror Session

    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.
  • Page 32: Lldp Commands

    Command Reference LLDP Commands switch(config)# exit 11.6 no mirror session <1-4> destination interface Delete the destination interface of the mirror session. no mirror session <1-4> destination interface IF_NMLPORT Command Privileged EXEC mode Mode switch# configure Configuration switch(config)# no mirror session 1 destination interface gi1 Examples switch(config)# exit 11.7 no mirror session <1-4>...
  • Page 33: Show Lldp Localdevice

    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...
  • Page 34: Clear Lldp Statistics

    Command Reference LLDP Commands show lldp statistics User EXEC mode Command Mode switch# show lldp statistics Configuration Examples 12.8 show lldp interfaces Display the LLDP RX/TX statistics in specified ports. show lldp interfaces IF_NMLPORTS statistics User EXEC mode Command Mode switch# show lldp interfaces gi5,gi6 statistics Configuration Examples...
  • Page 35: Lldp Holdtime-Multiplier

    Command Reference LLDP Commands 12.12 [no] lldp tx Per port disable or enable LLDP TX. [no] lldp tx Command Privileged EXEC mode Mode switch(config-if)# lldp tx Configuration Examples 12.13 [no] lldp rx Per port disable or enable LLDP RX. [no] lldp rx Command Privileged EXEC mode Mode...
  • Page 36: Lldp Reinit-Delay

    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...
  • Page 38: No Lldp Tlv-Select

    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.

Table of Contents