In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Experiment 1: basic router configuration (1)-IP settings, user name modification, remote login.
Tools: IOU integrated simulator, secure CRT terminal
One: IP setting
Start the virtual machine-- > Open the IOU integrated simulator-- > enter the username and password-- >
The next steps are as follows:
Root@IOL:~# ls / / display
CiscoIOU MPLS_Option QYT_CCNA2.0 RS_MPLS_Test1 TEST
Mcast_Troubleshooting Multicasting QYT-CCNP-Test RS_Test2_BGP V5-CCNP
MPLS_eigrp Q2 QYT-RS SP_TE V5-Switch
MPLS_intergate Q2_Update RS360 SP_Y1_TS1
Root@IOL:~# cd QYT_CCNA2.0/ cd command to open QYT_CCNA2.0
Root@IOL:~/QYT_CCNA2.0#. / start.sh /. / start.sh launcher
The telnet port is taken by other process / / indicates that the program is occupied by other processes
: Address already in use
^ Croot@IOL:~/QYT_CCNA2.0# cd.. / / cd.. Command exit
Root@IOL:~# cd MPLS_intergate/
Root@IOL:~/MPLS_intergate#. / stop.sh / / enter MPLS_intergate and close
Warning: bad ps syntax, perhaps a bogus'-'? See http://procps.sf.net/faq.html
Root@IOL:~/MPLS_intergate# cd..
Root@IOL:~# cd QYT_CCNA2.0/
Root@IOL:~/QYT_CCNA2.0#. / start.sh
Waiting on port 2001...
Process Id for child is 1471, parent is 1469
Waiting on port 2002...
Process Id for child is 1474, parent is 1472
Waiting on port 3001...
Process Id for child is 1477, parent is 1475
Waiting on port 3002...
Process Id for child is 1480, parent is 1478
Waiting on port 2005...
Process Id for child is 1483, parent is 1481
Waiting on port 2006...
Process Id for child is 1486, parent is 1484
UNIX ERR:tcgetattr:Invalid argument
Waiting on port 2007...
Process Id for child is 1489, parent is 1487
UNIX ERR:tcgetattr:Invalid argument
. / start.sh: line 15: start done!: command not found
Root@IOL:~/QYT_CCNA2.0# UNIX ERR:tcgetattr:Invalid argument
UNIX ERR:tcgetattr:Invalid argument
↑
The simulator is partially completed, then open the CRT terminal
↓
Connect the host 192.168.1.114 and quickly connect to the 2001 and 2002 routers.
As shown in the figure, note the use of telnet protocol, port 2001, hostname 192.168.1.114 2002 router configuration is similar
Note: in this example, 2001 router hostname is Branch,2002 router hostname is HQ
HQ > enable / / enter privileged mode
HQ#conf t / / enters configuration mode to control the network
Enter configuration commands, one per line. End with CNTL/Z.
HQ (config) # in
HQ (config) # interface e0ram 1 / / configure this interface
HQ (config-if) # no shu
HQ (config-if) # no shutdown / / enable this API
HQ (config-if) # ip address 192.168.1.2 255.255.255.0 / / configure the ip address
HQ (config-if) #
* Sep 12 03 Sep 45 Configured from console by console 53.735:% SYS-5-CONFIG_I:
HQ#ping 192.168.1.1 / / ping command to test whether it is connected to 2001
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
! / /! It makes sense.
Success rate is 100 percent (5amp 5), round-trip min/avg/max = 1-1-1 ms
HQ#
Two: change the name
HQ (config) # hostname ZH / / HQ renamed to ZH
Three: remote management
The 2002 route is configured as follows:
HQ (config) # line? / / display line information
First Line number / / 6 interfaces
Aux Auxiliary line / / physical interface
Console Primary terminal line / / physical interface
Vty Virtual terminal / / virtual interface
HQ (config) # line 0 4 / / configure virtual lines
HQ (config-line) # password qyt / / set password
HQ (config-line) # transport input all / / allow any protocol to access the device
^
% Invalid input detected at'^ 'marker. / / report an error
HQ#show run | sec vty / / View the running virtual line information
Line vty 0 2
Password qyt
Login
Transport input none
Line vty 3 4
Login
Transport input none / / indicates that the configuration of the line password is not saved
HQ (config) # line 0? / / View a total of several lines
Last Line number
Branch > enable
Password: / / password is CISCO
Branch#telnet 192.168.1.2 / / telnet Test
Trying 192.168.1.2... Open / / Communication
User Access Verification
Password: / / enter the line interface password: qyt
HQ > enable / / successfully entered the HQ (2002) router and entered enable mode
Password: / / enter enable password: cisco
HQ#conf t / / enters the configuration mode of HQ
Enter configuration commands, one per line. End with CNTL/Z.
HQ (config) # end / / exit configuration mode
Note: wr saves the configuration after the configuration is completed
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.