Apsara Stack Router configuration command

Source: Internet
Author: User

I believe there are not many people who know about the configuration commands of ruijie vro. The following is a detailed description of ruijie vro. These commands may not be used much, however, it is important for network security and performance.

 
 
  1. # Exit returns the upper-level operation mode
  2. # Del flash: config. text Delete the configuration file (vswitch and vrouters 1700)
  3. # Erase startup-config Delete the configuration file (2500 series routers)
  4. # Write memory or copy running-config startup-config save Configuration
  5. # Configure terminal enters global configuration mode
  6. (Config) # hostname routeconfig the device name is routeconfig
  7. (Config) # banner motd & configure daily prompt information & is the Terminator
  8. (Config) # enable secret star or: enable password star
  9. Set the vro's privileged mode password to star. secret indicates that the password is displayed in non-plaintext, and password indicates that the password is displayed in plaintext.
  10.  

View the configuration command of ruijie Router

 
 
  1. # Show running-config
  2. # Show interface fastethernet 0/3 view port F0/3 Information
  3. # Show interface serial 1/2 view S1/2 port information
  4. # Show ip interface brief view port information
  5. # Show version
  6. # Show running-config
  7. # Show controllers serial 1/2 view the port information for R2501
  8. # Show ip route view route table information
  9. # Show access-lists 1 view the configuration information of standard access Control List 1
  10.  

Remote logon to telnet using the vro configuration command)

 
 
  1. (Config) # line vty 0 4 enters line 0 ~ In the configuration mode of 4, 4 is the number of the last digit of the continuous line, and the line is 0 ~ 4
  2. (Conifg-line) # login
  3. (Config-line) # password star: configure the remote logon password to star.
  4. (Config-line) # end returns the upper layer
  5.  

Basic port configuration for configuration commands of ruijie vro

 
 
  1. (Config) # Interface fastethernet 0/3 enters the port configuration mode of F0/3
  2. (Config) # interface range fa 0/1-2 enter the port configuration mode from F01 to F0/2
  3. (Config-if) # Set speed 10 to 10 M. Optional values: 10,100 and auto.
  4. (Config-if) # The duplex full Configuration Port is in full duplex mode. Optional values: full (full duplex), half (semi-dual), and auto (Adaptive)
  5. (Config-if) # no shutdown to enable this port
  6. (Config) # interface serial 1/2 enters the configuration mode of port S1/2
  7. (Config-if) # ip address 1.1.1.1 255.255.255.0 configure the port IP address and mask
  8. (Config-if) # clock rate 64000 (unit: K, used only on the DCE side)
  9. (Config-if) # bandwidth 512 configure the port bandwidth rate to KB (unit: KB)
  10. (Config-if) # no shutdown to enable this port
  11. (Config-if) # encapsulation PPP defines the encapsulation type as PPP, which is optional:
  12. Frame-relay Frame relay
  13. Hdlc Advanced Data Link Control Protocol
  14. Lapb X.25 L2 Protocol
  15. PPPPPP Point-to-Point Protocol
  16. X25X. 25 Protocol
  17.  

Router configuration command-Based Routing Protocol

 
 
  1. (Config) # ip route 172.16.1.0 255.255.255.0 172.16.2.1 configure Static Routing
  2. Note: 172.16.1.0 255.255.255.0 indicates the network number and subnet mask of the target network.
  3. 172.16.2.1 is the next hop address, which can also be expressed by interfaces, such as ip route 172.16.1.0 255.255.255.0 serial 1/2 (Port connected by 172.16.2.0)
  4. (Config) # enable the rip Protocol process in router RIP
  5. (Config-router) # network 172.16.1.0 declares the device's direct connection network segment information
  6. (Config-router) # enable RIP V2 for version 2. Optional values: version 1 (r1_1) and version 2 (r1_2)
  7. (Config-router) # no auto-summary disable the automatic summary function of route information (only supported in RIPV2)
  8. (Config) # enable ospf Routing Protocol process for router OSPF for 1762, no process ID required)
  9. (Config) # router ospf 1 enable the OSPF route protocol process for 2501. The OSPF process ID must be added)
  10. (Config-router) # network 192.168.1.0 0.0.255 area 0
  11. RA (config) # int serial0
  12. RA (config-if) # ip address 172.16.2.1 255.255.255.0 secondary
  13. RB (config) # int serial0
  14. RB (config-if) # ip address 172.16.2.2 255.255.255.0 secondary
  15.  

PAP for configuration commands of ruijie vro

 
 
  1. The router Ra is the verified party and the Rb is the verified party. The two routers are connected with V.35 lines (serial lines) and the IP addresses and clock frequencies of each port are configured respectively:
  2. Rb (config) # username Ra password 0 star validators configure the authenticated user name and password
  3. Rb (config) # intterface serial 1/2 enters port S1/2
  4. Rb (config-if) # encapsulation ppp defines the encapsulation type as PPP
  5. Rb (config-if) # ppp authentication pap PPP enable PAP authentication
  6. Ra (config) # itnterface serial 1/2 enters port S1/2
  7. Ra (config-if) # encapsulation ppp defines the encapsulation type as PPP
  8. Ra (config-if) # ppp pap sent-username Ra password 0 star set the user name to ra password as star, which is sent to the validators for verification
  9. # Debug ppp authentication
  10.  

Verify the configuration of the configuration command of the ruijie Router

 
 
  1. Ra (config) # username Rb password 0 star uses the Host Name of the other party as the user name, And the password is consistent with the vro of the other party.
  2. Ra (config) # interface serial 1/2 enters port S1/2
  3. Ra (config-if) # encapsulation PPP defines the encapsulation type as PPP
  4.  

Verify the configuration of the ruijie router configuration command

 
 
  1. Rb (config) # username Ra password 0 star uses the Host Name of the other party as the user name, And the password is consistent with the vro of the other party.
  2. Rb (config) # interface serial 1/2 enters port S1/2
  3. Rb (config-if) # encapsulation PPP defines the encapsulation type as PPP
  4. Rb (config-if) # ppp authentication chapPPP enable CHAP authentication
  5.  


 

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.