Teamlink 721 Switch CLI configuration commands and Shortcut Keys

Teamlink 721 Switch CLI configuration commands and Shortcut Keys: The Command Line Interface (CLI) is a medium for you to communicate with the TEAMLINK 721A. You can configure, monitor, and manage the TEAMLINK 721Athrough the CLI. You can log in to the TEAMLINK 721Athrough the terminal equipment or through a computer that runs the terminal emulation program. Enter commands at the system prompt.

Teamlink 721 Switch CLI configuration commands and Shortcut Keys

Connect the teamlink 721 to PC through console cable serial .

Teamlink 721 Switch CLI

The CLI supports the following features:

⚫ Configure the TEAMLINK 721Alocally through the Console interface.

⚫ Configure the TEAMLINK 721Alocally or remotely through Telnet/Secure Shell v2 (SSHv2).

⚫ Commands are classified into different levels. You can execute the commands that correspond to your level only.

⚫ The commands available to you depend on which mode you are currently in.

⚫ Shortcut keys can be used to execute commands.

⚫ Check or execute a historical command by checking command history. The last 20 historical commands can be saved on the TEAMLINK 721A.

⚫ Enter a question mark (?) at the system prompt to obtain online help.

⚫ The TEAMLINK 721Asupports multiple intelligent analysis methods, such as fuzzy match and context association.

Levels

The TEAMLINK 721Aclassifies commands into 16 levels in a descending order:

⚫ 0–4: checking level. You can execute basic commands, such as clear and history, for clearing system information and showing command history.

⚫ 5–10: monitoring level. You can execute commands, such as show, for system maintenance.

⚫ 11–14: configuration level. You can execute commands for configuring services, such as Virtual Local Area Network (VLAN) and Internet Protocol (IP) routing.

⚫ 15: management level. You can execute commands for system running.

Modes

The command mode is an environment where a command is executed. A command can be executed in one or multiple certain modes.

The commands available to you depend on which mode you are currently in. After connecting the TEAMLINK 721A, if the TEAMLINK 721Aadopts default configurations, a Login prompt will be displayed.

Enter the user name (Teamlink) and password (Teamlink) to enter the user EXEC mode, where the following command is displayed:

Teamlink>

Enter the enable command and press Enter.

Then enter the correct password, and press Enter to enter privileged EXEC mode.

The default password is Teamlink.

Teamlink>enable Password:

Teamlink#

In privileged EXEC mode, enter the config command to enter global configuration mode.

Teamlink#config

Teamlink(config)#

Important note

The CLI prompts Teamlink is a default host name. You can modify it by executing the hostname string command in privileged EXEC mode.

⚫ Commands executed in global configuration mode can also be executed in other modes. The functions vary on command modes.

⚫ You can enter the exit or quit command to return to the upper command mode. However, in privileged EXEC mode, you need to execute the disable command to return to user EXEC mode. In address family configuration mode, you need to execute the exit-address-family command to return to BGP configuration mode.

⚫ You can enter the end command to return to privileged EXEC mode from any modes but user EXEC mode and privileged EXEC mode. Command modes supported by the TEAMLINK 721Aare listed in the following table.

Command modes supported by the TEAMLINK 721

Command modes supported by the TEAMLINK 721Aare listed in the following table.

ModeEntryPrompt
User EXECLog in to the TEAMLINK 721A, and then enter the correct user name and password.Teamlink>
Privileged EXECIn user EXEC mode, use the enable command and correct password.Teamlink#
Global configurationIn privileged EXEC mode, use the config command.Teamlink(config)#
Interface configurationIn global configuration mode, use the interface fastethernet 1/0/1 command.Teamlink(config-fastethernet1/0/1)#
In global configuration mode, use the interface gigaethernet unit/slot/port command.Teamlink(config-gigaethernetunit/slot/port)#
In global configuration mode, use the interface tengigaethernet unit/slot/port command.Teamlink(config-tengigaethernetunit/slot/port)#
In global configuration mode, use the interface twenty-fivegige unit/slot/port command.Teamlink(config-twenty-fivegigeunit/slot/port)#
In global configuration mode, use the interface hundredgige unit/slot/port command.Teamlink(config-hundredgigeunit/slot/port)#
Sub-interface configurationIn global configuration mode, use the interface gigaethernet unit/slot/port.sub-interface command.Teamlink(config-gigaethernetunit/slot/port.subid)#
VLAN interface configurationIn global configuration mode, use the interface vlan vlan-id command.Teamlink(config-vlanid)#
Tunnel interface configurationIn global configuration mode, use the interface tunnel tunnel-id command.Teamlink(config-tunnelid)#
Loopback interface configurationIn global configuration mode, use the interface loopback interface-number command.Teamlink(config-loopbackid)#
VRF configurationIn global configuration mode, use the ip vrf vrf-name command.Teamlink(config-vrf)#
ModeEntryPrompt
Route mapping configurationIn global configuration mode, use the route-map map-name { permit | deny } number command.Teamlink(config-route-map)#
OSPF configurationIn global configuration mode, use the router ospf process-id [ router-id router-id ] command.Teamlink(config-router-ospf)#
OSPFv3 configurationIn global configuration mode, use the ipv6 router ospf process-id [ vrf vrf-name ] command.Teamlink(config-ospf6)#
BGP configurationIn global configuration mode, use the router bgp [ as-id ] command.Teamlink(config-router)#
BGP VPNv4 address family configurationIn BGP configuration mode, use the address-family vpnv4 [ unicast ] command.Teamlink(config-router-af)#
BGP VPN instance IPv4 unicast address family configurationIn BGP configuration mode, use the address-family ipv4 vrf vrf-name command.Teamlink(config-router-af)#
ILSP configurationIn global configuration mode, use the mpls bidirectional static-lsp ingress lsp-name lsr-id egress-lsr-id tunnel-id tunnel-id command.Teamlink(config-ingress-lsp)#
ELSP configurationIn global configuration mode, use the mpls bidirectional static-lsp egress lsp-name lsr-id ingress-lsr-id tunnel-id tunnel-id command.Teamlink(config-egress-lsp)#
TLSP configurationIn global configuration mode, use the mpls bidirectional static-lsp transit lsp-name lsr-id ingress-lsr-id egress-lsr-id tunnel-id tunnel-id [ standby ] command.Teamlink(config-transit-lsp)#
Explicit path configurationIn global configuration mode, use the mpls explicit-path path-name command.Teamlink(config-mpls-exp-path)#
Tunnel policy configurationIn global configuration mode, use the tunnel-policy policy-name command.Teamlink(config-tunnelpolicy)#
Remote peer configurationIn global configuration mode, use the mpls ldp targeted neighbour ip-address command.Teamlink(config-ldp-remote-peer)#
VSI configurationIn global configuration mode, use the mpls vsi vsi-name static command.Teamlink(config-vsi)#
VLAN configurationIn global configuration mode, use the vlan vlan-id command.Teamlink(config-vlan)#
ModeEntryPrompt
Basic IP ACL configurationIn global configuration mode, use the access-list acl-number command. The acl-number parameter ranges from 1000 to 1999.Teamlink(config-acl-ipv4-basic)#
Extended IP ACL configurationIn global configuration mode, use the access-list acl-number command. The acl-number parameter ranges from 2000 to 2999.Teamlink(config-acl-ipv4-advanced)#
MAC ACL configurationIn global configuration mode, use the access-list acl-number command. The acl-number parameter ranges from 3000 to 3999.Teamlink(config-acl-mac)#
MPLS ACL configurationIn global configuration mode, use the access-list acl-number command. The acl-number parameter ranges from 4000 to 4999.Teamlink(config-acl-mpls)#
User ACL configurationIn global configuration mode, use the access-list acl-number command. The acl-number parameter ranges from 5000 to 5999.Teamlink(config-acl-map)#
cos-remark configurationIn global configuration mode, use the mls qos mapping cos-remark profile-id command.Teamlink(cos-remark)#
cos-to-pri configurationIn global configuration mode, use the mls qos mapping cos-to-local-priority profile-id command.Teamlink(cos-to-pri)#
dscp-mutation configurationIn global configuration mode, use the mls qos mapping dscp-mutation profile-id command.Teamlink(dscp-mutation)#
dscp-to-pri configurationIn global configuration mode, use the mls qos mapping dscp-to-local-priority profile-id command.Teamlink(dscp-to-pri)#
exp-to-pri configurationIn global configuration mode, use the mls qos mapping exp-to-local-priority profile-id command.Teamlink(exp-to-pri)#
pri-to-exp configurationIn global configuration mode, use the mls qos mapping local-priority-to-exp profile-id command.Teamlink(pri-to-exp)#
WRED profile configurationIn global configuration mode, use the mls qos wred profile profile-id command.Teamlink(wred)#
Flow profile configurationIn global configuration mode, use the mls qos flow-queue profile command.Teamlink(flow-queue)#
ModeEntryPrompt
CMAP configurationIn global configuration mode, use the class-map class-map-name command.Teamlink(config-cmap)#
Traffic monitoring profile configurationIn global configuration mode, use the mls qos policer-profile policer-name [ single ] command.Teamlink(traffic-policer)#
PMAP configurationIn global configuration mode, use the policy-map policy-map-name command.Teamlink(config-pmap)#
Traffic policy bound with traffic classification configurationIn PMAP configuration mode, use the class-map class-map-name command.Teamlink(config-pmap-c)#
Service instance configurationIn global configuration mode, use the service instance-name level md-level command.Teamlink(config-service)#
BFD session configurationIn global configuration mode, use the bfd session-id command.Teamlink(config-bfd-session)#
In global configuration mode, use the bfd session-id bind peer-ip ip-address [ vrf-name vrf-name ] command.
In global configuration mode, use the bfd session-id bind peer-ip ip-address interface gigaethernet interface-number command.

Shortcut Keys

Shortcut keyDescription
Press the up arrow (↑) key.The previous command is displayed. If no previous command is available, no change is shown on the screen after you press the key.
Press the down arrow (↓) key.The next command is displayed. If no previous command is available, no change is shown on the screen after you press the key.
Press the left arrow (←) key.Move the cursor back one character. If the cursor is in front of the command, no change is shown on the screen after you press the key.
Press the right arrow (→) key.Move the cursor forward one character. If the cursor is behind the command, no change is shown on the screen after you press the key.

Shortcut keyDescription
Press the Backspace key.Erase the character to the left of the cursor. If the cursor is in front of the command, no change is shown on the screen after you press the key.
Press the Tab key.When you press it after entering an incomplete keyword, the system automatically executes some commands:If the incomplete keyword matches a unique complete keyword, the unique complete keyword replaces the incomplete keyword, with the cursor forward a space from the unique complete keyword.If the incomplete keyword matches more complete keywords, you can press the Tab key to alternate the matched complete keywords.If the incomplete keyword matches no complete keyword, you can press the Tab key to wrap, and then error information is displayed.
Press Ctrl+A.Move the cursor to the beginning of the command line.
Press Ctrl+D or the Delete key.Delete the character at the cursor.
Press Ctrl+E.Move the cursor to the end of the command line.
Press Ctrl+K.Delete all characters from the cursor to the end of the command line.
Press Ctrl+X.Delete all characters from the cursor to the beginning of the command line.
Press Ctrl+Z.Return to privileged EXEC mode from the current mode (excluding user EXEC mode).

Latest Posts

Leave a Comment