JUNOS Internet Software Network Operations Guide: Hardware
Sample Output
What it Means
Action
Sample Output
!
488
Avoiding Redundancy Problems
[edit groups]
user@host# show
re0 {
system {
host-name foo-re0;
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 10.0.0.1/24;
}
}
}
}
}
re1 {
system {
host-name foo-re1;
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 10.0.0.2/24;
}
}
}
}
}
Use the already-existing groups statement, and use re0 and re1 as keyword group
names. Each Routing Engine applies the slot-specific group configuration
information to its configurations.
In the main configuration body, add the rest of the configuration that will be the
same on both Routing Engines. Do not include the configuration statements that
you made in the group configurations (such as configurations for fxp0 ). If you
configure items in the body of the statement that also exist in the groups statement,
the configuration in the body takes precedence—the configuration from the group
statement will not be inherited.
Display the groups that were applied using the following configuration mode CLI
command:
[edit]
user@host# show apply-groups
user@host# show apply-groups
apply-groups [ re0 re1 ];
Need help?
Do you have a question about the JUNOS - NETWORK OPERATION GUIDE REV1 and is the answer not in the manual?