[Contents] [Prev] [Next] [Index] [Report an Error]


Step 2: Apply the New Group

Action

To apply the re0 group to maintain a single configuration file for both Routing Engines, follow these steps:

  1. In configuration mode, go to the top hierarchy level and include the following statement:
  2. user@host# [edit]
    
    user@host# set apply-groups group-name
    
    
    

For example:

user@host# [edit]
user@host# set apply-groups re0

  1. Verify the configuration:
  2. user@host# show
    
    groups {
    
        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 ];
    
    
    
  3. Commit the configuration:
  4. user@host# commit
    

What It Means

The sample output shows that each group, re0 and re1, has its own IP address that is used for each Routing Engine to maintain a single configuration file.


[Contents] [Prev] [Next] [Index] [Report an Error]