Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Using Global Replace in a Junos Configuration—Replacing an Interface Name

The following example shows how you can replace an interface name in a configuration:

[edit]user@host# show protocols {ospf {area 0.0.0.0 {interface so-0/0/0 {hello-interval 5;}}}}[edit]user@host# replace so-0/0/0 with so-1/1/0[edit]user@host# show protocols {ospf {area 0.0.0.0 {interface so-1/1/0 {hello-interval 5;}}}}

Published: 2012-11-27