HCNA Configuring Telnet remote Management

Source: Internet
Author: User

1. Topology diagram

Description: The configuration will eventually be able to log on to R4 via R5 with the Telnet protocol and rename R4 to R44

2. R4 Configuration

<Huawei>sysenter system View, return user view with Ctrl+z.[huawei]sysname R4[r4]user-inch[R4]user-interface Vty [R4]user-interface vty0 4[R4-ui-vty0-4]au [R4-ui-vty0-4]authentication-mode AAA[R4-ui-vty0-4]Q[R4]AAA[R4-Aaa]lo [R4-aaa]local-user User [R4-aaa]local-user user-telnet Pass [R4-aaa]local-user user-telnet password ci [R4-aaa]local-user user-telnet Password cipher huaweiinfo:add a new user. [R4-Aaa]lo [R4-aaa]local-user pri [R4-aaa]local-user User [R4-aaa]local-user user-telnet pri [R4-aaa]local-user user-telnet privilege le [R4-aaa]local-user user-telnet Privilege Level2[R4-Aaa]loc [R4-aaa]local-user User [R4-aaa]local-user user-telnet serv [R4-aaa]local-user user-telnet service-type Tel [R4-aaa]local-user user-telnet service-type Telnet [R4-AAA] [R4-AAA] [R4-AAA]Q[R4]int[R4]interface G [R4]interface gigabitethernet0/0/0[R4-gigabitethernet0/0/0]ip Add [R4-gigabitethernet0/0/0]ip Address192.168.1.10  -Dec7  .  A: +: -- ,:xxR4%%01ifnet/4/link_state (L) [0]:the Line Protocol IP on the interface GigabitEthernet0/0/0Have entered the up state . [R4-gigabitethernet0/0/0]q[r4]dis IPint[R4]dis IP interface bre [R4]dis IP interface bre^error:wrong parameter found at'^'position. [R4]dis IP interface BRI [R4]dis IP interface Brief*down:administratively Down^Down:standby (L): Loopback (s): spoofingthe number of interface that 's upinchPhysical is2The number of interfaceinchPhysical is2The number of interface .inchProtocol is2The number of interfaceinchProtocol is2Interface IP Address/Mask physical Protocol GigabitEthernet0/0/0              192.168.1.10/ -Up up GigabitEthernet0/0/1Unassigned Down GigabitEthernet0/0/2unassigned down NULL0 unassigned up Up (s) [R4][r44]

3. R5 Configuration and test

<Huawei>sysenter system View, return user view with Ctrl+Z.[huawei]sysname R5[R5]int[R5]interface G [R5]interface gigabitethernet0/0/0[R5-gigabitethernet0/0/0]ip Add [R5-gigabitethernet0/0/0]ip Address192.168.1.20  -Dec7  .  A: A:Panax Notoginseng- ,:xxR5%%01ifnet/4/link_state (L) [0]:the Line Protocol IP on the interface GigabitEthernet0/0/0Have entered the up state . [R5-gigabitethernet0/0/0]q[r5]dis IPinch[R5]dis IP interface BRI [R5]dis IP interface Brief*down:administratively Down^Down:standby (L): Loopback (s): spoofingthe number of interface that 's upinchPhysical is2The number of interfaceinchPhysical is2The number of interface .inchProtocol is2The number of interfaceinchProtocol is2Interface IP Address/Mask physical Protocol GigabitEthernet0/0/0              192.168.1.20/ -Up up GigabitEthernet0/0/1Unassigned Down GigabitEthernet0/0/2unassigned down NULL0 unassigned up Up (s) [R5]Ping  192.168.1.10PING192.168.1.10: Aboutdata bytes, press Ctrl_c to break Reply from192.168.1.10: bytes= AboutSequence=1Ttl=255  Time= theMs Reply from192.168.1.10: bytes= AboutSequence=2Ttl=255  Time= +Ms Reply from192.168.1.10: bytes= AboutSequence=3Ttl=255  Time= -Ms Reply from192.168.1.10: bytes= AboutSequence=4Ttl=255  Time= -Ms Reply from192.168.1.10: bytes= AboutSequence=5Ttl=255  Time=TenMs---192.168.1.10 PingStatistics---5packet (s) transmitted5Packet (s) received0.00%Packet loss round-trip Min/avg/max =Ten/ -/ thems[r5]telnet192.168.1.10^error:unrecognized command found at'^'position. [R5]tel [R5]telnet192.168.1.10^error:unrecognized command found at'^'position. [R5]q<R5>Tel<r5>telnet192.168.1.10Press Ctrl_] to quit Telnet mode Trying192.168.1.10 ... Connected to192.168.1.10 ... Login Authenticationusername:user-Telnetpassword:<r4>dis IPinch<R4>Dis IP interface br<R4>DIS IP interface Brief*down:administratively Down^Down:standby (L): Loopback (s): spoofingthe number of interface that 's upinchPhysical is2The number of interfaceinchPhysical is2The number of interface .inchProtocol is2The number of interfaceinchProtocol is2Interface IP Address/Mask physical Protocol GigabitEthernet0/0/0              192.168.1.10/ -Up up GigabitEthernet0/0/1Unassigned Down GigabitEthernet0/0/2unassigned down NULL0 unassigned up Up (s)<R4>sysname R44^error:unrecognized command found at'^'position.<R4>sysenter system View, return user view with Ctrl+Z.[r4]sysname R44[r44]

Note: Telnet can only be used in user mode.

To create a user step

1, System-view into the system mode

2, user-interface vty 0 4 Enter vty view

3, allow AAA authorization, exit vty

4. Enter AAA mode into AAA view

5. Add user local-user user-telnet password ciper Huawei

6. Authorized User class Local-user User-telnet privileges Level 2

7. Authorized User Agreement Local-user user-telnet service-type Telnet

8. Exit

9, from another router landing test, if the IP is configured to ping each other

HCNA Configuring Telnet remote Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.