Cisco Router basic Configuration command

Source: Internet
Author: User
Tags config stub

One

1.router (config) #router rip start RIP process

2.router (conifg-router) #network 172.17.0.0 The primary network that specifies the RIP protocol

3.router (config-router) #passive-interface F0/1 to configure F0/1 as passive port

4.router (config-router) #neighbor 172.17.12.67 Unicast notification of RIP updates to routers

5.router (config-if) #ip address 192.168.83.244 255.255.255.0 Primary IP addresses

Router (config-if) #ip address 10.33.55.1 255.255.255.0 secondary secondary IP addresses

Two

1.router (Config-router) #version 2 to configure RIP as version 2

2.router (CONFIG-IP) #ip RIP send version 1 only RIP 1 packets

Router (CONFIG-IP) #ip RIP receive version 2 only receives RIP 2 packets

3.router (config-router) #no auto-summary closing summary function

4.router (config-if) #no IP split-horizon off Horizontal segmentation

5.router#show IP OSPF database router 192.168.30.10 display Router LSA notification

Router#show IP OSPF database network 192.168.17.18 Display Network LSA notification

Router#show IP OSPF Database summary 172.16.121.0 Display Network Rollup LSA notification

Router#show IP OSPF database asbr-summary display ASBR Rollup LSA notification

Router#show IP OSPF database external 10.83.10.0 Display Autonomous System external LSA notification

Router#show IP OSPF database nssa-external display NSSA external LSA notification

Three

1.router (config) #router OSPF 10 configuration OSPF process ID

2.router (config) #interface loopback0

Router (config-if) #ip address 192.168.10.1 255.255.255.0 configuration Loopback0 interface

3.router (Config-router) #area 1 stub configuration stub area

4.router (Config-router) #area 1 stub no-summary configuration totally stubby zone

5.router (config-router) #area 1 nssa configuration Nssa Area

6.router (config-router) #area range 172.16.0.0 255.240.0.0 configuration address Rollup

7.router (config-router) #area virtual-link 192.168.100.33 configuration Virtual link

Four

1.router (config) #standby 172 IP 172.16.10.254 Join backup Group 172 specify virtual IP address

2.router (CONFIG-IF) #standby Priority 150 Configuration HSRP Priority 150

3.router (config-if) #standby the preemptive right of preempt configuration HSRP

4.router (config-if) #standby 2 9 2 indicates hello time, 9 means to hold time

5.router (config) #interface S0

6.router (config-if) #standby track S0 100 Configure the trace port S0 and reduce the port down by 100

7.router#show Standby Brief View the status of HSRP

8.router#no debuge all Turn off debugging features

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.