Theodore Baschak
Theodore Baschak
Routing Guru. IPv6 Advocate. Operator of Hextet Systems (AS395089).
Jul 15, 2016 1 min read

A BGP Slash Command

If you’re using Slack then you should already know how easy it is to integrate almost anything into slack using its web APIs. If you’re not already using Slack, what are you waiting for?

As a Slack user and a network administrator I often find myself leaving Slack to check a looking glass, or to whois something. A while back I made an API that supplies various BGP related information back when given an IP address with the intention of making a Slack “Slash Command” first, and maybe a Slack App afterwards if I found it useful.

This turned out to be easier than I expected.

Setting Up a /bgp Slash Command

  1. Go to your Slash Commands.
  2. Under Integration Settings enter the following:
Command: /bgp
URL: ""
Method: POST
Customize Name: bgp-lookup
  - [x] Show this command in the autocomplete list
  - Description: Do BGP Lookup on an IP
  - Usage Hint: [IPv4|v6 Address]
Descriptive Label: BGP Lookup

Thats is.

Now you can use /bgp x.x.x.x in your Slack channels and get BGP lookup info.

If this is handy I may make an app to provide this.