Collection of common router configuration commands for network Planners

Source: Internet
Author: User

1. Enter the privileged mode, global configuration mode, interface configuration mode, virtual terminal configuration mode, and RIP Route Protocol configuration mode.

Router> enable
Password:
Router #
Router # configure terminal
Router (config )#
Router (config) # int f0/12
Router (config-if )#
Router (config) # line vty 0 15
Router (config-line )#
Router (config) # router rip
Router (config-router )#

2. Configure the remote logon Password

Router (config) # line vty 0 15
Router (config-line) # password 7 isncgyx

3. Copy the configuration file to the TFTP Server.

Router # write network

4. Copy running-config to the TFTP Server

Router # copy running-config tftp:

5. Copy the configuration file in bootflash to the TFTP Server.

Router # copy bootflash: tftp:

6. Copy the configuration file from the TFTP Server to the vro

Router # copy tftp: running-config

7. Copy the configuration file on the TFTP Server to bootflash.

Router # copy tftp: bootflash:

8. Configure the Host Name of the vro.

Router (config) # hostname Router-isnc

9. Configure the superuser password

Router (config) # enable secret isncgyx

10. Set the system clock

Router # calendar set 11:30:00 16 October 2011

11. Save the Configuration

Router # write memory
Router # write network tftp

12. Delete Configuration

Router # write erase

13. Basic detection commands (telnet, ping, and trace)

Router> telnet paris/221.4.8.1
Router> ping 192.168.201.64
Router> trace 210.38.160.5
Router> traceroute www.yourtion.com

14. view the details of flash, system clock, software and hardware version, router configuration, and route table and IP routing protocol.

Router> show flash
Router> sh clock
Router> sh version
Router # sh configuration
Router # sh ip route
Router # sh ip protocols

15. Configure the Interface Description

Router (config-if) # description To-JiaYing University

16. Configure the interface bandwidth

Router (config-if) # bandwidth 2500,000

17. Configure the IP address of the interface

Router (config-if) # ip address 202.112.7.249 255.255.255.252

18. Enabling and disabling Interfaces

Router (config-if) # shutdown/no shutdown

19. No ARP proxy

Router (config-if) # duplex ful
L # no ip directed-broadcast
# No ip proxy-arp

20. Configure asynchronous serial interfaces

Router (config) # interface a1
Router (config-if) # ip unnumbered ethernet0
Router (config-if) # encapsulation ppp
Router (config-if) # async default ip address 202.112.7.129
Router (config-if) # async dynamic routing
Router (config-if) # async mode interactive
Router (config-if) # no shutdown
Router (config-if) # exit
Router (config) # exit
Router (config )#

21. Configure the High-Speed Synchronous Serial Interface

Router (config) # interface s1/1
Router (config-if) # description To-shenzhen
Router (config-if) # bandwidth 2048
Router (config-if) # ip address 212.112.41.81 255.255.255.252
Router (config-if) # encapsulation hdlc
Router (config-if) # no ip directed-broadcast
Router (config-if) # no ip proxy-arp

22. Configure the POS interface

Router (config) # interface POS3/0
Router (config-if) # description To TianJingDaXue
Router (config-if) # bandwidth 2500,000
Router (config-if) # ip address 212.12.37.18 255.255.255.252
Router (config-if) # crc 32
Router (config-if) # pos framing sdh
Router (config-if) # no ip directed-broadcast
Router (config-if) # pos flag s1 s0 2

23. loopback interface configuration

Router (config) # int loopback 0
Router (config-if) # ip address 192.167.167.9 255.255.255.255
Router (config-if) # no ip route-cache
Router (config-if) # no ip mroute-cache

24. Configure static routes

Router (config) # ip route 192.65.96.0 route 255.240.0 222.112.37.1 (static route configuration)

25. Enter the RIP configuration mode.

Router (config) # router rip

26. Set the network address involved in the RIP Protocol

Router (config-router) # network 159.105.0.0

27. Configure the RIP passive Interface

Router (config-router) # passive-interface ethernet 0

28. Configure route Filtering for RIP

Router (config) # access-list 12 deny any
Router (config) # router rip
Router (config-router) # distribute-list 12 in ethernet0

29. Configure the RIP Management Distance

Rostance (config-Router) # distance 50

30. Configure the RIP neighbor Router

Router (config-router) # neighbor 202.112.7.2

31. configure a single IP address to participate in OSPF

Router (config) # router ospf 63
Router (config-router) # network 131.107.25.1 0.0.0.0 area 0

32. network address participation in OSPF

Router (config-router) # network 133.181.0.0 0.0.255.255 area 0

33. Define the subnet address involved in OSPF

Router (config-router) # area 0 range 212.37.123.0 255.255.255.0

34. Configure passive interfaces (including configurations of routers and layer-3 switches)

Router (config-router) # passive-interface Ethernet 0
Router (config-router) # passive-interface vlan37

35. Configure route Filtering

Router (config) # access-list 12 deny any
Router (config) # router ospf 63
Router (config-router) # distribute-list 12 in serial 0

36. Configuration Management Distance

Rostance (config-Router) # distance 10

37. Configure the cost of OSPF introducing external routes

Router (config-router) # redistribute metric 100

38. Configure the default tag value when introducing external routes

Router (config-router) # redistribute tag 10

39. Configure the default external route type when introducing external routes

Router (config-router) # redistribute connected metric-type 1 subnets

40. Configure the IP address pool name

Router (config) # ip dhcp pool ttt/234

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.