Professional Documents
Culture Documents
Junos Sanog PDF
Junos Sanog PDF
Basic Configuration
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 2
Agenda
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 3
Powerup and Powerdown
§ Powerup
• Connect all cables
• Turn on one power supply
• Turn on second power supply
§ Powerdown
• Shut down JUNOS routing software
• CLI request system halt command
• Turn off power supplies
§ Craft interface
• Red LEDs indicate failure
• LCD displays all major and minor alarms
§ Syslog messages
• Contain more detailed information
• CLI show log messages command
§ CLI
• Interactive failure analysis using show commands
• monitor log files using monitor command
§ Removable media
• Used for install and upgrade, normally left empty
• RE —PCMCIA flash card
§ Flash drive
• Solid-state media
• Primary source for booting software
§ Hard drive
• Secondary source for booting software
§ Hardware controlled
• Software notifies hardware when boot
completes
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 11
Initial Configuration
§ Root password
• Root password not set at factory
• Must use console to configure root password
§ Router and domain name
§ Management interface IP address and prefix length
§ Default router IP address
§ DNS server IP address
[edit]
root@#
• Pre-encrypted password
root@# set system root-authentication
encrypted-password encrypted-password
root@# commit
commit complete
[edit]
root@lab2#
no-name (ttyd0)
login: root
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
§ Start CLI
# cli
root@no-name>
[edit]
root@no-name#
• Pre-encrypted password
root@no-name# set system root-authentication
encrypted-password encrypted-password
• SSH key
root@no-name# set system root-authentication
ssh-rsa key
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 25
Standard Interfaces
• 1-port OC-48
• Takes up all four PIC slots on M20 or M40
• Takes up one PIC slot on M160
• 1-port OC-192
• Takes up all four PIC slots on M160
• Not available on M20 or M40
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 31
FPC Slot Numbers
M40 0 1 2 3 4 5 6 7 M160 0 1 2 3 4 5 6 7
M20 0
1
2
3
• Top to bottom 2
3 2 1 0
§ M20
• Right to left
Copyright © 2003 Juniper Networks, Inc. www.juniper.net 33
Port Numbers
u M20
3 2
v Right to left
v Bottom to top 1 0
HyperNet
so-5/2/3.43
§ Interface number is separate in meaning
from the actual DLCI or ATM VC and can be
any arbitrary value
§ Suggested convention is to keep them the
same whenever possible
Installation
• Power-up & Power-down
• Initial Configuration
Interface
• Standard Interfaces
• FPC, PIC & Port Number
• Configuring Interface
Slide 40
Configure Interfaces
§ Two steps
• Configure physical properties
• Configure logical properties
• Logical properties
• Protocol family (Internet, ISO, MPLS)
• Addresses (IP address, ISO NET address)
• Virtual circuits (VCI/VPI, DLCI)
• Other characteristics
§ Logical settings
• Protocol family (Internet, ISO, MPLS)
•Protocol MTU
•IP address
•Other protocol options
• Virtual circuit identifiers (VPI.VCI, DLCI)
• Other according to-circuit characteristics
[edit]
lab@omaha# commit
[edit]
lab@omaha# commit
§ Displayed as
interfaces {
so-1/0/3 {
unit 0 {
family inet {
address 10.0.20.1/24;
31 2
fxp
fxp1
2
15
.1
fxp2 fxp2 fxp1
16.2 JB 1.2 1.1 Penang 24.1
2.1 0
fxp .1
fxp
0
0
1. Host name fxp Answer:
Level 2 0.2 0
2.2 2
fxp
2. Domain & DNS Server Name 1. set host-name host-name
3. Backup & Default Router KL 2. set domain-name juniper.net
set name-server 1.2.3.4
4. User Access to System fxp1
8.1
3. set back-up router gateway-addr
5. Time Zone fxp1
[edit routing-options static]
6. System Services telnet 8.2
fxp .2
.2
7. Logging Services (optional) Manila 5. [edit system] set time-zone
6. set services telnet
7. [edit system] set syslog file filename
fxp0 fxp0
21.1 29.2
Singapore fxp1 fxp1 Bangkok
16.1 24.2
fxp .2
31 2
fxp
fxp1
2
15
.1
fxp2 fxp2 fxp1
16.2 JB 1.2 1.1 Penang 24.1
2.1 0
fxp .1
fxp
1. Inventory your Interface
0
fxp0 :_________________ 0
fxp
fxp1 :_________________ 0.2 0
2.2 2
fxp
Area 0
fxp2 :_________________ KL
fxp1
8.1
2. Configure the Interfaces
fxp1
8.2
fxp .2
31 2
3. Check your work by
fxp
0
13
.2
Manila Lab IP Address Map
ping:__________________
10.0.x.y/24
traceroute:_____________