تبليغاتX
TellNet ... Telnet
robtex


R1#show run
Building configuration...

crypto_cs_config: stub.
Current configuration : 1658 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
no ip dhcp use vrf connected
!
!
ip cef
!
!
call rsvp-sync
no scripting tcl init
no scripting tcl encdir
!
!
!
!
!
!
!
no file verify auto
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 description Connecting to R2(S1/0)
 ip address 192.168.0.1 255.255.255.252
 ip ospf network point-to-point
 serial restart-delay 0
!
interface Serial1/1
 description Connecting to R3(S1/1)
 ip address 192.168.0.10 255.255.255.252
 ip ospf network point-to-point
 serial restart-delay 0
!
interface Serial1/2
 description Connecting to R4(S1/0)
 ip address 192.168.0.13 255.255.255.252
 ip ospf network point-to-point
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/4
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/5
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/6
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/7
 no ip address
 shutdown
 serial restart-delay 0
!
!
router ospf 10
 router-id 1.1.1.1
 log-adjacency-changes
 area 10 stub no-summary
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.0.0 0.0.0.3 area 0
 network 192.168.0.8 0.0.0.3 area 0
 network 192.168.0.12 0.0.0.3 area 10
!
ip classless
!
no ip http server
!
!
!
!
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
!
end


R1#show ip protocols

Routing Protocol is "ospf 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 1.1.1.1
  It is an area border router
  Number of areas in this router is 2. 1 normal 1 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    1.1.1.1 0.0.0.0 area 0
    192.168.0.0 0.0.0.3 area 0
    192.168.0.8 0.0.0.3 area 0
    192.168.0.12 0.0.0.3 area 10
  Routing Information Sources:
    Gateway         Distance      Last Update
    4.4.4.4              110      00:13:22
    3.3.3.3              110      00:11:23
    2.2.2.2              110      00:07:12
(  Distance: (default is 110

R1#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 192.168.0.2, 00:14:28, Serial1/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 192.168.0.9, 00:14:28, Serial1/1
     4.0.0.0/32 is subnetted, 1 subnets
O       4.4.4.4 [110/65] via 192.168.0.14, 00:13:25, Serial1/2
     5.0.0.0/32 is subnetted, 1 subnets
O IA    5.5.5.5 [110/129] via 192.168.0.9, 00:11:26, Serial1/1
     6.0.0.0/32 is subnetted, 1 subnets
O IA    6.6.6.6 [110/129] via 192.168.0.2, 00:07:15, Serial1/0
     10.0.0.0/32 is subnetted, 3 subnets
O IA    10.10.5.1 [110/129] via 192.168.0.9, 00:11:26, Serial1/1
O       10.10.4.1 [110/65] via 192.168.0.14, 00:13:25, Serial1/2
O IA    10.10.6.1 [110/129] via 192.168.0.2, 00:07:15, Serial1/0
     192.168.0.0/30 is subnetted, 6 subnets
C       192.168.0.8 is directly connected, Serial1/1
C       192.168.0.12 is directly connected, Serial1/2
C       192.168.0.0 is directly connected, Serial1/0
O       192.168.0.4 [110/128] via 192.168.0.9, 00:14:28, Serial1/1
                    [110/128] via 192.168.0.2, 00:14:28, Serial1/0
O IA    192.168.0.16 [110/128] via 192.168.0.9, 00:13:25, Serial1/1
O IA    192.168.0.20 [110/128] via 192.168.0.2, 00:13:25, Serial1/0

R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:00:30    192.168.0.9     Serial1/1
2.2.2.2           0   FULL/  -        00:00:39    192.168.0.2     Serial1/0
4.4.4.4           0   FULL/  -        00:00:30    192.168.0.14    Serial1/2
R1#sho ip ospf da

            OSPF Router with ID (1.1.1.1) (Process ID 10)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         904         0x80000006 0x004AD1 5
2.2.2.2         2.2.2.2         924         0x80000006 0x009487 5
3.3.3.3         3.3.3.3         887         0x80000006 0x006998 5

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
4.4.4.4         1.1.1.1         818         0x80000001 0x003FA8
5.5.5.5         3.3.3.3         700         0x80000001 0x00D407
6.6.6.6         2.2.2.2         449         0x80000001 0x00C417
10.10.4.1       1.1.1.1         818         0x80000001 0x00C618
10.10.5.1       3.3.3.3         700         0x80000001 0x007F56
10.10.6.1       2.2.2.2         449         0x80000001 0x009246
192.168.0.12    1.1.1.1         1395        0x80000001 0x00B1D4
192.168.0.16    3.3.3.3         1082        0x80000001 0x004D2D
192.168.0.20    2.2.2.2         1284        0x80000001 0x004337

                Router Link States (Area 10)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         833         0x80000002 0x00BEE4 2
4.4.4.4         4.4.4.4         833         0x80000004 0x002E1C 4

                Summary Net Link States (Area 10)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         1.1.1.1         1391        0x80000001 0x0093A6
R1#


R4#show run
Building configuration...

crypto_cs_config: stub.
Current configuration : 1550 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
no ip dhcp use vrf connected
!
!
ip cef
!
!
call rsvp-sync
no scripting tcl init
no scripting tcl encdir
!
!
!
!
!
!
!
no file verify auto
!
!
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
!
interface Loopback4
 ip address 10.10.4.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 description Connecting to R1(S1/2)
 ip address 192.168.0.14 255.255.255.252
 ip ospf network point-to-point
 no fair-queue
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/4
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/5
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/6
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/7
 no ip address
 shutdown
 serial restart-delay 0
!
!
router ospf 10
 router-id 4.4.4.4
 log-adjacency-changes
 area 10 stub
 network 4.4.4.4 0.0.0.0 area 10
 network 10.10.4.0 0.0.0.255 area 10
 network 192.168.0.12 0.0.0.3 area 10
!
ip classless
!
no ip http server
!
!
!
!
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 stopbits 1
line aux 0
line vty 0 4
!
end


R4#show ip protocols

Routing Protocol is "ospf 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 4.4.4.4
  Number of areas in this router is 1. 0 normal 1 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    4.4.4.4 0.0.0.0 area 10
    10.10.4.0 0.0.0.255 area 10
    192.168.0.12 0.0.0.3 area 10
  Routing Information Sources:
    Gateway         Distance      Last Update
    1.1.1.1              110      00:17:43
  Distance: (default is 110)

R4#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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 192.168.0.13 to network 0.0.0.0

     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.4 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.4.0 is directly connected, Loopback4
     192.168.0.0/30 is subnetted, 1 subnets
C       192.168.0.12 is directly connected, Serial1/0
O*IA 0.0.0.0/0 [110/65] via 192.168.0.13, 00:17:45, Serial1/0

R4#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:00:38    192.168.0.13    Serial1/0

R4#show ip ospf database

            OSPF Router with ID (4.4.4.4) (Process ID 10)

                Router Link States (Area 10)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         1087        0x80000002 0x00BEE4 2
4.4.4.4         4.4.4.4         1086        0x80000004 0x002E1C 4

                Summary Net Link States (Area 10)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         1.1.1.1         1644        0x80000001 0x0093A6
R4#



+ نوشته شده در  شنبه 1386/02/08ساعت 13  توسط امیر اصغری  | 
ببخشید نبودیم ، قرار است دوباره شروع کنیم

ضمنا امیر اصغری به عنوان نویسنده جدید به گروه Tellnet پیوست.

+ نوشته شده در  دوشنبه 1386/02/03ساعت 21  توسط حسین شاملو  | 
 

Cisco Press CCNP Self-Study BCMSN Practical Studies

Cisco Press CCNP Self-Study BSCI Practical Studies

 

 

+ نوشته شده در  سه شنبه 1385/12/22ساعت 15  توسط وحید انصاری  | 
 

BGP4 Case Studies/Tutorial by Sam Halabi - Cisco Systems

 

+ نوشته شده در  سه شنبه 1385/12/01ساعت 9  توسط وحید انصاری  | 

A Canadian firm unveiled what it called "the world's first commercially viable quantum computer." D-Wave Systems, Inc., "The Quantum Computing Company," during a much ballyhooed rollout at the Computer History Museum in Mountain View, Calif., hailed the new device as a big step toward the age of quantum computing, decades earlier than scheduled.

But experts say the announcement may be a bit—er—premature. Even if the computer were to work as advertised, it still would be nearly 1,000 times too small to solve problems that stump ordinary computers. Moreover, researchers do not know whether it will work at bigger sizes.

more on Scientific American magazine...

+ نوشته شده در  دوشنبه 1385/11/30ساعت 9  توسط وحید انصاری  | 

 

MPLS overview flash animation (click here...)

 

+ نوشته شده در  یکشنبه 1385/11/15ساعت 0  توسط وحید انصاری  | 

PAT with IPTABLE

تصویر بزرگتر
قسمت اول : راه اندازی IPTABLES برای PAT

یکی دو ماه پیش مطلبی در خصوص PAT و NAT در روترهای Cisco داشتیم و ادبیات هر دو را به تفضیل و با مثال و Sample Configuration توضیح دادیم ، اگر در مفاهیم PAT و NAT سئوالی دارید ، لطفا به مطالب قبلی (در همین صفحه و یا در آرشیو ماهیانه) مراجعه فرمایید.

در این مثال لینوکس در لبه شبکه قرار دارد و می خواهد از طریق iptables برای شبکه داخل شرکت PAT کند. لطفا به نکات زیر توجه فرمایید :

  1. اینترنت ADSL شما می بایست از نوع Bridge باشد که متاسفانه فقط برخی از شرکت ها این سرویس را ارائه می کنند !
  2. نسخه لینوکس Fedora 4 می باشد.
  3. از نسخه iptables موجود در Fedora 4 استفاده شده است.
  4. به Case Sensitive بودن دستورات توجه کنید!

 برای این کار کافی است iptables را start کنید :

etc/init.d/iptables start

سپس دستور زیر را وارد کنید :

iptables -t nat -A POSTROTING -o eth1 -j MASQUERADE


با این کار عملا iptables می گوید هر ترافیکی که خواست از اینترفیس eth1 خارج شود را ابتدا IP آن را به IP اینترفیس eth1 ترجمه کن و با عملیات PAT ارسال کن.

در قسمت دوم نحوه Server Publishing را در ادامه همین سناریو توضیح خواهم داد.
نظرات شما برای ما مهم و جهت دهنده است ، لطفا در مورد تاپیک ها ما را از نظرات خود محروم نفرمایید.
موفق و پیروز باشید.


+ نوشته شده در  پنجشنبه 1385/11/12ساعت 14  توسط حسین شاملو  | 
EIGRP Sample Configuration

EIGRP Sample Configuration

R1#sh cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
R2               Ser 0/0            124          R        3620      Ser 0/0
R3               Ser 0/1            127          R        3620      Ser 0/0

R1#sh ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
1   192.168.0.6             Se0/1             14 00:12:31  409  2454  0  96
0   192.168.0.2             Se0/0             11 00:12:48  357  2142  0  127

R1#show running-config
Building configuration...

Current configuration : 1064 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$NZTs$8xT5L4rQI3RgACtGqlxNW.
!
no aaa new-model
ip subnet-zero
!
ip cef
!
username admin password 7 050A02022842
!
interface Loopback10
 ip address 192.168.10.1 255.255.255.0
!
interface Loopback20
 ip address 192.168.20.1 255.255.255.0
!
interface Serial0/0
 ip address 192.168.0.1 255.255.255.252
 serial restart-delay 0
!
interface Serial0/1
 ip address 192.168.0.5 255.255.255.252
 serial restart-delay 0
!
interface Serial0/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial0/3
 no ip address
 shutdown
 serial restart-delay 0
!
router eigrp 10
 network 192.168.0.0 0.0.0.3
 network 192.168.0.4 0.0.0.3
 network 192.168.10.0
 network 192.168.20.0
no auto-summary
!
ip http server
ip classless
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 exec-timeout 0 0
 login local
!
end

R1#show ip route
D    192.168.90.0/24 [90/2323456] via 192.168.0.2, 00:03:17, Serial0/0
                     [90/2323456] via 192.168.0.6, 00:03:17, Serial0/1
D    192.168.30.0/24 [90/2297856] via 192.168.0.2, 00:03:24, Serial0/0
D    192.168.60.0/24 [90/2297856] via 192.168.0.6, 00:03:22, Serial0/1
C    192.168.10.0/24 is directly connected, Loopback10
D    192.168.40.0/24 [90/2297856] via 192.168.0.2, 00:03:24, Serial0/0
D    192.168.80.0/24 [90/2323456] via 192.168.0.2, 00:03:17, Serial0/0
C    192.168.20.0/24 is directly connected, Loopback20
     192.168.0.0/24 is variably subnetted, 4 subnets, 2 masks
D       192.168.0.8/29 [90/2195456] via 192.168.0.2, 00:03:24, Serial0/0
C       192.168.0.0/30 is directly connected, Serial0/0
C       192.168.0.4/30 is directly connected, Serial0/1
D       192.168.0.16/29 [90/2195456] via 192.168.0.2, 00:03:25, Serial0/0
                        [90/2195456] via 192.168.0.6, 00:03:25, Serial0/1
D    192.168.102.0/24 [90/2323456] via 192.168.0.6, 00:03:08, Serial0/1
                      [90/2323456] via 192.168.0.2, 00:03:08, Serial0/0
D    192.168.50.0/24 [90/2297856] via 192.168.0.6, 00:03:22, Serial0/1
D    192.168.70.0/24 [90/2323456] via 192.168.0.2, 00:03:18, Serial0/0
D    192.168.100.0/24 [90/2323456] via 192.168.0.2, 00:03:18, Serial0/0
                      [90/2323456] via 192.168.0.6, 00:03:18, Serial0/1
D    192.168.101.0/24 [90/2323456] via 192.168.0.6, 00:03:08, Serial0/1
                      [90/2323456] via 192.168.0.2, 00:03:08, Serial0/0

R1#sh ip eigrp topology
IP-EIGRP Topology Table for AS(10)/ID(192.168.20.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 192.168.100.0/24, 2 successors, FD is 2323456
        via 192.168.0.6 (2323456/409600), Serial0/1
        via 192.168.0.2 (2323456/409600), Serial0/0
P 192.168.101.0/24, 2 successors, FD is 2323456
        via 192.168.0.2 (2323456/409600), Serial0/0
        via 192.168.0.6 (2323456/409600), Serial0/1
P 192.168.102.0/24, 2 successors, FD is 2323456
        via 192.168.0.2 (2323456/409600), Serial0/0
        via 192.168.0.6 (2323456/409600), Serial0/1
P 192.168.70.0/24, 1 successors, FD is 2323456
        via 192.168.0.2 (2323456/409600), Serial0/0
        via 192.168.0.6 (2349056/435200), Serial0/1
P 192.168.90.0/24, 2 successors, FD is 2323456
        via 192.168.0.6 (2323456/409600), Serial0/1
        via 192.168.0.2 (2323456/409600), Serial0/0
P 192.168.80.0/24, 1 successors, FD is 2323456
        via 192.168.0.2 (2323456/409600), Serial0/0
        via 192.168.0.6 (2349056/435200), Serial0/1
P 192.168.40.0/24, 1 successors, FD is 2297856
        via 192.168.0.2 (2297856/128256), Serial0/0
        via 192.168.0.6 (2323456/409600), Serial0/1
P 192.168.60.0/24, 1 successors, FD is 2297856
        via 192.168.0.6 (2297856/128256), Serial0/1
        via 192.168.0.2 (2323456/409600), Serial0/0
P 192.168.50.0/24, 1 successors, FD is 2297856
        via 192.168.0.6 (2297856/128256), Serial0/1
        via 192.168.0.2 (2323456/409600), Serial0/0
P 192.168.0.8/29, 1 successors, FD is 2195456
        via 192.168.0.2 (2195456/281600), Serial0/0
        via 192.168.0.6 (2221056/307200), Serial0/1
P 192.168.10.0/24, 1 successors, FD is 128256
        via Connected, Loopback10
P 192.168.0.0/30, 1 successors, FD is 2169856
        via Connected, Serial0/0
P 192.168.0.4/30, 1 successors, FD is 2169856
        via Connected, Serial0/1
P 192.168.30.0/24, 1 successors, FD is 2297856
        via 192.168.0.2 (2297856/128256), Serial0/0
        via 192.168.0.6 (2323456/409600), Serial0/1
P 192.168.0.16/29, 2 successors, FD is 2195456
        via 192.168.0.6 (2195456/281600), Serial0/1
        via 192.168.0.2 (2195456/281600), Serial0/0
P 192.168.20.0/24, 1 successors, FD is 128256
        via Connected, Loopback20
R1#

R6#sh cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
R2               Eth 0/0            152          R        3620      Eth 1/1
R3               Eth 0/0            155          R        3620      Eth 1/0
R5               Eth 0/0            164          R        3620      Eth 0/0

R6#sh ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
2   192.168.0.18            Et0/0             14 00:17:00 1611  5000  0  97
1   192.168.0.17            Et0/0             11 00:17:03  309  1854  0  125
0   192.168.0.19            Et0/0             14 00:17:03  344  2064  0  48

R6#show running-config
Building configuration...

Current configuration : 995 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$xsGB$dkMQKY8KaMbviu.rR6sju.
!
no aaa new-model
ip subnet-zero
!
ip cef
!
username admin password 7 094D4A04100B
!
interface Loopback101
 ip address 192.168.101.1 255.255.255.0
!
interface Loopback102
 ip address 192.168.102.1 255.255.255.0
!
interface Ethernet0/0
 ip address 192.168.0.20 255.255.255.248
 half-duplex
!
interface Ethernet0/1
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/2
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/3
 no ip address
 shutdown
 half-duplex
!
router eigrp 10
 network 192.168.0.16 0.0.0.7
 network 192.168.101.0
 network 192.168.102.0
 no auto-summary
!
ip http server
ip classless
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 exec-timeout 0 0
 login local
!
end

R6#sh ip route
D    192.168.90.0/24 [90/409600] via 192.168.0.19, 00:18:55, Ethernet0/0
D    192.168.30.0/24 [90/409600] via 192.168.0.17, 00:18:55, Ethernet0/0
D    192.168.60.0/24 [90/409600] via 192.168.0.18, 00:18:53, Ethernet0/0
D    192.168.10.0/24 [90/2323456] via 192.168.0.17, 00:18:53, Ethernet0/0
                     [90/2323456] via 192.168.0.18, 00:18:53, Ethernet0/0
D    192.168.40.0/24 [90/409600] via 192.168.0.17, 00:18:55, Ethernet0/0
D    192.168.80.0/24 [90/435200] via 192.168.0.17, 00:18:55, Ethernet0/0
D    192.168.20.0/24 [90/2323456] via 192.168.0.17, 00:18:53, Ethernet0/0
                     [90/2323456] via 192.168.0.18, 00:18:53, Ethernet0/0
     192.168.0.0/24 is variably subnetted, 4 subnets, 2 masks
D       192.168.0.8/29 [90/307200] via 192.168.0.17, 00:18:55, Ethernet0/0
D       192.168.0.0/30 [90/2195456] via 192.168.0.17, 00:18:55, Ethernet0/0
D       192.168.0.4/30 [90/2195456] via 192.168.0.18, 00:18:53, Ethernet0/0
C       192.168.0.16/29 is directly connected, Ethernet0/0
C    192.168.102.0/24 is directly connected, Loopback102
D    192.168.50.0/24 [90/409600] via 192.168.0.18, 00:18:54, Ethernet0/0
D    192.168.70.0/24 [90/435200] via 192.168.0.17, 00:18:56, Ethernet0/0
D    192.168.100.0/24 [90/409600] via 192.168.0.19, 00:18:56, Ethernet0/0
C    192.168.101.0/24 is directly connected, Loopback101

R6#sh ip eigrp topology
IP-EIGRP Topology Table for AS(10)/ID(192.168.102.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 192.168.100.0/24, 1 successors, FD is 409600
        via 192.168.0.19 (409600/128256), Ethernet0/0
P 192.168.101.0/24, 1 successors, FD is 128256
        via Connected, Loopback101
P 192.168.102.0/24, 1 successors, FD is 128256
        via Connected, Loopback102
P 192.168.70.0/24, 1 successors, FD is 435200
        via 192.168.0.17 (435200/409600), Ethernet0/0
P 192.168.90.0/24, 1 successors, FD is 409600
        via 192.168.0.19 (409600/128256), Ethernet0/0
P 192.168.80.0/24, 1 successors, FD is 435200
        via 192.168.0.17 (435200/409600), Ethernet0/0
P 192.168.40.0/24, 1 successors, FD is 409600
        via 192.168.0.17 (409600/128256), Ethernet0/0
P 192.168.60.0/24, 1 successors, FD is 409600
        via 192.168.0.18 (409600/128256), Ethernet0/0
P 192.168.50.0/24, 1 successors, FD is 409600
        via 192.168.0.18 (409600/128256), Ethernet0/0
P 192.168.0.8/29, 1 successors, FD is 307200
        via 192.168.0.17 (307200/281600), Ethernet0/0
P 192.168.10.0/24, 2 successors, FD is 2323456
        via 192.168.0.18 (2323456/2297856), Ethernet0/0
        via 192.168.0.17 (2323456/2297856), Ethernet0/0
P 192.168.0.0/30, 1 successors, FD is 2195456
        via 192.168.0.17 (2195456/2169856), Ethernet0/0
P 192.168.0.4/30, 1 successors, FD is 2195456
        via 192.168.0.18 (2195456/2169856), Ethernet0/0
P 192.168.30.0/24, 1 successors, FD is 409600
        via 192.168.0.17 (409600/128256), Ethernet0/0
P 192.168.0.16/29, 1 successors, FD is 281600
        via Connected, Ethernet0/0
P 192.168.20.0/24, 2 successors, FD is 2323456
        via 192.168.0.18 (2323456/2297856), Ethernet0/0
        via 192.168.0.17 (2323456/2297856), Ethernet0/0

+ نوشته شده در  پنجشنبه 1385/11/12ساعت 12  توسط حسین شاملو  | 

MPLS Sample Configuration

MPLS Sample Configuration
دوستان گرامی ، اگر این نوع تاپیک ها برای شما مفید است ، لطفا در بخش نظرات حتما مطرح بفرمایید.

 

R4 Running configuration:

service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname r4
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$dsaR$YRWtAsMDKKXOCG7MvXIyV/
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
username admin password 7 094D4A04100B
!
interface Loopback10
 ip address 192.168.50.1 255.255.255.0
!
interface Loopback20
 ip address 192.168.60.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 192.168.0.10 255.255.255.252
 mpls ip
 no fair-queue
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/1
 ip address 192.168.0.14 255.255.255.252
 mpls ip
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/4
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/5
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/6
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial1/7
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/0
 ip address 192.168.0.17 255.255.255.252
 mpls ip
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/4
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/5
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/6
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial2/7
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
router ospf 4
 log-adjacency-changes
 redistribute connected
 network 192.168.0.8 0.0.0.3 area 0
 network 192.168.0.12 0.0.0.3 area 0
 network 192.168.0.16 0.0.0.3 area 0
 network 192.168.50.0 0.0.0.255 area 0
 network 192.168.60.0 0.0.0.255 area 0
!
ip classless
no ip http server
no ip http secure-server
!
logging alarm informational
!
control-plane
!
gatekeeper
 shutdown
!
line con 0
 exec-timeout 0 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 login local
!
end

R$#show mpls forwarding-table
Local  Outgoing    Prefix            Bytes tag  Outgoing   Next Hop
tag    tag or VC   or Tunnel Id      switched   interface
16     Untagged    192.168.30.1/32   0          Se1/0      point2point
17     18          192.168.10.1/32   0          Se1/1      point2point
       17          192.168.10.1/32   0          Se1/0      point2point
18     Untagged    192.168.40.1/32   0          Se1/0      point2point
19     Untagged    172.16.20.1/32    0          Se2/0      point2point
20     Untagged    172.16.10.1/32    0          Se2/0      point2point
21     Untagged    192.168.80.1/32   0          Se1/1      point2point
22     22          192.168.20.1/32   0          Se1/1      point2point
       21          192.168.20.1/32   0          Se1/0      point2point
23     Pop tag     192.168.0.0/30    0          Se1/0      point2point
24     Pop tag     192.168.0.4/30    0          Se1/1      point2point
25     Untagged    192.168.70.1/32   0          Se1/1      point2point

R4#sh mpls ldp bindings
  tib entry: 172.16.10.0/24, rev 33
        remote binding: tsr: 172.16.20.1:0, tag: imp-null
  tib entry: 172.16.10.1/32, rev 12
        local binding:  tag: 20
        remote binding: tsr: 192.168.40.1:0, tag: 19
        remote binding: tsr: 192.168.80.1:0, tag: 21
  tib entry: 172.16.20.0/24, rev 32
        remote binding: tsr: 172.16.20.1:0, tag: imp-null
  tib entry: 172.16.20.1/32, rev 10
        local binding:  tag: 19
        remote binding: tsr: 192.168.40.1:0, tag: 18
        remote binding: tsr: 192.168.80.1:0, tag: 20
  tib entry: 192.168.0.0/30, rev 22
        local binding:  tag: 23
        remote binding: tsr: 172.16.20.1:0, tag: 24
        remote binding: tsr: 192.168.40.1:0, tag: imp-null
        remote binding: tsr: 192.168.80.1:0, tag: 24
  tib entry: 192.168.0.4/30, rev 24
        local binding:  tag: 24
        remote binding: tsr: 172.16.20.1:0, tag: 25
        remote binding: tsr: 192.168.40.1:0, tag: 23
        remote binding: tsr: 192.168.80.1:0, tag: imp-null
  tib entry: 192.168.0.8/30, rev 18
        local binding:  tag: imp-null
        remote binding: tsr: 172.16.20.1:0, tag: 22
        remote binding: tsr: 192.168.40.1:0, tag: imp-null
        remote binding: tsr: 192.168.80.1:0, tag: 23
  tib entry: 192.168.0.12/30, rev 20
        local binding:  tag: imp-null
        remote binding: tsr: 172.16.20.1:0, tag: 23
        remote binding: tsr: 192.168.40.1:0, tag: 22
        remote binding: tsr: 192.168.80.1:0, tag: imp-null
  tib entry: 192.168.0.16/30, rev 26
        local binding:  tag: imp-null
        remote binding: tsr: 172.16.20.1:0, tag: imp-null
        remote binding: tsr: 192.168.40.1:0, tag: 24
        remote binding: tsr: 192.168.80.1:0, tag: 25
  tib entry: 192.168.10.1/32, rev 6
        local binding:  tag: 17
        remote binding: tsr: 172.16.20.1:0, tag: 18
        remote binding: tsr: 192.168.40.1:0, tag: 17
        remote binding: tsr: 192.168.80.1:0, tag: 18
  tib entry: 192.168.20.1/32, rev 16
        local binding:  tag: 22
        remote binding: tsr: 172.16.20.1:0, tag: 21
        remote binding: tsr: 192.168.40.1:0, tag: 21
        remote binding: tsr: 192.168.80.1:0, tag: 22
  tib entry: 192.168.30.0/24, rev 39
        remote binding: tsr: 192.168.40.1:0, tag: imp-null
  tib entry: 192.168.30.1/32, rev 2
        local binding:  tag: 16
        remote binding: tsr: 172.16.20.1:0, tag: 16
        remote binding: tsr: 192.168.80.1:0, tag: 16
  tib entry: 192.168.40.0/24, rev 40
        remote binding: tsr: 192.168.40.1:0, tag: imp-null
  tib entry: 192.168.40.1/32, rev 8
        local binding:  tag: 18
        remote binding: tsr: 172.16.20.1:0, tag: 19
        remote binding: tsr: 192.168.80.1:0, tag: 19
  tib entry: 192.168.50.0/24, rev 28
        local binding:  tag: imp-null
  tib entry: 192.168.50.1/32, rev 34
        remote binding: tsr: 172.16.20.1:0, tag: 26
        remote binding: tsr: 192.168.40.1:0, tag: 25
        remote binding: tsr: 192.168.80.1:0, tag: 26
  tib entry: 192.168.60.0/24, rev 4
        local binding:  tag: imp-null
  tib entry: 192.168.60.1/32, rev 31
        remote binding: tsr: 172.16.20.1:0, tag: 17
        remote binding: tsr: 192.168.40.1:0, tag: 16
        remote binding: tsr: 192.168.80.1:0, tag: 17
  tib entry: 192.168.70.0/24, rev 42
        remote binding: tsr: 192.168.80.1:0, tag: imp-null
  tib entry: 192.168.70.1/32, rev 30
        local binding:  tag: 25
        remote binding: tsr: 172.16.20.1:0, tag: 27
        remote binding: tsr: 192.168.40.1:0, tag: 26
  tib entry: 192.168.80.0/24, rev 41
        remote binding: tsr: 192.168.80.1:0, tag: imp-null
  tib entry: 192.168.80.1/32, rev 14
        local binding:  tag: 21
        remote binding: tsr: 172.16.20.1:0, tag: 20
        remote binding: tsr: 192.168.40.1:0, tag: 20

R4#show mpls interfaces
Interface              IP            Tunnel   Operational
Serial1/0              Yes (ldp)     No       Yes
Serial1/1              Yes (ldp)     No       Yes
Serial2/0              Yes (ldp)     No       Yes

R4#show mpls ldp neighbor
    Peer LDP Ident: 192.168.80.1:0; Local LDP Ident 192.168.60.1:0
        TCP connection: 192.168.80.1.12798 - 192.168.60.1.646
        State: Oper; Msgs sent/rcvd: 42/39; Downstream
        Up time: 00:22:23
        LDP discovery sources:
          Serial1/1, Src IP addr: 192.168.0.13
        Addresses bound to peer LDP Ident:
          192.168.0.13    192.168.80.1    192.168.70.1    192.168.0.6
    Peer LDP Ident: 172.16.20.1:0; Local LDP Ident 192.168.60.1:0
        TCP connection: 172.16.20.1.646 - 192.168.60.1.12300
        State: Oper; Msgs sent/rcvd: 19/19; Downstream
        Up time: 00:01:42
        LDP discovery sources:
          Serial2/0, Src IP addr: 192.168.0.18
        Addresses bound to peer LDP Ident:
          192.168.0.18    172.16.10.1     172.16.20.1
    Peer LDP Ident: 192.168.40.1:0; Local LDP Ident 192.168.60.1:0
        TCP connection: 192.168.40.1.646 - 192.168.60.1.55768
        State: Oper; Msgs sent/rcvd: 20/19; Downstream
        Up time: 00:01:39
        LDP discovery sources:
          Serial1/0, Src IP addr: 192.168.0.9
        Addresses bound to peer LDP Ident:
          192.168.0.9     192.168.30.1    192.168.40.1    192.168.0.2

R4#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

     192.168.30.0/32 is subnetted, 1 subnets
O       192.168.30.1 [110/65] via 192.168.0.9, 00:26:30, Serial1/0
C    192.168.60.0/24 is directly connected, Loopback20
     192.168.10.0/32 is subnetted, 1 subnets
O       192.168.10.1 [110/129] via 192.168.0.13, 00:26:30, Serial1/1
                     [110/129] via 192.168.0.9, 00:26:30, Serial1/0
     192.168.40.0/32 is subnetted, 1 subnets
O       192.168.40.1 [110/65] via 192.168.0.9, 00:26:30, Serial1/0
     172.16.0.0/32 is subnetted, 2 subnets
O       172.16.20.1 [110/65] via 192.168.0.18, 00:26:30, Serial2/0
O       172.16.10.1 [110/65] via 192.168.0.18, 00:26:30, Serial2/0
     192.168.80.0/32 is subnetted, 1 subnets
O       192.168.80.1 [110/65] via 192.168.0.13, 00:26:30, Serial1/1
     192.168.20.0/32 is subnetted, 1 subnets
O       192.168.20.1 [110/129] via 192.168.0.13, 00:26:31, Serial1/1
                     [110/129] via 192.168.0.9, 00:26:31, Serial1/0
     192.168.0.0/30 is subnetted, 5 subnets
C       192.168.0.8 is directly connected, Serial1/0
C       192.168.0.12 is directly connected, Serial1/1
O       192.168.0.0 [110/128] via 192.168.0.9, 00:26:31, Serial1/0
O       192.168.0.4 [110/128] via 192.168.0.13, 00:26:31, Serial1/1
C       192.168.0.16 is directly connected, Serial2/0
C    192.168.50.0/24 is directly connected, Loopback10
     192.168.70.0/32 is subnetted, 1 subnets
O       192.168.70.1 [110/65] via 192.168.0.13, 00:26:31, Serial1/1

+ نوشته شده در  پنجشنبه 1385/11/12ساعت 0  توسط حسین شاملو  | 

 

 

+ نوشته شده در  چهارشنبه 1385/11/11ساعت 8  توسط وحید انصاری  |