Am running ZTE combined GGSN/PGW version (ZXUN XGW-16E), how do i modify the VRF of an existing APN Pool?
How to change the VRF of an APN Pool on ZTE GGSN/PGW?
1. Diassociate the pool from the APN (If the pool is being used by an APN):
GGSN1#configure t
Enter configuration commands, one per line. End with CTRL/Z.
GGSN1(config)#xgw
GGSN1(config-xgw)#pgw
GGSN1(config-xgw-pgw)#ap testapn.com
GGSN1(config-xgw-pgw-apn)#no ippool ?
pool-name IP pool name (1-20 characters)
GGSN1(config-xgw-pgw-apn)#no ippool testapnpool
GGSN1(config-xgw-pgw-apn)#commit
2. Delete all IP segments in pool (use the “show pgw ipv4-pool-all” to see the IP Segments):
GGSN1#configure t
Enter configuration commands, one per line. End with CTRL/Z.
GGSN1(config)#xgw
GGSN1(config-xgw)#pgw
GGSN1(config-xgw-pgw)#ipv4 ip-pool local testapnpool
GGSN1(config-xgw-pgw-ipv4)#no segment 10.10.10.1 10.10.10.254
GGSN1(config-xgw-pgw-ipv4)#commit
GGSN1(config-xgw-pgw-ipv4)#exit
GGSN1(config-xgw-pgw)#
3. Delete the existing VRF (oldvrf) and re-configure the desired VRF (newvrf) and add back the IP Pool Segment:
GGSN1#configure t
Enter configuration commands, one per line. End with CTRL/Z.
GGSN1(config)#xgw
GGSN1(config-xgw)#pgw
GGSN1(config-xgw-pgw)#ipv4 ip-pool local testapnpool
GGSN1(config-xgw-pgw-ipv4)#no vrf oldvrf
GGSN1(config-xgw-pgw-ipv4)#vrf newvrf
GGSN1(config-xgw-pgw-ipv4)#segment 10.10.10.1 10.10.10.254 mask 255.255.252.0
GGSN1(config-xgw-pgw-ipv4)#commit
GGSN1(config-xgw-pgw-ipv4)#end
GGSN1#
//// Some Important Show Commands on ZTE GGSN ////
#show pgw ipv4-pool-all
#show ip vrf brief
#show pgw ap-vrf