Re: Tip: Use of "replace pattern" command to make the configuration changes
No it is not a valid command. Not sure why he showed that. You could do a rename - IE - rename intefaces fe-0/0/0 to ge-0/0/0
Or do a replace pattern fe with ge
NOTE!! - This may be pretty self evident but the Junos configuration is hierarchical in nature. So when using replace you should ALWAYS do a search to determine the impact and then navigate to the right hierarchy prior to making any changes.
IE - to replace the value 192.168.10.1 first execute the following:
user@host# show | display set | match 192.168.10.1
Using the display set option will not only show you lines that match the search criteria but will give you the complete syntax so you know where in the config it is located.