SRX: How to Copy & Paste in JUNOS


Problem:    


How copy and paste configuration text with Juniper SRX.

Solution:  


Paste text into the config with the "load replace terminal" command.  
Return to the router prompt with either CTRL-D or ^D.  

Example: 

root@SRX# load replace terminal    
[Type ^D at a new line to end input]
interfaces 
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 192.168.1.1/24;
            }
        }
    }
    ge-0/0/1 {
        unit 0 {
            family inet {
                    address 192.168.1.2/24;
            }
        }
    }
}
load complete
[edit]
root@SRX# commit

That's It!

0 Comments:

Post a Comment

My Instagram