Você está na página 1de 4

1.

Factory-Default configuration
- Allow access throgh root account
- Include system logging to track system events
user@router> show system logging
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
- Contain platform dependant additional parameters
e.g. EX series switches include RSTP and Link Layer Discovery Protocol (LLDP)
in the factory-default config
2. Steps to load the factory-default
- user@router# load factory-default
user@router# set system root-authentication plain-text-password
user@router# commit
3. Powering ON and OFF a Junos Device
- Automatic power-on feature when power is interrupted
- Gracefull shutdown
user@router> request system halt ?
<[ENTER]>
at - specific time
in - time delay
media - options from which the next boot will start
message - log a messages
|
OR
user@router> request system halt both-routing-engines - for dual RES
OR
user@router> request system halt all-members - all Virtaul members in EX seri
es switches
4. Initial Configuration
- Hostname
user@router# set system host-name router
OR
user@router> edit system
user@router# set host-name router
- Root password
user@router# set system root-authentication plain-text-password
OR

user@router# edit system


user@router# set root-authentication plain-text-password
- To view the encrypted root pass
user@router# show system root-authenticaion
- Set the time parameter
user@router> edit system
user@router# set time-zone America/Los_Angeles
user@router# run set date 201412081000.00
- Set the management access
user@router# set system services telnet
user@router# set system services ssh
- To set CLI time-out
user@router> set cli idle-timeout 60
or to disable
user@router> set cli idle-timeout 0
- To set the login message
user@router> edit system login
user@router# set message "insert login message here ... "
user@router# commit
- To set the management network parameters
Management interface address
user@router# top
user@router# set interfaces interface_name unit 0 family inet address x.x.x.x
/24
Static route for management traffic
user@router# set routing-options static route x.x.x.x/24 next-hop backup_rout
er_ip reatin no-advertisement
user@router# commit and quit
Configure a backup router
user@router# set system backup-router x.x.x.x/24
5. Rescue Configuration
- Set the active config as the rescue config
user@router> request system configuration rescue save
- Delete the current rescue configuration

user@router> request system configuration rescue delete


- load the rescue config
user@router> edit
user@router# rollback rescue
user@router# commit
6. Interface Overview
- Management Interface: Platform specefics used to connect to the Junos device
e.g. fxp0 and me0
- Internal interface: used to connect control and forwarding plane
e.g. fxp1 and em0
- Services Interface
es
gr
ip
ls
ml
mo
mt
sp
vt

Encrytion interface
Generic route encapsulation tunnel interface
IP-over-IP encapsulation tunnel interface
Link services interface
Multilink interface
Passive monitoring interface
Multicast tunnel interface
Adaptive services interface
Virtual loopback tunnel interface

7. Interface Naming
-

Interface media type ( e.g. ge,so,at etc)


Line card (FPC) slot number
Interface card (PIC) slot number
Port Number

- Other Interface name designations


lo0 - loopback interfacd
ae - Aggregated Ethernet interface
as - Aggregated SONET interface
vlan - VLAN interface
- Internal interface
gre
mtun
ipip
tap
- Logical Units
for PPP and Cisco HDLC - logical unit should be 0
- Rename command can be used to correct adderessing mistakes
user@router# top
user@router# edit interfaces ge-0/1/2 unit 0
user@router# set family inet address 10.1.1.1

user@router# rename familty inet addres 10.1.1.1/32 to 10.1.1.1/24


user@router# commit
- Interface Properties
Physical properties includes as follows
Datalink layer protocol
Link speed and duplex
Physical MTU
Logical Properties
Protocol Family - inet / inet6 / iso / mpls / ethernet-switching
Address - IPv4/IPv6
Virtual Circuit - VLAN tag / DLCI / VPI or VCI
- Interface configuration
For same subnet ip adresses use the preferred keyword
user@router> edit interafaces ge-0/2/3
user@router# set unit 0 family inet address 172.19.102.1/24
user@router# set unit 0 family inet address 172.19.102.2/24 preferred
For different subnets use the primary keyword
user@router> edit interafaces ge-0/2/3
user@router# set unit 0 family inet address 172.19.102.1/24
user@router# set unit 0 family inet address 172.19.202.2/24 primary
By default the numericall lowest ip will be chosen as the primary/preferred ip
address
user@router> show interfaces ge-0/2/3 | find addresses
- Cannot config a 2nd protocol family in conjuntion with ethernet switching pr
otocol family
- Tracking the interface status
user@router > show interfaces terse

Você também pode gostar