Commonly used router commands are as follows: 1, router (config-line) #; Router (Configuration-Router) #; ? The router is in the local setting state, so you can set the parameters of the local router.
5. the router is in RXBOOT state. Press ctrl-break within 60 seconds after starting the machine to enter this state. At this time, the router can't complete its normal functions, so it can only perform software upgrade and manual boot. In this state, password recovery can be performed.
What is the command to modify the router name?
Router (config)#lineconsole0// Configure Control Port Router (config-line)# password 456// Configure Password Router (config-line)#login// Open Password Effective Router (config-line) # Exit Router (config) # Enable password 123// Configure privileged mode password router (config) # usernametpassword Cisco//Create local user benet and password Cisco router (config)# line vty 04// Configure vty port 0-4 router (config-line). #loginlocal// Set the local user name and password for remote login. Router (Configuration Line) # Exit Router (Configuration) # Service Password-Encrypt//Encrypt all passwords. Router (config) # intf0/0 router (config-if) # ipadd192.168.1.100255.255.0//To set up an interface, the management of IP remote login must meet three requirements.
How does the router turn on authorization mode?
1. After opening the Huawei smart home application, select the router device to enter.
2. In the router management interface, select View All Functions.
3. Click to enter and select the access authorization option.
4. After entering, click the switch behind the access authorization. I hope I can help you, solve all your problems and solve your problems. Thank you.
Linux routing setup command?
Linux's route setting command is mainly route:
1. Add the routing command: routeadd-net192.168.0.0/24gw192.168.0.1. 192+068 plus one.
2. Delete the routing command: routedel-net192.168.0.0/24gw192.168.0.13. Add the default route: routedefaultgw 192.65438.
Configuration of the router?
The configuration of Ip routing mainly completes the following tasks: 1. Configure LAN interface of local area network and WAN interface of wide area network; The second is to activate the IP routing protocol; The third is to configure the WAN protocol. The specific configuration method is as follows:
1, LAN interface configuration
LAN interface is the connection point between router and LAN, and each LAN interface is connected to a subnet. Configuring LAN interface is to assign an IP address within the subnet address range of LAN interface to LAN interface. The configuration method is as follows:
① Enter the configt command in privileged mode and press enter to enter the router configuration mode;
② Enter the name of the interface to be configured in configuration mode, such as interfaceethernet0, and press Enter to change the prompt to config-if;; ;
③ Enter IP address +IP address and subnet mask, such as: IP address 200.38.118.9255.255.0.
④ Press Ctrl+Z after configuration to exit configuration and return to privileged mode. You can use the showipinterfacee0 command to view the configuration parameters.
2. Configuration of WAN interface
WAN interfaces are configured in the same way as LAN interfaces. Take the configuration of serial port 1 as an example.
① In the privileged mode, enter the configt command and press enter to enter the configuration mode;
② Enter the WAN interface to be configured, such as serial port 0, with the command format of interfaceserial0, and press enter to enter the config-if mode;
③ Enter ipaddress plus ip address and subnet mask, and press Enter to finish.
④ Press Ctrl+Z to end the interface configuration and return to the privileged mode. You can use the showinterfaces0 command to view the serial port configuration.
3. Configuration of routing protocol
First, decide what routing protocol to choose. According to the size of the network, RIP (Routing Information Protocol) is selected for small networks with hop count (from one router to another) within 15. For large-scale networks, interior gateway routing protocol IGRP (Interior Gateway Routing Protocol) or Open Shortest Path First OSPF(OpenShortestPathFirst) can be selected. The configuration methods of various protocols are as follows:
① configure RIP protocol
Start RIP routing protocol. Enter routerrip in configuration mode, and rip is determined as the routing protocol.
Configure the network directly connected to the router. Enter the network address in configuration mode. Such as network 139 438+00.0.0. If a different network address is connected to the router, please repeat the above command.
The configuration allows RIP routing broadcasts in non-broadcast networks. In configuration mode, enter the IP address of the neighboring port of the neighboring router.
② Configure IGRP protocol.
Start IGRP routing protocol. Enter the routerigrp plus autonomous domain number in the configuration setting mode. Such as routerigrp2. Only routers in the same autonomous domain can exchange routing information.
IGRP exchanges routing information by transmitting the subnet specified by the network on each port. If no subnet is specified, the router will not broadcast the subnet to other routers. Enter the network plus subnet number in configuration mode to configure the subnets participating in dynamic routing.
Specifies that the IGRP routing information known by the router is broadcast to its neighboring routers. IGRP is a broadcast protocol. In order to transmit IGRP routing information in non-broadcast networks, you must use this setting to allow routers to exchange routing information in non-broadcast networks. Broadcast networks such as Ethernet do not need to set this item. In configuration mode, enter the IP address of the neighbor port of the neighbor plus the neighbor router.
③ Configure OSPF protocol.
Enable OSPF dynamic routing protocol Enter the routerospf process number in configuration mode. Such as routerospf2.
Define subnets that participate in ospf. Enter the networkip subnet number and wildcard area number in configuration mode. Routers will restrict the exchange of subnet information only in the same area, and no routing information will be exchanged between different areas.
Represents the network type. Enter ipospfnetworkbroadcast or non-broadcast or point-to-point in configuration mode. Generally speaking, DDN, Frame Relay and X.25 all belong to non-broadcast networks, that is, non-broadcast.
For non-broadcast network connections, you need to indicate the router's neighbor routers.
4. Configuration of common WAN protocols
Commonly used WAN protocols mainly include high-level data link control protocol HDLC, integrated services digital network ISDN, point-to-point protocol PPP, packet switching protocol X.25 and frame relay. The serial port of the router provides the connection with the WAN, but the connection with ISDN needs to pass through the ISDN interface. The configuration method of WAN protocol is as follows:
① Configure HDLC.
High-level data link control protocol HDLC is a point-to-point WAN protocol, which is the default WAN protocol for CISCO routers.
The configuration method is as follows:
Enter the configt command in privileged mode to enter configuration mode.
Configure the connected WAN interface. For example: interfaceserial 1, enter the config-if mode.
HDLC protocol encapsulation. Enter encapsulationHDLC, and then press enter.
Set the bandwidth. Enter the bandwidth transfer rate, such as 56K, and then enter the bandwidth 56.
② Configure baseband ISDN.
ISDN is a digital service developed by using digital technology on existing telephone lines. There are two types of ISDN: BRI (Basic ISDN) and PRI(PrimaryRateISDN), in which BRI provides three channels of 2B+D, and the bandwidth of each B channel is 64K, and the B channel is identified by SPID(ServiceProfileIdentifier). There are some differences between ISDB and other WAN protocols.
In privileged mode, enter configt and press Enter to enter configuration mode.
Configure the switching type of ISDN connection. Enter isdnswitchtypebasic-.
Switchidentifier is the vendor ID number of the connected switch type.
Configure ISDN interface, enter intbri, and the number is bri interface number.
Encapsulate it into PPP and enter encapsulationppp.
Configure SPID 1 and enter isdnspid 1. The phone number provided by SPID# for the service provider.
Configure SPID2 and enter isdnspid2.
Ctrl+Z, end the configuration.
③ configure PPP.
Enter the configt command in privileged mode to enter configuration mode.
Configure the WAN interface. Enter a specific interface number, such as interfaceserial0, to enter the config_if mode.
Encapsulate PPP protocol and enter encapsulationPPP.
Set the bandwidth and enter the bandwidth.
Ctrl+Z, end the configuration.
④. Configure X.25
In privileged mode, enter configt to enter configuration mode.
Configure the WAN interface. Enter a specific interface number, such as interfaceserial0, to enter the config_if mode.
Encapsulate the X.25 protocol and enter encapsulationX.25
Set the bandwidth and enter the bandwidth.
Set the X.25 address of the interface, that is, X. 12 1 address, and enter the X.25addressX.25 address, such as X.25address80151.
Ctrl+Z, end the configuration.
Chapter 1: Summary of Community Work in the First Half of 20 18
Under the care and guidance of the leaders of the Party Working Committe