Step 2: Apply the New Group
Action
To apply the
re0group to maintain a single configuration file for both Routing Engines, follow these steps:
- In configuration mode, go to the top hierarchy level and include the following statement:
user@host#[edit]user@host#set apply-groupsgroup-nameuser@host#[edit]user@host#set apply-groups re0
- Verify the configuration:
user@host#showgroups {re0 {system {host-name foo-re0;}interfaces {fxp0 {unit 0 {family inet {address 1.1.1.1/24;}}}}}re1 {system {host-name foo-re1;}interfaces {fxp0 {unit 0 {family inet {address 1.1.1.2/24;}}}}}}apply-groups [ re0 re1 ];- Commit the configuration:
user@host#commitWhat It Means
The sample output shows that each group,
re0andre1, has its own IP address that is used for each Routing Engine to maintain a single configuration file.