Technical Notes: Networks

From Mediawiki-1
Jump to navigation Jump to search

OSI Model

Osi-550x425.gif

Reference: https://alln-extcloud-storage.cisco.com/ciscoblogs/osi-550x425.gif


Cisco

Routing

 show forwarding route < … > vrf < … >  module < … 4 … >


Debugging

 debug interfaces backup all
 no debug all

SNMP

IOS

 snmp-server group CiscoSNMPgroup  v3 priv access 90
 snmp-server user CiscoSNMPusr CiscoSNMPgroup v3 auth md5 <auth pwd> priv des <priv pwd>
 ce1swie0002#show access-lists 90
 Standard IP access list 90
   50 permit 10.14.24.117
   10 permit 10.14.24.252 (40254897 matches)
   20 permit 10.15.22.251
   30 permit 10.14.14.239
   40 permit 10.14.11.15 (15845072 matches)
 ce1swie0002#

NexusOS

 snmp-server user CiscoSNMPusr vdc-operator auth md5 <auth pwd> priv <priv pwd> localizedkey

Sysinternals (www.sysinternals.com)

 tcpview => shows processes, pid, protocol, local IP/port, remote IP/port, state

Packet captures

Ref: http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/1089-cisco-router-embedded-packet-capture-configuration-usage-troubleshooting-exporting.html

On Nexus:

 ethanalyzer local int inbound display-filter <...> limit-capture-frames 0

Port Channels

 show port-channel summary

Span port sessions

 monitor session 1 
   source interface Ethernet1/13 both
   source interface Ethernet10/13 both
   source vlan 81-82,88,91,115,149-150,700-701 both
   destination interface Ethernet1/37
   destination interface Ethernet1/48
   destination interface Ethernet10/37
   no shut
 monitor session 10 
   source vlan 22,88,91,700-701,901,904 both
   destination interface Ethernet10/26
   no shut

VPN

 Sow dmvpn 

BGP

 show ip bgp summary
 show bgp vrf ce1-md204-45 all neighbors 10.144.225.108 advertised-routes

To advertise a route on has to add a static route, and then add it to an address family. Example is from md204 DTCC connection

 Conf t
 ip route vrf ce1-md204-45 145.221.127.36 255.255.255.255 10.144.225.108 name DTCC
 router bgp 65331
   address-family ipv4 vrf ce1-md204-39
     network 145.221.127.35 mask 255.255.255.255



Misc

 show interface snmp-ifindex
 show techsupport <ethpm | eltm >  < ilename >   … saves debug info on local file 
 show account log | last 100   … on Nexus