Pages

Basic command on router juniper (Lệnh cơ bản Juniper)


          1.      Entering configuration mode on a Router, and exit

           user@R1>configure
           [edit]
           user@R1#exit
           user@R1>

          2.      Setting host name
user@R1>configure
[edit]
user@R1#edit system
[edit system]
user@R1#set host-name juniper1
[edit system]
user@R1#exit
[edit]
user@R1#exit

           3.      Configuring the Root Password (encrypted password)
            user@R1>configure
           [edit]
           user@R1#edit system root-authentication
           [edit system root-authentication ]
           user@R1#set encrypted-password 24adr3e
           [edit system root-authentication ]
           user@R1#exit
           [edit]
           user@R1#

4.      Configuring DNS Name Server

user@R1>configure
[edit]
user@R1#edit system
[edit system]
user@R1#set name-server 192.168.1.11
[edit system]
user@R1#exit
[edit]
user@R1#

5.      Configuring Backup Router

user@R1>configure
[edit]
user@R1#edit system
[edit system]
user@R1#set backup-router 172.16.1.2
[edit system]
user@R1#exit
[edit]
user@R1#

6.      Router Interface Address Configuration

user@R1>configure
[edit]
user@R1#edit interfaces so-1/1/0
[edit interfaces so-1/1/0]
user@R1#edit unit 0 family inet
[edit interfaces so-1/1/0 unit 0 family inet]
user@R1#set address192.168.2.1 /24
[edit interfaces so-1/1/0 unit 0 family inet]
user@R1#exit
[edit interfaces so-1/1/0]
user@R1#exit
[edit]
user@R1#

7.      Shutdown an interface

user@R1>configure
[edit]
user@R1#edit interfaces so-0/0/0
[edit interfaces so-0/0/0]
user@R1#set disable
[edit interfaces so-0/0/0]
user@R1#exit
[edit]
user@R1#

8.      Set interface description

user@R1>configure
[edit]
user@R1#edit interfaces so-0/0/0
[edit interfaces so-0/0/0]
user@R1#set description "interface-so-0/0/0"
[edit interfaces so-0/0/0]
user@R1#exit
[edit]
user@R1#

9.      Configuring the Encapsulation on a Physical Interface

user@R1>configure
[edit]
user@R1#edit interfaces so-0/0/0
[edit interfaces so-0/0/0]
user@R1#set encapsulation ppp
[edit interfaces so-0/0/0]
user@R1#exit
[edit]
user@R1#

10.  Setting bandwidth on an interface

Set bandwidth of so-0/0/0 unit 0 as 1000k

 

 

 



thudinh Network and Security

No comments:

Adsense

Translate