Introduction to Cisco Route Configuration

Source: Internet
Author: User

Getting started with Cisco Route configuration is just getting started with cisco Route configuration. The following is a learning note. I feel like you are familiar with commands or multiple times. I. The status of all types of router> the user is in the USER command status, you can view the network and host router # the user is in privileged mode, you can view the status, you can also see and change the vrouter setting Content router (config) # global configuration status, you can set the global parameter router (config-if) #; router (config-line) #; router (config-router )#..... in the local configuration status, you can set the local parameters of the route. 2. Configure the port ip command enconfig t // global mode interface f0/0ip address 192.168.1.1 255.255.255.0 // set the port ipno shu // effective exitinterface f0/1ip address 192.168.10.1 255.255.255.0 no shuexitenddisable III. Configure the Static Routing command enconfig t // global mode ip route 192.168.100.0 255.255.255.0 192.168.10.2 // to 192.168.100.0/24 using the 192.168.10.2 interface endshow ip route // you can see the previously marked S, static Routing 4. configuring dynamic routing (RIP) run enconfig t // global mode no route rip // disable the rip Protocol route ripnetwork 192.168.1.0 // The network parameter is the network address corresponding to the two ports of the route network 192.168.10.0exitenddisable 5. Configure the DHCP command enconfig t // global mode ip dhcp excluded-address 192.168.1.1 // ip address to be excluded dhcp pool gr-dhcp-pool // ip address pool name default-server 192.168.1.1 // specify dhcp server network 192.168.1.0 255.255.255.0 // configure the network dns-server 61.177.7.1 // configure the dns server exitenddisable. You can use ip helper-address to specify the DHCP relay proxy interface FastEthernet0/1ip address 192.168.1.1 255.255.0ip helper-address 192.168.10.2 \ configure DHCP relay proxy, DHCP 6. Configure the NAT command enconfig t // global mode interface f0/0ip address 192.168.1.1 255.255.255.0ip nat inside // internal port no shuexitinterface f0/1ip address 192.168.10.1 255.255.0ip nat outside // external port no shuexitaccess-list 1 permit any // sets an accessible list ip address nat pool gr-nat-pool 192.168.10.3 192.168.10.254 netmask limit 255.0 // sets the allocation pool ip address nat inside resource list 1 pool gr-nat -pool overloadshow ip nat traslationsclear ip nat traslation * 7. Other sh running-config // display the current running configuration sh startup-config // display the startup configuration sh ip route // display the route sh nat traslations // display the current situation of nat

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.