The command "load replace terminal" can be used to copy a configuration from a text file to the J-series router. After you execute this command the router will start accepting configuration data via the paste option. To exit this mode use the CTRL-D or ^D to exit the terminal mode and return back to the router prompt.
A sample example is below
root@Router# load replace terminal
[Type ^D at a new line to end input]
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.100.1/24;
}
}
}
ge-0/0/3 {
speed 100m;
link-mode full-duplex;
gigether-options {
no-auto-negotiation;
}
unit 0 {
family inet {
address 172.19.51.157/23;
}
}
}
}
load complete
[edit]
root@Router# commit
No comments:
Post a Comment