[x]

Site Alert(s):

  • Server maintenance Saturday Nov 22, 2008, 12:00 PM - 3:00 PM. The Knowledge Center will be unavailable during this time.
Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages: N/A

How to Remove a BGP Configuration

Document ID: CTX111571   /   Created On: Jun 20, 2007   /   Updated On: Jun 21, 2007
Average Rating: not yet rated

Summary

This document describes how to clear or remove a Border Gateway Protocol (BGP) configuration.

Requirements

The following items are necessary to perform this task:

• Administrative/shell/root access to the NetScaler

• Basic understanding of UNIX commands

• Access to the NetScaler command line prompt

Procedure

  1. Log on to the NetScaler with full administrative privileges.
  2. Enter the shell command.
  3. CD to the nsconfig directory: cd /nsconfig. Verify the file existence.

    root@ns# cd /nsconfig
    root@ns# ls –l
    -rw-r-----  1 root  wheel   259 Oct 25 11:56 ZebOS.conf
    -r--r--r--  1 root  wheel   731 Aug 10 22:13 inetd.conf
  4. Remove all the ZebOS.conf files (if there are more than one):

    root@ns# rm -r ZebOS*
  5. Reload the NetScaler.
  6. If you do not want to reload the NetScaler, kill and restart the processes related to BGP.
    Important!
    : This step should only be completed by a skilled system administrator because of the potential for serious problems. Use this step at your own risk.
    1. Find the respective processes:

      root@ns# ps -aux |grep Zeb
      root        375  0.0  0.1  2592 1016  ??  Is    2:41AM   0:00.01 /netscaler/nsm -d -f /nsconfig/ZebOS.conf
      root       5684  0.0  0.1  3160 2088  ??  S<s  11:34AM   0:00.02 /netscaler/bgpd -d -f /nsconfig/ZebOS.conf
      root       6070  0.0  0.0  1016  600  p1  R+   11:59AM   0:00.00 grep Zeb
    2. Kill the process by using kill -9 <pid>

      root@ns# kill -9 375
      root@ns# kill -9 5684
    3. Restart those processes by entering the same commands from the ps command.

      root@ns# /netscaler/nsm -d -f /nsconfig/ZebOS.conf
      root@ns#  /netscaler/bgpd -d -f /nsconfig/ZebOS.conf
    4. Make sure that the process are running again:

      root@ns# ps -aux |grep Zeb
      root       6137  0.0  0.1  2580 1480  ??  Ss   12:02PM   0:00.00 /netscaler/nsm -d -f /nsconfig/ZebOS.conf
      root       6144  0.0  0.1  3080 2020  ??  Ss   12:03PM   0:00.00 /netscaler/bgpd -d -f /nsconfig/ZebOS.conf
      root       6147  0.0  0.0  1012  592  p1  R+   12:03PM   0:00.00 grep Zeb
    5. If the process does not restart, you need to reload.
  7. Configure BGP via >vtysh again and save it.

Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified