Cisco router configuration pdf


Cisco Secure Router Series Software Configuration Guide When the router first boots up, some basic configuration has already been performed. All of the. Basic Router Configuration Viewing the Default Configuration Information Needed for Customizing the Default Parameters Interface Port Labels Cisco Router Configuration Tutorial. Cisco Inter-network Operating System: Cisco IOS Modes of Operation. The Cisco IOS software provides access to several.

Language:English, Spanish, Indonesian
Published (Last):24.08.2016
Distribution:Free* [*Register to download]
Uploaded by: THAD

54936 downloads 153843 Views 23.71MB PDF Size Report

Cisco Router Configuration Pdf

Download this Cisco Router Configuration Commands Cheat Sheet in PDF format at the end of this post most important CLI commands are included. Basic Cisco Router Configuration: Multiple Routers. Routers rarely exist alone. Most organizations have several to several dozens of routers. In this Lab, we. This document is Cisco Public Information. Page 1 of CCNA Discovery. Introducing Routing and Switching in the Enterprise. Lab Configuring Basic .

This allows for easy template creation, backup, and replication of system configuration. The current configuration can be viewed using the show configuration command. This is done using the save command in configuration mode. To exit configuration mode without applying changes, the exit discard command can be used. Use 'exit discard' to discard the changes and exit. Ethernet interfaces, for example, allow the configuration of speed and duplex. Many services, such as network routing, firewall, and traffic policy also maintain interface-specific configuration. These will be covered in their respective sections. Below is an example configuration: set interfaces ethernet eth1 address ' Statistics available are driver dependent. The term used for this is vif. A bridge is created when a bridge interface is defined. An IP address can be assigned to the bridge interface itself, however, like any normal interface. STP is disabled by default. NOTE: Please use caution when introducing spanning-tree protocol on a network as it may result in topology changes.

STP is disabled by default. NOTE: Please use caution when introducing spanning-tree protocol on a network as it may result in topology changes. The MAC aging time can also be configured using the aging directive. For member interfaces, the bridge-group priority and cost can be configured. It's called bonding, or LAG, or etherchannel, or portchannel. Create interface bondX, where X is just a number: set interfaces bonding bond0 description 'my-sw1 int 23 and 24' You are able to choose a hash policy: vyos vyos set interfaces bonding bond0 hash-policy Possible completions: layer2 use MAC addresses to generate the hash Static Static routes are manually configured network routes.

A typical use for a static route is a static default route for systems that do not make use of DHCP or dynamic routing protocols: set protocols static route 0. This does not prevent networks within these segments from being used, since the most specific route is always used.

It does, however, prevent traffic to unknown private networks from leaving the router.

Cisco Router Configuration Commands – CLI Cheat Sheet

Commonly referred to as leaking. Node 1: set interfaces loopback address 1. Node 1: set protocols ospfv3 area 0. Traffic can be matched using standard 5-tuple matching source address, destination address, protocol, source port, destination port. To create routing table and add a new default gateway to be used by traffic matching our route policy: set protocols static table route 0.

QOS on a per-rule basis for matching traffic. In addition to 5-tuple matching, additional options such as time-based rules, are available.

Cisco Router Configuration Commands – CLI Cheat Sheet

See the built-in help for a complete list of options. Firewall VyOS makes use of Linux netfilter for packet filtering. The firewall supports the creation of groups for ports, addresses, and networks implemented using netfilter ipset and the option of interface or zone based firewall policy.

Important note on usage of terms: The firewall makes use of the terms in, out, and local for firewall policy. This is not the case. Zone-based Firewall Policy As an alternative to applying policy to an interface directly, a zone-based firewall can be created to simplify configuration when multiple interfaces belong to the same security zone. Instead of applying to rulesets to interfaces they are applied to source zone-destination zone pairs.

An introduction can to zone-based firewalls can be found here. For an example see Zone-policy example.

Groups Firewall groups represent collections of IP addresses, networks, or ports. Once created, a group can be referenced by firewall rules as either a source or destination. Members can be added or removed from a group without changes to or the need to reload individual firewall rules.

Note that groups can also be referenced by NAT configuration.

If you foresee the need to add a mix of addresses and networks, the network group is recommended. Ranges of ports can be specified by using a -. Each rule is numbered, has an action to apply if the rule is matched, and the ability to specify the criteria to match. Note only one rule-set can be applied to each interface for in, out, or local traffic for each protocol IPv4 and IPv6.

In large networks this can be unmanageable. You need to specify the destination network address, its mask and the address of the next hop towards the destination. You can also specify the exit interface instead of the next hop address. Using the exit interface will cause the router to reply or ARP query and response from the next hop router and is not generally recommended.

Administrative distance - Wikipedia

Figure Static Routing Let us configure our example network shown in Figure Figure is repeated as Figure so that you it is easier to understand , using static routing.

To configure static routing, you need to look at the path traffic will taken from source to destination and back from destination to source. Each router in the path should know the source and destination network.

So assuming our source is in network Router1 does not know about the destination network. So we need to add a route. The route can be added using the following command: Router1 config ip route So we need to add a route telling it that the next hop towards The following command can be used to add the route: Router2 config ip route So a route need not be added.

To view the routing table and verifying static routing, you can use the show ip route command. The meaning of each letter is given at the beginning of the output as can be seen form the output from Router1. C stands for directly connected routes. These are the networks to which the router is directly connected. S stands for static routes. As you can see, the routes that you added are shown in lines that start with S. You should verify the network and subnet mask in the output to see if you typed the correct information.

The outputs show that all the routes that you added above have taken effect and traffic can flow between the You may have noticed that Router1 still does not know about the network between Router2 and Router3 Though it is not necessary for them to know about these networks, from a troubleshooting perspective it better to add routes for these networks also as shown below: Router1 config ip route Default Routing Default routing can be considered a special type of static routing.

The difference between a normal static route and a default route is that a default route is used to send packets destined to any unknown destination to a single next hop address.

To understand how this works, consider Router1 from our example Figure , without any static routes in it. When it receives a packet destined to If a default route is added in Router1 with next hop address of Router2, all packets destined to any unknown destination, such as Default routes are useful when dealing with a network with a single exit point. It is also useful when a bulk of destination networks have to be routed to a single next-hop device.

When adding a default route, you should ensure that the next-hop device can route the packet further, or else the next hop device will drop the packet. Another point to remember is that when a more specific route to a destination exists in the routing table, the router will use that route and not the default route. The only time the router will use the default route is when a specific route does not exist.

The command to add a default route is same as that of adding a static route, but with the network address and mask set to 0.

Hence, we can remove the static routes from Router1 and Router3 and add default routes as shown below: Router1 config no ip route It still needs the static routes. Take a look at the routing table on Router1 and Router3 after the above changes: Router1 sh ip route Gateway of last resort is Apart from that, the gateway of last resort is now the next-hop as specified in the default route.

Basic Router Configuration Using Cisco Configuration Professional

A second way of adding a default route would be to specify the exit interface instead of the next-hop address. For example, on Router1, you can use the following command instead of the one used above: Router1 config ip route 0. While this will accomplish the same thing, the big difference is that a static route with an exit interface specified will take preference over a static route with next-hop specified. This is because the administrative distance of a route with exit interface is lower than the other one.

Administrative distance is covered later in the chapter. A third way of defining a default route is using the ip default-network command.

Similar articles

Copyright © 2019
DMCA |Contact Us