Published 6月 01, 2018 by with 0 comment

JNCIE-SP Router上架



Juniper M7i Router:
跟大陸買家買的 RMB$6754


Cisco 3750 Switch

TP-LINK TL-WR702N NTD$549





整個Lab topology如下



Juniper M7i Pre-configuration:

root@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
#Password: root123
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
#Password: JNCIE123
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200

[edit]
root@M7i#


Cisco 3750 Switch Pre-configuration:

SW1#show running-config
Building configuration...

Current configuration : 2655 bytes
!
! Last configuration change at 23:24:38 GST Sat Nov 15 2014
! NVRAM config last updated at 23:22:15 GST Sat Nov 15 2014
!
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
!
hostname SW1
!
VLAN 12
VLAN 13
VLAN 14
VLAN 23
VLAN 24
VLAN 34
VLAN 35
VLAN 36
VLAN 45
VLAN 47
VLAN 56
VLAN 57
VLAN 68
VLAN 78
VLAN 103
VLAN 116
VLAN 124
VLAN 127
VLAN 129
VLAN 1000
 name Home_LAB_MGMT
!
enable secret cisco123
!
username cisco privilege 15 password 0 cisco123
!
clock timezone GST 8
!
no ip domain-lookup
!
interface FastEthernet1/0/1
 description To_M7i_FE-0/0/0
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-999
 switchport mode trunk
!
interface FastEthernet1/0/2
 description To_M7i_FE-0/0/1
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-999
 switchport mode trunk
!
interface FastEthernet1/0/3
 description To_M7i_FE-0/0/2
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-999
 switchport mode trunk
!
interface FastEthernet1/0/4
 description To_M7i_FE-0/0/3
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-999
 switchport mode trunk
!
interface FastEthernet1/0/23
 description To_M7i_MGMT
 switchport access vlan 1000
 switchport mode access
!
interface FastEthernet1/0/24
 description To_AP
 switchport access vlan 1000
 switchport mode access
!
interface Vlan1000
 description Home_LAB_MGMT
 ip address 192.168.100.222 255.255.255.192
!
ip default-gateway 192.168.100.200
!
line con 0
 exec-timeout 30 0
 logging synchronous
line vty 0 4
 exec-timeout 30 0
 logging synchronous
 login local
line vty 5 15
 exec-timeout 30 0
 logging synchronous
 login local
!
ntp server 211.22.103.158 prefer
ntp server 140.112.2.189
end

====SW1_Home_192.168.100.222_2014-11-15_23:26:43.log====


最後附上M7i的相關資訊
root@M7i>

root@M7i> show chassis hardware              
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                34222             M7I
Midplane         REV 04   710-008761   CG5875            M7i Midplane
Power Supply 0   Rev 05   740-008537   5218747           AC Power Supply
Routing Engine   REV 09   740-009459   1000560579        RE-5.0
CFEB             REV 03   750-010463   CG9170            Internet Processor II
FPC 0                                                    E-FPC
  PIC 0          REV 12   750-002992   RD9698            4x F/E, 100 BASE-TX
FPC 1                                                    E-FPC
  PIC 2                   BUILTIN      BUILTIN           1x Tunnel
  PIC 3          REV 05   750-009099   CG5923            1x G/E, 1000 BASE
Fan Tray                                                 Rear Fan Tray

root@M7i>

root@M7i>

root@M7i>

root@M7i> show chassis environment           
Class Item                           Status     Measurement
Power Power Supply 0                 OK       
      Power Supply 1                 Absent   
Temp  Intake                         OK         23 degrees C / 73 degrees F
      FPC 0                          OK         25 degrees C / 77 degrees F
      Power Supplies                 OK         25 degrees C / 77 degrees F
      CFEB Intake                    OK         24 degrees C / 75 degrees F
      CFEB Exhaust                   OK         30 degrees C / 86 degrees F
      Routing Engine                 OK         28 degrees C / 82 degrees F
      Routing Engine CPU             OK         26 degrees C / 78 degrees F
Fans  Fan 1                          OK         Spinning at normal speed
      Fan 2                          OK         Spinning at normal speed
      Fan 3                          OK         Spinning at normal speed
      Fan 4                          OK         Spinning at normal speed

root@M7i>

root@M7i>

root@M7i>

root@M7i> show chassis routing-engine   
Routing Engine status:
    Temperature                 28 degrees C / 82 degrees F
    CPU temperature             27 degrees C / 80 degrees F
    DRAM                       768 MB (768 MB installed)
    Memory utilization          46 percent
    CPU utilization:
      User                       0 percent
      Background                 0 percent
      Kernel                     3 percent
      Interrupt                  0 percent
      Idle                      96 percent
    Model                          RE-5.0
    Serial ID                      1000560579
    Start time                     1999-01-01 08:01:18 CST
    Uptime                         1 hour, 10 minutes, 59 seconds
    Last reboot reason             Router rebooted after a normal shutdown.
    Load averages:                 1 minute   5 minute  15 minute
                                       0.00       0.00       0.00

root@M7i>

root@M7i>

root@M7i>

root@M7i> show version                       
Hostname: M7i
Model: m7i
JUNOS Base OS boot [12.3R6.6]
JUNOS Base OS Software Suite [12.3R6.6]
JUNOS Kernel Software Suite [12.3R6.6]
JUNOS Crypto Software Suite [12.3R6.6]
JUNOS Packet Forwarding Engine Support (M/T/EX Common) [12.3R6.6]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [12.3R6.6]
JUNOS Online Documentation [12.3R6.6]
JUNOS Services AACL Container package [12.3R6.6]
JUNOS Services Application Level Gateways [12.3R6.6]
JUNOS AppId Services [12.3R6.6]
JUNOS Border Gateway Function package [12.3R6.6]
JUNOS Services Captive Portal and Content Delivery Container package [12.3R6.6]
JUNOS Services HTTP Content Management package [12.3R6.6]
JUNOS IDP Services [12.3R6.6]
JUNOS Services LL-PDF Container package [12.3R6.6]
JUNOS Services NAT [12.3R6.6]
JUNOS Services PTSP Container package [12.3R6.6]
JUNOS Services RPM [12.3R6.6]
JUNOS Services Stateful Firewall [12.3R6.6]
JUNOS Voice Services Container package [12.3R6.6]
JUNOS Services Example Container package [12.3R6.6]
JUNOS Services Crypto [12.3R6.6]       
JUNOS Services SSL [12.3R6.6]
JUNOS Services IPSec [12.3R6.6]
JUNOS Runtime Software Suite [12.3R6.6]
JUNOS platform Software Suite [12.3R6.6]
JUNOS Routing Software Suite [12.3R6.6]

root@M7i>

root@M7i>

root@M7i>

root@M7i> show system alarms   
No alarms currently active

root@M7i>

root@M7i>

root@M7i>

root@M7i> show system storage                
Filesystem              Size       Used      Avail  Capacity   Mounted on
/dev/ad0s1a             1.7G       294M       1.2G       19%  /
devfs                   1.0K       1.0K         0B      100%  /dev
/dev/md0                 65M        65M         0B      100%  /packages/mnt/jbase
/dev/md1                 31M        31M         0B      100%  /packages/mnt/jkernel-12.3R6.6
/dev/md2                 41M        41M         0B      100%  /packages/mnt/jpfe-M7i-12.3R6.6
/dev/md3                5.0M       5.0M         0B      100%  /packages/mnt/jdocs-12.3R6.6
/dev/md4                105M       105M         0B      100%  /packages/mnt/jroute-12.3R6.6
/dev/md5                 29M        29M         0B      100%  /packages/mnt/jcrypto-12.3R6.6
/dev/md6                 38M        38M         0B      100%  /packages/mnt/jpfe-common-12.3R6.6
/dev/md7                 92K        92K         0B      100%  /packages/mnt/jplatform-12.3R6.6
/dev/md8                424M       424M         0B      100%  /packages/mnt/jruntime-12.3R6.6
/dev/md9                1.5G      10.0K       1.4G        0%  /tmp
/dev/md10               1.5G        11M       1.3G        1%  /mfs
/dev/ad0s1e             189M        30K       174M        0%  /config
procfs                  4.0K       4.0K         0B      100%  /proc
/dev/ad1s1f              52G       1.4G        46G        3%  /var

root@M7i>

root@M7i>

root@M7i>

root@M7i> show system processes brief   
last pid:  1669;  load averages:  0.07,  0.02,  0.01  up 0+01:13:11    19:58:05
115 processes: 2 running, 96 sleeping, 17 waiting

Mem: 205M Active, 74M Inact, 43M Wired, 299M Cache, 69M Buf, 116M Free
Swap: 1536M Total, 1536M Free




root@M7i>

root@M7i>

root@M7i>

root@M7i> show system uptime            
Current time: 2014-11-19 19:58:39 CST
System booted: 2014-11-19 18:45:24 CST (01:13:15 ago)
Protocols started: 2014-11-19 18:49:15 CST (01:09:24 ago)
Last configured: 1999-01-01 08:27:06 CST (828w5d 11:31 ago) by root
 7:58PM  up 1:13, 1 user, load averages: 0.12, 0.03, 0.01

root@M7i>

root@M7i>

root@M7i>

root@M7i> show interfaces terse         
Interface               Admin Link Proto    Local                 Remote
fe-0/0/0                up    up
pfh-0/0/0               up    up
pfh-0/0/0.16383         up    up   inet   
fe-0/0/1                up    up
fe-0/0/2                up    up
fe-0/0/3                up    up
gr-1/2/0                up    up
ip-1/2/0                up    up
lt-1/2/0                up    up
mt-1/2/0                up    up
pd-1/2/0                up    up
pe-1/2/0                up    up
vt-1/2/0                up    up
ge-1/3/0                up    down
dsc                     up    up
fxp0                    up    up
fxp0.0                  up    up   inet     192.168.100.221/26
fxp1                    up    up
fxp1.0                  up    up   inet     10.0.0.4/8     
                                            128.0.0.1/2    
                                            128.0.0.4/2    
                                   inet6    fe80::200:ff:fe00:4/64
                                            fec0::a:0:0:4/64
                                   tnp      0x4            
gre                     up    up
ipip                    up    up
lo0                     up    up
lo0.16384               up    up   inet     127.0.0.1           --> 0/0
lo0.16385               up    up   inet   
lsi                     up    up
mtun                    up    up
pimd                    up    up
pime                    up    up
tap                     up    up

root@M7i>

root@M7i>

root@M7i>

root@M7i> show ntp associations   
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*211-22-103-158. 192.168.0.3      2 -    1   64    7    7.586   28.969  36.401
+ntp.ntu.edu.tw  .GPS.            1 -    3   64    7    9.972   -5.495  99.633

root@M7i>

root@M7i>

root@M7i>

root@M7i> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=48 time=105.474 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=16.089 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=17.061 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=48 time=16.608 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 16.089/38.808/105.474/38.491 ms

root@M7i>

root@M7i>

root@M7i>

root@M7i> show configuration | display set   
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200

root@M7i>

root@M7i>

root@M7i>

後記:
當時買M7i, 賣家是新手, 竟用保麗龍板包裝.
所以拆開包裹時, 我心都碎了.
很多地方都撞歪了~ 機器內外到處都是小保麗龍碎珠.
M7i JUNOS 原是7.0. 我一直升級失敗,
最後同事Martin送我一個新硬碟, 再請Andy幫我升級(一次成功)
感謝他們的幫忙
謝謝


最初發表 / 最後更新: 2014.11.25 / 2018.06.01

0 comments:

張貼留言