From f52f3245c5d09d7a8e86c3654d1ceed23fc0de36 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Tue, 16 Aug 2016 18:09:07 +0000 Subject: 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 --- docs/sources/flowspec.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs/sources/flowspec.md') 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 then -a [ipv4-flowspec|ipv6-flowspec] - : { destination | source | - protocol ... | fragment | tcp-flags ... | - { port | destination-port | source-port | icmp-type | icmp-code | packet-length | dscp } ... }... - : ipip, sctp, unknown, igmp, tcp, egp, rsvp, pim, icmp, igp, udp, gre, ospf - : dont-fragment, is-fragment, first-fragment, last-fragment, not-a-fragment - : push, ack, urgent, fin, syn, rst - : &?{<|>|=} - : { accept | discard | rate-limit | redirect | mark | action { sample | terminal | sample-terminal } | rt ... }... - : xxx:yyy, xx.xx.xx.xx:yyy, xxx.xxx:yyy + : { destination [] | source [] | + protocol ... | fragment | tcp-flags [not] [match] ... | + { port | destination-port | source-port | icmp-type | icmp-code | packet-length | dscp | label } ... }... + : ospf, pim, igp, udp, igmp, tcp, egp, rsvp, gre, ipip, unknown, icmp, sctp, + : dont-fragment, is-fragment, first-fragment, last-fragment, not-a-fragment + : rst, push, ack, urgent, fin, syn + : &?{<|>|=} + : { accept | discard | rate-limit | redirect | mark | action { sample | terminal | sample-terminal } | rt ... }... + : xxx:yyy, xx.xx.xx.xx:yyy, xxx.xxx:yyy ``` that for l2vpn flowspec rule is -- cgit v1.2.3