In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In practice, our routes and switches are always placed in the computer room. In order to facilitate our work, we need to configure routes and switches so that we can configure routers and switches in the office or at home.
This is a simple network topology diagram in which the computer connects and routes the switch across network segments.
First of all, we determine the IP:192.168.1.1 255.255.255.0 gateway 192.168.1.254 of the PC.
Route gigabit0/0ip:192.168.1.254 255.255.255.0
Command R1 > enteral to turn on privileged mode
R1#config terminal enters global mode
R1 (config) # interface gigabitEthernet 0swap 0 enters gigabit port 0Universe 0
R1 (config-if) # ip address 192.168.1.254 255.255.255.0 Port IP setting
R1 (config-if) # no shutdown Activation Port configuration
R1 (config-if) # exit returns to the upper layer to configure the next port
Route gigabit0/1ip:10.0.0.254 255.255.255.0
R1 (config) # interface gigabitEthernet 0Uniq1 enters Gigabit 0Universe 1
R1 (config-if) # ip address 10.0.0.254 255.255.255.0 configure ip
R1 (config-if) # no shutdown Activation Port
Switch configuration virtual vlan1ip:10.0.0.1 255.255.255.0
Switch configuration idea-privileged password setting-vlan1 ip-configuring gateway-remote login password setting
Switch > enable enters privileged mode
Switch#config terminal enters global mode
Switch (config) # hostname WR1 rename this device for future configuration convenience
WR1 (config) # enable password 123 configure password 123
WR1 (config) # interface vlan1 enters the vlan1 configuration
WR1 (config-if) # ip address 10.0.0.1 255.255.255.0
WR1 (config-if) # no shotdown Activation Port
WR1 (config) # end returns privileged mode
WR1#write save
WR1#config terminal enters global mode
WR1 (config) # ip default-gateway 10.0.1.254 configure the gateway
WR1 (config) # line vty 04 configure remote ports 0-4 hosts
WR1 (config-line) # password 456 set password 456
WR1#write saves configuration files
Finally, verify the configuration.
-Verification failed
[Connection to 10.0.1.1 closed by foreign host]
Tomorrow.
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.