How to Edit the XECfgParm.dat File in PGW2200
This document guides the Mandatory parameter configuration and editing procedure in the XECfgParm.date File in PGW2200, to get your Box ready to start the MGC application in the Sun Solaris Platform.
Before doing configuration take Backup of default XECfgParm.dat file available in the directory /opt/CiscoMGC/etc
Stop the MGC application if it is running, enter /etc/init.d/CiscoMGC stop
- Prepare the PGW2200 for Active & Standby Operation.
- Configure the IP Address for PGW2200.
- Configure the PGW2200 for Operation mode : Nailed or Switched.
Procedure :
Step 1: Logon to PGW2200 using SSH. Enter the username and Password.
Step 2: From Unix shell change the directory to /opt/CiscoMGC/etc by entering cd /opt/CiscoMGC/etc
Step 3: Edit the XECfgParm.dat file using VI, enter “vi XECfgParm.dat”
Step 4: Edit the parameter *.platformId = 1
Step 5: Edit the parameter *.ownTranspathId = 01
(Own transpathId refers to Active Box no. - 01)
Step 6: Edit the parameter *.peerTranspathId = 02
(PeertranspathId refers to Standby Box no. = 02)
Step 7: Edit the parameter *.desiredPlatformState = master / slave /standalone
This parameter is master for Active box and slave for Standby box. If there is no active/standby mode and running in standalone, choose standalone
Step 8: Edit the parameter *.ipAddrLocalA =, enter the IP address of the Active PGW2200.
Example :
*.ipAddrLocalA = 10.20.1.11
Step 9: Edit the parameter *.ip_Addr1 = , enter the IP address of the PGW2200.
Example :
*.ip_Addr1 = 10.20.1.11
Note : *.ipAddrLocalA & *.ip_Addr1 is the same local Node IP of Bge0 / Nge0 Interface
Step 10: Edit the parameter *.ipAddrLocalB =, enter the IP address of the Standalone PGW2200.
Example :
*.ipAddrLocalB = 10.20.1.14
Step 11: Edit the parameter *.ip_Addr2 = , enter the IP address of the PGW2200.
Example :
*.ip_Addr2 = 10.20.1.14
Note : *.ipAddrLocalB& *.ip_Addr2 is the same local Node IP of Bge1 /Nge1 Interface
Step 12: Edit the parameter *.ipAddrPeerA = , enter the IP address of the Peer PGW2200.
Example :
*.ipAddrPeerA = 10.20.1.12
Note: *.ipAddrPeerA refers to the Peer Box ie standby box, Bge0/Nge1 Interface IP
Step 13: Edit the parameter *.ipAddrPeerB = , enter the IP address of the Peer PGW2200.
Example :
*.ipAddrPeerB = 10.20.1.15
Note: *.ipAddrPeerB refers to the Peer Box ie standby box, Bge1/Nge1 Interface IP
Step 14: Edit the parameter *.IP_NextHop1 = , enter the NextHop Router IP address
Example :
*.IP_NextHop1 = 10.20.1.9
Step 15: Edit the parameter *.IP_NextHop2 = , enter the NextHop Router IP address
Example :
*.IP_NextHop2 = 10.20.1.13
Step 16: Edit the parameter engine.SysVirtualSwitch = 1
Step 17: To Save the Settings, enter :wq
Setp 18: Verify XECfgParm.dat Settings by “more XECfgParm.dat”
Frequently used Edit Keys for reference in Solaris Box: Find the link for more details
A - Append to end of current line
i - Insert letter before cursor
dw - delete word
cw - change word
ESC - End of Insert mode. Use ESC key whenever you want to do other mode of operation.
:w - write file
:wq - write file and quit
:q - quit
:q! - quit (even if changes not saved)
http://www.unix-manuals.com/refs/vi-ref/vi-ref.htm
Now Activate the XECfgParm.dat File
Step 1: Logon to PGW2200 using SSH. Enter the username and Password.
Step 2: From Unix shell change user to root, enter su -1. Enter the username root and the password.
Step 3: Stop MGC Software, enter /etc/init.d/CiscoMGC stop
Step 4: Start MGC Software, enter /etc/init.d/CiscoMGC start
Step 5: Enter Exit to exit from the mode.
Related Information