Sunday, February 19, 2012

INTERVLAN ROUTING


ON ROUTER



        --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: n


Press RETURN to get started!



Router>en
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f 0/0.1 ?
  <cr>
Router(config)#int f 0/0.1
Router(config-subif)#enc
Router(config-subif)#encapsulation dot1q 2 ?
  native  Make this as native vlan
  <cr>
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 192.168.10.1 255.255.255.0 ?
  <cr>
Router(config-subif)#ip add 192.168.10.1 255.255.255.0
Router(config-subif)#no shut ?
  <cr>
Router(config-subif)#no shut
Router(config-subif)#ex
Router(config)#
Router(config)#int f 0/0.2 ?
  <cr>
Router(config)#int f 0/0.2
Router(config-subif)#enc
Router(config-subif)#encapsulation dot1q 3 ?
  native  Make this as native vlan
  <cr>
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 192.168.20.1 255.255.255.0 ?
  <cr>
Router(config-subif)#ip add 192.168.20.1 255.255.255.0
Router(config-subif)#no shut ?
  <cr>
Router(config-subif)#no shut
Router(config-subif)#ex
Router(config)#


ON SWITCH


Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 2 ?
  <cr>
Switch(config)#vlan 2
Switch(config-vlan)#name Sales ?
  <cr>
Switch(config-vlan)#name Sales
Switch(config-vlan)#ex
Switch(config)#vlan 3 ?
  <cr>
Switch(config)#vlan 3
Switch(config-vlan)#name Marketing ?
  <cr>
Switch(config-vlan)#name Marketing
Switch(config-vlan)#ex
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#sh vl

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gig1/1, Gig1/2
2    Sales                            active   
3    Marketing                        active   
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0  
1003 tr    101003     1500  -      -      -        -    -        0      0  
1004 fdnet 101004     1500  -      -      -        ieee -        0      0   
1005 trnet 101005     1500  -      -      -        ibm  -        0      0  

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range f 0/2-f 0/3 ?
  <cr>
Switch(config)#int range f 0/2-f 0/3
Switch(config-if-range)#ip add 192.168.10.0 255.255.255.0 ?
% Unrecognized command
Switch(config-if-range)#ip add 192.168.10.0 ?
% Unrecognized command
Switch(config-if-range)#
Switch(config-if-range)#?
  cdp               Global CDP configuration subcommands
  channel-group     Etherchannel/port bundling configuration
  channel-protocol  Select the channel protocol (LACP, PAgP)
  description       Interface specific description
  duplex            Configure duplex operation.
  exit              Exit from interface configuration mode
  mdix              Set Media Dependent Interface with Crossover
  mls               mls interface commands
  no                Negate a command or set its defaults
  shutdown          Shutdown the selected interface
  spanning-tree     Spanning Tree Subsystem
  speed             Configure speed operation.
  storm-control     storm configuration
  switchport        Set switching mode characteristics
  tx-ring-limit     Configure PA level transmit ring limit
Switch(config-if-range)#sw
Switch(config-if-range)#switchport ?
  access         Set access mode characteristics of the interface
  mode           Set trunking mode of the interface
  native         Set trunking native characteristics when interface is in
                 trunking mode
  nonegotiate    Device will not engage in negotiation protocol on this
                 interface
  port-security  Security related command
  priority       Set appliance 802.1p priority
  trunk          Set trunking characteristics of the interface
  voice          Voice appliance attributes
Switch(config-if-range)#switchport mode ?
  access   Set trunking mode to ACCESS unconditionally
  dynamic  Set trunking mode to dynamically negotiate access or trunk mode
  trunk    Set trunking mode to TRUNK unconditionally
Switch(config-if-range)#switchport mode ^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range f 0/2-f 0/3
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode acc ?
  <cr>
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#sw
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 2 ?
  <cr>
Switch(config-if-range)#switchport access vlan 2
Switch(config-if-range)#ip add ?
% Unrecognized command
Switch(config-if-range)#ex
Switch(config)#int range f 0/2-f 0/3 ^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#sh vl

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/4, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16, Fa0/17, Fa0/18
                                                Fa0/19, Fa0/20, Fa0/21, Fa0/22
                                                Fa0/23, Fa0/24, Gig1/1, Gig1/2
2    Sales                            active    Fa0/2, Fa0/3
3    Marketing                        active   
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0  

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range f 0/4-f 0/5
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access ?
  <cr>
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#sw
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 3 ?
  <cr>
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#ex
Switch(config)#^Z

%SYS-5-CONFIG_I: Configured from console by console
Switch#
Switch#sh vl

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gig1/1, Gig1/2
2    Sales                            active    Fa0/2, Fa0/3
3    Marketing                        active    Fa0/4, Fa0/5
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0  
1003 tr    101003     1500  -      -      -        -    -        0      0  
1004 fdnet 101004     1500  -      -      -        ieee -        0      0  
1005 trnet 101005     1500  -      -      -        ibm  -        0      0  

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int f 0/1 ?
  <cr>
Switch(config)#int f 0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk ?
  <cr>
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Switch(config-if)#ex
Switch(config)#

VTP

  





 ON SWITCH 1

Switch>
Switch>
Switch>en
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int f 0/1 ?
  <cr>
Switch(config)#int f 0/1
Switch(config-if)#sw
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk ?
  <cr>
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Switch(config-if)#ex
Switch(config)#

Switch#sh int tr
Switch#sh int trunk ?
  <cr>
Switch#sh int trunk
Port        Mode         Encapsulation  Status        Native vlan
Fa0/1       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/1       1-1005

Port        Vlans allowed and active in management domain
Fa0/1       1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/1       1
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 : amit
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7B 0xD1 0x25 0x53 0xA9 0xF8 0xBA 0xC7
Configuration last modified by 0.0.0.0 at 3-1-93 00:11:06
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp mode c
Switch(config)#vtp mode client ?
  <cr>
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#


ON SWITCH 2 


Switch>
Switch>
Switch>en
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range f 0/1-f 0/2 ?
  <cr>
Switch(config)#int range f 0/1-f 0/2
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode tr
Switch(config-if-range)#switchport mode trunk ?
  <cr>
Switch(config-if-range)#switchport mode trunk

Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Switch(config-if-range)#ex
Switch(config)#
Switch#sh int trunk ?
  <cr>
Switch#sh int trunk
Port        Mode         Encapsulation  Status        Native vlan
Fa0/1       on           802.1q         trunking      1
Fa0/2       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/1       1-1005
Fa0/2       1-1005

Port        Vlans allowed and active in management domain
Fa0/1       1
Fa0/2       1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/1       1
Fa0/2       1
Switch#sh vtp sta
Switch#sh vtp status ?
  <cr>
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp domain amit ?
  <cr>
Switch(config)#vtp domain amit
Changing VTP domain name from NULL to amit
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 : amit
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x16 0xFB 0xEC 0x67 0x59 0x77 0x9E 0x58
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp version 2 ?
  <cr>
Switch(config)#vtp version 2
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 : amit
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7B 0xD1 0x25 0x53 0xA9 0xF8 0xBA 0xC7
Configuration last modified by 0.0.0.0 at 3-1-93 00:11:06
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp mode s
Switch(config)#vtp mode server ?
  <cr>
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#


ON SWITCH 3


Switch>
Switch>
Switch>en
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#
Switch(config)#int range f 0/1-f 0/2 ?
  <cr>
Switch(config)#int range f 0/1-f 0/2
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode tr
Switch(config-if-range)#switchport mode trunk ?
  <cr>
Switch(config-if-range)#switchport mode trunk

Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Switch(config-if-range)#e
Switch(config)#
Switch#
Switch#
Switch#sh int tr
Switch#sh int trunk ?
  <cr>
Switch#sh int trunk
Port        Mode         Encapsulation  Status        Native vlan
Fa0/1       on           802.1q         trunking      1
Fa0/2       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/1       1-1005
Fa0/2       1-1005

Port        Vlans allowed and active in management domain
Fa0/1       1
Fa0/2       1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/1       1
Fa0/2       1
Switch#sh vtp st
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 : amit
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7B 0xD1 0x25 0x53 0xA9 0xF8 0xBA 0xC7
Configuration last modified by 0.0.0.0 at 3-1-93 00:11:06
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp mode t
Switch(config)#vtp mode transparent ?
  <cr>
Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#


 ON SWITCH 4


Switch>
Switch>
Switch>en
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int f 0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk ?
  <cr>
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch(config)#
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#
Switch#sh in tr
Switch#sh in trunk ?
  <cr>
Switch#sh in trunk
Port        Mode         Encapsulation  Status        Native vlan
Fa0/1       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/1       1-1005

Port        Vlans allowed and active in management domain
Fa0/1       1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/1       1
Switch#sh vtp st
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server
VTP Domain Name                 : amit
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7B 0xD1 0x25 0x53 0xA9 0xF8 0xBA 0xC7
Configuration last modified by 0.0.0.0 at 3-1-93 00:11:06
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vtp mode c
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#ex
Switch#

 

 

ACCESS CONTROL LIST-R2




Router>
Router>
Router>en
Router#
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f 0/0 ?
  <cr>
Router(config)#int f 0/0
Router(config-if)#
Router(config-if)#ip add 30.0.0.1 255.255.255.0 ?
  <cr>
Router(config-if)#ip add 30.0.0.1 255.255.255.0
Router(config-if)#
Router(config-if)#no shuit
                        ^
% Invalid input detected at '^' marker.
           
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#int s 1/0 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
  <cr>
Router(config)#int s 1/0
Router(config-if)#ip add 20.0.0.2 255.255.255.252 ?
  <cr>
Router(config-if)#ip add 20.0.0.2 255.255.255.252
Router(config-if)#
Router(config-if)#clock rate 64000 ?
  <cr>
Router(config-if)#clock rate 64000
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
e
% Ambiguous command: "e"
Router(config-if)#
Router(config-if)#ex
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config)#
Router(config)#
Router(config)#router rip ?
  <cr>
Router(config)#router rip
Router(config-router)#network 20.0.0.0
Router(config-router)#network 30.0.0.0
Router(config-router)#ex
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
Router#
Router#sh ip route ?
  WORD       Network to display information about or hostname
  bgp        Border Gateway Protocol (BGP)
  connected  Connected
  eigrp      Enhanced Interior Routing Protocol (EIGRP)
  ospf       Open Shortest Path First (OSPF)
  rip        Routing Information Protocol (RIP)
  static     Static routes
  <cr>
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

R    10.0.0.0/8 [120/1] via 20.0.0.1, 00:00:08, Serial1/0
     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
     30.0.0.0/24 is subnetted, 1 subnets
C       30.0.0.0 is directly connected, FastEthernet0/0
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#acc
Router(config)#access-list 111 deny icmp ho 30.0.0.2 ho 10.0.0.4 echo ?
  <cr>
Router(config)#access-list 111 deny icmp ho 30.0.0.2 ho 10.0.0.4 echo
Router(config)#access-list 111 deny tcp ho 30.0.0.3 ho 10.0.0.4 eq 80 ?
  dscp         Match packets with given dscp value
  established  established
  precedence   Match packets with given precedence value
  <cr>
Router(config)#access-list 111 deny tcp ho 30.0.0.3 ho 10.0.0.4 eq 80
Router(config)#acc
Router(config)#access-list 111 permit ip any any ?
  dscp        Match packets with given dscp value
  precedence  Match packets with given precedence value
  <cr>
Router(config)#access-list 111 permit ip any any
Router(config)#int f 0/0 ?
  <cr>
Router(config)#int f 0/0
Router(config-if)#ip acc
Router(config-if)#ip access-group 111 in ?
  <cr>
Router(config-if)#ip access-group 111 in
Router(config-if)#ex
Router(config)#

ACCESS CONTROL LIST-R1



         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: n


Press RETURN to get started!



Router>en
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f0/0 ?
  <cr>
Router(config)#int f0/0
Router(config-if)#ip add 10.0.0.1 255.255.255.0 ?
  <cr>
Router(config-if)#ip add 10.0.0.1 255.255.255.0
Router(config-if)#
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config)#int s 1/0 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
  <cr>
Router(config)#int s 1/0
Router(config-if)#ip add 20.0.0.1 255.255.255.252 ?
  <cr>
Router(config-if)#ip add 20.0.0.1 255.255.255.252
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial1/0, changed state to down
Router(config-if)#exi
Router(config)#
%LINK-5-CHANGED: Interface Serial1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config)#
Router(config)#
Router(config)#router rip ?
  <cr>
Router(config)#router rip
Router(config-router)#network 10.0.0.0 ?
  <cr>
Router(config-router)#network 10.0.0.0
Router(config-router)#network 20.0.0.0
Router(config-router)#ex
Router(config)#
Router(config)#
Router(config)#
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
Router#
Router#sh ip route ?
  WORD       Network to display information about or hostname
  bgp        Border Gateway Protocol (BGP)
  connected  Connected
  eigrp      Enhanced Interior Routing Protocol (EIGRP)
  ospf       Open Shortest Path First (OSPF)
  rip        Routing Information Protocol (RIP)
  static     Static routes
  <cr>
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, FastEthernet0/0
     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
R    30.0.0.0/8 [120/1] via 20.0.0.2, 00:00:07, Serial1/0
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#acc
Router(config)#access-list 111 deny icmp ho 10.0.0.2 ho 30.0.0.4 echo ?
  <cr>
Router(config)#access-list 111 deny icmp ho 10.0.0.2 ho 30.0.0.4 echo
Router(config)#access-list 111 deny tcp ho 10.0.0.3 ho 30.0.0.4 eq 80 ?
  dscp         Match packets with given dscp value
  established  established
  precedence   Match packets with given precedence value
  <cr>
Router(config)#access-list 111 deny tcp ho 10.0.0.3 ho 30.0.0.4 eq 80
Router(config)#acc
Router(config)#access-list 111 permit ip any any ?
  dscp        Match packets with given dscp value
  precedence  Match packets with given precedence value
  <cr>
Router(config)#access-list 111 permit ip any any
Router(config)#int f 0/0 ?
  <cr>
Router(config)#int f 0/0
Router(config-if)#ip acc
Router(config-if)#ip access-group 111 in ?
  <cr>
Router(config-if)#ip access-group 111 in
Router(config-if)#exit
Router(config)#