Posts

OSPF(Open Shortest Path First)

1. What is OSPF? OSPF (Open Shortest Path First) is Link State IGP Dynamic Routing protocol that operates directly over IP using protocol number 89 and AD 110. OSPF exchanges link state information using LSA (link state advertisement) to build LSDB (link state database) which represents complete network topology. OSPF runs SPF (shortest path first) also known as Dijkstra’s Algorithm on LSDB to calculate shortest path tree and selects best path based on metric called cost, which is derived from interface Bandwidth. Cost=reference BW(default:100Mbps)/interface BW) but can change reference bandwidth with “auto-cost reference-bandwidth xxxxxx” OSPF uses hierarchical multi-area design with area 0 as backbone to reduce LSDB size, limit SPF recalculations, and improve scalability and convergence in large networks.  2. What are OSPF Features? 1.Fast Convergence  -hello and dead timers for neighbor failure detection -Supports fast hello by using hello-multiplier comman...

Simple MPLS Packet Flow

Image
  I want to tell about simple MPLS packet Flow All core Routers(PE1,PE2,P1,P2) run IGP protocol(ISIS or OSPF) and MPLS LDP. IGP Phase(OSPF): PE2 advertise 20.20.20.0/30 network to OSPF and core routers learn that prefix. LDP Phase: PE2 locate label 20.20.20.0/30 as FEC(forwarding Equivalent Class): 20.20.20.0/30:Label3 and advertised to P2(upstream device). P2 locate label 20.20.20.0/30 as FEC: 20.20.20.0/30: Label300 and advertised to P1(upstream device). P1 locate Label 20.20.20.0/30 as FEC: 20.20.20.0/30: Label200 and advertised to PE1(upstream device). PE1 locate Label 20.20.20.0/30 as FEC:20.20.20.0/30: Label100 and advertised to upstream device(currently not have) 1. Host1 Operation:"ping 20.20.20.2 -Forwarding Lookup based on Destination IP and Out-Interface: IntH1 -TTL handling:TTL is 127 and reduce 126 -Ethernet-Frame: Ethernet Header: Src-MAC:Host1-mac, Dest-MAC:CE1-IntA2-MAC, Ether-Type(0x0800: IPv4) IP Header: src-IP:10.10.10.2, Dest:20...

NETFLOW

 Config ========================= flow exporter FE destination 192.168.245.1 export-protocol netflow-v9 option interface-table option interface-table timeout 60 source g0/0 transport udp 2055 template data timeout 60 sampler SM mode random 1 out-of 500 flow monitor FM exporter FE  record netflow-original cache entries 800000 cache timeout active 60 cache timeout inactive 15 int g0/0 ip flow monitor FM sampler SM

CISCO SNMP Config

 SNMPv2C Config ==================== snmp-server host 192.168.245.1 admin snmp-server community public ro snmp-server community private rw snmp-server enable traps SNMPv3 Config ======================= ip access-list SNMP_ACL permit 192.168.245.0 0.0.0.255 exit snmp-server view SNMP_VIEW iso include snmp-server group SNMP_GP priv v3 priv read SNMP_VIEW access-list SNMP_ACL snmp-server host 192.168.245.1 version 3 priv ycit snmp-server user ycit SNMP_GP v3 auth md5 testing123 priv des testing123 snmp-server enable traps snmp-server inform
Cisco Config Backup   FTP SERVER Username and Password Assign To Switch ================================================= ip ftp username ycit ip ftp password ycit123 Manual Backup to FTP Server =========================== copy startup-config ftp://10.16.10.1/test.txt Auto Backup To FTP Server when Type "write memory command" ========================== archive path ftp://10.16.10.1/test.txt write memory Verify =========================== show archive   #check archived files show archive config differences ftp://10.16.10.1/test.txt ftp://10.16.10.1/test1.txt #compare between two file in ftp server clear archive log config #clear archive log

SSH CONFIGURATION

 SSH CONFIG =========== 1.Create Domain Name for rsa create     (config)#ip domain name ycit.com 2.Generate RSA Key     (config)#crypto key generate rsa modulus 1024 3.Create Virtual Terminal Session (default =5)     (config)#line vty 0 4     (config-line)#transport input ssh     (config-line)#login local 4.Create Username and Password (also enable password)     (config)#username admin secret cisco     (config)#enable secret cisco

Telnet Configuration

Image
 Telnet ^^^^^^           line vty 0 4 transport input telnet password cisco    Troubleshooting     #show users