Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Changing Mobility Pool Attributes

    Requirements

    This example uses the following hardware and software components:

    • An operational MX Series chassis
    • Junos OS MobileNext Broadband Gateway package

    Overview

    This example shows how to change mobility pool attributes for a mobile pool named “juniper-pool” in a routing instance named “default.”

    Configuration

    Step-by-Step Procedure

    To change the address range for a mobility pool.

    1. Verify the current configuration of the mobility pool.
      user@host# run show configuration access address-assignment mobile-pools
      juniper-pool { 
          family inet {
               network { 
                  30.30.0.0/16 {
                       range {
                           range1 { 
                              low 30.30.1.1;  
                             high 30.30.255.254;                    
       }
                       }
                   }
               }
           }
           default-pool;
       }
    2. Enter configuration mode and then maintenance mode.
      user@host# configureuser@host# set access address-assignment mobile-pools juniper-pool service-mode maintenance user@host# commit
    3. Wait for all sessions using juniper-pool to terminate. Do this by monitoring the service-mode status using the following show command. When the number of sessions becomes zero, the service-mode status displays “Maintenance – Active Phase.”
      user@host# show access address-assignment mobile-pools pool-name service-mode

      Note: “Maintenance - Active Phase” means system is ready to accept configuration changes for all attributes of this object and its subhierarchies. “Maintenance mode - In/Out Phase” means that the system is ready to accept configuration changes only for non-maintenance mode attributes of this object and its subhierarchies.

    4. Change the address range from 30.30.x.x to 30.31.x.x.
      user@host# configureuser@host# set access address-assignment mobile-pools juniper-pool family inet network 30.31.0.0/16 range range1 low 30.31.1.1 high 30.31.255.254user@host# configureuser@host# delete access address-assignment mobile-pools juniper-pool family inet network 30.30.0.0/16 user@host# configureuser@host# commit
    5. Check the state of this pool.
      user@host# run show unified-edge ggsn-pgw address-assignment pool name juniper-pool detail
    6. Change the pool service mode to operational. Do this by deleting service-mode maintenance for juniper-pool.
      user@host# configureuser@host# delete access address-assignment mobile-pools juniper-pool service-mode maintenanceuser@host# commit
    7. Check the state of juniper-pool.
      user@host# run show unified-edge ggsn-pgw address-assignment pool juniper-pool details
    8. Check the new configuration for juniper-pool.
      user@host# run show configuration access address-assignment mobile-pools juniper-pool
      juniper-pool {
          family inet {
              network {
                  30.31.0.0/16 {
                      range {
                          range1 {
                              low 30.31.1.1;
                              high 30.31.255.254;
                          }
                      }
                  }
              }
          }
          default-pool;
      

    Step-by-Step Procedure

    The following examples illustrate how to make changes to mobile pools.

    1. Verify the current configuration of “Gi-vrf”.
      user@host# run show routing-instances Gi-vrf access
      address-assignment {
          mobile-pools {
              v4-vrf-1 {
                  family inet {
                      network {
                          30.30.0.0/16 {
                              range {
                                  range1 {
                                      low 30.30.1.1;
                                      high 30.30.254.254;
                                  }
                              }
                          }
                      }
                  }
              }
              v6-vrf-1 {
                  family inet6 {
                      network {
                          2000:1:2::0/48 {
                              range {
                                  range6-1 {
                                      low 2000:1:2:5::0/64;
                                      high 2000:1:2:ffff::0/64;
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
    2. Enter maintenance mode to make changes to v4-vrf-1. In this example, you are changing the range for the pool.
      user@host# set routing-instances Gi-vrf access address-assignment mobile-pools v4-vrf-1 service-mode maintenanceuser@host# commituser@host# set routing-instances Gi-vrf access address-assignment mobile-pools v4-vrf-1 family inet network 30.30.0.0/16 range range1 low 30.30.2.1user@host# commituser@host# delete routing-instances Gi-vrf access address-assignment mobile-pools v4-vrf-1 service-modeuser@host# commit
    3. Verify your changes.
      user@host# show routing-instances Gi-vrf access
      address-assignment {
          mobile-pools {
              v4-vrf-1 {
                  family inet {
                      network {
                          30.30.0.0/16 {
                              range {
                                  range1 {
                                      low 30.30.2.1;
                                      high 30.30.254.254;
                                  }
                              }
                          }
                      }
                  }
              }
              v6-vrf-1 {
                  family inet6 {
                      network {
                          2000:1:2::0/48 {
                              range {
                                  range6-1 {
                                      low 2000:1:2:5::0/64;
                                      high 2000:1:2:ffff::0/64;
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
      
      [edit]
      user@host#    

    Step-by-Step Procedure

    This procedure describes how to add a network to a mobile pool.

    1. Verify the current address assignment for the mobile pool “jnpr”.
      user@host# run show access address-assignment mobile-pools jnpr
      family inet {
          network {
              30.30.0.0/16 {
                  range {
                      r1 {
                          low 30.30.1.1;
                          high 30.30.1.254;
                      }
                  }
              }
          }
      }
      default-pool;
    2. Place the mobile pool in maintenance mode.
      user@host# set access address-assignment mobile-pools jnpr service-mode maintenanceuser@host# commit
    3. Verify that the pool is in maintenance mode.
      user@host# show access address-assignment mobile-pools jnpr
      service-mode maintenance;
      family inet {
          network {
              30.30.0.0/16 {
                  range {
                      r1 {
                          low 30.30.1.1;
                          high 30.30.1.254;
                      }
                  }
              }
          }
      }
      default-pool;
    4. Add the network “10.10.0.0/16”.
      user@host# set access address-assignment mobile-pools jnpr family inet network 40.40.0.0/16user@host# commit
    5. Verify that the network was added to the pool.
      user@host# run show access address-assignment mobile-pools jnpr
      service-mode maintenance;
      family inet {
          network {
              30.30.0.0/16 {
                  range {
                      r1 {
                          low 30.30.1.1;
                          high 30.30.1.254;
                      }
                  }
              }
              10.10.0.0/16; <----   
           }
      }
      default-pool;
    6. Exit maintenance mode and commit.
      user@host# delete access address-assignment mobile-pools jnpr service-modeuser@host# commit
    7. Verify that the pool is no longer in maintenance mode.
      user@host# run show access address-assignment mobile-pools jnpr
      family inet {
          network {
              30.30.0.0/16 {
                  range {
                      r1 {
                          low 30.30.1.1;
                          high 30.30.1.254;
                      }
                  }
              }
              10.10.0.0/16; <----   
           }
      }
      default-pool;
    8. Return the gateway to operational state.
      user@host# run show unified-edge ggsn-pgw gateway service-mode

    Published: 2011-11-16