howto/Quagga.md
... ...
@@ -10,4 +10,36 @@ Use this in your `zebra.conf`:
10 10
set src 172.22.XX.XX
11 11
ip protocol bgp route-map RM_SET_SRC
12 12
13
-Unfortunately, this is not possible with IPv6...
... ...
\ No newline at end of file
0
+Unfortunately, this is not possible with IPv6...
1
+
2
+## Important bgp commands
3
+To connect to bgpd use:
4
+
5
+ $ vtysh
6
+
7
+Which provides an interactive interface.
8
+In this interface the following commands can be used:
9
+
10
+
11
+# show bpg session status
12
+
13
+in this example:
14
+* an active bgp session exists with peer 64713.
15
+* no (vpn) connection at all exists with peer 64692
16
+* a (vpn) connection with 4242421375 exists, but no bgp session
17
+
18
+```
19
+vtysh> show ip bgp summary
20
+BGP router identifier 172.22.100.254, local AS number 64698
21
+RIB entries 938, using 103 KiB of memory
22
+Peers 11, using 49 KiB of memory
23
+Peer groups 1, using 32 bytes of memory
24
+
25
+Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
26
+172.22.92.247 4 64692 0 0 0 0 0 never Connect
27
+...
28
+172.22.113.2 4 64713 2206 865 0 0 0 01:23:11 322
29
+....
30
+172.23.64.1 4 4242421375 0 0 0 0 0 never Active
31
+fe80::deca:fbad 4 64699 902 694 0 0 0 01:23:57 486
32
+```
... ...
\ No newline at end of file