<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3660848822472857273</id><updated>2024-08-28T20:02:14.467+05:30</updated><title type='text'>magicport</title><subtitle type='html'>plug your network</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-8420404204251154912</id><published>2012-07-17T00:01:00.000+05:30</published><updated>2012-08-03T22:11:14.508+05:30</updated><title type='text'>ZBF Overview.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
• MQC-like syntax wrapper for CBAC&lt;br /&gt;
– Makes configuration more modular than CBAC&lt;br /&gt;
– Uses same CBAC inspection engine behind the&lt;br /&gt;
scenes.&lt;br /&gt;
• Allows for more granular control than CBAC&lt;br /&gt;
– Interfaces grouped together based on zone assignment&lt;br /&gt;
• E.g. zone “outside”, “inside”, “dmz”, etc.&lt;br /&gt;
– Firewall policy applies based on association of zones&lt;br /&gt;
• Called zone pairing&lt;br /&gt;
• E.g. “inside-to-outside” pairing, “outside-to-dmz” pairing, etc.&lt;br /&gt;
– Decoupling of interface and zone allows for better&lt;br /&gt;
maintenance&lt;br /&gt;
• Easy to add new “inside” or “outside” interfaces&lt;br /&gt;
• New interfaces automatically inherit policy applied to zone pairing.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ZBF Zone Types&lt;/b&gt;&lt;br /&gt;
• Two types of zones&lt;br /&gt;
– User defined zones&lt;br /&gt;
• E.g. “outside”, “inside”, etc.&lt;br /&gt;
– Self zone&lt;br /&gt;
• Traffic locally originated from and destined to router.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ZBF Traffic Filtering&lt;/b&gt;&lt;br /&gt;
• Intra zone traffic allowed&lt;br /&gt;
– E.g. “inside” to “inside”&lt;br /&gt;
• Inter zone traffic denied&lt;br /&gt;
– E.g. “outside” to “inside”&lt;br /&gt;
– Policy must manually define inspected/allowed&lt;br /&gt;
traffic flows.&lt;br /&gt;
&amp;nbsp;• Self traffic allowed by default&lt;br /&gt;
– Allows for control plane sessions&lt;br /&gt;
• E.g. OSPF adjacency&lt;br /&gt;
– Can be manually filtered with policy applied to&lt;br /&gt;
zone pairing&lt;br /&gt;
• E.g. “outside-to-self” pairing.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;ZBF Classification&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;• Like MQC, ZBPF uses class-map to match traffic flows&lt;br /&gt;
– class-map type inspect&lt;br /&gt;
– match-all vs. match-any&lt;br /&gt;
• Two different types of inspection classes&lt;br /&gt;
– Layer 3/4 class-maps&lt;br /&gt;
• Matches ACLs or protocols&lt;br /&gt;
• E.g. TCP port 23 from host 1.2.3.4&lt;br /&gt;
– Layer 7 class-maps&lt;br /&gt;
• Deep Packet Inspection (DPI)&lt;br /&gt;
• Application specific inspections&lt;br /&gt;
• E.g. HTTP POST message, SMTP recipient count, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;ZBF Policies&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;• Like MQC, ZBPF uses policy-map to apply actions&lt;br /&gt;
– policy-map type inspect&lt;br /&gt;
• Two different types of inspection policies&lt;br /&gt;
– Layer 3/4 policy-maps&lt;br /&gt;
• Calls Layer 3/4 class-map&lt;br /&gt;
– Layer 7 policy-maps&lt;br /&gt;
• Calls Layer 7 class-map&lt;br /&gt;
• Like MQC policy-map ends in class-default&lt;br /&gt;
– class-default drops all traffic by default.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;ZBF Layer 3/4 Policy Map Actions&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;• Inspect&lt;br /&gt;
– CBAC stateful inspection, similar to ASA MPF inspection&lt;br /&gt;
– Automatically allows return flows based on state table&lt;br /&gt;
• Pass&lt;br /&gt;
– One-way manual exception&lt;br /&gt;
– Traffic passed inside to outside does not automatically&lt;br /&gt;
pass outside to inside&lt;br /&gt;
• Drop&lt;br /&gt;
• Discard packets.&lt;br /&gt;
&amp;nbsp;• Log&lt;br /&gt;
– Generate syslog message&lt;br /&gt;
• Police&lt;br /&gt;
– Rate limit traffic to specified value&lt;br /&gt;
• Service-Policy&lt;br /&gt;
– Call Layer 7 policy-map for Deep Packet&lt;br /&gt;
Inspection.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;ZBF Layer 7 Policy Map Actions.&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;• Applies application specific action&lt;br /&gt;
– Different protocols support different actions&lt;br /&gt;
• Actions are…&lt;br /&gt;
– Allow&lt;br /&gt;
• Allow the session through&lt;br /&gt;
– Reset&lt;br /&gt;
• Send TCP RST to terminate session&lt;br /&gt;
– Log&lt;br /&gt;
• Generate syslog message&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/8420404204251154912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/07/zbpf-overview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/8420404204251154912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/8420404204251154912'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/07/zbpf-overview.html' title='ZBF Overview.'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-6835423033343851463</id><published>2012-07-16T23:53:00.004+05:30</published><updated>2012-07-16T23:53:26.717+05:30</updated><title type='text'>Context Based Access Control</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
• CBAC adds true stateful inspection to IOS&lt;br /&gt;• Performs protocol-specific inspection&lt;br /&gt;– Protocols matched based on port-number&lt;br /&gt;– Port-map table defined with ip port-map&lt;br /&gt;• Inspection rule defines protocols to inspect&lt;br /&gt;– ip inspect name &amp;lt;NAME&amp;gt;&lt;br /&gt;– Applies to an interface inbound or outbound&lt;br /&gt;– Opens hole in ACL applied in opposite direction.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Context Based Access Control&lt;/b&gt;&lt;br /&gt;
CBAC TCP Intercept&lt;br /&gt;• TCP Intercept is always on with CBAC inspection&lt;br /&gt;– Only Watch Mode supported&lt;br /&gt;• Configurable options:&lt;br /&gt;– ip inspect max-incomplete {high|low}&lt;br /&gt;– ip inspect one-minute {high|low}&lt;br /&gt;– ip inspect tcp max-incomplete host (perhost&lt;br /&gt;limit)&lt;br /&gt;– ip inspect tcp synwait-time (watch timeout).&lt;br /&gt;
&lt;b&gt;CBAC Scenarios.&lt;/b&gt;&lt;br /&gt;
• Users protection&lt;br /&gt;– CBAC inspects users’ traffic&lt;br /&gt;– Only specific protocols inspected, e.g. HTTP/DNS&lt;br /&gt;– All incoming traffic blocked, returning sessions allowed&lt;br /&gt;• Server protection&lt;br /&gt;– CBAC inspects traffic to server&lt;br /&gt;– Only selected traffic allowed from server.&lt;br /&gt;– TCP Intercept + Protocol Enforcement.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/6835423033343851463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/07/context-based-access-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6835423033343851463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6835423033343851463'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/07/context-based-access-control.html' title='Context Based Access Control'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-6399491879393936841</id><published>2012-07-16T23:48:00.002+05:30</published><updated>2012-07-16T23:48:27.014+05:30</updated><title type='text'>Reflexive ACLs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;• Adds simple state tracking to ACLs&lt;br /&gt;– Outbound ACL triggers “mirror” entry in state table&lt;br /&gt;– Inbound ACL checks state table first before denying&lt;br /&gt;• Entries expire after 5 minutes of inactivity&lt;br /&gt;– Modified via ip reflexive-list timeout&lt;br /&gt;• No application level inspection&lt;br /&gt;– Only works with “standard” TCP/UDP applications.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Reflexive ACL Configuration&lt;/b&gt;&lt;br /&gt;• Reflect outbound traffic&lt;br /&gt;• ip access-list extended OUTBOUND&lt;br /&gt;• permit tcp any any reflect STATEFUL&lt;br /&gt;• Check state table in opposite direction&lt;br /&gt;• ip access-list extended INBOUND&lt;br /&gt;• evaluate STATEFUL&lt;br /&gt;• deny ip any any (implicit)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/6399491879393936841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/07/reflexive-acls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6399491879393936841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6399491879393936841'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/07/reflexive-acls.html' title='Reflexive ACLs'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-5101865922527693255</id><published>2012-07-16T23:46:00.001+05:30</published><updated>2012-07-16T23:46:29.231+05:30</updated><title type='text'>Dynamic ACLs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
• “Lock and key” ACLs&lt;br /&gt;– Used to open a hole in the ACL based on authentication&lt;br /&gt;• Potential Applications&lt;br /&gt;– From inside to outside&lt;br /&gt;• User must first authenticate to send traffic to the Internet&lt;br /&gt;– From outside to inside&lt;br /&gt;• User must first authenticate to access internal web server&lt;br /&gt;• Replaced by Authentication Proxy&lt;br /&gt;– Per-user ACLs downloaded from AAA server&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dynamic ACL Configuration&lt;/b&gt;&lt;br /&gt;• ACL entry is defined as dynamic&lt;br /&gt;– access-list 100 dynamic TEST permit ip&lt;br /&gt;any any&lt;br /&gt;• Entry is activated by access-enable command&lt;br /&gt;– Can be per user or per line&lt;br /&gt;• username… autocommand access-enable [host]&lt;br /&gt;• line vty 0 4&lt;br /&gt;– autocommand access-enable [host].&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/5101865922527693255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/07/dynamic-acls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/5101865922527693255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/5101865922527693255'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/07/dynamic-acls.html' title='Dynamic ACLs'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-449385850247138905</id><published>2012-03-27T14:53:00.003+05:30</published><updated>2012-03-27T14:53:46.072+05:30</updated><title type='text'>NTP Access group</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
R4, R5, and R6 are connected via full mesh frame-relay&lt;br /&gt;R6 will be the NTP server.&lt;br /&gt;&lt;br /&gt;In scenario 1 we set up R4 to sync to R6. In this scenario we&lt;br /&gt;will prevent R5 from syncing with R6 by using ntp access-group command.&lt;br /&gt;&lt;br /&gt;I
 have never used this command before, so I hope I am understanding it 
correctly. If not, please let me know how else to test this command.&lt;br /&gt;&lt;br /&gt;On R6 we have the following ACL:&lt;br /&gt;&lt;br /&gt;access-list 1 permit 172.12.45.4&lt;br /&gt;access-list 1 permit 127.127.7.1&lt;br /&gt;&lt;br /&gt;172.12.45.4
 is the address of R4. 127.127.7.1 is the IP address that a cisco router
 uses as it&#39;s reference when you make the router an NTP master. This 
must be added to the ACL or it will become unsynchronized with itself.&lt;br /&gt;&lt;br /&gt;In global config mode we enter:&lt;br /&gt;&lt;br /&gt;ntp access-group serve-only 1&lt;br /&gt;&lt;br /&gt;Let&#39;s check the current times:&lt;br /&gt;&lt;br /&gt;R5#show clock&lt;br /&gt;16:15:04.031 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R6#show clock&lt;br /&gt;16:31:45.687 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R5
 is about 15 minutes behind. I don&#39;t know a way to debug on R6 to make 
sure it&#39;s working, so what I will do is wait about 10 minutes then add 
R5&#39;s IP address to ACL. I think 10 minutes is sufficient to prove that 
R6 is not allowing R5 to sync to it.&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Well it&#39;s almost 20 minutes now. Let&#39;s check if R4 is synchronized:&lt;br /&gt;&lt;br /&gt;R4#show ntp status | inc Cloc&lt;br /&gt;Clock is synchronized, stratum 3, reference is 172.12.45.6&lt;br /&gt;&lt;br /&gt;How about R5:&lt;br /&gt;&lt;br /&gt;R5#sho ntp status | inc Clock&lt;br /&gt;Clock is unsynchronized, stratum 16, no reference clock&lt;br /&gt;&lt;br /&gt;Some quick show clocks:&lt;br /&gt;&lt;br /&gt;R4#show clock&lt;br /&gt;16:49:06.505 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R5#show clock&lt;br /&gt;16:32:29.755 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R6#show clock&lt;br /&gt;16:49:12.335 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R5
 is still unsynchronized and more than 15 minutes behind R6. Let&#39;s add 
R5&#39;s address to ACL 1 on R6 and see how long it takes to sync...&lt;br /&gt;&lt;br /&gt;R6(config)#access-list 1 permit 172.12.45.5&lt;br /&gt;&lt;br /&gt;We&#39;ll debug on R5:&lt;br /&gt;&lt;br /&gt;R5#debug ntp sync&lt;br /&gt;NTP clock synchronization debugging is on&lt;br /&gt;R5#sho ntp status | inc Clock&lt;br /&gt;Clock is unsynchronized, stratum 16, no reference clock&lt;br /&gt;R5#&lt;br /&gt;May 31 16:33:54.039: NTP: synced to new peer 172.12.45.6&lt;br /&gt;&lt;br /&gt;Took less than a minute!&lt;br /&gt;&lt;br /&gt;This
 is the second of many NTP scenarios to come. It really seems so simple,
 but I have always had problems understanding NTP server/peer 
relationships and authentication configurations. So these will be the 
topics of future NTP blogs. Hopefully I (and you!) will become NTP 
masters in time for CCIE :)
&lt;br /&gt;


&lt;div class=&quot;post-footer&quot;&gt;

&lt;div class=&quot;post-footer-line post-footer-line-1&quot;&gt;
&lt;span class=&quot;post-author vcard&quot;&gt;
posted by
&lt;span class=&quot;fn&quot;&gt;deadhead blues&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;post-timestamp&quot;&gt;
at
&lt;a class=&quot;timestamp-link&quot; href=&quot;http://ccietobe.blogspot.in/2008/05/ntp-access-group.html&quot; rel=&quot;bookmark&quot; title=&quot;permanent link&quot;&gt;&lt;abbr class=&quot;published&quot; title=&quot;2008-05-31T15:53:00-07:00&quot;&gt;3:53 PM&lt;/abbr&gt;&lt;/a&gt;
&lt;/span&gt;
&lt;span class=&quot;post-comment-link&quot;&gt;
&lt;a class=&quot;comment-link&quot; href=&quot;http://ccietobe.blogspot.in/2008/05/ntp-access-group.html#comment-form&quot;&gt;0
comments&lt;/a&gt;
&lt;/span&gt;
&lt;span class=&quot;post-icons&quot;&gt;
&lt;span class=&quot;item-action&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/email-post.g?blogID=6193417800921617897&amp;amp;postID=6528176292145964968&quot; title=&quot;Email Post&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;icon-action&quot; src=&quot;img/icon18_email.gif&quot; /&gt;
&lt;/a&gt;
&lt;/span&gt;

&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;post-footer-line post-footer-line-2&quot;&gt;
&lt;span class=&quot;post-labels&quot;&gt;
Labels:
&lt;a href=&quot;http://ccietobe.blogspot.in/search/label/access-list&quot; rel=&quot;tag&quot;&gt;access-list&lt;/a&gt;,
&lt;a href=&quot;http://ccietobe.blogspot.in/search/label/network%20management&quot; rel=&quot;tag&quot;&gt;network management&lt;/a&gt;,
&lt;a href=&quot;http://ccietobe.blogspot.in/search/label/ntp&quot; rel=&quot;tag&quot;&gt;ntp&lt;/a&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;&quot; name=&quot;2937607623672947802&quot;&gt;&lt;/a&gt;
&lt;h3 class=&quot;post-title entry-title&quot;&gt;

&lt;a href=&quot;http://ccietobe.blogspot.in/2008/05/basic-ntp-configuration.html&quot;&gt;Basic NTP Configuration&lt;/a&gt;
&lt;/h3&gt;
I will call this NTP Scenario 1: Basic NTP with no authentication. There
 will be more blogs about NTP but this is just to get it started.&lt;br /&gt;&lt;br /&gt;R4, R5, and R6 are connected via full mesh frame-relay&lt;br /&gt;R6 will be the NTP server.&lt;br /&gt;&lt;br /&gt;First set the clock on R6:&lt;br /&gt;&lt;br /&gt;R6#clock set 15:47:30 31 May 2008&lt;br /&gt;*May 31 15:47:30.003: %SYS-6-CLOCKUPDATE: System clock has been updated from 01:&lt;br /&gt;05:19 UTC Fri Mar 1 2002 to 15:47:30 UTC Sat May 31 2008, configured from consol&lt;br /&gt;e by console.&lt;br /&gt;&lt;br /&gt;Verify the time with show clock:&lt;br /&gt;&lt;br /&gt;R6#show clock&lt;br /&gt;15:47:36.651 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;Configure R6 as the master along with stratum:&lt;br /&gt;&lt;br /&gt;R6#conf t&lt;br /&gt;R6(config)#ntp master ?&lt;br /&gt; &amp;lt;1-15&amp;gt;  Stratum number&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;R6(config)#ntp master 3&lt;br /&gt;R6(config)#^Z&lt;br /&gt;&lt;br /&gt;Verify that R6 is synced with itself:&lt;br /&gt;&lt;br /&gt;R6#show ntp associations&lt;br /&gt;&lt;br /&gt;     address         ref clock     st  when  poll reach  delay  offset    disp&lt;br /&gt;*~127.127.7.1      127.127.7.1       2    22    64    1     0.0    0.00  15875.&lt;br /&gt;* master (synced), # master (unsynced), + selected, - candidate, ~ configured&lt;br /&gt;&lt;br /&gt;R6#show ntp status&lt;br /&gt;Clock is synchronized, stratum 3, reference is 127.127.7.1&lt;br /&gt;nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**24&lt;br /&gt;reference time is CBEBF22C.1583DCD8 (15:50:04.084 UTC Sat May 31 2008)&lt;br /&gt;clock offset is 0.0000 msec, root delay is 0.00 msec&lt;br /&gt;root dispersion is 15875.02 msec, peer dispersion is 15875.02 msec&lt;br /&gt;&lt;br /&gt;Now it&#39;s time to configure the clients, let&#39;s first check the time on R4:&lt;br /&gt;&lt;br /&gt;R4#show clock&lt;br /&gt;*03:03:44.823 UTC Fri Mar 1 2002&lt;br /&gt;R4#conf t&lt;br /&gt;R4(config)#ntp server 172.12.45.6&lt;br /&gt;R4(config)#^Z&lt;br /&gt;R4#show clock&lt;br /&gt;*03:04:52.047 UTC Fri Mar 1 2002&lt;br /&gt;R4#&lt;br /&gt;&lt;br /&gt;Notice
 the time is 6 years behind the current date, I have noticed that NTP 
will not sync when the times are so far apart (Not sure how this works, 
but let&#39;s manually &#39;push&#39; R4 a little closer)&lt;br /&gt;&lt;br /&gt;R4#clock set 15:30:40 31 May 2008&lt;br /&gt;&lt;br /&gt;Now we&#39;re about 15 minutes behind. Let&#39;s do some debugging:&lt;br /&gt;&lt;br /&gt;R4#debug ntp sync&lt;br /&gt;NTP clock synchronization debugging is on&lt;br /&gt;&lt;br /&gt;.May 31 15:31:43.107: NTP: synced to new peer 172.12.45.6&lt;br /&gt;&lt;br /&gt;Noe that we&#39;re synced let&#39;s verify on R6 and R4:&lt;br /&gt;&lt;br /&gt;R4#show clock&lt;br /&gt;15:59:42.466 UTC Sat May 31 2008&lt;br /&gt;&lt;br /&gt;R6#show clock&lt;br /&gt;15:59:41.135 UTC Sat May 31 2008&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/449385850247138905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/ntp-access-group.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/449385850247138905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/449385850247138905'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/ntp-access-group.html' title='NTP Access group'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-6392693449157948042</id><published>2012-03-27T14:51:00.001+05:30</published><updated>2012-07-17T00:13:20.112+05:30</updated><title type='text'>Parser View</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: white;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;F&lt;span style=&quot;color: black;&quot;&gt;IRST, ENABLE AAA:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4#conf t &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config)#aaa new-model &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SET ENABLE PASSWORD:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config)#enable secret cisco&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config)#^Z&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SWITCH TO VIEW MODE:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4#en view&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;*Mar  2 23:03:20.352: %PARSER-6-VIEW_SWITCH: successfully set to view &#39;root&#39;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;NOW WE CAN CREATE THE VIEW:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config)#parser view operator&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#? &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;View commands:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;  commands  Configure commands for a view&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;  default   Set a command to its defaults&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;  exit      Exit from view configuration mode&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;  no        Negate a command or set its defaults&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;  secret    Set a secret for the current view&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#commands exec include ping&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;% Password not set for the view operator&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#secret operator&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#commands exec include ping&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#commands exec include show hardware&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#commands exec include show interface&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#commands exec include show ver      &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;R4(config-view)#exit&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;LOG IN TO THE VIEW:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-family: courier new; font-size: 85%;&quot;&gt;R4#en view operator&lt;br /&gt;Password:&lt;/span&gt;&lt;span style=&quot;font-family: courier new; font-size: 85%;&quot;&gt;*Mar  2 23:05:41.212: %PARSER-6-VIEW_SWITCH: successfully set to view &#39;operator&#39;.&lt;/span&gt;&lt;span style=&quot;font-family: courier new; font-size: 85%;&quot;&gt;R4#show ?&lt;br /&gt; flash:      display information about flash: file system&lt;br /&gt; hardware    Hardware specific information&lt;br /&gt; interfaces  Interface status and configuration&lt;br /&gt; parser      Display parser information&lt;br /&gt; slot0:      display information about slot0: file system&lt;br /&gt; slot1:      display information about slot1: file system&lt;br /&gt; version     System hardware and software status&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; ALSO, YOU CAN ADD THE VIEW TO THE USER:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-family: courier new; font-size: 85%;&quot;&gt;R4(config)#username operator view operator password operator&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/6392693449157948042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/parser-view.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6392693449157948042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/6392693449157948042'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/parser-view.html' title='Parser View'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-7417851048486471921</id><published>2012-03-17T18:40:00.000+05:30</published><updated>2012-03-25T19:58:42.002+05:30</updated><title type='text'>Configuring RIP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
RIP uses broadcast User Datagram Protocol (UDP) data packets to exchange routing information.&lt;br /&gt;
The Cisco IOS software sends routing information updates every 30 seconds; this process is termed&lt;br /&gt;
advertising. If a router does not receive an update from another router for 180 seconds or more, it&lt;br /&gt;
marks the routes served by the nonupdating router as being unusable. If there is still no update after&lt;br /&gt;
240 seconds, the router removes all routing table entries for the nonupdating router.&lt;br /&gt;
The metric that RIP uses to rate the value of different routes is hop count. The hop count is the&lt;br /&gt;
number of routers that can be traversed in a route. A directly connected network has a metric of zero;&lt;br /&gt;
an unreachable network has a metric of 16. This small range of metrics makes RIP an unsuitable&lt;br /&gt;
routing protocol for large networks.&lt;br /&gt;
If the router has a default network path, RIP advertises a route that links the router to the&lt;br /&gt;
pseudonetwork 0.0.0.0. The network 0.0.0.0 does not exist; RIP treats 0.0.0.0 as a network to&lt;br /&gt;
implement the default routing feature. The Cisco IOS software will advertise the default network if&lt;br /&gt;
a default was learned by RIP, or if the router has a gateway of last resort and RIP is configured with&lt;br /&gt;
a default metric.&lt;br /&gt;
RIP sends updates to the interfaces in the specified networks. If an interface’s network is not&lt;br /&gt;
specified, it will not be advertised in any RIP update.&lt;br /&gt;
Cisco’s implementation of RIP Version 2 supports plain text and MD5 authentication, route&lt;br /&gt;
summarization, classless interdomain routing (CIDR), and variable-length subnet masks (VLSMs).&lt;br /&gt;
For protocol-independent features, which also apply to RIP, see the chapter “Configuring IP Routing&lt;br /&gt;
Protocol-Independent Features” in this document.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RIP Configuration Task List&lt;/b&gt;&lt;br /&gt;
To configure RIP, complete the tasks in the following sections. You must enable RIP. The remaining&lt;br /&gt;
tasks are optional.&lt;br /&gt;
• Enable RIP&lt;br /&gt;
• Allow Unicast Updates for RIP&lt;br /&gt;
Enable RIP&lt;br /&gt;
P1C-90 Network Protocols Configuration Guide, Part 1&lt;br /&gt;
• Apply Offsets to Routing Metrics&lt;br /&gt;
• Adjust Timers&lt;br /&gt;
• Specify a RIP Version&lt;br /&gt;
• Enable RIP Authentication&lt;br /&gt;
• Disable Route Summarization&lt;br /&gt;
• Run IGRP and RIP Concurrently&lt;br /&gt;
• Disable the Validation of Source IP Addresses&lt;br /&gt;
• Enable or Disable Split Horizon&lt;br /&gt;
• Configure Interpacket Delay&lt;br /&gt;
• Filtering RIP information&lt;br /&gt;
• Key management (available in RIP Version 2)&lt;br /&gt;
• VLSM&lt;br /&gt;
&lt;b&gt;Enable RIP&lt;/b&gt;&lt;br /&gt;
To enable RIP, use the following commands, starting in global configuration mode:&lt;br /&gt;
Allow Unicast Updates for RIP&lt;br /&gt;
Because RIP is normally a broadcast protocol, in order for RIP routing updates to reach&lt;br /&gt;
nonbroadcast networks, you must configure the Cisco IOS software to permit this exchange of&lt;br /&gt;
routing information. To do so, use the following command in router configuration mode:&lt;br /&gt;
To control the set of interfaces with which you want to exchange routing updates, you can disable&lt;br /&gt;
the sending of routing updates on specified interfaces by configuring the passive-interface&lt;br /&gt;
command. See the discussion on filtering in the “Filter Routing Information” section in the&lt;br /&gt;
“Configuring IP Routing Protocol-Independent Features” chapter.&lt;br /&gt;
Apply Offsets to Routing Metrics&lt;br /&gt;
An offset list is the mechanism for increasing incoming and outgoing metrics to routes learned via&lt;br /&gt;
RIP. This is done to provide a local mechanism for increasing the value of routing metrics.&lt;br /&gt;
Optionally, you can limit the offset list with either an access list or an interface. To increase the value&lt;br /&gt;
of routing metrics, use the following command in router configuration mode:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;router rip&lt;/b&gt;&lt;br /&gt;
&lt;b&gt; version 1 or 2 ( 1 is default)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;network X.X.X.X&amp;nbsp; ( X=IP address) &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;no auto-summary&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Adjust Timers&lt;/b&gt;&lt;br /&gt;
Routing protocols use several timers that determine such variables as the frequency of routing&lt;br /&gt;
updates, the length of time before a route becomes invalid, and other parameters. You can adjust&lt;br /&gt;
these timers to tune routing protocol performance to better suit your internetwork needs. You can&lt;br /&gt;
make the following timer adjustments:&lt;br /&gt;
• The rate (time in seconds between updates) at which routing updates are sent&lt;br /&gt;
• The interval of time (in seconds) after which a route is declared invalid&lt;br /&gt;
• The interval (in seconds) during which routing information regarding better paths is suppressed&lt;br /&gt;
• The amount of time (in seconds) that must pass before a route is removed from the routing table&lt;br /&gt;
• The amount of time for which routing updates will be postponed&lt;br /&gt;
It also is possible to tune the IP routing support in the software to enable faster convergence of the&lt;br /&gt;
various IP routing algorithms, and, hence, quicker fallback to redundant routers. The total effect is&lt;br /&gt;
to minimize disruptions to end users of the network in situations where quick recovery is essential.&lt;br /&gt;
To adjust the timers, use the following command in router configuration mode:&lt;br /&gt;
&lt;b&gt;Specify a RIP Version&lt;/b&gt;&lt;br /&gt;
Cisco’s implementation of RIP Version 2 supports authentication, key management, route&lt;br /&gt;
summarization, classless interdomain routing (CIDR), and variable-length subnet masks (VLSMs).&lt;br /&gt;
Key management and VLSM are described in the chapter “Configuring IP Routing&lt;br /&gt;
Protocol-Independent Features.”&lt;br /&gt;
By default, the software receives RIP Version 1 and Version 2 packets, but sends only Version 1&lt;br /&gt;
packets. You can configure the software to receive and send only Version 1 packets. Alternatively,&lt;br /&gt;
you can configure the software to receive and send only Version 2 packets. To do so, use the&lt;br /&gt;
following command in router configuration mode:&lt;br /&gt;
Command Purpose&lt;br /&gt;
offset-list [access-list-number | name] {in | out} offset&lt;br /&gt;
[type number]&lt;br /&gt;
Apply an offset to routing metrics.&lt;br /&gt;
Command Purpose&lt;br /&gt;
timers basic update invalid holddown flush [sleeptime] Adjust routing protocol timers.&lt;br /&gt;
Command Purpose&lt;br /&gt;
version {1 | 2} Configure the software to receive and send only&lt;br /&gt;
RIP Version 1 or only RIP Version 2 packets.&lt;br /&gt;
The preceding task controls the default behavior of RIP. You can override that behavior by&lt;br /&gt;
configuring a particular interface to behave differently. To control which RIP version an interface&lt;br /&gt;
sends, use one of the following commands in interface configuration mode:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, to control how packets received from an interface are processed, use one of the following&lt;br /&gt;
commands in interface configuration mode:&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;Enable or Disable Split Horizon&lt;/b&gt;&lt;br /&gt;
Normally, routers that are connected to broadcast-type IP networks and that use distance-vector&lt;br /&gt;
routing protocols employ the split horizon mechanism to reduce the possibility of routing loops.&lt;br /&gt;
Split horizon blocks information about routes from being advertised by a router out of any interface&lt;br /&gt;
from which that information originated. This behavior usually optimizes communications among&lt;br /&gt;
multiple routers, particularly when links are broken. However, with nonbroadcast networks (such as&lt;br /&gt;
Frame Relay and SMDS), situations can arise for which this behavior is less than ideal. For these&lt;br /&gt;
situations, you might want to disable split horizon. This applies to IGRP and RIP.&lt;br /&gt;
If an interface is configured with secondary IP addresses and split horizon is enabled, updates might&lt;br /&gt;
not be sourced by every secondary address. One routing update is sourced per network number&lt;br /&gt;
unless split horizon is disabled.&lt;br /&gt;
To enable or disable split horizon, use one of the following commands in interface configuration&lt;br /&gt;
mode:&lt;br /&gt;
Split horizon for Frame Relay and SMDS encapsulation is disabled by default. Split horizon is not&lt;br /&gt;
disabled by default for interfaces using any of the X.25 encapsulations. For all other encapsulations,&lt;br /&gt;
split horizon is enabled by default.&lt;br /&gt;
See the “Split Horizon Examples” section at the end of this chapter for examples of using split&lt;br /&gt;
horizon.&lt;br /&gt;
Note In general, changing the state of the default is not recommended unless you are certain that&lt;br /&gt;
your application requires making a change in order to advertise routes properly. Remember: If split&lt;br /&gt;
horizon is disabled on a serial interface (and that interface is attached to a packet-switched network),&lt;br /&gt;
you must disable split horizon for all routers in any relevant multicast groups on that network.&lt;br /&gt;
&lt;b&gt;ip split-horizon&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :Enable split horizon.&lt;br /&gt;no ip split-horizon&amp;nbsp;&amp;nbsp; :Disable split horizon.&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/7417851048486471921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/configuring-rip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/7417851048486471921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/7417851048486471921'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/configuring-rip.html' title='Configuring RIP'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-7149449483845089509</id><published>2012-03-08T14:07:00.000+05:30</published><updated>2012-03-08T14:07:07.248+05:30</updated><title type='text'>Default 802.1X Configuration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Enabling 802.1X Authentication&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Step 1 configure termina&lt;/b&gt;l&lt;br /&gt;
&amp;nbsp;Enter global configuration mode.&lt;br /&gt;&lt;b&gt;Step 2 aaa new-model Enable AAA.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;S&lt;b&gt;tep 3 aaa authentication dot1x {default}&lt;/b&gt;&lt;br /&gt;method1 [method2...]&lt;br /&gt;Create an 802.1X authentication method list.&lt;br /&gt;To create a default list that is used when a named list is not specified in&lt;br /&gt;the authentication command, use the default keyword followed by the&lt;br /&gt;methods that are to be used in default situations. The default method list&lt;br /&gt;is automatically applied to all interfaces.&lt;br /&gt;Enter at least one of these keywords:&lt;br /&gt;• group radius—Use the list of all RADIUS servers for authentication.&lt;br /&gt;• none—Use no authentication. The client is automatically&lt;br /&gt;authenticated without the switch using the information supplied by&lt;br /&gt;the client.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 4 interface interface-id&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;Enter interface configuration mode, and specify the interface to be&lt;br /&gt;enabled for 802.1X authentication.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 5 dot1x port-control auto Enable 802.1X authentication on the interface.&lt;/b&gt;&lt;br /&gt;For feature interaction information with trunk, dynamic, dynamic-access,&lt;br /&gt;EtherChannel, secure, and SPAN ports see the “802.1X Configuration&lt;br /&gt;Guidelines” section on page 8-7.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 6 end Return to privileged EXEC mode.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 7 show dot1x Verify your entries.&lt;/b&gt;&lt;br /&gt;Check the Status column in the 802.1X Port Summary section of the&lt;br /&gt;display. An enabled status means the port-control value is set either to&lt;br /&gt;auto or to force-unauthorized.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 8 copy running-config startup-config (Optional) &lt;/b&gt;Save your entries in the configuration file.&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;eg:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Switch# configure terminal&lt;br /&gt;Switch(config)# aaa new-model&lt;br /&gt;Switch(config)# aaa authentication dot1x default group radius&lt;br /&gt;Switch(config)# interface fastethernet0/1&lt;br /&gt;Switch(config-if)# dot1x port-control auto&lt;br /&gt;Switch(config-if)# end&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Configuring the Switch-to-RADIUS-Server Communication&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1 configure terminal Enter global configuration mode.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Step 2 radius-server host {hostname |&lt;/b&gt;&lt;br /&gt;ip-address} auth-port port-number key&lt;br /&gt;string&lt;br /&gt;Configure the RADIUS server parameters on the switch.&lt;br /&gt;For hostname | ip-address, specify the host name or IP address of the&lt;br /&gt;remote RADIUS server.&lt;br /&gt;For auth-port port-number, specify the UDP destination port for&lt;br /&gt;authentication requests. The default is 1812.&lt;br /&gt;For key string, specify the authentication and encryption key used&lt;br /&gt;between the switch and the RADIUS daemon running on the RADIUS&lt;br /&gt;server. The key is a text string that must match the encryption key used on&lt;br /&gt;the RADIUS server.&lt;br /&gt;Note Always configure the key as the last item in the radius-server&lt;br /&gt;host command syntax because leading spaces are ignored, but&lt;br /&gt;spaces within and at the end of the key are used. If you use spaces&lt;br /&gt;in the key, do not enclose the key in quotation marks unless the&lt;br /&gt;quotation marks are part of the key. This key must match the&lt;br /&gt;encryption used on the RADIUS daemon.&lt;br /&gt;If you want to use multiple RADIUS servers, re-enter this command.&lt;br /&gt;&lt;b&gt;Step 3 end Return to privileged EXEC mode.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Step 4 show running-config Verify your entries.&lt;br /&gt;Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To delete the specified RADIUS server, use the no radius-server host {hostname | ip-address} global&lt;br /&gt;configuration command.&lt;br /&gt;This example shows how to specify the server with IP address 172.20.39.46 as the RADIUS server, to&lt;br /&gt;use port 1612 as the authorization port, and to set the encryption key to rad123, matching the key on the&lt;br /&gt;RADIUS server:&lt;br /&gt;Switch(config)# radius-server host 172.l20.39.46 auth-port 1612 key rad123&lt;br /&gt;You can globally configure the timeout, retransmission, and encryption key values for all RADIUS&lt;br /&gt;servers by using the radius-server host global configuration command. If you want to configure these&lt;br /&gt;options on a per-server basis, use the radius-server timeout, radius-server retransmit, and the&lt;br /&gt;radius-server key global configuration commands.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Enabling Periodic Re-Authentication&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Step 1 configure terminal Enter global configuration mode.&lt;br /&gt;Step 2 dot1x re-authentication Enable periodic re-authentication of the client&lt;/b&gt;, which is disabled by&lt;br /&gt;default.&lt;br /&gt;&lt;b&gt;Step 3 dot1x timeout re-authperiod seconds Set the number of seconds between re-authentication attempts.&lt;/b&gt;&lt;br /&gt;The range is 1 to 4294967295; the default is 3600 seconds.&lt;br /&gt;This command affects the behavior of the switch only if periodic&lt;br /&gt;re-authentication is enabled.&lt;br /&gt;&lt;b&gt;Step 4 end Return to privileged EXEC mode.&lt;br /&gt;Step 5 show dot1x Verify your entries.&lt;br /&gt;Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Switch(config)# dot1x re-authentication&lt;br /&gt;Switch(config)# dot1x timeout re-authperiod 4000&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Manually Re-Authenticating a Client Connected to a Port&lt;/span&gt;&lt;br /&gt;
You can manually re-authenticate the client connected to a specific port at any time by entering the&lt;br /&gt;dot1x re-authenticate interface interface-id privileged EXEC command. If you want to enable or&lt;br /&gt;disable periodic re-authentication&lt;br /&gt;
&lt;b&gt;Switch# dot1x re-authenticate interface fastethernet0/1&lt;br /&gt;Starting reauthentication on FastEthernet0/1&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/7149449483845089509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/default-8021x-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/7149449483845089509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/7149449483845089509'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/default-8021x-configuration.html' title='Default 802.1X Configuration'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-3905181832418004367</id><published>2012-03-08T13:53:00.001+05:30</published><updated>2012-03-08T13:53:23.476+05:30</updated><title type='text'>Dynamic Multipoint VPN (DMVPN)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Configuring an IPsec Profile&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;The IPsec profile shares most of the same commands with the crypto map configuration, but only a&lt;br /&gt;subset of the commands are valid in an IPsec profile. Only commands that pertain to an IPsec policy can&lt;br /&gt;be issued under an IPsec profile; you cannot specify the IPsec peer address or the access control list&lt;br /&gt;(ACL) to match the packets that are to be encrypted.&lt;br /&gt;Prerequisites&lt;br /&gt;Before configuring an IPsec profile, you must define a transform set by using the crypto ipsec&lt;br /&gt;transform-set command.&lt;br /&gt;SUMMARY STEPS&lt;br /&gt;1. enable&lt;br /&gt;2. configure terminal&lt;br /&gt;3. crypto ipsec profile name&lt;br /&gt;4. set transform-set transform-set-name&lt;br /&gt;5. set identity&lt;br /&gt;6. set security association lifetime {seconds seconds | kilobytes kilobytes}&lt;br /&gt;7. set pfs [group1 | group2]&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Step 1 enable&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router&amp;gt; enable (&lt;/b&gt;enableEnables higher privilege levels, such as privileged EXEC&lt;br /&gt;mode.Enter your password if prompted.)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2 configure terminal&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router# configure terminal&lt;/b&gt; (Enters global configuration mode).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3 crypto ipsec profile name&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config)# crypto ipsec profile vpnprof&lt;/b&gt; (Defines the IPsec parameters that are to be used for IPsec&lt;br /&gt;encryption between “spoke and hub” and “spoke and spoke”&lt;br /&gt;routers.&lt;br /&gt;This command enters crypto map configuration mode.&lt;br /&gt;• The name argument specifies the name of the IPsec&lt;br /&gt;profile).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 4 set transform-set transform-set-name&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-crypto-map)# set transform-set&lt;br /&gt;trans2&lt;/b&gt;&lt;br /&gt;Specifies which transform sets can be used with the IPsec&lt;br /&gt;profile.&lt;br /&gt;• The transform-set-name argument specifies the name&lt;br /&gt;of the transform set.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 5 set identity&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-crypto-map)# set identity&lt;/b&gt;&lt;br /&gt;(Optional) Specifies identity restrictions to be used with the&lt;br /&gt;IPsec profile.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 6 set security association lifetime {seconds&lt;br /&gt;seconds | kilobytes kilobytes}&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-crypto-map)# set security&lt;br /&gt;association lifetime seconds 1800&lt;/b&gt;&lt;br /&gt;(Optional) Overrides the global lifetime value for the IPsec&lt;br /&gt;profile.&lt;br /&gt;• The seconds seconds option specifies the number of&lt;br /&gt;seconds a security association will live before expiring;&lt;br /&gt;the kilobytes kilobytes option specifies the volume of&lt;br /&gt;traffic (in kilobytes) that can pass between IPsec peers&lt;br /&gt;using a given security association before that security&lt;br /&gt;association expires.&lt;br /&gt;• The default for the seconds argument is 3600 seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 7 set pfs [group1 | group2]&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-crypto-map)# set pfs group2&lt;/b&gt;&lt;br /&gt;(Optional) Specifies that IPsec should ask for perfect&lt;br /&gt;forward secrecy (PFS) when requesting new security&lt;br /&gt;associations for this IPsec profile. If this command is not&lt;br /&gt;specified, the default (group1) will be enabled.&lt;br /&gt;• The group1 keyword specifies that IPsec should use the&lt;br /&gt;768-bit Diffie-Hellman (DH) prime modulus group&lt;br /&gt;when performing the new DH exchange; the group2&lt;br /&gt;keyword specifies the 1024-bit DH prime modulus&lt;br /&gt;group.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Configuring the Hub for DMVPN&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;To configure the hub router for mGRE and IPsec integration (that is, associate the tunnel with the IPsec&lt;br /&gt;&lt;br /&gt;
profile configured in the previous procedure), use the following commands:&lt;br /&gt;SUMMARY STEPS&lt;br /&gt;1. enable&lt;br /&gt;2. configure terminal&lt;br /&gt;3. interface tunnel number&lt;br /&gt;4. ip address ip-address mask [secondary]&lt;br /&gt;5. ip mtu bytes&lt;br /&gt;6. ip nhrp authentication string&lt;br /&gt;7. ip nhrp map multicast dynamic&lt;br /&gt;8. ip nhrp network-id number&lt;br /&gt;9. tunnel source {ip-address | type number}&lt;br /&gt;10. tunnel key key-number&lt;br /&gt;11. tunnel mode gre multipoint&lt;br /&gt;12. tunnel protection ipsec profile name&lt;br /&gt;13. bandwidth kbps&lt;br /&gt;14. ip tcp adjust-mss max-segment-size&lt;br /&gt;15. ip nhrp holdtime seconds&lt;br /&gt;16. delay number&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1 enable&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router&amp;gt; enable&lt;/b&gt;&lt;br /&gt;Enables higher privilege levels, such as privileged EXEC&lt;br /&gt;mode.&lt;br /&gt;Enter your password if prompted.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 2 configure terminal&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router# configure terminal&lt;/b&gt;&lt;br /&gt;Enters global configuration mode.&lt;br /&gt;Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;How to Configure Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;14&lt;br /&gt;Cisco IOS Security Configuration Guide&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;Step 3 interface tunnel number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config)# interface tunnel 5&lt;/b&gt;&lt;br /&gt;Configures a tunnel interface and enters interface&lt;br /&gt;configuration mode&lt;br /&gt;• The number argument specifies the number of the&lt;br /&gt;tunnel interface that you want to create or configure.&lt;br /&gt;There is no limit on the number of tunnel interfaces you&lt;br /&gt;can create.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;Step 4 ip address ip-address mask [secondary]&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip address 10.0.0.1&lt;br /&gt;255.255.255.0&lt;/b&gt;&lt;br /&gt;Sets a primary or secondary IP address for the tunnel&lt;br /&gt;interface.&lt;br /&gt;Note All hubs and spokes that are in the same DMVPN&lt;br /&gt;network must be addressed in the same IP subnet.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 5 ip mtu bytes&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip mtu 1400&lt;/b&gt;&lt;br /&gt;Sets the maximum transmission unit (MTU) size, in bytes,&lt;br /&gt;of IP packets sent on an interface.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 6 ip nhrp authentication string&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp authentication&lt;br /&gt;donttell&lt;/b&gt;&lt;br /&gt;Configures the authentication string for an interface using&lt;br /&gt;NHRP.&lt;br /&gt;Note The NHRP authentication string must be set to the&lt;br /&gt;same value on all hubs and spokes that are in the&lt;br /&gt;same DMVPN network.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 7 ip nhrp map multicast dynamic&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp map multicast dynamic&lt;/b&gt;&lt;br /&gt;Allows NHRP to automatically add spoke routers to the&lt;br /&gt;multicast NHRP mappings.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 8 ip nhrp network-id number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp network-id 99&lt;/b&gt;&lt;br /&gt;Enables NHRP on an interface.&lt;br /&gt;• The number argument specifies a globally unique&lt;br /&gt;32-bit network identifier from a nonbroadcast&lt;br /&gt;multiaccess (NBMA) network. The range is from 1 to&lt;br /&gt;4294967295.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;Step 9 tunnel source {ip-address | type number}&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router (config-if)# tunnel source Ethernet0&lt;/b&gt;&lt;br /&gt;Sets source address for a tunnel interface.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 10 tunnel key key-number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router (config-if)# tunnel key 100000&lt;/b&gt;&lt;br /&gt;(Optional) Enables an ID key for a tunnel interface.&lt;br /&gt;• The key-number argument specifies a number from 0 to&lt;br /&gt;4,294,967,295 that identifies the tunnel key.&lt;br /&gt;Note The key number must be set to the same value on all&lt;br /&gt;hubs and spokes that are in the same DMVPN&lt;br /&gt;network.&lt;br /&gt;Note This command should not be configured if you are&lt;br /&gt;using a Cisco 6500 or Cisco 7600 platform.&lt;br /&gt;Command or Action Purpose&lt;br /&gt;Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;How to Configure Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;15&lt;br /&gt;Cisco IOS Security Configuration Guide&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 11 tunnel mode gre multipoint&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# tunnel mode gre multipoint&lt;/b&gt;&lt;br /&gt;Sets the encapsulation mode to mGRE for the tunnel&lt;br /&gt;interface.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 12 tunnel protection ipsec profile name&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# tunnel protection ipsec&lt;br /&gt;profile vpnprof&lt;/b&gt;&lt;br /&gt;Associates a tunnel interface with an IPsec profile.&lt;br /&gt;• The name argument specifies the name of the IPsec&lt;br /&gt;profile; this value must match the name specified in the&lt;br /&gt;crypto ipsec profile name command.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 13 bandwidth kbps&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# bandwidth 1000&lt;/b&gt;&lt;br /&gt;Sets the current bandwidth value for an interface to&lt;br /&gt;higher-level protocols.&lt;br /&gt;• The kbps argument specifies the bandwidth in kilobits&lt;br /&gt;per second. The default value is 9. The recommend&lt;br /&gt;bandwidth value is 1000 or greater.&lt;br /&gt;Setting the bandwidth value to at least 1000 is critical if&lt;br /&gt;EIGRP is used over the tunnel interface. Higher bandwidth&lt;br /&gt;values may be necessary depending on the number of&lt;br /&gt;spokes supported by a hub.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 14 ip tcp adjust-mss max-segment-size&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip tcp adjust-mss 1360&lt;/b&gt;&lt;br /&gt;Adjusts the maximum segment size (MSS) value of TCP&lt;br /&gt;packets going through a router.&lt;br /&gt;• The max-segment-size argument specifies the&lt;br /&gt;maximum segment size, in bytes. The range is from 500&lt;br /&gt;to 1460.&lt;br /&gt;The recommended value is 1360 when the number of IP&lt;br /&gt;MTU bytes is set to 1400. With these recommended&lt;br /&gt;settings, TCP sessions quickly scale back to 1400-byte IP&lt;br /&gt;packets so the packets will “fit” in the tunnel.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 15 ip nhrp holdtime seconds&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp holdtime 450&lt;/b&gt;&lt;br /&gt;Changes the number of seconds that NHRP NBMA&lt;br /&gt;addresses are advertised as valid in authoritative NHRP&lt;br /&gt;responses.&lt;br /&gt;• The seconds argument specifies the time in seconds that&lt;br /&gt;NBMA addresses are advertised as valid in positive&lt;br /&gt;authoritative NHRP responses. The recommended&lt;br /&gt;value ranges from 300 seconds to 600 seconds.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 16 delay number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# delay 1000&lt;/b&gt;&lt;br /&gt;(Optional) Used to change the EIGRP routing metric for&lt;br /&gt;routes learned over the tunnel interface.&lt;br /&gt;• The number argument specifies the delay time in&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Configuring the Spoke for DMVPN&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
SUMMARY STEPS&lt;br /&gt;1. enable&lt;br /&gt;2. configure terminal&lt;br /&gt;3. interface tunnel number&lt;br /&gt;4. ip address ip-address mask [secondary]&lt;br /&gt;5. ip mtu bytes&lt;br /&gt;6. ip nhrp authentication string&lt;br /&gt;7. ip nhrp map hub-tunnel-ip-address hub-physical-ip-address&lt;br /&gt;8. ip nhrp map multicast hub-physical-ip-address&lt;br /&gt;9. ip nhrp nhs hub-tunnel-ip-address&lt;br /&gt;10. ip nhrp network-id number&lt;br /&gt;11. tunnel source {ip-address | type number}&lt;br /&gt;12. tunnel key key-number&lt;br /&gt;13. tunnel mode gre multipoint&lt;br /&gt;or&lt;br /&gt;tunnel destination hub-physical-ip-address&lt;br /&gt;14. tunnel protection ipsec profile name&lt;br /&gt;15. bandwidth kbps&lt;br /&gt;16. ip tcp adjust-mss max-segment-size&lt;br /&gt;17. ip nhrp holdtime seconds&lt;br /&gt;18. delay number&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1 enable&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router&amp;gt; enable&lt;/b&gt;&lt;br /&gt;Enables higher privilege levels, such as privileged EXEC&lt;br /&gt;mode.&lt;br /&gt;Enter your password if prompted.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 2 configure terminal&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router# configure terminal&lt;/b&gt;&lt;br /&gt;Enters global configuration mode.&lt;br /&gt;Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;How to Configure Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;17&lt;br /&gt;Cisco IOS Security Configuration Guide&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 3 interface tunnel number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config)# interface tunnel 5&lt;/b&gt;&lt;br /&gt;Configures a tunnel interface and enters interface&lt;br /&gt;configuration mode.&lt;br /&gt;• The number argument specifies the number of the&lt;br /&gt;tunnel interface that you want to create or configure.&lt;br /&gt;There is no limit on the number of tunnel interfaces you&lt;br /&gt;can create.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 4 ip address ip-address mask [secondary]&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip address 10.0.0.2&lt;br /&gt;255.255.255.0&lt;/b&gt;&lt;br /&gt;Sets a primary or secondary IP address for the tunnel&lt;br /&gt;interface.&lt;br /&gt;Note All hubs and spokes that are in the same DMVPN&lt;br /&gt;network must be addressed in the same IP subnet.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 5 ip mtu bytes&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip mtu 1400&lt;/b&gt;&lt;br /&gt;Sets the MTU size, in bytes, of IP packets sent on an&lt;br /&gt;interface.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 6 ip nhrp authentication string&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp authentication&lt;br /&gt;donttell&lt;/b&gt;&lt;br /&gt;Configures the authentication string for an interface using&lt;br /&gt;NHRP.&lt;br /&gt;Note The NHRP authentication string be set to the same&lt;br /&gt;value on all hubs and spokes that are in the same&lt;br /&gt;DMVPN network.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 7 ip nhrp map hub-tunnel-ip-address&lt;br /&gt;hub-physical-ip-address&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp map 10.0.0.1&lt;br /&gt;172.17.0.1&lt;/b&gt;&lt;br /&gt;Statically configures the IP-to-NBMA address mapping of&lt;br /&gt;IP destinations connected to an MBMA network.&lt;br /&gt;• hub-tunnel-ip-address—Defines the NHRP server at&lt;br /&gt;the hub, which is permanently mapped to the static&lt;br /&gt;public IP address of the hub.&lt;br /&gt;• hub-physical-ip-address—Defines the static public IP&lt;br /&gt;address of the hub.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 8 ip nhrp map multicast hub-physical-ip-address&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp map multicast&lt;br /&gt;172.17.0.1&lt;/b&gt;&lt;br /&gt;Enables the use of a dynamic routing protocol between the&lt;br /&gt;spoke and hub, and sends multicast packets to the hub&lt;br /&gt;router.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 9 ip nhrp nhs hub-tunnel-ip-address&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp nhs 10.0.0.1&lt;/b&gt;&lt;br /&gt;Configures the hub router as the NHRP next-hop server.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 10 ip nhrp network-id number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip nhrp network-id 99&lt;/b&gt;&lt;br /&gt;Enables NHRP on an interface.&lt;br /&gt;• The number argument specifies a globally unique&lt;br /&gt;32-bit network identifier from a NBMA network. The&lt;br /&gt;range is from 1 to 4294967295.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 11 tunnel source {ip-address | type number}&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router (config-if)# tunnel source Ethernet0&lt;/b&gt;&lt;br /&gt;Sets the source address for a tunnel interface.&lt;br /&gt;Command or Action Purpose&lt;br /&gt;Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;How to Configure Dynamic Multipoint VPN (DMVPN)&lt;br /&gt;18&lt;br /&gt;Cisco IOS Security Configuration Guide&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 12 tunnel key key-number&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router (config-if)# tunnel key 100000&lt;/b&gt;&lt;br /&gt;(Optional) Enables an ID key for a tunnel interface.&lt;br /&gt;• The key-number argument specifies a number from 0 to&lt;br /&gt;4,294,967,295 that identifies the tunnel key.&lt;br /&gt;• The key number must be set to the same value on all&lt;br /&gt;hubs and spokes that are in the same DMVPN network.&lt;br /&gt;Note This command should not be configured if you are&lt;br /&gt;using a Cisco 6500 or Cisco 7600 platform.&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Step 13 tunnel mode gre multipoint&lt;br /&gt;or&lt;br /&gt;tunnel destination hub-physical-ip-address&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# tunnel mode gre multipoint&lt;br /&gt;or&lt;br /&gt;Router(config-if)# tunnel destination&lt;br /&gt;172.17.0.1&lt;/b&gt;&lt;br /&gt;Sets the encapsulation mode to mGRE for the tunnel&lt;br /&gt;interface.&lt;br /&gt;Use this command if data traffic can use dynamic&lt;br /&gt;spoke-to-spoke traffic.&lt;br /&gt;Specifies the destination for a tunnel interface.&lt;br /&gt;Use this command if data traffic can use hub-and-spoke&lt;br /&gt;tunnels.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 14 tunnel protection ipsec profile name&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# tunnel protection ipsec&lt;br /&gt;profile vpnprof&lt;/b&gt;&lt;br /&gt;Associates a tunnel interface with an IPsec profile.&lt;br /&gt;• The name argument specifies the name of the IPsec&lt;br /&gt;profile; this value must match the name specified in the&lt;br /&gt;crypto ipsec profile name command.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 15 bandwidth kbps&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# bandwidth 1000&lt;/b&gt;&lt;br /&gt;Sets the current bandwidth value for an interface to&lt;br /&gt;higher-level protocols.&lt;br /&gt;• The kbps argument specifies the bandwidth in kilobits&lt;br /&gt;per second. The default value is 9. The recommend&lt;br /&gt;bandwidth value is 1000 or greater.&lt;br /&gt;The bandwidth setting for the spoke does not need to equal&lt;br /&gt;the bandwidth setting for the DMVPN hub. It is usually&lt;br /&gt;easier if all of the spokes use the same or similar value.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Step 16 ip tcp adjust-mss max-segment-size&lt;/b&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;b&gt;Router(config-if)# ip tcp adjust-mss 1360&lt;/b&gt;&lt;br /&gt;Adjusts the maximum segment size (MSS) value of TCP&lt;br /&gt;packets going through a router.&lt;br /&gt;• The max-segment-size argument specifies the&lt;br /&gt;maximum segment size, in bytes. The range is from 500&lt;br /&gt;to 1460.&lt;br /&gt;The recommended number value is 1360 when the number&lt;br /&gt;of IP MTU bytes is set to 1400. With these recommended&lt;br /&gt;settings, TCP sessions quickly scale back to 1400-byte IP&lt;br /&gt;packets so the packets will “fit” in the tunnel.&lt;br /&gt;Command or Action Purpose.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/3905181832418004367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/dynamic-multipoint-vpn-dmvpn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/3905181832418004367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/3905181832418004367'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/dynamic-multipoint-vpn-dmvpn.html' title='Dynamic Multipoint VPN (DMVPN)'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3660848822472857273.post-1219903995733962872</id><published>2012-03-04T12:56:00.003+05:30</published><updated>2012-03-08T12:58:15.253+05:30</updated><title type='text'>Configuring Dynamic Access Lists (Lock-and-Key Security)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A host (R1′s vlan 
network) to access a web server ( R2′s vlan network) on a remote box. 
Again this is basic as it is going to get.&lt;br /&gt;
First configure the access-list on R2 for the Dynamic ACL&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;access-list 101 permit tcp any any eq 23&lt;/b&gt; (we need 
to allow telnet through so we can authenticate. Now we can get away 
without this line here since we have permit ip any any at the bottom of 
the ACL. This will all depend on how you have to build out the ACL if 
you need this or not.)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;access-list 101 dynamic HTTP permit tcp any any eq 80&lt;/b&gt;
 (we could specify a specific host that is allowed access here or a 
subnet but we want to allow anyone that can authenticate for this 
example.)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;access-list 101 deny tcp any any eq 80&lt;/b&gt; (Here we are blocking access to anyone that doesn’t authenticate for web traffic.)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;access-list 101 permit ip any any&lt;/b&gt; (Here we are allowing the rest of the incoming traffic in.)&lt;/li&gt;
&lt;/ul&gt;
&lt;span id=&quot;more-186&quot;&gt;&lt;/span&gt;&lt;br /&gt;
We need to configure login access now. Usually I would authenticate 
everyone against my active directory, but we will just use local login 
for this.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;username r1 password cisco&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
Need to apply the access-list on the incoming interface.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;int s0/0&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ip access-group 101 in&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
Now we just need to configure the telnet lines&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;line vty 0 4&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;login local&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;autocommand access-enable&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
Just need to telnet to r2 and authenticate and then we will have access to the web server on the remote end.&lt;br /&gt;
This is what our access-list should look like once we have authenticated:&lt;br /&gt;
&lt;b&gt;10 permit tcp any any eq telnet (183 matches)&lt;br /&gt;
20 Dynamic HTTP permit tcp any any eq www&lt;br /&gt;
permit tcp any any eq www (72 matches)&lt;br /&gt;
30 deny tcp any any eq www (9 matches)&lt;br /&gt;
40 permit ip any any&lt;/b&gt;&lt;br /&gt;
Notice the line statement under line 20. This is showing that the dynamic acl is active.&lt;br /&gt;
If you want to clear the access-list you need to use this command:&lt;br /&gt;
&lt;span class=&quot;content&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;clear access-template&lt;/b&gt;&lt;b&gt; [&lt;i class=&quot;cEmphasis&quot;&gt;access-list-number &lt;/i&gt;|&lt;i class=&quot;cEmphasis&quot;&gt; name&lt;/i&gt;] [&lt;i class=&quot;cEmphasis&quot;&gt;dynamic-name&lt;/i&gt;] [&lt;i class=&quot;cEmphasis&quot;&gt;source&lt;/i&gt;] [&lt;i class=&quot;cEmphasis&quot;&gt;destination&lt;/i&gt;] &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicport.blogspot.com/feeds/1219903995733962872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magicport.blogspot.com/2012/03/configuring-dynamic-access-lists-lock.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/1219903995733962872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3660848822472857273/posts/default/1219903995733962872'/><link rel='alternate' type='text/html' href='http://magicport.blogspot.com/2012/03/configuring-dynamic-access-lists-lock.html' title='Configuring Dynamic Access Lists (Lock-and-Key Security)'/><author><name>ramees raja</name><uri>http://www.blogger.com/profile/06020403979704193802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>