Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cisco:pastebin [2009/12/08 00:10]
a
cisco:pastebin [2014/05/17 13:18] (current)
79.24.101.124 [Slow ADSL with 12.4 IOS version?!]
Line 75: Line 75:
 </code> </code>
  
 +and some more
 +
 +<code>
 +alias exec siib sh ip int brief
 +alias exec srint sh run int
 +alias exec srb sh run | begin
 +alias exec srs sh run | sec
 +alias exec sri sh run | incl
 +alias exec sia sh ip access-list
 +</code>
 +
 +<code>
 +alias configure ping do ping
 +alias configure sh do sh
 +alias configure siib do siib
 +alias configure srint do srint
 +alias configure srb do srb
 +alias configure sri do sri
 +alias configure sia do sia
 +
 +alias interface ping do ping
 +alias interface sh do sh
 +alias interface siib do siib
 +alias interface srint do srint
 +alias interface srb do srb
 +alias interface sri do sri
 +alias interface sia do sia
 +
 +alias subinterface ping do ping
 +alias subinterface sh do sh
 +alias subinterface siib do siib
 +alias subinterface srint do srint
 +alias subinterface srb do srb
 +alias subinterface sri do sri
 +
 +alias subinterface sia do sia
 +</code>
 +
 +<code>
 +alias exec s show run
 +alias exec c config t
 +alias exec srs show run | section
 +alias exec srb show run | begin
 +alias exec si show run interface
 +alias exec sri show run | include
 +alias exec siib show ip interface brief | exclude admin
 +alias exec sib show ip bgp
 +alias exec sir show ip route
 +alias exec sirp show ip route vrf PURPLE
 +alias exec sibp show ip bgp vpnv4 vrf PURPLE
 +alias exec pp ping vrf PURPLE
 +alias exec zp show policy-map type inspect zone-pair
 +alias exec sci show crypto ipsec
 +alias exec sck show crypto isakmp
 +alias exec cci clear crypto sa
 +alias exec cck clear crypto isakmp
 +alias exec sio show ip ospf
 +alias exec sie show ip eigrp
 +</code>
  
 ===== A basic script for handling ACLs of your Cisco Catalyst ===== ===== A basic script for handling ACLs of your Cisco Catalyst =====
Line 245: Line 304:
 In fact, if you don’t define the clock rate command into the atm interface, the IOS set to 2600000 this parameter. To force it, use the command ‘clock rate aal5′; in my case I use the command ‘clock rate aal5 7000000′. In fact, if you don’t define the clock rate command into the atm interface, the IOS set to 2600000 this parameter. To force it, use the command ‘clock rate aal5′; in my case I use the command ‘clock rate aal5 7000000′.
  
-Below the download speed test guarantee the bandwith improvement.+Below the download speed test guarantee the bandwith improvement. More info on http://www.ciscozine.com/2009/11/05/slow-adsl-with-12-4-ios-version/
  
 ===== 1:1 NAT (not Cisco NAT) example ===== ===== 1:1 NAT (not Cisco NAT) example =====
Line 255: Line 314:
  ip address 10.66.175.21 255.255.240.0  ip address 10.66.175.21 255.255.240.0
  ip nat outside  ip nat outside
 + ! PPPoE ip tcp adjust-mss 1412
 ! !
 ! LAN interface ! LAN interface
Line 266: Line 326:
  
 <note tip>With this rule ''ip nat inside source static 192.168.156.2 10.66.175.21'' it's done DNAT/SNAT (portforwarding as well as source NAT). **If things are not working as they should you might have b0rken IOS firmware on Cisco router!**</note> <note tip>With this rule ''ip nat inside source static 192.168.156.2 10.66.175.21'' it's done DNAT/SNAT (portforwarding as well as source NAT). **If things are not working as they should you might have b0rken IOS firmware on Cisco router!**</note>
 +
 +
 +==== Cisco NAT ====
 +
 +<code>
 +ip nat pool NAT 10.252.162.2 10.252.162.2 netmask 255.255.255.252
 +ip nat inside source list 10 pool NAT overload
 +
 +
 +access-list 10 permit 10.52.4.0 0.0.0.255
 +</code>
 +===== NAT Based Upon Source Address =====
 +
 +{{http://evilrouters.net/wp-content/uploads/2010/04/source-address-based-nat.png}}
 +
 +See original source: http://evilrouters.net/2010/04/21/nat-based-upon-source-address/
  
  
cisco/pastebin.1260227429.txt.gz · Last modified: 2009/12/08 00:10 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready