TP-Link T3700G-28TQ Cli Reference Manual
TP-Link T3700G-28TQ Cli Reference Manual

TP-Link T3700G-28TQ Cli Reference Manual

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

Advertisement

T3700G-28TQ
JetStream 28-Port Gigabit Stackable L3

Managed Switch

REV1.0.1
1910011211

Advertisement

Table of Contents
loading

Summary of Contents for TP-Link T3700G-28TQ

  • Page 1: Managed Switch

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch REV1.0.1 1910011211...
  • 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 ..........8 1.1.3 Logon by Telnet ....................8 1.1.4 Logon by SSH ....................
  • Page 4 interface vlan ........................... 35 name ............................35 switchport mode ........................36 switchport access vlan ......................36 switchport trunk allowed vlan ....................37 switchport general allowed vlan ....................38 switchport pvid ........................39 show interface switchport ......................39 show vlan summary ........................ 40 show vlan brief ........................
  • Page 5 voice vlan mac-address ......................56 switchport voice vlan mode ..................... 56 switchport voice vlan security ....................57 show voice vlan ........................58 show voice vlan oui ......................... 58 show voice vlan switchport ..................... 59 Chapter 9 Private VLAN Commands ..............60 private-vlan primary .........................
  • Page 6 user access-control ip-based ....................78 user access-control mac-based ....................79 user access-control port-based....................80 user max-number ........................80 user idle-timeout ........................81 line ............................82 password ..........................82 login ............................84 login local ..........................84 show user account-list......................85 show user configuration ......................85 Chapter 13 Binding Table Commands ..............
  • Page 7 clear ip arp inspection statistics .................... 101 Chapter 15 IP Verify Source Commands.............. 103 ip verify source ........................103 show ip verify source ......................104 Chapter 16 DoS Defend Command ..............105 ip dos-prevent ........................105 ip dos-prevent type ........................ 105 show ip dos-prevent ......................
  • Page 8 show logging loghost ......................123 show logging buffer ....................... 124 show logging flash ......................... 125 Chapter 19 SSH Commands ................126 ip ssh server .......................... 126 ip ssh version ........................126 ip ssh timeout ........................127 ip ssh max-client ........................127 ip ssh download ........................
  • Page 9 location ..........................146 contact-info ..........................147 ip address ..........................148 ip address-alloc ........................148 reset ............................149 reboot ............................ 150 copy running-config startup-config ..................150 copy running-config backup-config ..................151 copy running-config user-config .................... 151 copy backup-config startup-config ..................152 copy startup-config backup-config ..................
  • Page 10 Chapter 23 Ethernet Configuration Commands ........... 171 interface fastEthernet ......................171 interface range fastEthernet ....................171 interface gigabitEthernet ....................... 172 interface range gigabitEthernet ..................... 172 interface ten-gigabitEthernet ....................173 interface range ten-gigabitEthernet ..................174 description ..........................175 shutdown ..........................175 flow-control ..........................
  • Page 11 show monitor session ......................195 Chapter 26 Port isolation Commands ..............196 port isolation .......................... 196 show port isolation ........................ 197 Chapter 27 Loopback Detection Commands ............198 loopback-detection(global) ....................198 loopback-detection interval ....................198 loopback-detection recovery-time ..................199 loopback-detection(interface) ....................199 loopback-detection config .....................
  • Page 12 show access-list bind ......................217 Chapter 29 MSTP Commands ................218 spanning-tree(global) ......................218 spanning-tree(interface) ......................218 spanning-tree common-config ....................219 spanning-tree mode ......................220 spanning-tree mst configuration .................... 221 instance ..........................221 name ............................. 222 revision ..........................222 spanning-tree mst instance ....................223 spanning-tree mst .........................
  • Page 13 ip igmp snooping querier vlan ....................240 ip igmp snooping querier vlan (general query) ..............241 ip igmp snooping querier vlan (specific query) ..............241 show ip igmp snooping......................242 show ip igmp snooping interface................... 243 show ip igmp snooping vlan ....................244 show ip igmp snooping multi-vlan ..................
  • Page 14 Chapter 32 LLDP Commands ................268 lldp ............................268 lldp hold-multiplier ......................... 268 lldp timer ..........................269 lldp receive ..........................270 lldp transmit ........................... 270 lldp snmp-trap ........................271 lldp tlv-select .......................... 271 lldp med-fast-count ........................ 272 lldp med-status ........................273 lldp med-tlv-select .........................
  • Page 15 interface vlan ......................... 288 interface loopback ......................... 288 switchport ..........................289 shutdown ..........................289 description ..........................290 ip route ..........................290 ip routing ..........................291 show interface loopback ....................... 292 show interface vlan ....................... 292 show ip interface ........................293 show ip interface brief ......................
  • Page 16 ip dhcp relay information ....................... 306 ip dhcp relay information policy..................... 307 ip dhcp relay information custom ..................307 ip dhcp relay information circuit-id ..................308 ip dhcp relay information remote-id ..................308 show ip dhcp relay ........................ 309 Chapter 37 Proxy ARP Commands ..............310 ip proxy-arp ...........................
  • Page 17 show ip igmp groups static interface ..................327 show ip igmp groups static interface vlan ................328 show ip igmp groups port-info (dynamic) ................328 show ip igmp interface ......................329 show ip igmp interface vlan ....................330 show ip igmp interface loopback ................... 330 Chapter 39 PIM Commands .................
  • Page 18 vrrp vrid track interface......................350 clear vrrp statistics ........................ 351 show vrrp ..........................351 show vrrp statistics ........................ 352 Chapter 42 RIP Commands ................. 353 router rip ..........................353 network ..........................353 version ........................... 354 timer basic ..........................355 distance ..........................355 auto-summary ........................
  • Page 19 passive-interface range ......................374 passive-interface default ....................... 375 no area ..........................376 area description ........................376 area authentication ........................ 377 area stub ..........................378 area nssa ..........................378 area default-cost ........................379 area range ..........................380 area virtual-link ........................381 area virtual-link authentication ....................
  • Page 20 show ip ospf area neighbor ....................402 show ip ospf area request-list ....................402 show ip ospf area retransmission-list ..................403...
  • Page 21: 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 22 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 23 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 24 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 40: Static Multicast Routing Commands Provide information about the commands used for configuring the Static Multicast Routing function. Chapter 41: VRRP Commands Provide information about the commands used for configuring the VRRP function.
  • Page 25: 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 three methods: 1. Log on to the switch by the console port on the switch.
  • Page 26 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 3. The Connection Description Window will prompt as shown in Figure 1-2. Enter a name into the Name field and click OK. Figure 1-2 Connection Description 4. Select the port to connect in Figure 1-3, and click OK.
  • Page 27 38400, Data bits as 8, Parity as None, Stop bits as 1, Flow control as None, and then click OK. Figure 1-4 Port Settings The DOS prompt “T3700G-28TQ>” will appear after pressing the Enter button as shown in Figure 1-5. It indicates that you can use the CLI now. Figure 1-5 Log in the Switch...
  • Page 28: 1.1.2 Configuring The Privileged Exec Mode Password

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 1.1.2 Configuring the Privileged EXEC Mode Password To configure the switch remotely by a Telnet or SSH connection, please set a password for entering the Privileged EXEC Mode through the console connection first. Follow the steps in 1.1.1...
  • Page 29 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Login Local Mode  Firstly, configure the Telnet login mode as “login local” in the prompted DOS screen shown in Figure 1-7. Figure 1-7 Configure login local mode Now, you can logon by Telnet in login local mode.
  • Page 30 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 3. Type the default user name and password (both of them are admin), then press the Enter button so as to enter User EXEC Mode. Figure 1-10 Enter into the User EXEC Mode Now you can manage your switch with CLI commands through Telnet connection.
  • Page 31 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Login Mode  Firstly configure the Telnet login mode as “login” and the connection password as 456 in the prompted DOS screen shown in Figure 1-12. Figure 1-12 Configure login mode Now, you can logon by Telnet in login mode: Open Telnet, then type telnet 192.168.0.1 in the command prompt shown as Figure 1-13, and...
  • Page 32 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide You are prompted to enter the connection password 456 you have set through Console port connection, and then you are in User EXEC Mode. Figure 1-14 Enter into the User EXEC Mode When entering enable command to access Privileged EXEC Mode, you are required to give the password 123 you have set through Console port connection.
  • Page 33: 1.1.4 Logon By Ssh

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 1.1.4 Logon by SSH To log on by SSH, a Putty client software is recommended. There are two authentication modes to set up an SSH connection: Password Authentication Mode: It requires username and password, which are both admin by default.
  • Page 34 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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 35 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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 36 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide After the key is successfully generated, please save the public key and private key to a TFTP server. 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...
  • Page 37 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide After the public key is downloaded, please log on to the interface of PuTTY and enter the IP address for login. Figure 1-22 SSH Connection Config Click Browse to download the private key file to SSH client software and click Open.
  • Page 38: 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 39 Use the exit command to exit to the global Line Use the line vty command configuration mode. Configuration T3700G-28TQ(config- line) from Global Configuration Press Ctrl-Z or enter end mode to specify a line. Mode to return to priviledged EXEC mode.
  • Page 40 Enter the exit or the # gigabitEthernet port or 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 41: 1.3 Security Levels

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide a). Interface gigabitEthernet/ten-gigabitEthernet: Configure parameters for an Ethernet port, such as Duplex-mode, flow control status. b). Interface range gigabitEthernet/ten-gigabitEthernet: Configure parameters for several Ethernet ports. c). Interface link-aggregation: Configure parameters for a link-aggregation, such as broadcast storm.
  • Page 42: 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 43: 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 44: Enable Password

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Enable the global encryption function: T3700G-28TQ(config)# service password-encryption enable password Description The enable password command is used to set or change the password for users to access Privileged EXEC Mode from User EXEC Mode. To remove the password, please use no enable password command.
  • Page 45: Enable Secret

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Set the super password as “admin” and unencrypted to access Privileged EXEC Mode from User EXEC Mode: T3700G-28TQ(config)#enable password 0 admin enable secret Description The enable secret command is used to set a secret password for users to access Privileged EXEC Mode from User EXEC Mode.
  • Page 46: Disable

    Set the secret password as “admin” and unencrypted to access Privileged EXEC Mode from User EXEC Mode. The password will be displayed in the encrypted form. T3700G-28TQ(config)#enable secret 0 admin disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode.
  • Page 47: Exit

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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 48: 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 49: 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 50: Switch Authentication-Mode

    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 The switch authentication-mode command is used to configure the stack authentication mode. To disable the authentication function, please use no switch authentication-mode command.
  • Page 51: Switch Stack-Name

    Example Configure the stack’s authentication mode as md5 and the unencrypted password as hello: T3700G-28TQ(config)# switch authentication-mode md5 hello switch stack-name Description The switch stack-name command is customize the stack’s name. To restore to the default name “Stack”, please use no switch stack-name command.
  • Page 52: Switch Stack-Port

    Command Mode Global Configuration Mode 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 53 —— Display the information of the stack neighbor. stack-ports —— Display the information of the stack ports. Command Mode Privileged EXEC Mode and any Configuration Mode Example Display the detailed information of the current stack: T3700G-28TQ(config)# show switch detail...
  • Page 54: 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 55: 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 56: 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 57: 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 58: 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 59: 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 60: 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 61: 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 VLAN. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the detailed information of VLAN 2: T3700G-28TQ(config)#show vlan id 2...
  • Page 62: 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 with the MAC address 00:11:11:01:01:12 and the name “TP”: T3700G-28TQ(config)#mac-vlan mac-address 00:11:11:01:01:12 vlan 2 description TP...
  • Page 63: 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 64: 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 65: 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 66: 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 67: Show Protocol-Vlan Template

    / interface range ten-gigabitEthernet) Parameter index —— Specify the protocol group ID. Example Add Gigabit Ethernet port 20 to protocol group 1: T3700G-28TQ(config)#interface gigabitEthernet 1/0/20 T3700G-28TQ(config-if)#protocol-vlan group 1 show protocol-vlan template Description The show protocol-vlan template command is used to display the information of the Protocol-based VLAN templates.
  • Page 68: 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 69: 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 70: 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 71: 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 72: 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 73: 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 74: 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 75: 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 76: 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 77: 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 78: 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 79: 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 80: 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 remove the community VLAN property pf the current VLAN, please use no private-vlan community command.
  • Page 81: 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 82: 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 83: 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 84: 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 85: 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 86: 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 87: 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 88: 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 89: 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 90 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#show gvrp interface...
  • Page 91: 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 92: 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 93: 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 94: 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 95: 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 96: 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, Telnet or SSH, so as to protect the settings of the switch from being randomly changed.
  • Page 97: User Name (Secret)

    Example Add and enable a new admin user named “tplink”, of which the password is “admin” and unencrypted: T3700G-28TQ(config)#user name tplink privilege admin password 0 admin user name (secret) Description The user name command is used to add a new user or modify the existed users’...
  • Page 98: User Access-Control Ip-Based

    Example Add and enable a new admin user named “tplink”, of which the password is “admin”. The password will be displayed in the encrypted form. T3700G-28TQ(config)#user name tplink privilege admin secret 0 admin 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.
  • Page 99: User Access-Control Mac-Based

    —— The source MAC address. Only the user with this MAC Address is allowed to login. Command Mode 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...
  • Page 100: User Access-Control Port-Based

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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 101: User Idle-Timeout

    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 102: Line

    T3700G-28TQ(config)#line console 0 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...
  • Page 103 Example Configure the connection password of Console port connection 0 as “tplink” and unencrypted: T3700G-28TQ(config)#line console 0 T3700G-28TQ(config-line)#password 0 tplink Configure the connection password of virtual terminal connection 0-5 as “tplink” and unencrypted: T3700G-28TQ(config)#line vty 0 5 T3700G-28TQ(config-line)#password 0 tplink...
  • Page 104: Login

    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 105: Show User Account-List

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Configure the login of Console port connection 0 as login local mode: T3700G-28TQ(config)#line console 0 T3700G-28TQ(config-line)#login local show user account-list Description The show user account-list command is used to display the information of the current users.
  • Page 106: 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 107: 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 108: 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 109: 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 110: 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 111: 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 112: 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 113: 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 114: 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 115: Show Ip Dhcp Snooping

    [ fastEthernet port | gigabitEthernet port | ten-gigabitEthernet port ] Parameters port ——The Fast/Gigabit Ethernet/Ten-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 116 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 117: 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 118: 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 119: 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 120: 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 121: 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 122 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 123: 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 124: 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 125: 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 126: 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 127: 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 128: 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 129: 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 130: 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 131: 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 132: 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 133: 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 134 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Syntax radius { [auth-pri ip] [auth-sec ip] [auth-port port] [acct-pri ip] [acct-sec ip] [acct-port port] [auth-key { [ 0 ] password | 7 encrypted-password } ] [acct-key { [ 0 ] password | 7 encrypted-password] } }...
  • Page 135: 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 136: Show Dot1X Interface

    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 137: Show Radius Authentication

    Command Mode Privileged EXEC Mode and Any Configuration Modes Example Display the configuration of the accounting server: T3700G-28TQ(config)#show radius accounting show radius authentication Description The show radius authentication command is used to display the configuration of the RADIUS authentication server.
  • Page 138: 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 139: 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 140: 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 141: 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 142: 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 143: 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 144: 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 145: 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 146: 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 147: 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 no ip ssh timeout command.
  • Page 148: 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 149: 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 150: 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 151: Ip Http Secure-Server Download Key

    Global Configuration Mode Example Download an 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 an SSL key to the switch from TFTP server.
  • Page 152: 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 153: 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 154: 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 155: 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 156: 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 157: 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 158: 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 159: 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 160: 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 161: 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 162 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 163: 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 164: 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 165: 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 166: 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 167: 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 168: 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 169: 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 170: 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 171: 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 172: 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 173: Boot Application

    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 174: 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 175: 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 176: Copy Tftp Backup-Config

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide unit-id —— Specify the unit in the stack whose startup configuration file would be saved. If not specified, startup configuration files of all the members in the stack will be uploaded.
  • Page 177: Copy Tftp Startup-Config

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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# backup ip-address 192.168.0.148 filename...
  • Page 178: Copy Image Tftp-Source

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide copy image tftp-source Description The copy image tftp-source command is used to download the image file from the TFTP server to the switch. Syntax copy image tftp-source [ device ]{ imagename } ip-address ip-addr filename...
  • Page 179: Copy Image

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Syntax copy image [ device] { imagename } tftp-target ip-address ip-addr filename name Parameter device —— Specify the unit in the stack from which the image file is uploaded, in the format of unitid:, for example unit1:. If not specified, the image files of all members in the stack will be uploaded.
  • Page 180: Remove Backup-Image

    Command Mode Privileged EXEC Mode Example Delete the backup image files of all the members in the stack: T3700G-28TQ# remove backup-image remove config Description The remove config command is used to delete the configuration file.
  • Page 181: 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 182: 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 183: 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 184: 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 185: 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 186: 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 187: 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 188: 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 189: 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 190: 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 191: 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 192: 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 193: 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 194: 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 195: 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 196: 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 197: 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 198: 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 199: 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 200: 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 201: 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 202: 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 status gigabitEthernet 1/0/1 show interface counters Description The show interface counters command is used to display the statistic information of an Ethernet port.
  • Page 203: 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 204: 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 205 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#show bandwidth interface gigabitEthernet 1/0/20...
  • Page 206: 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 207: 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 208: 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 209: 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 210: 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 211: 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 212: 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 213: 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 214: Monitor Session Source Interface

    The monitoring port 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 215: 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 216: 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 217: 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 1/0/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 218: Chapter 27 Loopback Detection Commands

    Command Mode Global Configuration Mode Example Enable the loopback detection function globally: T3700G-28TQ(config)# loopback-detection loopback-detection interval Description The loopback-detection interval command is used to define the interval of sending loopback detection packets from switch ports to network, aiming at detecting network loops periodically.
  • Page 219: Loopback-Detection Recovery-Time

    Command Mode Global Configuration Mode Example Specify the interval-time as 50 seconds: T3700G-28TQ(config)# loopback-detection interval 50 loopback-detection recovery-time Description The loopback-detection recovery-time command is used to configure the time after which the blocked port would automatically recover to normal status.
  • Page 220: Loopback-Detection Config

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the loopback detection function of ports 1-3: T3700G-28TQ(config)# interface range gigabitEthernet 1/0/1-3 T3700G-28TQ(config-if-range)# loopback-detection loopback-detection config Description The loopback-detection config command is used to configure the process-mode and recovery-mode for the ports by which the switch copes with the detected loops.
  • Page 221: Loopback-Detection Recover

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Recover the blocked port 2 to normal status: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)# loopback-detection recover show loopback-detection global Description The show loopback-detection global command is used to display the global configuration of loopback detection function such as loopback detection global status, loopback detection interval and loopback detection recovery time.
  • Page 222: Show Loopback-Detection Interface

    Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of loopback detection function and the status of all ports: T3700G-28TQ# show loopback-detection interface Display the configuration of loopback detection function and the status of port 5: T3700G-28TQ# show loopback-detection interface gigabitEthernet 1/0/5...
  • Page 223: Chapter 28 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 224: 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 225: 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 226: 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 227: 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 228: 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 229: 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 230: 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 231: 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 232: 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 233: 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 234: 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 235: 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 236: 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 237: 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 238: Chapter 29 Mstp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 29 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 239: 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 240: 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 241: 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 242: 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 243: 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 244: 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 245: 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 246: 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 247: Spanning-Tree Hold-Count

    Command Mode Global Configuration Mode Example Configure the hold-count of STP as 8pps: T3700G-28TQ(config)#spanning-tree hold-count 8 spanning-tree max-hops Description The spanning-tree max-hops command is used to configure the maximum number of hops that occur in a specific region before the BPDU is discarded. To return to the default configurations, please use no spanning-tree max-hops command.
  • Page 248: Spanning-Tree Bpdufilter

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 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 249: 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 250: 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 251: Spanning-Tree Mcheck

    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 guard tc spanning-tree mcheck Description The spanning-tree mcheck command is used to enable MCheck. Syntax spanning-tree mcheck Command Mode Interface Configuration Mode (interface fastEthernet / interface range...
  • Page 252: 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 253: 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 254 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 255: Chapter 30 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 256: 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 257: 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 258: 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 259: 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 260: 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 261: Ip Igmp Snooping Querier Vlan (General Query)

    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 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.
  • Page 262: Show Ip Igmp Snooping

    Command Mode Global Configuration Mode Example For VLAN 2, specify its last-listener-query-interval as 2: T3700G-28TQ(config)#ip igmp snooping querier vlan 2 last-listener query-interval 2 show ip igmp snooping Description The show ip igmp snooping command is used to display the global configuration of IGMP Snooping.
  • Page 263: Show Ip Igmp Snooping Interface

    Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP basic configuration of Gigabit Ethernet port 2: 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...
  • Page 264: Show Ip Igmp Snooping Vlan

    Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP snooping configuration information of VLAN 2: T3700G-28TQ#show ip igmp snooping vlan 2 show ip igmp snooping multi-vlan Description The show ip igmp snooping multi-vlan command is used to display the Multicast VLAN configuration.
  • Page 265: Show Ip Igmp Snooping Querier

    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 configurations of IGMP Snooping Querier of the specified VLAN.
  • Page 266 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 267: Chapter 31 Snmp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 31 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 268: 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 269: 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 270 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 271: 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 272: Snmp-Server Host

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ(config)#snmp-server community public read-write viewDefault 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 273: 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 274: Snmp-Server Traps Snmp

    Command Mode Global Configuration Mode 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. To disable the sending of SNMP standard traps, please use no snmp-server traps snmp command.
  • Page 275: 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 276: 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 277: 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 278: 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 279: 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 280: 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 281: 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 282: 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 283: 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 284: 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 285: 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 286: 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 287 —— 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 288: Chapter 32 Lldp Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 32 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 289: 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 290: 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 291: Lldp Snmp-Trap

    / interface gigabitEthernet / interface range gigabitEthernet/ interface ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable Gigabit Ethernet port 1/0/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 292: Lldp Med-Fast-Count

    Example Exclude “management-address” and “port-vlan-id” TLVs in LLDPDU outgoing from Gigabit Ethernet port 1/0/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 293: 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 294: 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 295: 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 296: 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 297: 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 298: Chapter 33 Cluster Commands

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Chapter 33 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 299: 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 300: 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 301: 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 302: 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 303: 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 304: 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 305: 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 306: 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 307: 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 308: Chapter 34 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 309: 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 310: 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 311: 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 312: 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 313: 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 314: 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 315: Show Ip Route Summary

    T3700G-28TQ(config)# show ip route specify 192.168.0.100 Look up the route entry with the destination as 192.168.0.0/24: T3700G-28TQ(config)# show ip route specify 192.168.0.0 255.255.255.0 Display the routes to all the subnets that belongs to 192.168.0.0/16: T3700G-28TQ(config)# show ip route specify 192.168.0.0 255.255.0.0...
  • Page 316: Chapter 35 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 317: 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 318: 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 319: 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 320: 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 321: 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 322: 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 323: Show Ip Dhcp Server Pool

    JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide Example Display the statistics of DHCP packets received and sent by the DHCP server: 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 324: 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 325: 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 326: Chapter 36 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 327: 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 328: 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 329: 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 330: Chapter 37 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 331: Show Ip Proxy-Arp

    Command Mode Global Configuration Mode Example Enable the default-route-searching function when searching for the ARP proxy: T3700G-28TQ(config)# ip proxy-arp enable default-route show ip proxy-arp Description The show ip proxy-arp command is used to display the Proxy ARP status. Syntax...
  • Page 332: Chapter 38 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 333: 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 334: 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 335: 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 336: 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 337: 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 338: 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 339: 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 340: 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.1.1...
  • Page 341: 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 342: 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 343: 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 344 1/0/2 can join as 100 and the newly joined multicast group will replace an existing multicast group with the lowest multicast group address: T3700G-28TQ(config)# interface gigabitEthernet 1/0/2 T3700G-28TQ(config-if)# ip igmp max-groups 100 T3700-28TQ(config-if)#ip igmp max-groups action replace Specify the maximum number of the dynamic multicast groups that the routed...
  • Page 345: 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 346: 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 347: 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 348: 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 349: 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 350: 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 351 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 352: Chapter 39 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 353: 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 354: 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 355: 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 356: 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 357: 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 358: 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 359: 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 360: 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 361: 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 362: 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 363: Chapter 40 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 364: 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 365: Chapter 41 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 366: 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 367: 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 368: 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 369: Vrrp Vrid Authentication-Mode

    Enable the preempt Mode and configure the delay time as 12 seconds for the interface VLAN 3 in vrid 4: T3700G-28TQ(config)#interface vlan 3 T3700G-28TQ(config-if)#vrrp vrid 4 preempt-mode timer-delay 12 vrrp vrid authentication-mode Description This command is used to configure the authorization mode for the virtual router configured on a specified interface.
  • Page 370: Vrrp Vrid Track Interface

    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 123 vrrp vrid track interface Description This command is used to add tracked interfaces for the virtual router. To disable the track function on the specified interface, please use no vrrp vrid track interface vlan command.
  • Page 371: Clear Vrrp Statistics

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear all the statistics about vrrp on the switch: T3700G-28TQ(config)# clear vrrp statistics show vrrp Description This command is used to display the basic configuration information of all the virtual routers or a specified virtual router.
  • Page 372: 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 373: Chapter 42 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 374: 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 375: 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 376: 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 377: 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 378: 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 379: 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 380: 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 381: 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 382: Ip Rip Split-Horizon

    Command Mode Interface Configuration Mode Example Enable poison reverse function on the interface VLAN2: T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip rip poison-reverse ip rip split-horizon Description The ip rip split-horizon command is used to enable split horizon function on the desired interface.
  • Page 383 —— 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 384: Chapter 43 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 385: 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 386: 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 387: 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 388: 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 389: 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 390: 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 391: 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 392: 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 393: 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 394: 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 395: 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 396: 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 397: 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 398: 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 399: 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 400: 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 401: 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 402: 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 403 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 Description The area virtual-link authentication-key command is used to configure the simple authentication key.
  • Page 404: Area Virtual-Link Authentication-Key

    T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide area virtual-link authentication-key Description The area virtual-link authentication-key command is used to configure the simple authentication key. To delete the key, please use the no area virtual-link authentication-key command. Syntax...
  • Page 405: Area Virtual-Link Message-Digest-Key

    Area 2 and the ID of the neighboring router on the other endpoint as 3.3.3.3, and the authentication key as 123456: T3700G-28TQ(config)# router ospf 1 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.
  • Page 406: Ip Ospf Cost

    Area 2 and the ID of the neighboring router on the other endpoint as 3.3.3.3, with the authentication ID as 2 and the authentication key as 123456: T3700G-28TQ(config)# router ospf 1 T3700G-28TQ(config-router)# area 2 virtual-link 3.3.3.3 message-digest- key 2 md5 123456 ip ospf cost Description The ip ospf cost is used to configure the interface cost.
  • Page 407: Ip Ospf Retransmit-Interval

    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 408: Ip Ospf Priority

    Example Configure the LSA transmission delay of interface VLAN 2 as 2 seconds. T3700G-28TQ(config)# interface vlan 2 T3700G-28TQ(config-if)# ip ospf retransmit-delay 2 ip ospf priority Description The ip ospf priority is used to configure the priority of the specified interface.
  • Page 409: Ip Ospf Dead-Interval

    Interface Configuration Mode Example Configure the interval of the hello packets sent on interface VLAN 2 as 20 seconds: T3700G-28TQ(config-if)# ip ospf hello-interval 20 ip ospf dead-interval Description The ip ospf dead-interval command is used to set the number of seconds after the last device hello packet was seen before its neighbors declare the OSPF router to be down.
  • Page 410: Ip Ospf Authentication

    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 411: Ip Ospf Message-Digest-Key

    Configure the authentication mode of interface VLAN 2 as simple authentication, and the password as 123: T3700G-28TQ(config)#interface vlan 2 T3700G-28TQ(config-if)# ip ospf authentication-key 123 ip ospf message-digest-key Description The ip ospf message-digest-key is used to configure the ID and password of the md5 authentication on the specified interface.
  • Page 412: Ip Ospf Network

    Configure md5 authentication key ID as 1 and password as abc on interface VLAN 2: T3700G-28TQ(config)#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 413: 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 414: 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 415: Show Ip Ospf Database

    | external | network | nssa-external | router | summary —— The LSA type. Command Mode 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...
  • Page 416: Show Ip Ospf Interface

    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 417: Show Ip Ospf Request-List

    Privileged EXEC Mode and Any Configuration Mode 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 418: Show Ip Ospf Retransmission-List

    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 419: Show Ip Ospf Virtual-Links

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the summary routes of all processes: T3700G-28TQ# show ip ospf summary-address show ip ospf virtual-links Description The show ip ospf virtual-links is used to display the virtual links. Syntax...
  • Page 420: Show Ip Route Ospf

    Privileged EXEC Mode and Any Configuration Mode Example Display the ABR/ASBR routing tables of all the OSPF processes: T3700G-28TQ# show ip ospf border-routers show ip route ospf Description The show ip route ospf command is used to display the OSPF routing table.
  • Page 421: 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 422: Show Ip Ospf Area Neighbor

    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 423: 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.
  • Page 424 T3700G-28TQ JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide T3700G-28TQ# show ip ospf 1 area 0 retransmission-list...

Table of Contents