OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Flowspec Commands : show ip bgp
show ip bgp
Use these commands to show the output.
Command Syntax
show ip bgp flowspec
show ip bgp flowspec summary (vrf (VRFNAME|all|default))
show ip bgp (ipv4|vpnv4) flowspec (detail|)
show ip bgp (ipv4|vpnv4) flowspec (vrf (VRFNAME|all|default)) (detail|)
show ip bgp vpnv4 flowspec rd WORD (detail|)
Parameters
None
Command Mode
Executive mode.
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
#show ip bgp flowspec
BGP router identifier 19.19.19.19, local AS number 100
BGP table version is 7
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 100 40 35 7 0 0 00:04:51 1
 
Total number of neighbors 1
 
Total number of Established sessions 1
BGP router identifier 4.4.4.4, local AS number 100
BGP VRF VRF1 Route Distinguisher: 100:10
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
200.2.1.2 4 65530 0 0 0 0 0 never Connect
 
Total number of neighbors 1
 
Total number of Established sessions 0
 
show ip bgp flowspec summary vrf VRF1
BGP router identifier 4.4.4.4, local AS number 100
BGP VRF VRF1 Route Distinguisher: 100:10
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
200.2.1.2 4 65530 0 0 0 0 0 never Idle
 
Total number of neighbors 1
 
Total number of Established sessions 0
 
#show ip bgp flowspec summary vrf all
BGP router identifier 4.4.4.4, local AS number 100
BGP VRF VRF1 Route Distinguisher: 100:10
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
200.2.1.2 4 65530 0 0 0 0 0 never Connect
 
Total number of neighbors 1
 
Total number of Established sessions 0
BGP router identifier 19.19.19.19, local AS number 100
BGP table version is 7
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 100 41 37 7 0 0 00:05:31 1
 
Total number of neighbors 1
 
Total number of Established sessions 1
 
#show ip bgp flowspec summary vrf default
BGP router identifier 19.19.19.19, local AS number 100
BGP table version is 7
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 100 42 37 7 0 0 00:05:37 1
 
Total number of neighbors 1
 
Total number of Established sessions 1
 
#show ip bgp ipv4 flowspec
detail summary vrf
#show ip bgp ipv4 flowspec vrf all
BGP table version is 1, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
BGP Route Table for VRF VRF1
*>i flowspec/368 1.1.1.1 0 100 0 i
 
Total number of prefixes 1
*>i flowspec/368 1.1.1.1 0 100 0 i
 
Total number of prefixes 1
 
#show ip bgp ipv4 flowspec vrf all detail
BGP table version is 1, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
BGP Route Table for VRF VRF1
*>i flowspec/368 1.1.1.1 0 100 0 i
 
FlowSpec:
destination ip address: 1.1.1.1/32
source ip address: 2.2.2.2/32
IP protocol:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:122
TCP/UDP port:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1000
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:2000
ICMP type:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
ICMP code:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:20
TCP flags:
e:0 a:0 len:0 not:0 m:1 data:0x2e
e:1 a:1 len:0 not:1 m:0 data:0x11
Packet length:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:70
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:100
DSCP:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x1c
fragment:
e:1 a:0 len:0 not:0 m:1 data:0x8
 
FlowSpec Actions:
traffic_rate: 100000000 bps
rt_redirect: as_type: as 100:10 vrf_id:2 fib_id:2
 
 
Total number of prefixes 1
*>i flowspec/368 1.1.1.1 0 100 0 i
 
FlowSpec:
destination ip address: 1.1.1.1/32
source ip address: 2.2.2.2/32
IP protocol:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:122
TCP/UDP port:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1000
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:2000
ICMP type:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
ICMP code:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:20
TCP flags:
e:0 a:0 len:0 not:0 m:1 data:0x2e
e:1 a:1 len:0 not:1 m:0 data:0x11
Packet length:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:70
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:100
DSCP:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x1c
fragment:
e:1 a:0 len:0 not:0 m:1 data:0x8
 
FlowSpec Actions:
traffic_rate: 0 pps
 
 
Total number of prefixes 1
 
#show ip bgp vpnv4 flowspec vrf VRF1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10 (Default for VRF VRF1)
*>i flowspec/368 1.1.1.1 0 100 0 i
Announced routes count = 0
Accepted routes count = 1
#show ip bgp vpnv4 flowspec vrf VRF1 detail
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10 (Default for VRF VRF1)
*>i flowspec/368 1.1.1.1 0 100 0 i
 
FlowSpec:
destination ip address: 1.1.1.1/32
source ip address: 2.2.2.2/32
IP protocol:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:122
TCP/UDP port:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1000
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:2000
ICMP type:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
ICMP code:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:20
TCP flags:
e:0 a:0 len:0 not:0 m:1 data:0x2e
e:1 a:1 len:0 not:1 m:0 data:0x11
Packet length:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:70
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:100
DSCP:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x1c
fragment:
e:1 a:0 len:0 not:0 m:1 data:0x8
 
FlowSpec Actions:
traffic_rate: 100000000 bps
rt_redirect: as_type: as 100:10 vrf_id:2 fib_id:2
 
Announced routes count = 0
Accepted routes count = 1
 
#show ip bgp vpnv4 flowspec rd 100:10
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10 (Default for VRF VRF1)
*>i flowspec/368 1.1.1.1 0 100 0 i
Announced routes count = 0
Accepted routes count = 1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10
*>i flowspec/368 1.1.1.1 0 100 0 i
Announced routes count = 0
Accepted routes count = 1
 
#show ip bgp vpnv4 flowspec rd 100:10 detail
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10 (Default for VRF VRF1)
*>i flowspec/368 1.1.1.1 0 100 0 i
 
FlowSpec:
destination ip address: 1.1.1.1/32
source ip address: 2.2.2.2/32
IP protocol:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:122
TCP/UDP port:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1000
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:2000
ICMP type:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
ICMP code:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:20
TCP flags:
e:0 a:0 len:0 not:0 m:1 data:0x2e
e:1 a:1 len:0 not:1 m:0 data:0x11
Packet length:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:70
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:100
DSCP:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x1c
fragment:
e:1 a:0 len:0 not:0 m:1 data:0x8
 
FlowSpec Actions:
traffic_rate: 100000000 bps
rt_redirect: as_type: as 100:10 vrf_id:2 fib_id:2
 
Announced routes count = 0
Accepted routes count = 1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10
*>i flowspec/368 1.1.1.1 0 100 0 i
 
FlowSpec:
destination ip address: 1.1.1.1/32
source ip address: 2.2.2.2/32
IP protocol:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:122
TCP/UDP port:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1000
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:2000
ICMP type:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
ICMP code:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:20
TCP flags:
e:0 a:0 len:0 not:0 m:1 data:0x2e
e:1 a:1 len:0 not:1 m:0 data:0x11
Packet length:
e:0 a:0 len:1 lt:0 gt:1 eq:1 data:70
e:1 a:1 len:1 lt:1 gt:0 eq:1 data:100
DSCP:
e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x1c
fragment:
e:1 a:0 len:0 not:0 m:1 data:0x8
 
FlowSpec Actions:
traffic_rate: 100000000 bps
rt_redirect: as_type: as 100:10 vrf_id:2 fib_id:2
 
Announced routes count = 0
Accepted routes count = 1
 
Last modified date: 10/16/2023