Posts

Showing posts with the label CISCO

CISCO ROUTER BASIC CONFIGURATION

Set Hostname. R1(config)#hostname BOL_RTR Set WAN IP. BOL_RTR(config)#interface fastEthernet 0/0 BOL_RTR(config-if)#description WAN interface BOL_RTR(config-if)#ip address 192.168.1.151 255.255.255.0 BOL_RTR(config-if)#duplex full BOl_RTR(config-if)#ip nat outside BOL_RTR(config-if)#no shutdown Set route for INTERNET ACCESS. BOL_RTR(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 Set LAN IP (as Gateway). BOL_RTR(config)#interface fastEthernet 0/1 BOL_RTR(config-if)#description LAN_interface BOL_RTR(config-if)#ip address 172.16.16.1 255.255.0.0 BOL_RTR(config-if)#duplex full BOL_RTR(config-if)#ip nat inside BOL_RTR(config-if)#no shutdown Configure DHCP for LAN. BOL_RTR(config)#ip dhcp pool LAN BOL_RTR(dhcp-config)#network 172.16.16.0 255.255.0.0 BOL_RTR(dhcp-config)#default-router 172.16.16.1 Set DNS. BOL_RTR(config)#ip name-server 8.8.8.8 BOL_RTR(config)#no ip domain-lookup BOL_RTR(config)#no aaa new-model Set NAT. BOL_RTR(config)#ip nat pool LAN 192.168.1.151 192.168.1.151 netmask...

CISCO SWITCH BASIC CONFIGURATION GUIDE

ALL AUTHENTICATION CONFIGURATION 1. Set hostname #hostname NAME-IP 2. Set domain name #ip domain-name drbdtest.com 3. Set username and password #username admin privilege 15 password 123456 4. Set enable password #enable password 123456 5. Encrypt all existing and future passwords #service password-encryption 6. Generate crypto key to enable ssh login #crypto key generate rsa 7. Enable ssh version #ip ssh version 2 8. Configure console login #line console 0 #password 123456 #login local 9. Configure line vty login #line vty 0 5 #password 123456 #transport input ssh #login local #line vty 6 15 #password 123456 #transport input ssh #login local 10. Configure authentication #aaa new-model #aaa authentication login default local #aaa authentication enable default enable INTERFACE, IP & VLAN CONFIGURATION 11. IP & Gateway configuration #interface vlan1 #no shutdown #ip address 192.168.0.100 255.255.255.0 #no ip route-cache #ip default-...

Download CISCO IOS Firmware

Please visit below mentioned link: http://tfr.org/cisco-ios/

Steps to upgrade firmware of CISCO 3560 switch

  Steps to upgrade firmware of CISCO 3560 switch *** Disable your PC's firewall to avoid any issue. Step-1 Download the firmware of Cisco 3560 switch [Copy & Paste below mentioned link into your browser] https://imsilsa-my.sharepoint.com/:u:/g/personal/afeesnest_imsilsa_onmicrosoft_com/EfKcFKlGzl1PuUzboSvm6XgBsnzT5ksbWpWfLl80rPD5FA?e=bWKXB9 Step-2 Download the Tftp software [Copy & Paste below mentioned link into your browser] https://imsilsa-my.sharepoint.com/:u:/g/personal/afeesnest_imsilsa_onmicrosoft_com/EfoKo_EJ2s1IvbLv9iAzB94B5G7w6ZhDJSLpBbXB8jnrfg?e=txiFBu Install the Tftp software. Copy the downloaded firmware into the system directory of Tftp software. C:\Program Files\Tftpd64\ c3560-advipservicesk9-mz.122-25.SEE4.bin   Step-3 Login into the switch using console cable Setup an IP ADDRESS & GATEWAY into the default VLAN of the switch #ip address 192.168.1.10 255.255.255.0 # ip default-gateway 192.168.1.1   Step-4 ...

Switch Port Configuration

Image
Cisco Operating Systems Cisco offers two brands of network switches: • Catalyst – Cisco’s flagship switching platform, with a large selection of models spanning  access, distribution, and core layers. • Nexus – high-end switches focused at datacenter environments. Depending on the brand and model, Cisco supports one of three switch operating systems: • Catalyst OS (CatOS) - interface based on set commands, that is almost entirely deprecated. CatOS will not be covered in this guide. • IOS – interface that is nearly identical to the Cisco router IOS, except for switching-specific commands. • NX-OS – interface supported exclusively on Nexus brand switches. Traditionally, network connections on switches have been referred to as ports, while on routers they are referred to as interfaces. However, in the Cisco IOS, switch ports are referred to as interfaces as well.  Additionally, most Cisco switches are modular. Thus, configuration commands must ...

Switching Tables (Part-4)

Managing the CAM Table Each entry in the CAM table contains the following information: • The MAC address • The switch port the MAC address was learned on • The VLAN of the switch port • A time stamp, for the aging timer To view the entire CAM table: Switch# show mac address-table vlan mac address type port -------+---------------+---------+--------------------- 9 000c.291e.96f0 dynamic GigabitEthernet1/1 9 000c.293c.7cac dynamic GigabitEthernet1/1 9 000c.2950.e3e9 dynamic GigabitEthernet1/1 9 000c.29ba.fe28 dynamic GigabitEthernet1/2 9 842b.2ba6.3a7d dynamic GigabitEthernet1/3 9 d067.e50b.1975 dynamic GigabitEthernet1/5 9 d067.e51e.e35a dynamic GigabitEthernet2/1 9 f04d.a2f6.d37b dynamic GigabitEthernet2/2 A single switch port can learn many addresses. In the above output, GigabitEthernet1/1 has multiple MAC addresses associated with it. This usually indicates this is an uplink to another switch. To view the CAM table entries for a specific port or MAC address...

Switching Tables (Part-3)

CAM and TCAM Tables On Cisco switches, the MAC address table is stored in Content  Addressable Memory (CAM). CAM differs from the more prevalent Random Access Memory (RAM): • RAM queries a specific memory address, and then returns the data or  content stored at that address location. • CAM operates essentially in the reverse, and does not require that a  memory address be provided. Instead, CAM queries for the desired  content, and then returns all matching results, including any  associated content. CAM is significantly faster than RAM, as it searches the entire memory  content in one cycle, instead of a single address at a time. However, CAM is  more expensive than RAM.  When performing a MAC address table lookup, the MAC address itself is  the content being queried. For any matching results, CAM will return the  destination port (the associated content). Cisco uses the terms MAC address table and CAM table inter...

Switching Tables (Part-2)

Image
MAC Address Table In the Part-1, the switch made a forwarding decision based on  the destination host’s hardware address. The switch essentially forwarded  the frame from one port’s ingress queue to another port’s egress queue.  To perform this forwarding decision, a switch consults its hardware address  table. For Ethernet switches, this is referred to as the MAC address table,  or the Layer-2 forwarding table.  When a switch is first powered on, the MAC address table will be empty.  The switch will build the table through a dynamic learning process, by  observing the source MAC address of frames: 1. Initially, the switch will have no knowledge of the MAC addresses of  HostA and HostB. 2. When HostA sends a frame to HostB, the switch will add HostA’s MAC  address to its table, associating it with port ethernet1. 3. The switch will not learn HostB’s MAC address until HostB sends a  frame back to HostA, or to any ot...

Switching Tables (Part-1)

Image
Layer-2 Forwarding Overview Layer-2 devices build hardware address tables, which at a minimum contain the following: • Hardware addresses for hosts (such as Ethernet MAC addresses) • The port each hardware address is associated with Using this information, Layer-2 devices will make intelligent forwarding decisions based on the frame (or data-link) header. A frame can then be forwarded out only the appropriate destination port, instead of all ports. Layer-2 forwarding was originally referred to as bridging. Bridging is a largely deprecated term (mostly for marketing purposes), and Layer-2 forwarding is now commonly referred to as switching.  Switching Queues Layer-2 switches utilize queues to store incoming and outgoing frames.  Consider the following diagram: 1. The switch receives a frame on Port 1, from HostA destined for HostB. 2. The frame is placed in Port 1’s ingress queue. 3. The switch perform...

CISCO FLEX Configuration (L2 Failover)

Image
Default Configuration The Flex Links are not configured, and there are no backup interfaces defined. The preemption mode is OFF. The preemption delay is 35 seconds. The MAC address-table move update feature is not configured on the switch. Restrictions for Flex Links  • You can configure only one Flex Links backup link for any active link, and it must be a different interface from the active interface.  • An interface can belong to only one Flex Links pair. An interface can be a backup link for only one active link. An active link cannot belong to another Flex Links pair.  • Neither of the links can be a port that belongs to an EtherChannel. However, you can configure two port channels (EtherChannel logical interfaces) as Flex Links, and you can configure a port channel and a physical interface as Flex Links, with either the port channel or the physical interface as the active link.  • A backup link does not have to be the same t...