Step 1: Configure the New Group
Purpose
Each
re0orre1group typically contains, at a minimum, the configuration for the hostname and the management interface (fxp0). If each Routing Engine uses a different management interface, the group must also contain the configuration for the backup router and static routes.Action
To configure the
re0andre1groups, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit groups- Configure the group:
[edit groups]user@host#setgroup-name[edit groups]user@host#set re0
- To configure the management interface, go to the following hierarchy level:
[edit groups]user@host#edit groups re0- Include the following statement:
[edit groups re0]user@host#set interfacesinterface-nameunitunitfamily inet addressaddress[edit groups re0]user@host#set interfaces fxp0 unit 0 family inet address 1.1.1.1/24
- To configure the hostname, go to the following hierarchy level:
[edit groups re0]user@host#edit groups re0 system- Include the following statement:
[edit groups re0 system]user@host#set host-namehostname[edit groups re0 system]user@host#set host-name foo-re0
- Verify the configuration:
[edit groups re0]user@host#showre0 {system {host-name foo-re0;}interfaces {fxp0 {unit 0 {family inet {address 1.1.1.1/24;}}}}}- Commit the configuration:
user@host#commit- Repeat Step 1 through Step 8 for the
re1group.What It Means
The sample output in Step 7 shows that the
re0group contains the minimum configuration for a group, the hostname, and the management interface (fxp0). If each Routing Engine uses a different management interface, the group must also contain the configuration for the backup router and static routes.