Module 2 - Initial System Configuration
Module 2 - Initial System Configuration
CJNR-M-7.a.7.6.1
Copyright © 2006, Juniper Networks, Inc.
Module Objectives
After successfully completing this module, you will be
able to:
– Explain user authentication and authorization options
– Describe the use of configuration groups
– Configure system logging and tracing
– Configure interfaces
– Perform typical Initial system configuration according to a
checklist
[edit]
lab@SanJose-re0# set apply-groups [ re0 re1 ];
[edit]
lab@SanJose# set interfaces apply-
groups all-atm
FT
physical-properties;
[…]
unit unit-number {
logical-properties;
[…] Logical properties are configured
at the logical unit level
}
}
}
lab@omaha> configure
[edit]
lab@omaha# edit interfaces so-1/0/3 unit 40
[edit interfaces so-1/0/3 unit 40]
lab@omaha# set dlci 40
[edit interfaces]
lab@San_Jose# show so-0/1/0
##
## inactive: interfaces so-0/1/0
##
unit 0 {
family inet {
address 10.0.1.2/24;
}
}
Setting an interface or logical unit to disable signals
JUNOS software to treat that interface as administratively
down
[edit interfaces]
lab@San_Jose# set so-0/1/0 disable
[edit interfaces]
lab@San_Jose# show so-0/1/0
disable;
unit 0 {
family inet {
address 10.0.1.2/24;
}
}
login: root
Last login: Fri Jan 17 22:21:55 on ttyd0
[edit]
root@lab2#
Configure management interface IP address and prefix
[edit]
root@lab2# set interfaces fxp0 unit 0 family inet address
ip-address/prefix-length
Define a backup router
– Used when routing daemon is not running
Required when using redundant Routing Engines
[edit]
root@lab2# set system backup-router gateway-address
[edit routing-options]
root@lab2# set static route ip-address/prefix-length
next-hop OoB-next-hop-address no-readvertise
Configure system services for remote access
[edit]
root@lab2# set system services ssh
[edit]
root@lab2# set system services telnet
[edit]
root@lab2# set system services ftp
Copyright © 2006, Juniper Networks, Inc.
Initial Configuration (7 of 10)
Configure user accounts
– Use predefined login classes, or create your own
[edit interfaces]
root@lab2# set fe-0/0/2 unit 0 family inet address 10.0.13.2/24
[edit interfaces]
root@lab2# show lo0 Loopback interface
unit 0 { must use a /32
family inet {
address 192.168.12.1/32;
}
}
[edit interfaces]
root@lab2# show fe-0/0/2
unit 0 {
family inet {
address 10.0.13.2/24;
}
}
Lab Objectives:
Perform initial system configuration and
monitor the router’s operation