TP-Link JetStream T3700G-28TQ Reference Manual

TP-Link JetStream T3700G-28TQ Reference Manual

Jetstream 28-port gigabit stackable l3 managed switch
Hide thumbs Also See for JetStream T3700G-28TQ:
Table of Contents

Advertisement

T3700G-28TQ
JetStream 28-Port Gigabit Stackable L3

Managed Switch

REV1.0.0
1910010949

Advertisement

Table of Contents
loading

Summary of Contents for TP-Link JetStream T3700G-28TQ

  • Page 1: Managed Switch

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch REV1.0.0 1910010949...
  • Page 2 Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or registered trademarks of their respective holders. No part of the specifications may be reproduced in any form or by any means or used to make any derivative such as translation, transformation, or adaptation without permission from TP-LINK TECHNOLOGIES CO., LTD.
  • Page 3: Table Of Contents

    CONTENTS Preface ………………………………………………………………………………….1 Chapter 1 Using the CLI..................5 1.1 Accessing the CLI......................5 1.1.1 Logon by a console port..................5 1.1.2 Configuring the Privileged EXEC Mode Password..........7 1.1.3 Logon by Telnet....................8 1.1.4 Logon by SSH....................12 1.2 CLI Command Modes ....................17 1.3 Security Levels ......................20 1.4 Conventions ........................21 1.4.1 Format Conventions..................21...
  • Page 4 switchport mode ........................32 switchport access vlan......................32 switchport trunk allowed vlan....................33 switchport general allowed vlan.....................34 switchport pvid........................35 show interface switchport ......................35 show vlan summary.......................36 show vlan brief ........................36 show vlan ..........................37 Chapter 5 MAC-based VLAN Commands............38 mac-vlan mac-address ......................38 mac-vlan..........................39 show mac-vlan ........................39 show mac-vlan interface......................40 Chapter 6...
  • Page 5 switchport voice vlan security ....................53 show voice vlan ........................54 show voice vlan oui .......................54 show voice vlan switchport ....................55 Chapter 9 Private VLAN Commands..............56 private-vlan primary .......................56 private-vlan community......................56 private-vlan isolated ......................57 private-vlan association ......................57 switchport private-vlan......................58 switchport private-vlan host-association ................59 switchport private-vlan mapping ....................59 show vlan private-vlan ......................60 show vlan private-vlan interface ....................61...
  • Page 6 user max-number ........................75 user idle-timeout........................75 line............................76 password ..........................77 login............................77 login local ..........................78 show user account-list ......................79 show user configuration......................79 Chapter 13 Binding Table Commands..............80 ip source binding ........................80 ip dhcp snooping ........................81 ip dhcp snooping global......................82 ip dhcp snooping information option ..................83 ip dhcp snooping information strategy ...................83 ip dhcp snooping information user-defined................84 ip dhcp snooping information remote-id.................84...
  • Page 7 show ip verify source ......................98 Chapter 16 DoS Defend Command ............... 99 ip dos-prevent........................99 ip dos-prevent type ........................99 show ip dos-prevent ......................100 Chapter 17 IEEE 802.1X Commands..............101 dot1x system-auth-control ....................101 dot1x auth-method ......................101 dot1x guest-vlan(global) ......................102 dot1x quiet-period........................103 dot1x timeout........................103 dot1x max-reauth-req ......................104 dot1x............................105 dot1x guest-vlan(interface) ....................105...
  • Page 8 Chapter 19 SSH Commands.................120 ip ssh server ........................120 ip ssh version ........................120 ip ssh timeout ........................121 ip ssh max-client........................121 ip ssh download........................122 remove public-key .......................123 show ip ssh..........................123 Chapter 20 SSL Commands .................124 ip http secure-server......................124 ip http secure-server download certificate ................124 ip http secure-server download key ..................125 show ip http secure-server ....................126 Chapter 21 MAC Address Commands ..............127...
  • Page 9 ip address-alloc ........................142 reset ............................143 reboot ..........................144 copy running-config startup-config ..................144 copy running-config backup-config ..................145 copy running-config user-config ..................145 copy backup-config startup-config ..................146 copy startup-config backup-config ..................146 boot application ........................147 boot config...........................148 copy backup-config tftp......................148 copy startup-config tftp ......................149 copy tftp backup-config......................150 copy tftp startup-config ......................151 copy image tftp-source ......................152 copy image tftp-target......................152...
  • Page 10 interface range fastEthernet ....................165 interface gigabitEthernet......................166 interface range gigabitEthernet ...................166 interface ten-gigabitEthernet ....................167 interface range ten-gigabitEthernet ..................168 description ...........................169 shutdown ..........................169 flow-control ..........................170 duplex..........................171 speed...........................171 storm-control broadcast.......................172 storm-control multicast ......................173 storm-control unicast ......................174 bandwidth ..........................175 clear counters........................175 show interface status......................176 show interface counters.......................176 show interface configuration....................177 show storm-control ......................178...
  • Page 11 port isolation ........................190 show port isolation.......................191 Chapter 27 ACL Commands .................192 time-range ...........................192 absolute..........................192 periodic..........................193 holiday ..........................194 holiday(global) ........................194 access-list create.........................195 mac access-list........................195 access-list standard......................196 access-list extended ......................197 rule ............................198 access-list policy name......................199 access-list policy action .......................200 redirect interface........................201 s-condition ...........................201 s-mirror ..........................202 qos-remark ..........................202 access-list bind(interface)....................203...
  • Page 12 spanning-tree mst........................213 spanning-tree priority......................214 spanning-tree tc-defend.......................214 spanning-tree timer......................215 spanning-tree hold-count.....................216 spanning-tree max-hops ......................216 spanning-tree bpdufilter.......................217 spanning-tree bpduguard ....................217 spanning-tree guard loop.....................218 spanning-tree guard root .....................218 spanning-tree guard tc......................219 spanning-tree mcheck ......................220 show spanning-tree active....................220 show spanning-tree bridge ....................221 show spanning-tree interface ....................221 show spanning-tree interface-security .................222 show spanning-tree mst ......................222 Chapter 29 IGMP Snooping Commands ...............224...
  • Page 13 snmp-server view ........................236 snmp-server group ......................237 snmp-server user ........................238 snmp-server community ......................240 snmp-server host.........................241 snmp-server engineID ......................242 snmp-server traps snmp......................243 snmp-server traps link-status....................244 snmp-server traps........................244 snmp-server traps mac......................245 snmp-server traps vlan ......................246 rmon history.........................247 rmon event ..........................248 rmon alarm ..........................249 rmon statistics ........................250 show snmp-server .......................251 show snmp-server view .......................251...
  • Page 14 lldp med-location .........................263 show lldp ..........................264 show lldp interface.......................264 show lldp local-information interface..................265 show lldp neighbor-information interface ................265 show lldp traffic interface .....................266 Chapter 32 Cluster Commands................267 cluster ndp...........................267 cluster ntdp ..........................268 cluster explore ........................269 cluster..........................269 cluster ip pool ........................270 cluster commander ......................270 cluster manage........................271 cluster member........................271...
  • Page 15 show ip route ........................283 show ip route specify ......................283 show ip route summary .......................284 Chapter 34 DHCP Server..................285 service dhcp ........................285 ip dhcp server exclude-address...................285 ip dhcp server pool ......................286 ip dhcp server ping timeout ....................286 ip dhcp server ping packets ....................287 network..........................287 lease............................288 address hardware-address....................288...
  • Page 16 ip igmp..........................301 ip igmp version ........................301 ip igmp last-member-query-count..................302 ip igmp last-member-query-interval ..................302 ip igmp querier-timeout......................303 ip igmp query-interval ......................304 ip igmp query-max-response-time ..................304 ip igmp require-router-alert ....................305 ip igmp robustness ......................305 ip igmp send-router-alert .....................306 ip igmp startup-query-interval ....................307 ip igmp startup-query-count....................307 ip igmp static-group (interface vlan)..................308 ip igmp static-group (routed port) ..................309...
  • Page 17 ip pim rp-candidate interface ....................324 ip pim rp-address.........................325 ip pim bsr-border .........................325 ip pim dr-priority........................326 ip pim join-prune-interval .....................326 ip pim query-interval ......................327 show ip multicast .........................328 show ip mroute ........................328 show ip pim interface......................329 show ip pim neighbor ......................329 show ip pim bsr-router ......................330 show ip pim rp ........................330 show ip pim rp-hash ......................331...
  • Page 18 redistribute...........................346 passive-interface .........................347 ip rip receive version ......................347 ip rip send version .......................348 ip rip v2-broadcast.......................349 ip rip authentication-mode ....................349 ip rip poison-reverse ......................350 ip rip split-horizon ........................350 show ip rip ...........................351 Chapter 42 OSPF Commands ................352 router ospf ...........................352 router-id ..........................352 network..........................353 summary-address........................354...
  • Page 19 ip ospf cost ..........................373 ip ospf retransmit-interval ....................373 ip ospf transmit-delay ......................374 ip ospf priority ........................374 ip ospf hello-interval......................375 ip ospf dead-interval ......................376 ip ospf authentication......................376 ip ospf authentication-key....................377 ip ospf message-digest-key....................377 ip ospf network ........................378 ip ospf database-filter all out....................379 ip ospf mtu-ignore........................379 clear ip ospf .........................380 show ip ospf ........................380...
  • Page 20: Preface

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Preface This Guide is intended for network administrator to provide referenced information about CLI (Command Line Interface). The device mentioned in this Guide stands for T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch. Overview of this Guide...
  • Page 21 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 12: User Manage Commands Provide information about the commands used for user management. Chapter 13: Binding Table Commands Provide information about the commands used for binding the IP address, MAC address, VLAN and the connected Port number of the Host together.
  • Page 22 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 25: Port Mirror Commands Provide information about the commands used for configuring the Port Mirror function. Chapter 26: Port Isolation Commands Provide information about the commands used for configuring Port Isolation function.
  • Page 23 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 39: Static Multicast Routing Commands Provide information about the commands used for configuring the Static Multicast Routing function. Chapter 40: VRRP Commands Provide information about the commands used for configuring the VRRP function.
  • Page 24: Chapter 1 Using The Cli

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 1 Using the CLI 1.1 Accessing the CLI You can log on to the switch and access the CLI by the following two methods: Log on to the switch by the console port on the switch.
  • Page 25 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-2 Connection Description Select the port to connect in Figure 1-3, and click OK. Figure 1-3 Select the port to connect Configure the port selected in the step above as the following Figure 1-4 shown.
  • Page 26: 1.1.2 Configuring The Privileged Exec Mode Password

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-4 Port Settings The DOS prompt ”T3700G-28TQ>” will appear after pressing the Enter button as Figure 1-5 shown. It indicates that you can use the CLI now. Figure 1-5 Log in the Switch 1.1.2 Configuring the Privileged EXEC Mode Password...
  • Page 27: 1.1.3 Logon By Telnet

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-6 Configure the Privileged EXEC Mode Password 1.1.3 Logon by Telnet For Telnet connection, after configuring the Privileged EXEC Mode Password, you should also configure the Telnet login mode and login authentication information through console connection.
  • Page 28 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-8 Run Window Open Telnet, then type telnet 192.168.0.1 in the command prompt shown as Figure 1-8, and press the Enter button. Figure 1-9 Connecting to the Switch Type the default user name and password admin/admin, then press the Enter button so as to enter User EXEC Mode.
  • Page 29 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-11 Enter into the Privileged EXEC Mode  Login Mode Firstly configure the Telnet login mode as “login”, and both the connection password and the Privileged EXEC Mode password as 123 in the prompted DOS screen shown in Figure 1-12.
  • Page 30 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-13 Connecting to the Switch You are prompted to enter the connection password 456 you have set through Console port connection, and then you are in User EXEC Mode.
  • Page 31: 1.1.4 Logon By Ssh

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-15 Enter into the Privileged EXEC Mode Now you can manage your switch with CLI commands through Telnet connection. Note: You can refer to Chapter 12 User Manage Commands for detailed commands information of the Telnet connection configuration.
  • Page 32 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-16 Enable SSH function Password Authentication Mode  Open the software to log on to the interface of PuTTY. Enter the IP address of the switch into Host Name field; keep the default value 22 in the Port field; select SSH as the Connection type.
  • Page 33 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-18 Log on the Switch  Key Authentication Mode Select the key type and key length, and generate SSH key. Figure 1-19 Generate SSH Key Note: The key length is in the range of 256 to 3072 bits.
  • Page 34 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-20 Save the Generated Key Log on to the switch by the console port, and download the public key file from the TFTP server to the switch, as the following figure shows:...
  • Page 35 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Figure 1-22 SSH Connection Config Click Browse to download the private key file to SSH client software and click Open. Figure 1-23 Download the Private Key...
  • Page 36: 1.2 Cli Command Modes

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide After successful authentication, please enter the login user name. If you log on to the switch without entering password, it indicates that the key has been successfully downloaded. Figure 1-24 Log on the Switch 1.2 CLI Command Modes...
  • Page 37 Line Use the line vty command configuration mode. Configuration from Global Configuration T3700G-28TQ(config- line) Press Ctrl-Z or enter end mode to specify a line. Mode to return to priviledged EXEC mode. Use the end command or press Ctrl+Z to return to...
  • Page 38 Enter the exit or the # gigabitEthernet port T3700G-28TQ(config-if)# command to return to interface range Global Configuration gigabitEthernet port-list T3700G-28TQ(config-if- range)# mode. command to enter this mode from Global Configuration A port number must be mode. specified in the interface command.
  • Page 39: 1.3 Security Levels

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Interface Configuration Mode: In this mode, users can configure one or several  ports, different ports corresponds to different commands a). Interface gigabitEthernet/ten-gigabitEthernet: Configure parameters for an Ethernet port, such as Duplex-mode, flow control status.
  • Page 40: 1.4 Conventions

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 1.4 Conventions 1.4.1 Format Conventions The following conventions are used in this Guide: Items in square brackets [ ] are optional  Items in braces { } are required ...
  • Page 41: Chapter 2 User Interface

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Syntax enable Command Mode User EXEC Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: T3700G-28TQ>enable...
  • Page 42: Disable

    Command Mode Global Configuration Mode Example Set the super password as “admin” to access Privileged EXEC Mode from User EXEC Mode: T3700G-28TQ(config)#enable password admin disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode.
  • Page 43: Exit

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ#configure T3700G-28TQ(config)# exit Description The exit command is used to return to the previous Mode from the current Mode. Syntax exit Command Mode Any Configuration Mode Example Return to Global Configuration Mode from Interface Configuration Mode, and...
  • Page 44: History

    Command Mode Privileged EXEC Mode and any Configuration Mode Example Show the commands you have entered in the current mode: T3700G-28TQ(config)# history 1 history history clear Description The history clear command is used to clear the commands you have entered in the current mode, therefore these commands will not be shown next time you use the history command.
  • Page 45: Chapter 3 Stack

    The stack technology is to connect multiple stackable devices through their StackWise ports, forming a stack which works as a unified system and presents as a single entity to the network in Layer 2 and Layer 3 protocols. This chapter describes how to manage the T3700G-28TQ switch stacks.
  • Page 46: Switch Authentication-Mode

    —— Specify the new stack member number for the stack member. auto-numbering—— The specified member will obtain its stack number through auto-numbering. Command Mode Global Configuration Mode Example Modify the unit 1’s new member number as 2: T3700G-28TQ(config)# switch 1 renumber 2 switch authentication-mode Description switch authentication-mode command configure stack authentication mode.
  • Page 47: Switch Stack-Name

    Command Mode Global Configuration Mode Example Specify the name of the stack as Stack1: T3700G-28TQ(config)# switch stack-name Stack1 switch stack-port Description The switch stack-port command is used to enable the stack port. To switch the stack port to Ethernet port, please use no switch stack-port command.
  • Page 48: Show Switch

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Specify the ten-gigabit port 1/1/2 as stack port when the Interface Card is installed: T3700G-28TQ(config)# switch stack-port interface ten-gigabitEthernet 1/1/2 show switch Description The show switch command is used to display the current stack’s information.
  • Page 49: Chapter 4 Ieee 802.1Q Vlan Commands

    Parameter vlan-list —— VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is multi-optional. Command Mode Global Configuration Mode Example Create VLAN 2-10 and VLAN 100: T3700G-28TQ(config)#vlan 2-10,100 Delete VLAN 2: T3700G-28TQ(config)#no vlan 2...
  • Page 50: Interface Vlan

    —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Create VLAN Interface 2: T3700G-28TQ(config)#interface vlan 2 name Description The name command is used to assign a description string to a VLAN. To clear the description, please use no name command.
  • Page 51: Switchport Mode

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Specify the Link Type of Gigabit Ethernet port 1/0/3 as “trunk”: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport mode trunk switchport access vlan Description The switchport access vlan command is used to add the desired Access port to IEEE 802.1Q VLAN, or to remove a port from the corresponding VLAN.
  • Page 52: Switchport Trunk Allowed Vlan

    / interface range ten-gigabitEthernet) Example Configure Gigabit Ethernet port 1/0/3 whose link type is “access” to VLAN 2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport access vlan 2 switchport trunk allowed vlan Description The switchport trunk allowed vlan command is used to add the desired Trunk port to IEEE 802.1Q VLAN.
  • Page 53: Switchport General Allowed Vlan

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure Gigabit Ethernet port 1/0/4 whose link type is “general” to VLAN 2 and its egress-rule as “tagged”: T3700G-28TQ(config)#interface gigabitEthernet 1/0/4 T3700G-28TQ(config-if)#switchport mode general T3700G-28TQ(config-if)#switchport general allowed vlan 2 tagged...
  • Page 54: Switchport Pvid

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Specify the PVID of Gigabit Ethernet port 1/0/3 as 1: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport pvid 1 show interface switchport Description The show interface switchport command is used to display the information of one or all Ethernet ports.
  • Page 55: Show Vlan Summary

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the detailed information of Gigabit Ethernet port 1/0/3: T3700G-28TQ(config)#show interface switchport gigabitEthernet 1/0/3 show vlan summary Description The show vlan summary command is used to display the summarized information of IEEE 802.1Q VLAN.
  • Page 56: Show Vlan

    —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Using the show vlan command without parameter displays the detailed information of all the VLANs. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of VLAN 2-10: T3700G-28TQ(config)#show vlan id 2-10...
  • Page 57: Chapter 5 Mac-Based Vlan Commands

    —— Give a description to the MAC address for identification, which contains 8 characters at most. Command Mode Global Configuration Mode Example Create VLAN 2, named “TP”, and the MAC address is 00:11:11:01:01:12: T3700G-28TQ(config)#mac-vlan mac-address 00:11:11:01:01:12 vlan 2 description TP...
  • Page 58: Mac-Vlan

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the Gigabit Ethernet port 1/0/3 for the MAC-based VLAN feature: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#mac-vlan show mac-vlan Description The show mac-vlan command is used to display the information of the MAC-based VLAN entry.
  • Page 59: Show Mac-Vlan Interface

    —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Example Display the information of all the MAC-based VLAN entry: T3700G-28TQ(config)#show mac-vlan all show mac-vlan interface Description The show mac-vlan interface command is used to display the port state of MAC-based VLAN.
  • Page 60: Chapter 6 Protocol-Based Vlan Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 6 Protocol-based VLAN Commands Protocol VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol is relative to a single VLAN ID. The untagged packets and the priority-tagged packets matching the protocol template will be tagged with this VLAN ID.
  • Page 61: Protocol-Vlan Vlan

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#protocol-vlan template name TP frame ether_2 ether-type 2024 protocol-vlan vlan Description The protocol-vlan vlan command is used to create a Protocol-based VLAN entry. To delete a Protocol-based VLAN entry, please use no protocol-vlan vlan command.
  • Page 62: Show Protocol-Vlan Template

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the Protocol-based VLAN feature for the Gigabit Ethernet port 25: T3700G-28TQ(config)#interface gigabitEthernet 1/0/25 T3700G-28TQ(config-if)#protocol-vlan show protocol-vlan template Description The show protocol-vlan template command is used to display the information of the Protocol-based VLAN templates.
  • Page 63: Show Protocol-Vlan Vlan

    Description The show protocol-vlan vlan command is used to display the information about Protocol-based VLAN entry. Syntax show protocol-vlan vlan Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display information of the Protocol-based VLAN entry: T3700G-28TQ(config)#show protocol-vlan vlan...
  • Page 64: Chapter 7 Vlan-Vpn Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 7 VLAN-VPN Commands VLAN-VPN (Virtual Private Network) function, the implement of a simple and flexible Layer 2 VPN technology, allows the packets with VLAN tags of private networks to be encapsulated with VLAN tags of public networks at the network access terminal of the Internet Service Provider.
  • Page 65: Dot1Q-Tunnel Mapping

    Command Mode Global Configuration Mode Example Configure Global TPID of the VLAN-VPN as 0x9100: T3700G-28TQ(config)#dot1q-tunnel tpid 9100 dot1q-tunnel mapping Description The dot1q-tunnel mapping command is used to enable the VLAN Mapping feature globally. To disable this function, please use the no dot1q-tunnel mapping command.
  • Page 66: Switchport Dot1Q-Tunnel Mode

    Add a VLAN Mapping entry on the Gigabit Ethernet port 1/0/3 with the Customer VLAN as VLAN 2 and the Service Provider VLAN as VLAN 3: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport dot1q-tunnel mapping 2 3 switchport dot1q-tunnel mode Description The switchport dot1q-tunnel mode command is used to configure the VPN port’s mode.
  • Page 67: Show Dot1Q-Tunnel

    / interface range ten-gigabitEthernet) Example Configure the Gigabit Ethernet port 1/0/3 as the VPN UNI ports: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport dot1q-tunnel mode uni show dot1q-tunnel Description The show dot1q-tunnel command is used to display the global configuration information of the VLAN VPN.
  • Page 68: Show Dot1Q-Tunnel Interface

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of VLAN Mapping entry: T3700G-28TQ(config)#show dot1q-tunnel mapping show dot1q-tunnel interface Description The show dot1q-tunnel mapping interface command is used to display the VLAN VPN port type.
  • Page 69: Chapter 8 Voice Vlan Commands

    Command Mode Global Configuration Mode Example Enable the Voice VLAN function for VLAN 10: T3700G-28TQ(config)#voice vlan 10 voice vlan aging Description The voice vlan aging command is used to set the aging time for a voice VLAN. To restore to the default aging time for the Voice VLAN, please use no voice vlan aging command.
  • Page 70: Voice Vlan Priority

    Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: T3700G-28TQ(config)#voice vlan aging 1 voice vlan priority Description The voice vlan priority command is used to configure the priority for the Voice VLAN. To restore to the default priority, please use no voice vlan priority command.
  • Page 71: Voice Vlan Mac-Address

    Global Configuration Mode Example Create a Voice VLAN OUI described as “TP-Phone” with the OUI address 00:11:11:00:00:00 and the mask address FF:FF:FF:00:00:00: T3700G-28TQ(config)#voice vlan mac-address 00:11:11:00:00:00 mask FF:FF:FF:00:00:00 description TP- Phone switchport voice vlan mode Description The switchport voice vlan mode command is used to configure the Voice VLAN mode for the Ethernet port.
  • Page 72: Switchport Voice Vlan Security

    Example Configure the Gigabit Ethernet port 1/0/3 to operate in the auto voice VLAN mode: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport voice vlan mode auto switchport voice vlan security Description The switchport voice vlan security command is used to enable the Voice VLAN security feature.
  • Page 73: Show Voice Vlan

    The show voice vlan oui command is used to display the configuration information of Voice VLAN OUI. Syntax show voice vlan oui Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: T3700G-28TQ(config)#show voice vlan oui...
  • Page 74: Show Voice Vlan Switchport

    Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of Gigabit Ethernet port 1/0/1 in the Voice VLAN: T3700G-28TQ(config)#show voice vlan switchport gigabitEthernet 1/0/1 Display the configuration information of all the ports in the Voice VLAN: T3700G-28TQ(config)#show voice vlan switchport...
  • Page 75: Chapter 9 Private Vlan Commands

    Command Mode VLAN Configuration Mode (VLAN) Example Configure the VLAN 3 as the primary VLAN of the private VLAN: T3700G-28TQ(config)#vlan 3 T3700G-28TQ(config-vlan)#private-vlan primary private-vlan community Description The private-vlan community command is used to configure the designated VLAN as the community VLAN of the Private VLAN. To abolish the currently community VLAN, please use no private-vlan community command.
  • Page 76: Private-Vlan Isolated

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode VLAN Configuration Mode (VLAN) Example Configure the VLAN 4 as the community VLAN of the private VLAN: T3700G-28TQ(config)#vlan 4 T3700G-28TQ(config-vlan)#private-vlan community private-vlan isolated Description The private-vlan isolated command is used to configure the designated VLAN as the isolated VLAN of the Private VLAN.
  • Page 77: Switchport Private-Vlan

    VLAN Configuration Mode (VLAN) Example Associate primary VLAN 3 with community VLAN 4 as a private VLAN: T3700G-28TQ(config)#vlan 3 T3700G-28TQ(config-vlan)#private-vlan association 4 switchport private-vlan Description The switchport private-vlan command is used to configure the private VLAN mode for the switchport. To invalid the configuration, please use no switchport private-vlan command.
  • Page 78: Switchport Private-Vlan Host-Association

    Example Configure host type Gigabit Ethernet port 1/0/3 as a member of primary VLAN 3 and secondary VLAN 4, with the type of VLAN 4 as community: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport private-vlan host-association 3 4 community switchport private-vlan mapping Description The switchport private-vlan mapping command is used to add promiscuous type port to private VLAN.
  • Page 79: Show Vlan Private-Vlan

    Configure promiscuous type Gigabit Ethernet port 1/0/3 as a member of primary VLAN 3 and secondary VLAN 4: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#switchport private-vlan mapping 3 4 show vlan private-vlan Description The show vlan private-vlan command is used to display the Private VLAN configuration information of the switch.
  • Page 80: Show Vlan Private-Vlan Interface

    [ fastEthernet port | gigabitEthernet port | ten-gigabitEthernet port ] Parameter port —— The list of Ethernet ports. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of all the Ethernet ports: T3700G-28TQ(config)#show vlan private-vlan interface...
  • Page 81: Chapter 10 Gvrp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 10 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allows the switch to automatically add or remove the VLANs via the dynamic VLAN registration information and propagate the local VLAN registration information to other switches, without having to individually configure each VLAN.
  • Page 82: Gvrp Registration

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the GVRP function for Gigabit Ethernet ports 1/0/2-6: T3700G-28TQ(config)#interface range gigabitEthernet 1/0/2-6 T3700G-28TQ(config-if-range)#gvrp gvrp registration Description The gvrp registration command is used to configure the GVRP registration type for the desired port.
  • Page 83: Gvrp Timer

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Set the GARP leaveall timer of Gigabit Ethernet port 1/0/6 as 2000 centiseconds and restore the join timer of it to the default value: T3700G-28TQ(config)#interface gigabitEthernet 1/0/6 T3700G-28TQ(config-if)#gvrp timer leaveall 2000...
  • Page 84: Show Gvrp Global

    GVRP configuration information of all the Ethernet ports is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the GVRP configuration information of Gigabit Ethernet port 1: T3700G-28TQ(config)#show gvrp interface gigabitEthernet 1/0/1 Display the GVRP configuration information of all Ethernet ports:...
  • Page 85 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#show gvrp interface...
  • Page 86: Chapter 11 Etherchannel Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 11 Etherchannel Commands Etherchannel Commands are used to configure LAG and LACP function. LAG (Link Aggregation Group) is to combine a number of ports together to make a single high-bandwidth data path, which can highly extend the bandwidth.
  • Page 87: Port-Channel Load-Balance

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#interface range gigabitEthernet 1/0/2-4 T3700G-28TQ(config-if-range)#channel-group 1 mode on port-channel load-balance Description The port-channel load-balance command is used to configure the Aggregate Arithmetic for LAG. To return to the default configurations, please use no port-channel load-balance command.
  • Page 88: Lacp Port-Priority

    Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: T3700G-28TQ(config)#lacp system-priority 1024 lacp port-priority Description The lacp port-priority command is used to configure the LACP system priority globally. To return to the default configurations, please use no lacp port-priority command.
  • Page 89: Show Etherchannel

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of EtherChannel Group 1: T3700G-28TQ(config)#show etherchannel 1 detail show etherchannel load-balance Description The show etherchannel load-balance command is used to display the Aggregate Arithmetic of LAG.
  • Page 90: Show Lacp

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the internal LACP information of EtherChannel Group 1: T3700G-28TQ(config)#show lacp 1 internal show lacp sys-id Description The show lacp sys-id command is used to display the LACP system priority globally.
  • Page 91: Chapter 12 User Manage Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 12 User Manage Commands User Manage Commands are used to manage the user’s logging information by Web, CLI or SSH, so as to protect the settings of the switch from being randomly changed.
  • Page 92: User Access-Control Ip-Based

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#user name tplink password password type admin status enable user access-control ip-based Description The user access-control ip-based command is used to limit the IP-range of the users for login. Only the users within the IP-range you set here are allowed to login.
  • Page 93: User Access-Control Port-Based

    Global Configuration Mode Example Configure that only the user with the MAC address 00:00:13:0A:00:01 is allowed to login: T3700G-28TQ(config)#user access-control mac-based 00:00:13:0A:00:01 user access-control port-based Description The user access-control port-based command is used to limit the ports for login. Only the users connected to these ports you set here are allowed for login.
  • Page 94: User Max-Number

    Command Mode Global Configuration Mode Example Configure the maximum number of users’ login as Admin and Guest as 5 and 3: T3700G-28TQ(config)#user max-num 5 3 user idle-timeout Description The user idle-timeout command is used to configure the timeout time of the switch.
  • Page 95: Line

    Command Mode Global Configuration Mode Example Configure the timeout time of the switch as 15 minutes: T3700G-28TQ(config)#user idle-timeout 15 line Description The line command is used to enter the Line Configuration Mode and make related configurations for the desired user(s), including the login mode and password configurations.
  • Page 96: Password

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Enter the Virtual Terminal configuration mode so as to prepare further configurations such as password and login mode for virtual terminal 0 to 5: T3700G-28TQ(config)#line vty 0 5 password Description The password command is used to configure the connection password. To clear the password, please use no password command.
  • Page 97: Login Local

    Configure the login of Console port connection 0 as login mode: T3700G-28TQ(config)#line console 0 T3700G-28TQ(config-line)#login Configure the login of virtual terminal connection 0-5 as login mode: T3700G-28TQ(config)#line vty 0 5 T3700G-28TQ(config-line)#login login local Description The login local command is used to configure the login mode of the switch which uses the user name and password to login.
  • Page 98: Show User Account-List

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the current users: T3700G-28TQ(config)#show user account-list show user configuration Description The user configuration command is used to display the security configuration information of the users, including access-control, max-number and the idle-timeout, etc.
  • Page 99: Chapter 13 Binding Table Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 13 Binding Table Commands You can bind the IP address, MAC address, VLAN and the connected Port number of the Host together, which can be the condition for the ARP Inspection and IP verify source to filter the packets.
  • Page 100: Ip Dhcp Snooping

    192.168.0.1 00:00:00:00:00:01 vlan 2 interface gigabitEthernet 1/0/5 both Delete the IP-MAC–VID-PORT entry with the index 5: T3700G-28TQ(config)#no ip source binding unit 1 index 5 ip dhcp snooping Description The ip dhcp snooping command is used to enable DHCP Snooping function globally.
  • Page 101: Ip Dhcp Snooping Global

    Decline packets exceeds the Decline Threshold. The options are 5/10/15/20/25/30 (packet/second). By default, it is 5. Command Mode Global Configuration Mode Example Configure the Global Flow Control as 30pps for DHCP Snooping: T3700G-28TQ(config)#ip dhcp snooping global global-rate 30...
  • Page 102: Ip Dhcp Snooping Information Option

    Command Mode Global Configuration Mode Example Enable the Option 82 function of DHCP Snooping: T3700G-28TQ(config)#ip dhcp snooping information option ip dhcp snooping information strategy Description The ip dhcp snooping information strategy command is used to select the operation for the Option 82 field of the DHCP request packets from the Host. To restore to the default option, please use no ip dhcp snooping information strategy command.
  • Page 103: Ip Dhcp Snooping Information User-Defined

    Example Replace the Option 82 field of the packets with the switch defined one and then send out: T3700G-28TQ(config)#ip dhcp snooping information strategy replace ip dhcp snooping information user-defined Description The ip dhcp snooping information user-defined command is used to enable the customized Option 82.
  • Page 104: Ip Dhcp Snooping Information Circuit-Id

    Global Configuration Mode Example Configure the customized sub-option Remote ID for the Option 82 as tplink: T3700G-28TQ(config)#ip dhcp snooping information remote-id tplink ip dhcp snooping information circuit-id Description The ip dhcp snooping information circuit-id command is used to enable and configure the customized sub-option Circuit ID for the Option 82.
  • Page 105: Ip Dhcp Snooping Trust

    / interface range ten-gigabitEthernet) Example Configure the Gigabit Ethernet port 1/0/2 to be a Trusted Port: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#ip dhcp snooping trust ip dhcp snooping mac-verify Description The ip dhcp snooping mac-verify command is used to enable the MAC Verify feature.
  • Page 106: Ip Dhcp Snooping Limit Rate

    Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Set the Flow Control of GigabitEthernet port 2 as 20 pps: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#ip dhcp snooping limit rate 20...
  • Page 107: Ip Dhcp Snooping Decline

    / interface range ten-gigabitEthernet) Example Enable the Decline Protect feature of Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#ip dhcp snooping decline show ip source binding Description The show ip source binding command is used to display the IP-MAC-VID- PORT binding table.
  • Page 108: Show Ip Dhcp Snooping

    [ fastEthernet port | gigabitEthernet port ] Parameters port ——The Fast/Gigabit Ethernet port number Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the DHCP Snooping configuration of all Ethernet ports: T3700G-28TQ#show ip dhcp snooping interface...
  • Page 109 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Display the DHCP Snooping configuration of Gigabit Ethernet port 1/0/5: T3700G-28TQ#show ip dhcp snooping interface gigabitEthernet 1/0/5...
  • Page 110: Chapter 14 Arp Inspection Commands

    Command Mode Global Configuration Mode Example Enable the ARP Detection function globally: T3700G-28TQ(config)#ip arp inspection ip arp inspection trust Description The ip arp inspection trust command is used to configure the port for which the ARP Detect function is unnecessary as the Trusted Port. To clear the Trusted Port list, please use no ip arp detection trust command .The specific...
  • Page 111: Ip Arp Inspection(Interface)

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure the Gigabit Ethernet ports 1/0/2-5 as the Trusted Port: T3700G-28TQ(config)#interface range gigabitEthernet 1/0/2-5 T3700G-28TQ(config-if-range)#ip arp inspection trust ip arp inspection(interface) Description The ip arp inspection command is used to enable the ARP Defend function. To disable the ARP detection function, please use no ip arp inspection command.
  • Page 112: Ip Arp Inspection Limit-Rate

    Configure the maximum amount of the received ARP packets per second as 50 pps for Gigabit Ethernet port 5: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#ip arp inspection limit-rate 50 ip arp inspection recover Description The ip arp inspection recover command is used to restore a port to the ARP transmit status from the ARP filter status.
  • Page 113: Show Ip Arp Inspection

    / interface range ten-gigabitEthernet) Example Restore Gigabit Ethernet port 1/0/5 to the ARP transmit status: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#ip arp inspection recover show ip arp inspection Description The show ip arp inspection command is used to display the ARP detection global configuration including the enable/disable status and the Trusted Port list.
  • Page 114: Show Ip Arp Inspection Statistics

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of Gigabit Ethernet port 1: T3700G-28TQ(config)#show ip arp inspection interface gigabitEthernet 1/0/1 Display the configuration of all Ethernet ports: T3700G-28TQ(config)#show ip arp inspection interface show ip arp inspection statistics...
  • Page 115 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear the statistic of the illegal ARP packets received: T3700G-28TQ(config)#clear ip arp inspection statistics...
  • Page 116: Chapter 15 Ip Verify Source Commands

    Enable the IP Verify Source function for Gigabit Ethernet ports 5-10. Configure that only the packets with its source IP address, source MAC address and port number matched to the IP-MAC binding rules can be processed: T3700G-28TQ(config)#interface range gigabitEthernet 1/0/5-10 T3700G-28TQ(config-if-range)#ip verify source sip+mac...
  • Page 117: Show Ip Verify Source

    The show ip verify source command is used to display the IP Verify Source configuration information. Syntax show ip verify source Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP Verify Source configuration information: T3700G-28TQ(config)#show ip verify source...
  • Page 118: Chapter 16 Dos Defend Command

    Command Mode Global Configuration Mode Example Enable the DoS defend function globally: T3700G-28TQ(config)#ip dos-prevent ip dos-prevent type Description The ip dos-prevent type command is used to select the DoS Defend Type. To disable the corresponding Defend Type, please use no ip dos-prevent type command.
  • Page 119: Show Ip Dos-Prevent

    Command Mode Global Configuration Mode Example Enable the DoS Defend Type named Land attack: T3700G-28TQ(config)#ip dos-prevent type land show ip dos-prevent Description The show ip dos-prevent command is used to display the DoS information of the detected DoS attack, including enable/disable status, the DoS Defend Type, the count of the attack, etc.
  • Page 120: Chapter 17 Ieee 802.1X Commands

    Command Mode Global Configuration Mode Example Enable the IEEE 802.1X function: T3700G-28TQ(config)#dot1x system-auth-control dot1x auth-method Description The dot1x auth-method command is used to configure the Authentication Method of IEEE 802.1X and the default 802.1x authentication method is “eap-md5”.
  • Page 121: Dot1X Guest-Vlan(Global)

    Command Mode Global Configuration Mode Example Configure the Authentication Method of IEEE 802.1X as “pap”: T3700G-28TQ(config)#dot1x auth-method pap dot1x guest-vlan(global) Description The dot1x guest-vlan command is used to enable the Guest VLAN function globally. To disable the Guest VLAN function, please use no dot1x guest-vlan command.
  • Page 122: Dot1X Quiet-Period

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#dot1x guest-vlan 5 dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function. To disable the function, please use no dot1x quiet-period command. Syntax dot1x quiet-period [ time ]...
  • Page 123: Dot1X Max-Reauth-Req

    Command Mode Global Configuration Mode Example Configure the server’s timeout value as 5 seconds: T3700G-28TQ(config)#dot1x timeout server-timeout 5 dot1x max-reauth-req Description The dot1x max-reauth-req command is used to configure the maximum transfer times of the repeated authentication request when the server cannot be connected.
  • Page 124: Dot1X

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the IEEE 802.1X function for the Gigabit Ethernet port 1: T3700G-28TQ(config)#interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)#dot1x dot1x guest-vlan(interface) Description The dot1x guest-vlan command is used to enable the guest VLAN function for a specified port.
  • Page 125: Dot1X Port-Control

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Enable the Guest VLAN function for Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#dot1x guest-vlan dot1x port-control Description The dot1x port-control command is used to configure the Control Mode of IEEE 802.1X for the specified port.
  • Page 126: Dot1X Port-Method

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure the Control Type for Gigabit Ethernet port 20 as “port-based”: T3700G-28TQ(config)#interface gigabitEthernet 1/0/20 T3700G-28TQ(config-if)#dot1x port-method port-based radius Description The radius command is used to configure the parameters of radius.
  • Page 127: Radius Server-Account

    Global Configuration Mode Example Configure the IP address of the accounting server as 10.20.1.100 and password as tplink: T3700G-28TQ(config)#radius auth-pri 10.20.1.100 auth-key tplink radius server-account Description The radius server-account command is used to enable the accounting feature. To disable the accounting feature, please use no radius server-account command.
  • Page 128: Show Dot1X Global

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of 801.X globally: T3700G-28TQ(config)#show dot1x global show dot1x interface Description The show dot1x interface command is used to display all ports or the specified port’s configuration information of 801.X.
  • Page 129: Show Radius Accounting

    Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of 801.X for Gigabit Ethernet port 20: T3700G-28TQ(config)#show dot1x interface gigabitEthernet 1/0/20 Display the configuration information of 801.X for all Ethernet ports: T3700G-28TQ(config)#show dot1x interface show radius accounting...
  • Page 130 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the configuration of the RADIUS authentication server: T3700G-28TQ(config)#show radius authentication...
  • Page 131: Chapter 18 System Log Commands

    Command Mode Global Configuration Mode Example Enable the system log buffer: T3700G-28TQ(config)#logging buffer logging buffer level Description The logging buffer level command is used to configure the severity level and the status of the configuration input to the log buffer. To return to the default configuration, please use no logging buffer level command.
  • Page 132: Logging File Flash

    Command Mode Global Configuration Mode Example Set the severity level as 6: T3700G-28TQ(config)#logging buffer level 6 logging file flash Description The logging file flash command is used to store the log messages in a file in the flash on the switch. To disable the log file flash function, please use no logging file flash command.
  • Page 133: Logging File Flash Frequency

    Command Mode Global Configuration Mode Example Specify the log file synchronization frequency as 10 hours: T3700G-28TQ(config)#logging file flash frequency 10 logging file flash level Description The logging file flash level command is used to specify the system log message severity level. Messages will a severity level equal to or higher than this value will be stored to the flash.
  • Page 134: Logging Host Index

    Global Configuration Mode Example Save the log messages with their severities equal or higher than 7 to the flash : T3700G-28TQ(config)#logging file flash level 7 logging host index Description The logging host index command is used to configure the syslog server hosts to receive logging messages.
  • Page 135: Copy Logging Flash Tftp

    Global Configuration Mode Example Save the unit 1’s system log file to the TFTP server 192.168.0.148 with the name log.txt: T3700G-28TQ(config)# copy logging flash tftp ip-address 192.168.0.148 filename log.txt 1 clear logging Description The clear logging command is used to clear the syslog in the log buffer and log flash in the specified unit or the whole stack.
  • Page 136: Show Logging Local-Config

    Privileged EXEC Mode and Any Configuration Mode Example Clear the syslog in the log buffer of all the switches in the stack:: T3700G-28TQ(config)#clear logging buffer show logging local-config Description The show logging local-config command is used to display the configuration of the Local Log including the log buffer and the log file, the synchronization frequency etc.
  • Page 137: Show Logging Buffer

    The log information in the log buffers of the whole stack will be displayed by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the log information from level 0 to level 5 in the log buffer of unit 2: T3700G-28TQ(config)#show logging buffer level 5 unit 2...
  • Page 138: Show Logging Flash

    The log information in the log files of the whole stack will be displayed by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the log information with the level marked 0~3 in the log file of unit 2: T3700G-28TQ(config)#show logging flash level 3 unit 2...
  • Page 139: Chapter 19 Ssh Commands

    Command Mode Global Configuration Mode Example Enable the SSH function: T3700G-28TQ(config)#ip ssh server ip ssh version Description The ip ssh version command is used to enable the SSH protocol version. To disable the protocol version, please use no ip ssh version command.
  • Page 140: Ip Ssh Timeout

    Command Mode Global Configuration Mode Example Enable SSH v2: T3700G-28TQ(config)#ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout time of SSH. To restore to the factory defaults, please use ip ssh timeout command.
  • Page 141: Ip Ssh Download

    Command Mode Global Configuration Mode Example Specify the maximum number of the connections to the SSH server as 3: T3700G-28TQ(config)#ip ssh max-client 3 ip ssh download Description The ip ssh download command is used to download the SSH key file from TFTP server.
  • Page 142: Remove Public-Key

    Command Mode Privileged EXEC Mode Example Remove the SSH-1 type public key from the switch: T3700G-28TQ# remove public-key v1 show ip ssh Description The show ip ssh command is used to display the global configuration of SSH and the SSH public key.
  • Page 143: Chapter 20 Ssl Commands

    Command Mode Global Configuration Mode Example Enable the SSL function: T3700G-28TQ(config)#ip http secure-server ip http secure-server download certificate Description The ip http secure-server download certificate command is used to download a certificate to the switch from TFTP server.
  • Page 144: Ip Http Secure-Server Download Key

    Global Configuration Mode Example Download a SSL certificate named ssl-cert from TFTP server with the IP address of 192.168.0.146: T3700G-28TQ(config)#ip http secure-server download certificate ssl-cert ip-address 192.168.0.146 ip http secure-server download key Description The ip http secure-server download key command is used to download a SSL key to the switch from TFTP server.
  • Page 145: Show Ip Http Secure-Server

    The show ip http secure-server command is used to display the global configuration of SSL. Syntax show ip http secure-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSL: T3700G-28TQ(config)#show ip http secure-server...
  • Page 146: Chapter 21 Mac Address Commands

    Global Configuration Mode Example Add a static Mac address entry to bind the MAC address 00:02:58:4f:6c:23, VLAN1 and Gigabit Ethernet port 1/0/1 together: T3700G-28TQ(config)#mac address-table static 00:02:58:4f:6c:23 vid 1 interface gigabitEthernet 1/0/1 Delete the static address entry whose VLAN id is 1:...
  • Page 147: Mac Address-Table Aging-Time

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#no mac address-table static vid 1 Delete the static address entry whose MAC address is 00:02:58:4f:6c:23: T3700G-28TQ(config)#no mac address-table static 00:02:58:4f:6c:23 mac address-table aging-time Description The mac address-table aging-time command is used to configure aging time for the dynamic address.
  • Page 148: Mac Address-Table Max-Mac-Count

    Global Configuration Mode Example Add a filtering address entry of which VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: T3700G-28TQ(config)#mac address-table filtering 00:1e:4b:04:01:5d vid 1 mac address-table max-mac-count Description The mac address-table max-mac-count command is used to configure the Port Security.
  • Page 149: Show Mac Address-Table

    Enable Port Security function for Gigabit Ethernet port 1/0/1, select Static mode as the learn mode, and specify the maximum number of MAC addresses that can be learned on this port as 30: T3700G-28TQ(config)#interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)#mac address-table max-mac-count max-number 30 mode static status enable show mac address-table Description The show mac address-table command is used to display the information of all address entries.
  • Page 150: Show Mac Address-Table Aging-Time

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Aging Time of the MAC address: T3700G-28TQ(config)#show mac address-table aging-time show mac address-table max-mac-count Description The show mac address-table max-mac-count interface command is used to display the security configuration of an Ethernet port or of all Fast/Gigabit /ten-Gigabit Ethernet ports.
  • Page 151: Show Mac Address-Table Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the security configuration of Gigabit Ethernet port 1/0/20: T3700G-28TQ(config)#show mac address-table max-mac-count interface gigabitEthernet 1/0/20 show mac address-table interface Description The show mac address-table interface command is used to display the address configuration of an Ethernet port.
  • Page 152: Show Mac Address-Table Address

    Display the total amount of MAC address table in VLAN 1 of unit 2 of the stack: T3700G-28TQ(config)#show mac address-table count unit 2 vlan 1 Display the total amount of MAC address table in VLAN 2 of all the units of the...
  • Page 153: Show Mac Address-Table Vlan

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the MAC address 00:00:00:23:00:00 in VLAN 1: T3700G-28TQ(config)#show mac address-table address 00:00:00:23:00:00 vid 1 Display the information of the MAC address 00:00:00:23:00:00: T3700G-28TQ(config)#show mac address-table address 00:00:00:23:00:00...
  • Page 154: Chapter 22 System Configuration Commands

    Command Mode Global Configuration Mode Example Configure the system time as 02/14/2012-12:30:00: T3700G-28TQ(config)#system-time manual 02/14/2012-12:30:00 system-time ntp Description The system-time ntp command is used to configure the time zone and the IP address for the NTP Server. The switch will get UTC automatically if it has connected to an NTP Server.
  • Page 155 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Parameter timezone — — Your local time-zone, and it ranges from UTC-12:00 to UTC+13:00. The detailed information that each time-zone means are displayed as follow: UTC-12:00 —— TimeZone for International Date Line West.
  • Page 156: System-Time Dst Predefined

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide UTC+08:00 — — TimeZone for Beijing, Chongqing, Hong Kong, Urumqi, Singapore. UTC+09:00 —— TimeZone for Seoul, Irkutsk, Osaka, Sapporo, Tokyo. UTC+09:30 —— TimeZone for Darwin, Adelaide. UTC+10:00 —— TimeZone for Canberra, Melbourne, Sydney, Brisbane.
  • Page 157: System-Time Dst Date

    Command Mode Global Configuration Mode Example Configure the DST period of the switch as Europe: T3700G-28TQ(config)#system-time dst predefined Europe system-time dst date Description The system-time dst date command is used to specify the DST configuration in Date mode. This configuration is one-off in use. By default, the current year is used as the starting time.
  • Page 158: System-Time Dst Recurring

    Configure the DST start time as 00:00 am on April 1 of 2013, the end time as 00:00 am on October 1 of 2013 and the offset as 30 minutes: T3700G-28TQ(config)#system-time dst date Apr 1 00:00 2013 Oct 1 00:00 2013 30 system-time dst recurring Description The system-time dst recurring command is used to specify the DST configuration in recurring mode.
  • Page 159: Hostname

    Specify the DST start time of the switch as 2:00 am on the first Sunday in May, the end time as 2:00 am on the last Sunday in October and the offset as 45 minutes: T3700G-28TQ(config)#system-time dst recurring first Sun May 02:00 last Sun Oct 02:00 45 hostname Description The hostname command is used to configure the system name.
  • Page 160: Contact-Info

    To clear the system contact information, please use no contact-info command. Syntax contact-info contact_info no contact-info Parameter contact_info —— Contact Information. It consists of 32 characters at most. It is www.tp-link.com by default. Command Mode Global Configuration Mode Example Configure the system contact information as www.tp-link.com: T3700G-28TQ(config)#contact-info www.tp-link.com...
  • Page 161: Ip Address

    Create the VLAN interface 2 with the IP address as 192.168.1.1 and subnet mask as 255.255.255.0: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip address 192.168.1.1 255.255.255.0 ip address-alloc Description The IP address-alloc dhcp command is used to enable the DHCP Client function or the BOOTP Protocol.
  • Page 162: Reset

    Command Mode Interface Configuration Mode Example Enable the DHCP Client function on the Lay 3 routed port 1/0/1: T3700G-28TQ(config)# interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)# no switchport T3700G-28TQ(config-if)# ip address-alloc dhcp Disable the IP address obtaining function on the VLAN interface 2:...
  • Page 163: Reboot

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide reboot Description The reboot command is used to reboot the switch. To avoid damage, please don’t turn off the device while rebooting. Syntax reboot [ unitid ] Parameter unitid —— Specify the unit in the stack to reboot. If not specified, reboot all members in the stack.
  • Page 164: Copy Running-Config Backup-Config

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ#copy running-config startup-config 1 copy running-config backup-config Description The copy running-config backup-config command is used to save the current settings as the backup configuration file. Syntax copy running-config backup-config [ unit-id ] Parameter unit-id ——...
  • Page 165: Copy Backup-Config Startup-Config

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Privileged EXEC Mode Example Save unit 1’s current settings as my_config.cfg: T3700G-28TQ#copy running-config user-config unit1:my_config.cfg copy backup-config startup-config Description The backup-config startup-config command is used to save the backup configuration file as the startup configuration file.
  • Page 166: Boot Application

    If not specified, image files of all the members in the stack will be configured. Command Mode Global Configuration Mode Example Configure the image2.bin as the startup image in all the switches in the stack: T3700G-28TQ(config)# boot application filename image2 startup...
  • Page 167: Boot Config

    Global Configuration Mode Example Configure the config2.cfg as the startup configuration file in all the switches in the stack: T3700G-28TQ(config)# boot config filename config2 startup copy backup-config tftp Description The copy backup-config tftp command is used to upload the backup...
  • Page 168: Copy Startup-Config Tftp

    Save the backup configuration files of all the members in the stack to TFTP server with the IP 192.168.0.148 and name these files as config with their unit ID as suffix: T3700G-28TQ#copy backup-config tftp ip-address 192.168.0.148 filename config copy startup-config tftp...
  • Page 169: Copy Tftp Backup-Config

    Save the startup configuration file of all the members in the stack to TFTP server with the IP 192.168.0.148 and name these files as config with their unit ID as suffix: T3700G-28TQ# copy startup-config tftp ip-address 192.168.0.148 filename config copy tftp backup-config...
  • Page 170: Copy Tftp Startup-Config

    Example Download the configuration file named as config_unitid to the corresponding switches in the stack as their backup configruration file from TFTP server with the IP 192.168.0.148: T3700G-28TQ# copy tftp backup -config ip-address 192.168.0.148 filename config copy tftp startup-config Description The copy tftp startup-config command is used to download the configuration file from the TFTP server to the switch as the startup configuration file.
  • Page 171: Copy Image Tftp-Source

    TFTP server. The suffix “.bin” is not included. Command Mode Privileged EXEC Mode Example Download the image file named as image.bin to the unit 1 in the stack as its image1.bin from TFTP server with the IP 192.168.0.148: T3700G-28TQ# copy image tftp-source unit1:image1.bin ip-address 192.168.0.148 filename image...
  • Page 172: Copy Image

    “.bin” is not included. Command Mode Privileged EXEC Mode Example Upload the unit1’ image1.bin files to the TFTP server with the IP 192.168.0.148 and name it as image.bin: T3700G-28TQ# copy ip-address image unit1:image1.bin tftp-target 192.168.0.148 filename image copy image...
  • Page 173: Remove Backup-Image

    Command Mode Privileged EXEC Mode Example Copy unit 1’s image1.bin file to unit 2 as image2.bin: T3700G-28TQ# copy image unit1:image1.bin unit2:image2.bin remove backup-image Description The remove backup-image command is used to delete the backup-image. Syntax remove backup-image [ unitid ] Parameter unitid ——...
  • Page 174: Firmware Upgrade

    Command Mode Privileged EXEC Mode Example Delete the configuration file named config1.cfg of all the members in the stack: T3700G-28TQ# remove config filename config1.cfg firmware upgrade Description The firmware upgrade command is used to upgrade the switch system file via the TFTP server.
  • Page 175: Ping

    192.168.0.131, please specify the count (-l) as 512 bytes and count (-i) as 1000 milliseconds. If there is not any response after 8 times’ Ping test, the connection between the switch and the network device is failed to establish: T3700G-28TQ#ping 192.168.0.131 –n 8 –l 512 tracert Description The tracert command is used to test the connectivity of the gateways during its journey from the source to destination of the test data.
  • Page 176: Loopback Interface

    192.168.0.131. If the destination device has not been found after 20 maxHops, the connection between the switch and the destination device is failed to establish: T3700G-28TQ#tracert 192.168.0.131 –h 20 loopback interface Description The loopback interface command is used to test whether the port is available or not.
  • Page 177: Show System-Time

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Conduct an internal-type loopback test for Gigabit Ethernet port 1/0/20: T3700G-28TQ# loopback interface gigabitEthernet 1/0/20 internal Conduct an external-type loopback test for Gigabit Ethernet port 20: T3700G-28TQ# loopback interface gigabitEthernet 1/0/20 external...
  • Page 178: Show System-Time Ntp

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ#show system-time dst show system-time ntp Description The show system-time ntp command is used to display the NTP mode configuration information. Syntax show system-time ntp Command Mode Privileged EXEC Mode and Any Configuration Mode...
  • Page 179: Show Environment

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the system’s running temperature of all the switches in the stack: T3700G-28TQ#show environment temperature show files-in-system Description The show files-in-system command is used to display the information of system files.
  • Page 180: Show Image-Info

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the system files’ information of all the switches in the stack: T3700G-28TQ#show files-in-system show image-info Description The show image-info command is used to display the information of image files in the system.
  • Page 181: Show Running-Config

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display all the members’ current operating configuration in the stack: T3700G-28TQ#show running-config show boot Description The show boot command is used to display the current boot configuration of the system.
  • Page 182: Show Cable-Diagnostics Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Show the cable-diagnostics of Gigabit Ethernet port 20: T3700G-28TQ#show cable-diagnostics interface gigabitEthernet 1/0/20 show cpu-utilization Description The show cpu-utilization command is used to display the system’s CPU utilization in the last 5 seconds/1minute/5minutes.
  • Page 183: Show Memory-Utilization

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the CPU utilization information of all the switches in the stack: T3700G-28TQ#show cpu-utilization show memory-utilization Description The show memory-utilization command is used to display the system’s memory utilization in the last 5 seconds/1minute/5minutes.
  • Page 184: Chapter 23 Ethernet Configuration Commands

    —— The Fast Ethernet port number. Command Mode Global Configuration Mode Example T3700G-28TQ doesn’t have any fastEthernet port. interface range fastEthernet Description The interface range fastEthernet command is used to enter the interface range fastEthernet Configuration Mode and configure multiple Fast Ethernet ports at the same time.
  • Page 185: Interface Gigabitethernet

    It does not effect the execution on the other ports at all if the command results in an error on one port. Example T3700G-28TQ doesn’t have any fastEthernet port. interface gigabitEthernet Description The interface gigabitEthernet command is used to enter the interface gigabitEthernet Configuration Mode and configure the corresponding Gigabit Ethernet port.
  • Page 186: Interface Ten-Gigabitethernet

    To enter the Interface Range gigabitEthernet Configuration Mode, and configure Gigabit Ethernet ports 10, 11 and 18 at the same time by adding them to one port-list: T3700G-28TQ(config)# interface range gigabitEthernet 1/0/10-11,1/0/18 interface ten-gigabitEthernet Description The interface ten-gigabitEthernet command is used to enter the interface ten-gigabitEthernet Configuration Mode and configure the corresponding Ten Gigabit Ethernet port.
  • Page 187: Interface Range Ten-Gigabitethernet

    Example To enter the Interface Range ten-gigabitEthernet Configuration Mode, and configure Ten Gigabit Ethernet ports 25 and 26 at the same time by adding them to one port-list: T3700G-28TQ(config)# interface range ten-gigabitEthernet 1/0/25-26...
  • Page 188: Description

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Add a description Port #5 to Gigabit Ethernet port 1/0/5: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#description Port#5 shutdown Description The shutdown command is used to disable an Ethernet port. To enable this port again, please use no shutdown command.
  • Page 189: Flow-Control

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Disable Gigabit Ethernet port 20: T3700G-28TQ(config)#interface gigabitEthernet 1/0/20 T3700G-28TQ(config-if)#shutdown flow-control Description The flow-control command is used to enable the flow-control function for a port.
  • Page 190: Duplex

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure the Duplex Mode as full-duplex for Gigabit Ethernet port 1/0/20: T3700G-28TQ(config)#interface gigabitEthernet 1/0/20 T3700G-28TQ(config-if)#duplex full speed Description The speed command is used to configure the Speed Mode for an Ethernet port.
  • Page 191: Storm-Control Broadcast

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure the Speed Mode as 100Mbps for Gigabit Ethernet port 20: T3700G-28TQ(config)#interface gigabitEthernet 1/0/20 T3700G-28TQ(config-if)#speed 100 storm-control broadcast Description The storm-control broadcast command is used to enable the broadcast control function.
  • Page 192: Storm-Control Multicast

    / interface range ten-gigabitEthernet) Example Enable the broadcast control function for Gigabit Ethernet port 1/0/5 and set the bandwidth for receiving broadcast packets as 256 kbps: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#storm-control broadcast 256 storm-control multicast Description The storm-control multicast command is used to enable the multicast control function.
  • Page 193: Storm-Control Unicast

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Enable the multicast control function for Gigabit Ethernet port 1/0/5 and set the bandwidth for receiving multicast packets as 256 kbps: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#storm-control multicast 256 storm-control unicast Description The storm-control unicast command is used to enable the unicast control function.
  • Page 194: Bandwidth

    Example Configure the ingress-rate as 5120kbps and egress-rate as 1024kbps for Gigabit Ethernet port 5: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#bandwidth ingress 5120 egress 1024 clear counters Description The clear counters command is used to clear the statistic information of all the...
  • Page 195: Show Interface Status

    Example Display the connective-status of all Ethernet ports: T3700G-28TQ(config)#show interface status Display the connective-status of Gigabit Ethernet port 1: T3700G-28TQ(config)#show interface gigabitEthernet status 1/0/1 show interface counters Description The show interface counters command is used to display the statistic information of an Ethernet port.
  • Page 196: Show Interface Configuration

    Example Display the statistic information of all Ethernet ports: T3700G-28TQ(config)#show interface counters Display the statistic information of Gigabit Ethernet port 20: T3700G-28TQ(config)#show interface counters gigabitEthernet 1/0/20 show interface configuration Description The show interface configuration command is used to display the configurations of an Ethernet port, including Port-status, Flow Control, Negotiation Mode and Port-description.
  • Page 197: Show Storm-Control

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the storm-control information of port Gigabit Ethernet port 1/0/20: T3700G-28TQ(config)#show storm-control interface gigabitEthernet 1/0/20 show bandwidth Description The show bandwidth command is used to display the bandwidth-limit information of Ethernet port.
  • Page 198 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#show bandwidth interface gigabitEthernet 1/0/20...
  • Page 199: Chapter 24 Qos Commands

    CoS value of the ingress port and the mapping relation between the CoS and TC in IEEE 802.1P. Example Configure the priority of port 5 as 3: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#qos 3...
  • Page 200: Qos Dscp

    DSCP priority and TC egress queue. Example Enable the mapping relation between DSCP Priority and egress queue: T3700G-28TQ(config)#qos dscp qos queue cos-map Description The qos queue cos-map command is used to configure the mapping relation between IEEE 802.1P priority tag/IEEE 802.1Q tag, CoS value and the TC...
  • Page 201: Qos Queue Dscp-Map

    Among the priority levels TC0-TC7, the bigger value, the higher priority. Example Map CoS 5 to TC 2.: T3700G-28TQ(config)#qos queue cos-map 5 2 qos queue dscp-map Description The qos queue dscp-map command is used to configure the mapping relation between DSCP Priority and the TC egress queue. To return to the default configuration, please use no qos queue dscp-map command.
  • Page 202: Qos Queue Mode

    Among the priority levels CoS0-CoS7, the bigger value, the higher priority. Example Map DSCP values 10-12 to CoS 2: T3700G-28TQ(config)#qos queue dscp-map 10-12 2 qos queue mode Description The qos queue mode command is used to configure the Schedule Mode. To return to the default configuration, please use no qos queue mode command.
  • Page 203: Show Qos Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of QoS for Gigabit Ethernet port 1/0/5: T3700G-28TQ#show qos interface gigabitEthernet 1/0/5 show qos cos-map Description The show qos cos-map command is used to display the configuration of...
  • Page 204: Show Qos Dscp-Map

    The show qos queue mode command is used to display the schedule rule of the egress queues. Syntax show qos queue mode Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the schedule rule of the egress queues: T3700G-28TQ#show qos queue mode...
  • Page 205: Show Qos Status

    The show qos status command is used to display the status of IEEE 802.1P priority and DSCP priority. Syntax show qos status Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the status of IEEE 802.1P priority and DSCP priority: T3700G-28TQ#show qos status...
  • Page 206: Chapter 25 Port Mirror Commands

    —— The Fast/Gigabit/Ten-Gigabit Ethernet port number. Command Mode Global Configuration Mode Example Create monitor session 1 and configure Gigabit Ethernet port 1/0/1 as the monitoring port: T3700G-28TQ(config)#monitor session destination interface gigabitEthernet 1/0/1 Delete the monitor session 1: T3700G-28TQ(config)#no monitor session 1...
  • Page 207: Monitor Session Source Interface

    The monitoring port and monitored ports cannot be link-aggregation member. Example Create monitor session 1, then configure Gigabit Ethernet port 4, 5, 7 as monitored ports and enable ingress monitoring: T3700G-28TQ(config)#monitor session 1 source interface gigabitEthernet 1/0/4-5,1/0/7 rx...
  • Page 208: Show Monitor Session

    Syntax show monitor session [session_num] Parameter session_num —— The monitor session number, the value of which is 1. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the monitoring configuration of monitor session 1: T3700G-28TQ(config)#show monitor session 1...
  • Page 209: Chapter 26 Port Isolation Commands

    Example Set Gigabit Ethernet ports 1/0/15-17 to the forward port list of Gigabit Ethernet 1/0/8: T3700G-28TQ(config)#interface range gigabitEthernet 1/0/8 T3700G-28TQ(config-if-range)#port isolation gi-forward-list 1/0/15-17 Set all the Ethernet ports to forward port list of Gigabit Ethernet port 1/0/2, namely restore to the default setting:...
  • Page 210: Show Port Isolation

    The number of Ethernet port you want to show its forward port list, in the format of 1/0/2. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the forward-list of Gigabit Ethernet port 3: T3700G-28TQ#show port isolation interface gigabitEthernet 1/0/3 Display the forward-list of all Ethernet ports: T3700G-28TQ#show port isolation interface...
  • Page 211: Chapter 27 Acl Commands

    —— The Time-Range name, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Add a time-range named tSeg1: T3700G-28TQ (config)# time-range tSeg1 absolute Description The absolute command is used to configure a time-range into an absoluteness mode. To delete the corresponding Absoluteness Mode time-range, please use no absolute command.
  • Page 212: Periodic

    Time-range Configuration Mode Example Configure the time-range tSeg1 with time from May 5, 2012 to Oct. 5, 2012: T3700G-28TQ(config)# time-range tSeg1 T3700G-28TQ(config-time-range)# absolute start 05/05/2012 end 10/05/2012 periodic Description The periodic command is used to configure the time-range into periodic mode.
  • Page 213: Holiday

    Command Mode Time-range Configuration Mode Example Configure the time-range tSeg1 with time from 8:30 to 12:00 at weekend: T3700G-28TQ(config)#time-range tSeg1 T3700G-28TQ(config-time-range)#periodic week-date weekend time-slice1 08:30-12:00 holiday Description The holiday command is used to configure the time-range into Holiday Mode under Time-range Create Configuration Mode. To delete the corresponding Holiday Mode time-range, please use no holiday command.
  • Page 214: Access-List Create

    Global Configuration Mode Example Define National Day, configuring the start date as October 1st, and the end date as October 3rd: T3700G-28TQ(config)#holiday nationalday start-date 10/01 end-date 10/03 access-list create Description The access-list create command is used to create standard-IP ACL and extend-IP ACL.
  • Page 215: Access-List Standard

    Command Mode Global Configuration Mode Example Create a MAC ACL whose ID is 23: T3700G-28TQ(config)#mac access-list 23 access-list standard Description The access-list standard command is used to add Standard-IP ACL rule. To delete the corresponding rule, please use no access-list standard command.
  • Page 216: Access-List Extended

    IP address is 192.168.0.100, the source IP address mask is 255.255.255.0, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: T3700G-28TQ(config)#access-list create 1200 T3700G-28TQ(config)#access-list standard...
  • Page 217: Rule

    IP address is 192.168.0.100, the source IP address mask is 255.255.255.0, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: T3700G-28TQ(config)#access-list create 2220 T3700G-28TQ(config)#access-list extended...
  • Page 218: Access-List Policy Name

    5, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: T3700G-28TQ(config)#mac access-list 20 T3700G-28TQ(config-mac-acl)#rule 10 permit smac 00:01:3F:48:16:23 smask ff: ff: ff: ff:ff:00 pri 5 tseg tSeg1 access-list policy name Description The access-list policy name command is used to add Policy.
  • Page 219: Access-List Policy Action

    —— The Policy Name, ranging from 1 to 16 characters. acl-id —— The ID of the ACL to which the above policy is applied. Command Mode Global Configuration Mode Example Add ACL whose ID is 1200 to policy1 and create an action for them: T3700G-28TQ(config)#access-list policy action policy1 1200...
  • Page 220: Redirect Interface

    Action Configuration Mode Example Edit the actions for policy1. Forward the data packets matching ACL 1200 in the policy to Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#access-list policy action policy1 1200 T3700G-28TQ(config-action)#redirect interface gigabitEthernet 1/0/2 s-condition Description The s-condition command is used to configure Stream Condition function of policy action.
  • Page 221: S-Mirror

    Example Edit the actions for policy1. For the data packets matching ACL 1200 in the policy, if the rate beyond 1000kbps, they will be discarded by the switch: T3700G-28TQ(config)#access-list policy action policy1 1200 T3700G-28TQ(config-action)#s-condition rate 1000 osd discard s-mirror Description The s-mirror command is used to configure Stream Mirror function of policy action to the specified port.
  • Page 222: Access-List Bind(Interface)

    Edit the actions for policy1. For the data packets matching ACL 1200, specify the DSCP region as 30 and local priority 2: T3700G-28TQ(config)#access-list policy action policy1 1200 T3700G-28TQ(config-action)# qos-remark dscp 30 priority 2 access-list bind(interface) Description The access-list bind command is used to bind a policy to a specified port. To cancel the bind relation, please use no access-list bind command.
  • Page 223: Show Time-Range

    —— The name of the policy desired to bind. Command Mode Interface VLAN Mode Example Bind policy1 to VLAN 2: T3700G-28TQ(config)#interface vlan 2 T3700G-28TQ(config-if)#access-list bind policy1 show time-range Description The show time-range command is used to display the configuration of time-range.
  • Page 224: Show Access-List

    The show access-list policy command is used to display the information of a specified policy. Syntax show access-list policy [name] Parameter name —— The Policy Name desired to show. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of a policy named policy1: T3700G-28TQ#show access-list policy policy1...
  • Page 225: Show Access-List Bind

    Description The show access-list bind command is used to display the configuration of Policy bind. Syntax show access-list bind Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of Policy bind: T3700G-28TQ#show access-list bind...
  • Page 226: Chapter 28 Mstp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 28 MSTP Commands MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths.
  • Page 227: Spanning-Tree Common-Config

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#spanning-tree spanning-tree common-config Description The spanning-tree common-config command is used to configure the parameters of the ports for comparison in the CIST and the common parameters of all instances. To return to the default configuration, please use no spanning-tree common-config command.
  • Page 228: Spanning-Tree Mode

    Enable the STP function of Gigabit Ethernet port 1/0/1, and configure the Port Priority as 64, ExtPath Cost as 100, IntPath Cost as 100, and then enable Edge Port: T3700G-28TQ(config)#interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)#spanning-tree common-config port-priority 64 ext-cost 100 int-cost 100 portfast enable point-to-point open spanning-tree mode Description The spanning-tree mode command is used to configure the STP mode of the switch.
  • Page 229: Spanning-Tree Mst Configuration

    Command Mode Global Configuration Mode Example Enter into the MST Configuration Mode: T3700G-28TQ(config)#spanning-tree mst configuration instance Description The instance command is used to configure the VLAN-Instance mapping. To remove the VLAN-instance mapping or disable the corresponding instance, please use no instance command.
  • Page 230: Name

    T3700G-28TQ(config)#spanning-tree mst configuration T3700G-28TQ(config-mst)#no instance 1 Remove VLANs 1-50 in maping VLANs 1-100 for Instance 1: T3700G-28TQ(config)#spanning-tree mst configuration T3700G-28TQ(config-mst)#no instance 1 vlan 1-50 name Description The name command is used to configure the region name of MST instance. Syntax...
  • Page 231: Spanning-Tree Mst Instance

    61440. By default, it is 32768. MSTI priority is an important criterion on determining if the switch will be chosen as the root bridge in the specific instance. Command Mode Global Configuration Mode Example Enable the MST Instance 1 and configure its priority as 4096: T3700G-28TQ(config)#spanning-tree mst instance 1 priority 4096...
  • Page 232: Spanning-Tree Mst

    / interface gigabitEthernet / interface range gigabitEthernet / interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Configure the priority of Gigabit Ethernet port 1/0/1 in MST Instance 1 as 64, and path cost as 2000: T3700G-28TQ(config)#interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)#spanning-tree mst instance 1 port-priority 64 cost 2000...
  • Page 233: Spanning-Tree Priority

    Command Mode Global Configuration Mode Example Configure the bridge priority as 4096: T3700G-28TQ(config)#spanning-tree priority 4096 spanning-tree tc-defend Description The spanning-tree tc-defend command is used to configure the TC Protect of Spanning Tree globally. To return to the default configuration, please use no spanning-tree tc-defend command.
  • Page 234: Spanning-Tree Timer

    Command Mode Global Configuration Mode Example Configure TC Threshold as 30 packets and TC Protect Cycle as 10 seconds: T3700G-28TQ(config)#spanning-tree tc-defend threshold 30 period 10 spanning-tree timer Description The spanning-tree timer command is used to configure forward-time, hello-time and max-age of Spanning Tree. To return to the default configurations, please use no spanning-tree timer command.
  • Page 235: Spanning-Tree Hold-Count

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#spanning-tree timer forward-time 16 hello-time 3 max-age 22 spanning-tree hold-count Description The spanning-tree hold-count command is used to configure the maximum number of BPDU packets transmitted per Hello Time interval. To return to the default configurations, please use no spanning-tree hold-count command.
  • Page 236: Spanning-Tree Bpdufilter

    Command Mode Global Configuration Mode Example Configure the max-hops of STP as 30: T3700G-28TQ(config)#spanning-tree max-hops 30 spanning-tree bpdufilter Description The spanning-tree bpdufilter command is used to enable the BPDU filter function for a port. With the function enabled, the port can be prevented from receiving and sending any BPDU packets.
  • Page 237: Spanning-Tree Guard Loop

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the BPDU protect function for Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#spanning-tree bpduguard spanning-tree guard loop Description The spanning-tree guard loop command is used to enable the Loop Protect function for a port.
  • Page 238: Spanning-Tree Guard Tc

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the Root Protect function for Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#spanning-tree guard root spanning-tree guard tc Description The spanning-tree guard tc command is used to enable the TC Protect of Spanning Tree function for a port.
  • Page 239: Spanning-Tree Mcheck

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Enable the TC Protect of Spanning Tree for Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)#spanning-tree guard tc spanning-tree mcheck Description The spanning-tree mcheck command is used to enable MCheck.
  • Page 240: Show Spanning-Tree Bridge

    Privileged EXEC Mode and Any Configuration Mode Example Display the spanning-tree information of all ports: T3700G-28TQ(config)#show spanning-tree interface Display the spanning-tree information of Gigabit Ethernet port 1/0/2: T3700G-28TQ(config)#show spanning-tree interface gigabitEthernet 1/0/2 Display the spanning-tree mode information of Gigabit Ethernet port 1/0/2:...
  • Page 241: Show Spanning-Tree Interface-Security

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#show spanning-tree interface gigabitEthernet 1/0/2 mode show spanning-tree interface-security Description The show spanning-tree interface-security command is used to display the protect information of all ports or a specified port. Syntax...
  • Page 242 Display the region information and mapping information of VLAN and MST Instance: T3700G-28TQ(config)#show spanning-tree mst configuration Display the related information of MST Instance 1: T3700G-28TQ(config)#show spanning-tree mst instance 1 Display all the ports information of MST Instance 1: T3700G-28TQ(config)#show spanning-tree mst instance 1 interface...
  • Page 243: Chapter 29 Igmp Snooping Commands

    Command Mode Global Configuration Mode Example Enable IGMP Snooping function: T3700G-28TQ(config)#ip igmp snooping ip igmp snooping(interface) Description The ip igmp snooping command is used to enable the IGMP Snooping function for the desired port. To disable the IGMP Snooping function, please use no ip igmp snooping command.
  • Page 244: Ip Igmp Snooping Immediate-Leave

    / interface range ten-gigabitEthernet) Example Enable the Fast Leave function for Gigabit Ethernet port 1/0/3: T3700G-28TQ(config)#interface gigabitEthernet 1/0/3 T3700G-28TQ(config-if)#ip igmp snooping immediate-leave ip igmp snooping drop-unknown Description The ip igmp snooping drop-unknown command is used to process the unknown multicast as “discard”.
  • Page 245: Ip Igmp Snooping Vlan-Config

    Command Mode Global Configuration Mode Example Specify the operation of processing unknown multicast as “discard”: T3700G-28TQ(config)#ip igmp snooping drop-unknown ip igmp snooping vlan-config Description The ip igmp snooping vlan-config command is used to enable VLAN IGMP Snooping function or to modify IGMP Snooping parameters, and to create static multicast IP entry.
  • Page 246: Ip Igmp Snooping Max-Groups

    Global Configuration Mode Example Enable the IGMP Snooping function and modify Member Port Time as 200 seconds for VLAN1-3: T3700G-28TQ(config)#ip igmp snooping vlan-config 1-3 mtime 200 ip igmp snooping max-groups Description The ip igmp snooping max-groups command is used to configure the maximum number of groups that a port can join in.
  • Page 247: Ip Igmp Snooping Multi-Vlan-Config

    Example Specify the maximum numbers of groups that ports 1/0/2-5 can join as 10, and configure the throttling action as replace: T3700G-28TQ(config)#interface range gigabitEthernet 1/0/2-5 T3700G-28TQ(config-if-range)#ip igmp snooping max-groups 10 T3700G-28TQ(config-if-range)#ip igmp snooping max-groups action replace ip igmp snooping multi-vlan-config...
  • Page 248: Ip Igmp Snooping Querier Vlan

    Global Configuration Mode Example Enable Multicast VLAN 3, and configure Router Port Time as 100 seconds: T3700G-28TQ(config)#ip igmp snooping multi-vlan-config 3 rtime 100 ip igmp snooping querier vlan Description The ip igmp snooping querier vlan command is used to enable the IGMP Snooping Querier function of the VLAN(s).
  • Page 249: Ip Igmp Snooping Querier Vlan (General Query)

    Querier. It should not be a multicast IP or a broadcast IP. By default, it is 192.168.0.1. Command Mode Global Configuration Mode Example For VLAN 2, specify its query-interval as 200 seconds, and the response-time as 20 seconds: T3700G-28TQ(config)#ip igmp snooping querier vlan 2 query-interval 200...
  • Page 250: Ip Igmp Snooping Querier Vlan (Specific Query)

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#ip igmp snooping querier vlan 2 max-response-time ip igmp snooping querier vlan (specific query) Description The ip igmp snooping querier vlan command is used to configure the parameters for IGMP Snooping Querier to send a specific query frame. To return to the default configuration, please use no ip igmp snooping querier vlan command.
  • Page 251: Show Ip Igmp Snooping

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of IGMP Snooping: T3700G-28TQ#show ip igmp snooping show ip igmp snooping interface Description The show ip igmp snooping interface command is used to display the port configuration of IGMP.
  • Page 252: Show Ip Igmp Snooping Vlan

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ#show ip igmp snooping interface gigabitEthernet 1/0/2 basic-config Display the IGMP basic configuration of Gigabit Ethernet ports 2-4: T3700G-28TQ#show ip igmp snooping interface gigabitEthernet 1/0/2-4 basic-config show ip igmp snooping vlan...
  • Page 253: Show Ip Igmp Snooping Groups

    Display all the multicast entries in VLAN 5: T3700G-28TQ(config)#show ip igmp snooping groups vlan 5 Display the count of multicast entries in VLAN 5: T3700G-28TQ(config)#show ip igmp snooping groups vlan 5 count show ip igmp snooping querier Description The show ip igmp snooping querier command is used to display the...
  • Page 254 Snooping Querier. If not specified, the IGMP Snooping Querier configurations of all VLANs will be displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configurations of IGMP Snooping Querier of VLAN 2: T3700G-28TQ(config)# show ip igmp snooping querier vlan 2...
  • Page 255: Chapter 30 Snmp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 30 SNMP Commands SNMP (Simple Network Management Protocol) functions are used to manage the network devices for a smooth communication, which can facilitate the network administrators to monitor the network nodes and implement the proper operation.
  • Page 256: Snmp-Server Group

    Example Add a View named view1, configuring the OID as 1.3.6.1.6.3.20, and this OID can be managed by the SNMP management station: T3700G-28TQ(config)#snmp-server view view1 1.3.6.1.6.3.20 include snmp-server group Description The snmp-server group command is used to manage and configure the SNMP group.
  • Page 257: Snmp-Server User

    Delete Group group 1: T3700G-28TQ(config)#no snmp-server group group1 smode v3 slev authNoPriv snmp-server user Description The snmp-server user command is used to add User. To delete the corresponding User, please use no snmp-server user command. The User in...
  • Page 258: Command Mode

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide an SNMP Group can manage the switch via the management station software. The User and its Group have the same security level and access right. Syntax snmp-server user name { local | remote } group-name [smode { v1 | v2c | v3 }]...
  • Page 259: Snmp-Server Community

    MD5, the Authentication Password as 11111, the Privacy Mode as DES, and the Privacy Password as 22222: T3700G-28TQ(config)#snmp-server user admin local group2 smode v3 slev authPriv cmode MD5 cpwd 11111 emode DES epwd 22222 snmp-server community Description The snmp-server community command is used to add Community.
  • Page 260: Snmp-Server Host

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide snmp-server host Description The snmp-server host command is used to add Notification. To delete the corresponding Notification, please use no snmp-server host command. With the Notification function enabled, the switch can initiatively report to the management station about the important events that occur on the Views, which allows the management station to monitor and process the events in time.
  • Page 261: Snmp-Server Engineid

    Security Model of the management station as v2c, the type of the notifications as inform, the maximum time for the switch to wait as 1000 seconds, and the retries time as 100: T3700G-28TQ(config)#snmp-server host 192.168.0.146 162 admin smode v2c type inform retries 100 timeout 1000 snmp-server engineID...
  • Page 262: Snmp-Server Traps Snmp

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Specify the local engineID as 1234567890, and the remote engineID as abcdef123456: T3700G-28TQ(config)#snmp-server engineID local 1234567890 remote abcdef123456 snmp-server traps snmp Description The snmp-server traps snmp command is used to enable SNMP standard traps which include four types: linkup, linkdown, warmstart and coldstart.
  • Page 263: Snmp-Server Traps Link-Status

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable SNMP link status trap for port 1/0/3: T3700G-28TQ(config)# interface gigabitEthernet 1/0/3 TL- SG3424P(config-if)# snmp-server traps link-status snmp-server traps Description The snmp-server traps command is used to enable SNMP extended traps. To disable the sending of SNMP extended traps, please use no snmp-server traps command.
  • Page 264: Snmp-Server Traps Mac

    —— Enable memory trap. It is sent when CPU usage exceeds 80%. Command Mode Global Configuration Mode Example Enable SNMP extended bandwidth-control trap for the switch: T3700G-28TQ(config)# snmp-server traps bandwidth-control snmp-server traps mac Description The snmp-server traps mac command is used to enable SNMP extended address-related...
  • Page 265: Snmp-Server Traps Vlan

    Enable all SNMP extended MAC address-related traps for the switch: T3700G-28TQ(config)# snmp-server traps mac Enable new MAC address trap only for the switch: T3700G-28TQ(config)# snmp-server traps mac new snmp-server traps vlan Description The snmp-server traps vlan command is used to enable SNMP extended VLAN-related traps which include two types: create and delete.
  • Page 266: Rmon History

    —— The owner of the history sample entry, ranging from 1 to 16 characters. By default, it is “monitor”. Command Mode Global Configuration Mode Example Configure the sample port as 1/0/2 and the sample interval as 100 seconds for the entry 1-3: T3700G-28TQ(config)#rmon history 1-3 interface gigabitEthernet 1/0/2 interval 100 owner owner1...
  • Page 267: Rmon Event

    Configure the user name of entry 1, 2, 3 and 4 as user1, the description of the event as “description1”, the type of event as log and the owner of the event as “owner1”: T3700G-28TQ(config)#rmon event 1-4 user user1 description description1 type log owner owner1...
  • Page 268: Rmon Alarm

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide rmon alarm Description The rmon alarm command is used to configure SNMP-RMON Alarm Management. To return to the default configuration, please use no rmon alarm command. Alarm Group is one of the commonly used RMON Groups. RMON alarm management allows monitoring the specific alarm variables.
  • Page 269: Rmon Statistics

    Example Configure rmon alarm entries 1-3 binding with statistics entry 2, the owners as owner1 and the alarm intervals as 100 seconds: T3700G-28TQ(config)#rmon alarm 1-3 stats-index 2 owner owner1 interval rmon statistics Description The rmon statistics command is used to configure the entries of SNMP-RMON statistics.
  • Page 270: Show Snmp-Server

    Global Configuration Mode Example Configure the statistics entries 1-3 with the statistics port as 1/0/1, owner as owner1 and status as valid: T3700G-28TQ(config)#rmon statistics 1-3 interface gigabitEthernet 1/0/1 owner owner1 status valid show snmp-server Description The show snmp-server command is used to display SNMP configuration globally.
  • Page 271: Show Snmp-Server Group

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the View table: T3700G-28TQ#show snmp-server view show snmp-server group Description The show snmp-server group command is used to display the Group table. Syntax...
  • Page 272: Show Snmp-Server Community

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Community table: T3700G-28TQ#show snmp-server community show snmp-server host Description The show snmp-server host command is used to display the Host table. Syntax show snmp-server host...
  • Page 273: Show Rmon History

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the engineID: T3700G-28TQ#show snmp-server engineID show rmon history Description The show rmon history command is used to display the configuration of the history sample entry. Syntax show rmon history [index] Parameter index ——...
  • Page 274: Show Rmon Alarm

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Event configuration of entry1-4: T3700G-28TQ#show rmon event 1-4 show rmon alarm Description The show rmon alarm command is used to display the configuration of the Alarm Management entry.
  • Page 275 —— The index number of the statistics entry selected to display the configuration, ranging from 1 to 65535. By default, the configuration of all statistics entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the statistics entry 1: T3700G-28TQ#show rmon statistics 1...
  • Page 276: Chapter 31 Lldp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 31 LLDP Commands LLDP function enables network devices to advertise their own device information periodically to neighbors on the same LAN. The information of the LLDP devices in the LAN can be stored by its neighbor in a standard MIB, so it is possible for the information to be accessed by a Network Management System (NMS) using SNMP.
  • Page 277: Lldp Timer

    Command Mode Global Configuration Mode Example Specify Hold Multiplier as 5: T3700G-28TQ(config)#lldp hold-multiplier 5 lldp timer Description The lldp timer command is used to configure the parameters about transmission. To return to the default configuration, please use no lldp timer command.
  • Page 278: Lldp Receive

    Global Configuration Mode Example Specify the Transmit Interval of LLDPDU as 45 seconds and Trap message to NMS as 120 seconds: T3700G-28TQ(config)#lldp timer tx-interval 45 T3700G-28TQ(config)#lldp timer notify-interval 120 lldp receive Description The lldp receive command is used to enable the designated port to receive LLDPDU.
  • Page 279: Lldp Snmp-Trap

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable Gigabit Ethernet port 1 to transmit LLDPDU: T3700G-28TQ(config)# interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)#lldp transmit lldp snmp-trap Description The lldp snmp-trap command is used to enable the port’s SNMP notification. If enabled, the port will notify the trap event to network management system.
  • Page 280: Lldp Med-Fast-Count

    Example Exclude “management-address” and “port-vlan-id” TLVs in LLDPDU outgoing from Gigabit Ethernet port 1: T3700G-28TQ(config)# interface gigabitEthernet 1/0/1 T3700G-28TQ(config-if)# no lldp tlv-select management-address port-vlan lldp med-fast-count Description The lldp med-fast-count command is used to configure the number of the LLDP-MED frames that will be sent out. When LLDP-MED fast start mechanism is activated, multiple LLDP-MED frames will be transmitted based on this parameter.
  • Page 281: Lldp Med-Status

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Specify Fast Start Count as 5: T3700G-28TQ(config)# lldp med-fast-count 5 lldp med-status Description The lldp med-status command is used to enable the LLDP-MED feature for the corresponding port. After the LLDP-MED feature is enabled, the port's Admin Status will be changed to Tx&Rx.
  • Page 282: Lldp Med-Location

    / interface range ten-gigabitEthernet) Example Exclude “network policy” and “inventory” TLVs in LLDPDU outgoing from port 1/0/2: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)# no lldp med-tlv-select network-policy inventory- management lldp med-location Description The lldp med-location command is used to configure the Location Identification TLV's content in outgoing LLDPDU of the port.
  • Page 283: Show Lldp

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of LLDP: T3700G-28TQ#show lldp show lldp interface Description The show lldp interface command is used to display LLDP configuration of the corresponding port. By default, the LLDP configuration of all the ports will be displayed.
  • Page 284: Show Lldp Local-Information Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP information of Gigabit Ethernet port 1/0/1: T3700G-28TQ#show lldp local-information interface gigabitEthernet 1/0/1 show lldp neighbor-information interface Description The show lldp neighbor-information interface command is used to display the neighbor information of the corresponding port.
  • Page 285: Show Lldp Traffic Interface

    [ fastEthernet port | gigabitEthernet port ten-gigabitEthernet port ] Parameter port —— The Fast/Gigabit/Ten-Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP statistic information of Gigabit Ethernet port 1/0/1: T3700G-28TQ#show lldp traffic interface gigabitEthernet 1/0/1...
  • Page 286: Chapter 32 Cluster Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 32 Cluster Commands Cluster Management function enables a network administrator to manage the scattered devices in the network via a management device. After a commander switch is configured, management and maintenance operations intended for the member devices in a cluster is implemented by the commander device.
  • Page 287: Cluster Ntdp

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#cluster ndp T3700G-28TQ(config)#cluster ndp timer hello 50 aging 120 cluster ntdp Description The cluster ntdp command is used to configure NTDP globally. To disable the cluster NTDP function, please use no cluster ntdp command. NTDP (Neighbor Topology Discovery Protocol) is used to collect the NDP information and neighboring connection information of each device in a specific network range.
  • Page 288: Cluster Explore

    Example Enable NTDP function globally, and specify NTDP Hops as 5, NTDP Interval Time as 30 minutes: T3700G-28TQ(config)#cluster ntdp T3700G-28TQ(config)#cluster ntdp timer interval-timer 30 T3700G-28TQ(config)#cluster ntdp hop 5 cluster explore Description The cluster explore command is used to collect the topology information manually.
  • Page 289: Cluster Ip Pool

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Enable NDP and NTDP function for Gigabit Ethernet port 1/0/5: T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 T3700G-28TQ(config-if)#cluster ndp enable ntdp enable cluster ip pool Description The cluster ip pool command is used to create a new cluster. If no specified cluster name is set through cluster commander command, the newly created cluster will be named the system default name “tplink-cluster”.
  • Page 290: Cluster Manage

    Command Mode Global Configuration Mode Example Specify the Hold Time and Interval Time of the cluster as 50 seconds: T3700G-28TQ(config)#cluster manage holdtime 50 T3700G-28TQ(config)#cluster manage timer 50 cluster member Description The cluster member command is used to add member switch. To delete the corresponding member, please use no cluster member command.
  • Page 291: Cluster Candidate

    Command Mode Global Configuration Mode Example Add the switch whose MAC address is 0e:3f:4g:5e:6d:7b to the cluster: T3700G-28TQ(config)#cluster member mac address 0e:3f:4g:5e:6d:7b cluster candidate Description The cluster candidate command is used to specify the current switch as candidate switch. This command is invalid for the member switch in the cluster.
  • Page 292: Cluster Management-Vlan

    Command Mode Global Configuration Mode Example Specify VLAN 2 as the VLAN to manage the clusters: T3700G-28TQ(config)#cluster management-vlan 2 clear ndp statistics Description The clear ndp statistics command is used to clear statistics about NDP messages on the specified port(s).
  • Page 293: Show Cluster Ndp

    Display the global NDP information of the switch: T3700G-28TQ(config)#show cluster ndp Display the NDP information of all the ports of the switch: T3700G-28TQ(config)#show cluster ndp interface show cluster neighbor Description The show cluster neighbor command is used to display the cluster’s neighbor information.
  • Page 294: Show Cluster Ntdp

    Example Display the global information of NTDP: T3700G-28TQ#show cluster ntdp Display the NTDP configuration of Gigabit Ethernet port 1/0/2: T3700G-28TQ#show cluster ntdp interface gigabitEthernet 1/0/2 Display the device table of NTDP in summary: T3700G-28TQ#show cluster ntdp device-list summary show cluster...
  • Page 295: Show Cluster Member

    Display the global configuration of Cluster: T3700G-28TQ#show cluster show cluster member Description The show cluster member command is used to display the member information. Syntax show cluster member Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the member information: T3700G-28TQ#show cluster member...
  • Page 296: Chapter 33 Static Routes Commands

    Command Mode Global Configuration Mode Example Create the VLAN interface 2: T3700G-28TQ(config)# interface vlan 2 interface loopback Description This interface loopback command is used to create the loopback interface. To delete the specified loopback interface, please use the no interface loopback command.
  • Page 297: Switchport

    Command Mode Global Configuration Mode Example Create the loopback interface 1: T3700G-28TQ(config)# interface loopback 1 switchport Description This switchport command is used to switch the Layer 3 interface into the Layer 2 port. To switch the Layer 2 port into the Layer 3 routed port, please use the no switchport command.
  • Page 298: Description

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Interface Configuration Mode Example Shut down the routed port 1/0/9 : T3700G-28TQ(config)# interface gigabitEthernet 1/0/9 T3700G-28TQ(config-if)# no switchport T3700G-28TQ(config-if)# shutdown description Description This description command is used to add a description to the Layer 3 interface, including routed port, loopback interface and VLAN interface.
  • Page 299: Ip Routing

    Example Create a static route with the destination IP address as 192.168.2.0, the subnet mask as 255.255.255.0 and the next-hop address as 192.168.0.2: T3700G-28TQ(config)# ip route 192.168.2.0 255.255.255.0 192.168.0.2 ip routing Description This ip routing command is used to enable the Lay 3 routing function. To disable this function, please use the no ip routing command.
  • Page 300: Show Interface Loopback

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the loopback interface 1: T3700G-28TQ(config)#show interface loopback 1 show interface vlan Description The show interface vlan command is used to display the information or a specified interface VLAN.
  • Page 301: Show Ip Interface

    Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of the VLAN interface 2: T3700G-28TQ(config)# show ip interface vlan 2 show ip interface brief Description This show ip interface brief command is used to display the summary information of the Layer 3 interfaces.
  • Page 302: Show Ip Route

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the static routes: T3700G-28TQ(config)# show ip route static show ip route specify Description This show ip route specify command is used to display the invalid routing information to the specified IP address or network segments.
  • Page 303: Show Ip Route Summary

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the routes to all the subnets that match 192.168.0.0/16: T3700G-28TQ(config)# show ip route specify 192.168.0.0 255.255.0.0 longer-prefix show ip route summary Description This show ip route summary command is used to display the summary information of the route entries classified by their sources.
  • Page 304: Chapter 34 Dhcp Server

    Command Mode Global Configuration Mode Example Enable DHCP service globally: T3700G-28TQ(config)# service dhcp ip dhcp server exclude-address Description The ip dhcp server exclude-address command is used to specify the reserved IP addresses which are forbidden to allocate, such as the gateway address, the network segment broadcast address, the server address etc.
  • Page 305: Ip Dhcp Server Pool

    Command Mode Global Configuration Mode Example Set the reserved IP addresses from 192.168.1.1 to 192.168.1.9: T3700G-28TQ(config)# ip dhcp server exclude-address 192.168.1.1 192.168.1.9 ip dhcp server pool Description The ip dhcp server pool command is used to create the address pool of DHCP Server and enter the dhcp configuration mode.
  • Page 306: Ip Dhcp Server Ping Packets

    Command Mode Global Configuration Mode Example Set the timeout of PING as 200ms: T3700G-28TQ(config)# ip dhcp server ping timeout 200 ip dhcp server ping packets Description The ip dhcp server ping packets command is used to specify the number of PING packets sent.
  • Page 307: Lease

    Command Mode DHCP Configuration Mode Example Specify the address pool “product” as 192.168.1.0 255.255.255.0: T3700G-28TQ(config)# ip dhcp server pool product T3700G-28TQ(config-dhcp)# network 192.168.1.0 255.255.255.0 lease Description The lease command is used to specify the lease time of the address pool.
  • Page 308: Address Client-Identifier

    DHCP Configuration Mode Example Reserve the IP address 192.168.0.10 in the address pool “product” for the device with the MAC address as 5e:4c:a6:31:24:01 and the hardware type as ethernet: T3700G-28TQ(config)# ip dhcp server pool product T3700G-28TQ(config-dhcp)# address 192.168.0.10 hardware-address 5e:4c:a6:31:24:01 hardware-type ethernet...
  • Page 309: Default-Gateway

    Command Mode DHCP Configuration Mode Example Specify the address pool product’s default gateways as 192.168.0.1 and 192.168.1.1: T3700G-28TQ(config)# ip dhcp server pool product T3700G-28TQ(dhcp-config)# default-gateway 192.168.0.1,192.168.1.1 dns-server Description The dns-server command is used to specify the DNS server of the address pool.
  • Page 310: Show Ip Dhcp Server Status

    Command Mode DHCP Configuration Mode Example Specify the address pool’s DNS servers as 192.168.0.1 and 192.168.1.1: T3700G-28TQ(config)# ip dhcp server pool product T3700G-28TQ(config-dhcp)# dns-server 192.168.0.1,192.168.1.1 show ip dhcp server status Description The show ip dhcp server status command is used to display the status of the DHCP service.
  • Page 311: Show Ip Dhcp Server Pool

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the statistics of DHCP packets: T3700G-28TQ(config)# show ip dhcp server statistics show ip dhcp server pool Description The show ip dhcp server pool command is used to display the configuration of the address pool.
  • Page 312: Show Ip Dhcp Server Manual-Binding

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configured static binding address: T3700G-28TQ(config)# show ip dhcp server manual-binding show ip dhcp server binding Description The show ip dhcp server binding command is used to display the binding entries.
  • Page 313: Clear Ip Dhcp Server Binding

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear the packet statistics: T3700G-28TQ(config)# clear ip dhcp server statistics clear ip dhcp server binding Description The clear ip dhcp server binding command is used to clear the binding information.
  • Page 314: Chapter 35 Dhcp Relay

    Interface Configuration Mode Example Add DHCP Server address 192.168.2.1 to interface VLAN 1: T3700G-28TQ(config)# interface vlan 1 T3700G-28TQ (config-if)# ip helper-address 192.168.2.1 ip dhcp relay information Description The ip dhcp relay information command is used to enable option 82 support in DHCP Relay.
  • Page 315: Ip Dhcp Relay Information Policy

    Example Specify the option 82 policy as replace to replace the Option 82 field with the local parameter on receiving the DHCP request packet: T3700G-28TQ(config)# ip dhcp relay information policy replace ip dhcp relay information custom Description The ip dhcp relay information custom command is used to enable the Option 82 customization function.
  • Page 316: Ip Dhcp Relay Information Circuit-Id

    Command Mode Global Configuration Mode Example Specify the circuit ID as “TP-LINK”: T3700G-28TQ(config)# ip dhcp relay information circuit-id TP-LINK ip dhcp relay information remote-id Description The ip dhcp relay information remote-id command is used to specify the custom remote ID when option 82 customization is enabled. To clear the remote ID, please use no ip dhcp relay information remote-id command.
  • Page 317: Show Ip Dhcp Relay

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Specify the remote ID as “TP-LINK”: T3700G-28TQ(config)# ip dhcp relay information remote-id TP-LINK show ip dhcp relay Description The show ip dhcp relay command is used to display the configuration of DHCP Relay.
  • Page 318: Chapter 36 Proxy Arp Commands

    Command Mode Interface Configuration Mode Example Enable the Proxy ARP function on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip proxy-arp Enable the Proxy ARP function on routed port 1/0/2: T3700G-28TQ(config)# interface gigabitEthernet 2 T3700G-28TQ(config-if)# no switchport...
  • Page 319 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the Proxy ARP status: T3700G-28TQ(config)# show ip proxy-arp...
  • Page 320: Chapter 37 Igmp Commands

    Command Mode Interface Configuration Mode Example Enable the IGMP function on Interface VLAN 2: T3700G-28TQ(config)#interface vlan 2 T3700G-28TQ(config-if)#ip igmp ip igmp version Description The ip igmp version command is used to configure the version of IGMP on specified interface.
  • Page 321: Ip Igmp Last-Member-Query-Count

    Interface Configuration Mode Example Configure the IGMP version as version 3 on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp version 3 ip igmp last-member-query-count Description The ip igmp last-member-query-count command is used to configure the number of Specific Query Messages that the switch sends on specified interface.
  • Page 322: Ip Igmp Querier-Timeout

    Configure the interval of Specific Query Messages that the switch sends as 2 seconds on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp last-member-query-interval 2 ip igmp querier-timeout Description The ip igmp querier-timeout command is used to configure the existing time of the non-querier on specified interface.
  • Page 323: Ip Igmp Query-Interval

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp querier-timeout 100 ip igmp query-interval Description The ip igmp query-interval command is used to configure the interval of General Query Messages that the switch sends on specified interface. To restore to the default value on this interface, please use no ip igmp query-interval command.
  • Page 324: Ip Igmp Require-Router-Alert

    Configure the max response time to the General Query message as 5 seconds on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp query-max-response-time 5 ip igmp require-router-alert Description The ip igmp require-router-alert command is used to configure to check the router-alert option of the IGMP messages on specified interface.
  • Page 325: Ip Igmp Send-Router-Alert

    Interface Configuration Mode Example Configure the robustness of IGMP as 3 on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp robustness 3 ip igmp send-router-alert Description The ip igmp sender-router-alert is used to configure the sending IGMP messages to carry the router-alert option on specified interface. To disable this function on this interface, please use no ip igmp send-router-alert command.
  • Page 326: Ip Igmp Startup-Query-Interval

    Configure the interval of Startup Query Messages that the switch sends as 10 seconds on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp query-interval 10 ip igmp startup-query-count Description The ip igmp startup-query-count command is used to configure the number of Startup Query Messages that the switch sends on specified interface.
  • Page 327: Ip Igmp Static-Group (Interface Vlan)

    Configure the number of Startup Query Messages that the switch sends as 3 on Interface VLAN 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip igmp last-member-query-count 3 ip igmp static-group (interface vlan) Description The ip igmp static-group command is used to configure the static multicast group on specified interface VLAN.
  • Page 328: Ip Igmp Static-Group (Routed Port)

    Interface Configuration Mode (routed port) Example Add the forwarding port 1/0/2 to the static multicast group 225.1.1.1, and it will receive traffic only from the multicast source 192.168.1.1: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if) no switchport T3700G-28TQ(config-if)# ip igmp static-group 225.1.1.1 source 192.168.0.1...
  • Page 329: Ip Igmp Profile

    Add the forwarding port 1/0/2 to the static multicast group 225.1.1.2, and it will receive traffic from all sources: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if) no switchport T3700G-28TQ(config-if)# ip igmp static-group 225.1.1.2 ip igmp profile Description The ip igmp profile command is used to create the configuration profile. To delete the corresponding profile, please use no ip igmp profile command.
  • Page 330: Permit

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)# ip igmp profile 1 T3700G-28TQ(config-igmp-profile)#deny permit Description The permit command is used to configure the filtering mode of profile as permit. Syntax permit Command Mode Profile Configuration Mode Example...
  • Page 331: Ip Igmp Filter

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Configure one of the filter multicast address entry as range 225.1.1.1 to 226.3.2.1 in profile 1: T3700G-28TQ(config)# ip igmp profile 1 T3700G-28TQ(config-igmp-profile)#range 225.1.1.1 226.3.2.1 ip igmp filter Description The ip igmp filter command is used to bind a profile to the specified Ethernet port or routed port.
  • Page 332 Specify the maximum number of the dynamic multicast groups that the gigabitEthernet port 1/0/2 can join as 100 and the overflowed entry will replace the old one randomly: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)# ip igmpmax-groups 100 T3700-28TQ(config-if)#ip igmp max-groups action replace...
  • Page 333: Show Ip Igmp Profile

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of all profiles: T3700G-28TQ(config)# show ip igmp profile show ip igmp groups Description The show ip igmp groups command is used to display the information of all the dynamic multicast groups or the specified multicast group.
  • Page 334: Show Ip Igmp Groups Interface

    Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of the dynamic multicast groups on the gigabitEthernet 1/0/1: T3700G-28TQ(config)# show ip igmp groups interface gigabitEthernet 1/0/1 detail show ip igmp groups interface vlan Description The show ip igmp groups interface vlan command is used to display the information of all the dynamic multicast groups on the specified Interface.
  • Page 335: Show Ip Igmp Groups Static

    Privileged EXEC Mode and Any Configuration Mode Example Display the information of the dynamic multicast groups on interface VLAN 1: T3700G-28TQ(config)# show ip igmp groups interface vlan 1 show ip igmp groups static Description The show ip igmp groups static command is used to display the information of all the static multicast groups.
  • Page 336: Show Ip Igmp Groups Static Interface Vlan

    Privileged EXEC Mode and Any Configuration Mode Example Display the information of the static multicast groups on interface VLAN 1: T3700G-28TQ(config)# show ip igmp groups static interface vlan 1 show ip igmp groups port-info (dynamic) Description The show ip igmp groups port-info command is used to display the information of the layer 2 forwarding ports of all the dynamic multicast groups or in the specified VLAN.
  • Page 337: Show Ip Igmp Interface

    —— The maximum number of the multicast groups on the specified port. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the statistics of the IGMP packets received on the gigabitEthernet 1/0/1: T3700G-28TQ(config)# show ip igmp interface gigabitEthernet 1/0/1 statistic...
  • Page 338: Show Ip Igmp Interface Vlan

    Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP configuration information on the Interface VLAN 2: T3700G-28TQ(config)# show ip igmp interface vlan 2 show ip igmp interface loopback Description The show ip igmp interface loopback command is used to display the IGMP configuration information on the specified interface loopback.
  • Page 339 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the detailed IGMP configuration information of the interface loopback 1: T3700G-28TQ(config)# show ip igmp interface loopback 1 detail...
  • Page 340: Chapter 38 Pim Commands

    Command Mode Global Configuration Mode Example Enable the IP multicast routing function globally: T3700G-28TQ(config)#ip multicast-routing ip pim Description The ip pim command is used to enable PIM function on the specified interface. To disable the PIM function on this interface, please use no ip pim command.
  • Page 341: Ip Pim Sg-Expiry-Timer

    Command Mode Global Configuration Mode Example Configure the expiry time for the routing entries as 60s: T3700G-28TQ(config)# ip pim sg-expiry-timer 60 ip pim spt-threshold infinity Description The ip pim spt-threshold infinity command is used to configure all the sources for the specified group to use the shared tree, never switching to the source tree.
  • Page 342: Ip Pim Bsr-Candidate Interface

    Command Mode Global Configuration Mode Example Configure all the sources never switch to the source tree: T3700G-28TQ(config)# ip pim spt-threshold infinity ip pim bsr-candidate interface Description The ip pim bsr-candidate command is used to configure the candidate BSR on specified interface. To disable the candidate BSR, please use no ip pim bsr-candidate command.
  • Page 343: Ip Pim Rp-Candidate Interface

    Command Mode Global Configuration Mode Example Configure the candidate RP on interface VLAN 2 with the priority as 20 and the interval of RP advertisement interval as 70s: T3700G-28TQ(config)# ip pim rp-candidate interface vlan 2 priority 20 interval 70...
  • Page 344: Ip Pim Rp-Address

    Command Mode Global Configuration Mode Example Configure the IP address of the static RP as 20.20.20.2: T3700G-28TQ(config)# ip pim rp-address 20.20.20.2 ip pim bsr-border Description The ip pim bsr-border command is used to configure the border of the BSR packet on each interface that connects to other bordering PIM domains. To disable the border of BSR on this interface, please use no ip pim bsr-border command.
  • Page 345: Ip Pim Dr-Priority

    Interface Configuration Mode Example Configure the DR priority on interface VLAN 2 as 100: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip pim dr-priority 100 ip pim join-prune-interval Description The ip pim join-prune-interval command is used to configure the interval of join/prune packet. To restore to the default value, please use no ip pim join-prune-interval command.
  • Page 346: Ip Pim Query-Interval

    Interface Configuration Mode Example Configure the interval of join/prune packet as100s on vlan interface 2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip pim join-prune-interval 100 ip pim query-interval Description The ip pim query-interval command is used to configure the interval of Hello packet.
  • Page 347: Show Ip Multicast

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display ip multicast information: T3700G-28TQ(config)# show ip multicast show ip mroute Description The show ip mroute command is used to display the IP multicast routing table. Syntax...
  • Page 348: Show Ip Pim Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of all PIM interfaces: T3700G-28TQ(config)# show ip pim interface show ip pim neighbor Description The show ip pim neighbor command is used to display PIM neighbor information.
  • Page 349: Show Ip Pim Bsr-Router

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of all the PIM neighbors: T3700G-28TQ(config)# show ip pim neighbor show ip pim bsr-router Description The show ip pim bsr-router command is used to display the candidate BSR and RP information.
  • Page 350: Show Ip Pim Rp-Hash

    Syntax show ip pim rp-hash ip-addr Parameter ip-addr —— Specify the multicast group address. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the RP hash result of multicast group 224.1.1.2: T3700G-28TQ(config)# show ip pim rp-hash 224.1.1.2...
  • Page 351: Chapter 39 Static Multicast Routing Commands

    The default value is 0. Command Mode Global Configuration Mode Example Add a static multicast routing entry with the source address as 192.168.0.1, mask as 255.255.255.255, rpf-address as 192.168.1.1 and distance as 1: T3700G-28TQ(config)#ip mroute 192.168.0.1 255.255.255.255 192.168.1.1 1...
  • Page 352: Show Ip Mroute Static

    The show ip mroute command is used to display all the static multicast routing entries. Syntax show ip mroute static Command Mode Privileged EXEC Mode and Any Configuration Mode Example Displays all the static multicast routing entries: T3700G-28TQ(config)# show ip mroute static...
  • Page 353: Chapter 40 Vrrp Commands

    —— The virtual router ID which has an integer value range from 1 to 255. Command Mode Interface Configuration Mode Example Enable the VRRP protocol on interface VLAN 3 and specify the vrid as 4: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4...
  • Page 354: Vrrp Vrid Virtual-Ip

    Interface Configuration Mode Example Add an IP address as 192.168.0.7 for vrid 4 on interface VLAN 3: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4 virtual-ip 192.168.0.7 vrrp vrid description Description This command is used to configure or modify the description for the virtual router.
  • Page 355: Vrrp Vrid Priority

    Interface Configuration Mode Example Name the vrid 4 as vr4 on interface VLAN 3: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4 description vr4 vrrp vrid priority Description This command is used to set the priority value for the virtual router configured on a specified interface.
  • Page 356: Vrrp Vrid Preempt-Mode

    Configure the advertisement interval for the interface VLAN 3 as 12 seconds in vrid 4: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4 timer-advertise 12 vrrp vrid preempt-mode Description This command sets the preemption mode and the delay time for the virtual router configured on a specified interface.
  • Page 357: Vrrp Vrid Authentication-Mode

    —— It’s optional and only required when authentication mode is simple or md5. Command Mode Interface Configuration Mode Example Configure the authentication Mode as md5 and configure the key as 123 for the interface VLAN 3 in vrid 4: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4 authentication-mode md5 key 123...
  • Page 358: Vrrp Vrid Track Interface

    —— The priority decrement for the tracking interface. The valid range is 1 – 254. The default value is 10. Command Mode Interface Configuration Mode Example Configure the tracked interface as vlan2 and the priority decrement as 10 for the tracking interface: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid track interface vlan vlan2...
  • Page 359: Show Vrrp

    —— The port number. vlan-id —— The interface VLAN ID. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the vrrp information of virtual router 4 on interface VLAN 3: T3700G-28TQ(config)# show vrrp vrid 4 interface vlan 3...
  • Page 360: Show Vrrp Statistics

    —— The port number. vlan-id —— The interface VLAN ID. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the statistics of virtual router 4 on interface 3: T3700G-28TQ(config)# show vrrp statistics vrid 4 interface vlan 3...
  • Page 361: Chapter 41 Rip Commands

    Command Mode Global Configuration Mode Example Enable the RIP function and enter router configuration mode. T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# network Description The network command is used to enable RIP function on interfaces of the desired network. To disable the RIP protocol on these interfaces, please use no network command.
  • Page 362: Version

    192.168.0.0. Command Mode Router Configuration Mode (router rip) Example Enable RIP function on interfaces of the network 192.168.0.0: T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# network 192.168.0.0 version Description The version command is used to specify the RIP version globally. By default, the switch sends RIPv1 packets and receives both RIPv1 and RIPv2 packets. To return to the default configuration, please use no version command.
  • Page 363: Timer Basic

    Command Mode Router Configuration Mode (router rip) Example Configure the update timer as 80 seconds: T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# timer basic update 80 distance Description The distance command is used to configure the distance for RIP routes. Syntax distance distance Parameter distance ——...
  • Page 364: Auto-Summary

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Command Mode Router Configuration Mode (router rip) Example Configure the administrative distance of RIP as 20: T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# distance 20 auto-summary Description The auto-summary command is used to enable the Auto Summary mode for RIPv2.
  • Page 365: Redistribute

    —— Configure the metric for the added external route. Command Mode Router Configuration Mode (router rip) Example Enable RIP to redistribute the external static routes and specify the metric as 5: T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# redistribute static metric 5...
  • Page 366: Passive-Interface

    Router Configuration Mode (router rip) Example Suppress the sending of update messages through the interface VLAN 1: T3700G-28TQ(config)# router rip T3700G-28TQ(config-router)# passive-interface interface vlan 1 ip rip receive version Description The ip rip receive version command is used to specify the RIP receive version on the desired interface.
  • Page 367: Ip Rip Send Version

    Example Configure the interface VLAN2 to receive RIPv1 packets only: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip rip receive version 1 ip rip send version Description The ip rip send version command is used to specify the RIP send version on the desired interface.
  • Page 368: Ip Rip V2-Broadcast

    Command Mode Interface Configuration Mode Example Configure the interface VLAN2 to send RIPv2 packets via broadcast: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip rip v2-broadcast ip rip authentication-mode Description The ip rip authentication-mode command is used to configure the authentication mode of RIP on the desired interface.
  • Page 369: Ip Rip Poison-Reverse

    Configure the RIP authentication mode of interface VLAN2 as simple, and specify its key as 123: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip rip authentication-mode simple 123 ip rip poison-reverse Description The ip rip poison-reverse command is used to enable poison reverse function on the desired interface.
  • Page 370: Show Ip Rip

    — — The subnet mask of which you desire to show the routing information. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the RIP routing information of the network 192.168.1.0/24: T3700G-28TQ(config)# show ip rip database specify 192.168.1.0 255.255.255.0...
  • Page 371: Chapter 42 Ospf Commands

    Command mode Global Configuration Mode Example Create an OSPF routing process with the process ID as 1: T3700G-28TQ(config)# router ospf 1 router-id Description The router-id command is used to configure the router ID. The no router-id command is used to delete the configured router ID. If no router ID is configured manually or the configured router ID is deleted, the highest IP address among all loopback interfaces will be chosen as the router ID.
  • Page 372: Network

    Command mode Router Configuration Mode Example Configure the router ID of OSPF routing process 1 as 1.1.1.1: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# router-id 1.1.1.1 network Description The network command is used to configure the network of a specified area. All the interfaces fallen into the configured network will belong to this area.
  • Page 373: Summary-Address

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# network 192.168.0.0 255.255.255.0 area 0.0.0.0 summary-address Description The summary-address command is used to configure a summary route. To restore the optional parameters to default values, please use the no summary-address with corresponding parameters.
  • Page 374: Maximum-Paths

    Command Mode Router Configuration Mode Example Configure the summary route 192.168.0.0/16 which can only be advertised to the NSSA: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# summary-address 192.168.0.0 255.255.0.0 nssa-only maximum-paths Description The maximum-paths command is used to configure the maximum number of the equal-cost multipath routings.
  • Page 375: Redistribute

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide redistribute Description The redistribute command is used to configure the ASBR to redistribute the external routes from other routing protocols to the OSPF domain in type-5 LSAs. To cancel this redistribution, please use the no redistribute command without any optional parameters.
  • Page 376: Default-Metric

    Redistribute the RIP routes from the external and advertise them as type 1 external routes in the OSPF domain. T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# redistribute rip metric-type 1 default-metric Description The default-metric command is used to configure the default cost of the redistributing external route.
  • Page 377: Auto-Cost

    Router Configuration Mode Example Configure OSPF to advertise the default route whether there is default route is the IP routing table or not: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# default-information originate always auto-cost Description The auto-cost command is used to enable the auto computing function of the interface cost and configure the reference bandwidth.
  • Page 378: Distance

    Router Configuration Mode Example Enable the auto computing function of the interface cost and configure the reference bandwidth as 10000 Mbps: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# auto-cost reference-bandwidth 10000 distance Description The distance command is used to configure the OSPF administrative distance.
  • Page 379: Timers Throttle Spf

    Example Configure the computing delay and interval of the SPF as 10 seconds: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# timers throttle spf 10 10 timers lsa arrival Description The timers lsa arrival command is used to configure the minimum interval time of the same LSA instances.
  • Page 380: Compatible Rfc1583

    Example Configure the minimum interval time of the same LSA instances as 2000 milliseconds: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# timers lsa arrival 2000 compatible rfc1583 Description The compatible rfc 1583 command is used to configure the OSPF’s compatibility for the routing rules in the RFC 1583. To cancel the compatibility, please use the no compatible rfc1583 command.
  • Page 381: Passive-Interface

    —— The interface VLAN ID. Command Mode Router Configuration Mode Example Prevent interface VLAN 1 from sending OSPF packets in routing process 1: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# passive-interface vlan 1 passive-interface range Description The passive-interface range command is used to prevent several interfaces from sending OSPF packets.
  • Page 382: Passive-Interface Default

    Command Mode Router Configuration Mode Example Prevent interface VLAN 1-3 from sending OSPF packets in routing process 1: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# passive-interface vlan 1-3 passive-interface default Description The passive-interface default command is used to prevent all the interfaces from sending OSPF packets.
  • Page 383: No Area

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Prevent all the interfaces from sending OSPF packets in routing process 1: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# passive-interface default no area Description The no area command is used to delete the specified area. Only areas containing no networks can be deleted.
  • Page 384: Area Authentication

    Router Configuration Mode Example Configure the name of area 0 as SOFT: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 0 description SOFT area authentication Description The area authentication command is used to configure the authentication mode of the specified area. Interfaces in this area will be authorized using the area’s authentication mode if their authentication modes are not configured...
  • Page 385: Area Stub

    Router Configuration Mode Example Configure the area 1 as a totally stub area: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 1 stub no-summary area nssa Description The area nssa command is used to define an area as a nssa area. To restore...
  • Page 386: Area Default-Cost

    Router Configuration Mode Example Configure Area 1 as a total NSSA area: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 1 nssa no-summary area default-cost Description The area default-cost command is to configure the cost of default summary route sent from ABR to STUB or NSSA area.
  • Page 387: Area Range

    Example Configure the cost of default summary route sent to Area 1 as 10: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 1 default-cost 10 area range Description The area range is to configure a summary route. To delete this route, please use the no area range command.
  • Page 388: Area Virtual-Link

    Example Configure one aggregated route 100.100.0.0/16 with the cost 10 in the Area 0: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 0 range 100.100.0.0 255.255.0.0 cost 10 area virtual-link Description The area virtual-link command is used to configure the virtual-link. To delete the configured virtual-link, please use the no area virtual-link without any optional parameters.
  • Page 389: Area Virtual-Link Authentication

    Configure a virtual-link with the transmission area as Area 1 and the ID of the neighboring router on the other endpoint as 1.1.1.1: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 1 virtual-link 1.1.1.1 area virtual-link authentication Description The area virtual-link authentication command is used to configure the authentication type of the virtual link.
  • Page 390: Area Virtual-Link Authentication-Key

    Area 2 and the ID of the neighboring router on the other endpoint as 3.3.3.3: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 2 virtual-link 3.3.3.3 authentication area virtual-link authentication-key Description The area virtual-link authentication-key command is used to configure the simple authentication key.
  • Page 391: Area Virtual-Link Message-Digest-Key

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config-router)# area 2 virtual-link 3.3.3.3 authentication-key 123456 area virtual-link message-digest-key Description The area virtual-link message-digest-key is used to configure the MD5 authentication ID and key of the virtual-link. To delete the specified configuration, please use the no area virtual-link message-digest-key command.
  • Page 392: Ip Ospf Cost

    Interface Configuration Mode Example Configure the cost of interface VLAN 2 as 10: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip ospf cost 10 ip ospf retransmit-interval Description The ip ospf retransmit-interval command is used to configure the interval to retransmit the LSA, DD and LSR packets on the specified interface. To restore to default value, please use the no ip ospf retransmit-interval command.
  • Page 393: Ip Ospf Transmit-Delay

    Interface Configuration Mode Example Configure the retransmission interval of interface VLAN 2 as 10 seconds: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip ospf retransmit-interval 10 ip ospf transmit-delay Description The ip ospf transmit-delay is used to configure the transmission delay of LSA on the specified interface.
  • Page 394: Ip Ospf Hello-Interval

    Command Mode Interface Configuration Mode Example Configure the priority of the interface VLAN 2 as 1: T3700G-28TQ(config-if)# ip ospf priority 1 ip ospf hello-interval Description The ip ospf hello-interval is used to configure the hello intervals on the specified interface. To restore to the default value, please use the no ip ospf hello-interval command.
  • Page 395: Ip Ospf Dead-Interval

    Command Mode Interface Configuration Mode Example Configure the neighbor’s failure interval on interface VLAN 2 as 50 seconds: T3700G-28TQ(config-if)# ip ospf dead-interval 50 ip ospf authentication Description The ip ospf authentication command is used to configure the authentication mode of the specified interface. To restore to default value, please use the no ip ospf authentication command.
  • Page 396: Ip Ospf Authentication-Key

    Command Mode Interface Configuration Mode Example Configure the authentication type of interface VLAN 2 as MD5: T3700G-28TQ(config-if)# ip ospf authentication message-digest ip ospf authentication-key Description The ip ospf authentication-key command is used to configure the key of the simple authentication. To cancel this configuration, please use the no ip ospf authentication-key command.
  • Page 397: Ip Ospf Network

    Example Configure md5 authentication key ID as 1 and password as abc on interface VLAN 2: T3700G-28TQ(config-if)# ip ospf message-digest-key 1 md5 abc ip ospf network Description The ip ospf network command is used to configure the network type on the specified interface.
  • Page 398: Ip Ospf Database-Filter All Out

    Interface Configuration Mode Example Block the flooding of the LSA packets on interface VLAN 2: T3700G-28TQ(config-if)# ip ospf database-filter all out ip ospf mtu-ignore Description The ip ospf mtu-ignore command is used to ignore the MTU check in the DD exchanging process.
  • Page 399: Clear Ip Ospf

    —— The process ID, ranging from 1 to 65535. Command Mode Privileged EXEC Mode Example Reset all the OSPF processes: T3700G-28TQ# clear ip ospf process show ip ospf Description The show ip ospf is used to display the global information of the OSPF process.
  • Page 400: Show Ip Ospf Database

    Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of router-LSA in process 1: T3700G-28TQ# show ip ospf 1 database router show ip ospf interface Description The show ip ospf interface command is used to display the interface...
  • Page 401: Show Ip Ospf Neighbor

    Privileged EXEC Mode and Any Configuration Mode Example Display the information of the interfaces in all the OSPF processes: T3700G-28TQ# show ip ospf interface show ip ospf neighbor Description The show ip ospf neighbor command is used to display information of the OSPF neighbor.
  • Page 402: Show Ip Ospf Request-List

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the neighbors’ detailed information in process 1: T3700G-28TQ# show ip ospf 1 neighbor detail show ip ospf request-list Description The show ip ospf request-list command is used to display the LSA request list.
  • Page 403: Show Ip Ospf Summary-Address

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display LSA retransmission lists of all the OSPF processes: T3700G-28TQ# show ip ospf retransmission-list show ip ospf summary-address Description The show ip ospf summary-address is used to display the ASBR summary routes.
  • Page 404: Show Ip Ospf Virtual-Links

    Privileged EXEC Mode and Any Configuration Mode Example Display the virtual links of all the OSPF processes: T3700G-28TQ# show ip ospf virtual-links show ip ospf border-routers Description The show ip ospf border-routers is used to display the routing tables of the ABR/ASBR.
  • Page 405: Show Ip Route Ospf

    Privileged EXEC Mode and Any Configuration Mode Example Display the routing tables of all the OSPF processes: T3700G-28TQ# show ip route ospf show ip ospf area database Description The show ip ospf area database command is used to display the LSDB of the specified area.
  • Page 406: Show Ip Ospf Area Interface

    Privileged EXEC Mode and Any Configuration Mode Example Display the LSDB summary information of Area 0 in process 1: T3700G-28TQ# show ip ospf 1 area 0 database show ip ospf area interface Description The show ip ospf area interface command is used to display the interface information of the specified area.
  • Page 407: Show Ip Ospf Area Request-List

    Privileged EXEC Mode and Any Configuration Mode Example Display the summary information of the neighbors of Area 0 in process1: T3700G-28TQ# show ip ospf 1 area 0 neighbor show ip ospf area request-list Description The show ip ospf area request-list command is used to display the LSA request list of the specified area.
  • Page 408: Show Ip Ospf Area Retransmission-List

    Privileged EXEC Mode and Any Configuration Mode Example Display LSA request list of Area 0 in process1: T3700G-28TQ# show ip ospf 1 area 0 request-list show ip ospf area retransmission-list Description The show ip ospf area retransmission-list command is used to display the LSA retransmission list of the specified area.

Table of Contents