Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Wednesday, August 8, 2012

junos routes ospf...

wow...

root@junosA> show ospf database
    OSPF database, Area 0.0.0.0
 Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *1.1.1.1          1.1.1.1          0x80000004   693  0x22 0x42e6  60
Router   2.2.2.2          2.2.2.2          0x80000006   726  0x22 0xb264  60
Router  *192.168.1.1      192.168.1.1      0x80000001   736  0x22 0xae42  36
Network  192.168.1.2      2.2.2.2          0x80000003   716  0x22 0x5b2   32
root@junosA> show ospf interface
Interface           State   Area            DR ID           BDR ID          Nbrs
em0.0               BDR     0.0.0.0         2.2.2.2         1.1.1.1            1
lo0.0               DR      0.0.0.0         1.1.1.1         0.0.0.0            0
root@junosA> show route
inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
1.1.1.0/24         *[Direct/0] 00:12:32
                    > via lo0.0
1.1.1.1/32         *[Local/0] 00:12:32
                      Local via lo0.0
2.2.2.0/24         *[OSPF/10] 00:12:08, metric 1
                    > to 192.168.1.2 via em0.0
2.2.2.2/32         *[OSPF/10] 00:12:08, metric 1
                    > to 192.168.1.2 via em0.0
192.168.1.0/24     *[Direct/0] 01:06:14
                    > via em0.0
192.168.1.1/32     *[Local/0] 01:06:14
                      Local via em0.0
224.0.0.5/32       *[OSPF/10] 00:12:36, metric 1
                      MultiRecv
root@junosA> ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes
64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=1.693 ms
64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=4.832 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=3.762 ms
^C
--- 2.2.2.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.693/3.429/4.832/1.303 ms

root@junosA> show configuration | display set
set version 10.1R1.8
set system host-name junosA
set system root-authentication encrypted-password "$1$ALnM4HQI$/VI9YObWi1PmMT4J0uJVn1"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em0 unit 0 family inet address 192.168.1.1/24
set interfaces lo0 unit 0 family inet address 1.1.1.1/24
set protocols ospf area 0.0.0.0 interface em0.0
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols lldp advertisement-interval 10
root@junosA>
it's like candy...

No comments:

Post a Comment