summaryrefslogtreecommitdiffhomepage
path: root/docs/sources
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-08-16 18:09:07 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-08-16 18:09:07 +0000
commitf52f3245c5d09d7a8e86c3654d1ceed23fc0de36 (patch)
tree44dd975bc6040bddc16602602eacfeb15141f3bd /docs/sources
parent0a9375a40e84a1bb83aafdaf8a164bdf29f1513f (diff)
cli: support setting flowspec "procotol" in octet
$ gobgp global rib -a ipv4-flowspec add match protocol 100 then discard close #1052 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r--docs/sources/flowspec.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/sources/flowspec.md b/docs/sources/flowspec.md
index 1181cce8..8fddcccc 100644
--- a/docs/sources/flowspec.md
+++ b/docs/sources/flowspec.md
@@ -44,15 +44,15 @@ CLI syntax to add ipv4/ipv6 flowspec rule is
```shell
% global rib add match <MATCH_EXPR> then <THEN_EXPR> -a [ipv4-flowspec|ipv6-flowspec]
- <MATCH_EXPR> : { destination <PREFIX> | source <PREFIX> |
- protocol <PROTO>... | fragment <FRAGMENT_TYPE> | tcp-flags <TCPFLAG>... |
- { port | destination-port | source-port | icmp-type | icmp-code | packet-length | dscp } <ITEM>... }...
- <PROTO> : ipip, sctp, unknown, igmp, tcp, egp, rsvp, pim, icmp, igp, udp, gre, ospf
- <FRAGMENT_TYPE> : dont-fragment, is-fragment, first-fragment, last-fragment, not-a-fragment
- <TCPFLAG> : push, ack, urgent, fin, syn, rst
- <ITEM> : &?{<|>|=}<value>
- <THEN_EXPR> : { accept | discard | rate-limit <value> | redirect <RT> | mark <value> | action { sample | terminal | sample-terminal } | rt <RT>... }...
- <RT> : xxx:yyy, xx.xx.xx.xx:yyy, xxx.xxx:yyy
+ <MATCH_EXPR> : { destination <PREFIX> [<OFFSET>] | source <PREFIX> [<OFFSET>] |
+ protocol <PROTO>... | fragment <FRAGMENT_TYPE> | tcp-flags [not] [match] <TCPFLAG>... |
+ { port | destination-port | source-port | icmp-type | icmp-code | packet-length | dscp | label } <ITEM>... }...
+ <PROTO> : ospf, pim, igp, udp, igmp, tcp, egp, rsvp, gre, ipip, unknown, icmp, sctp, <VALUE>
+ <FRAGMENT_TYPE> : dont-fragment, is-fragment, first-fragment, last-fragment, not-a-fragment
+ <TCPFLAG> : rst, push, ack, urgent, fin, syn
+ <ITEM> : &?{<|>|=}<value>
+ <THEN_EXPR> : { accept | discard | rate-limit <value> | redirect <RT> | mark <value> | action { sample | terminal | sample-terminal } | rt <RT>... }...
+ <RT> : xxx:yyy, xx.xx.xx.xx:yyy, xxx.xxx:yyy
```
that for l2vpn flowspec rule is