bgp scan-time
Use this command to configure scanning intervals of BGP routers. This interval is the period after which router checks the validity of the routes in its database. To disable BGP scanning, set the scan-time interval to 0 seconds.
Use the no parameter with this command to disable this function.
Command Syntax
bgp scan-time <0-60>
no bgp scan-time
no bgp scan-time <0-60>
Parameter
<0-60>
Scanning interval in seconds
Default
By default, scan-time interval is 60 seconds.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#bgp scan-time 10
bgp table-map
Use this command to enable or disable suppression/modification of incoming BGP updates to IP RIB/FIB table installation.
In a dedicated route reflector, all the routes it receives may not be required to be stored or only few selected routes need to be stored, because it may not lie in the data path.
Table maps are particularly useful to attain this restriction. Table-map command can be used in two ways:
• When a simple table-map command is given, the route map referenced in the table-map command shall be used to set certain properties (such as the traffic index) of the routes for installation into the RIB. The route is always downloaded, regardless of whether it is permitted or denied by the route map.
• When the option ‘filter’ is given in the table map command, the route map referenced is used to control whether a BGP route is to be downloaded to the IP RIB (hence the filter). A BGP route is not downloaded to the RIB if it is denied by the route map.
Use this command in Address Family mode to set the table map rule per an IPv4 or IPv6 family.
Use the no parameter with this command to remove the table-map rule.
Command Syntax
table-map WORD (|filter)
no table-map word
Parameter
WORD
Specify the route-map name to apply.
filter
Filer the routes. If present, the incoming routes are pruned as per the rule specified in route-map-name. If not, it is used to alter the incoming packet information.
Default
All BGP routes will be downloaded to IP RIB
Command Mode
Address Family IPv4 mode, and Address Family IPv6 mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows how to set the table-map command without filter for BGP for all address families.
#configure terminal
(config)#router bgp 100
(config-router)#address-family ipv4 unicast
(config-router-af)#table-map abc
The following example shows how to set the table-map command with filter for BGP for all address families.
#configure terminal
(config)#router bgp 100
(config-router)#address-family ipv4 unicast
(config-router-af)#table-map abc filter
The following example shows how to set the table-map command without filter for BGP for an IPv6 address family.
(config)#router bgp 100
(config-router)#address-family ipv6
(config-router-af)#table-map abc
The following example shows how to set the table-map command with filter for BGP for an IPv6 address family.
(config)#router bgp 100
(config-router)#address-family ipv6
(config-router-af)#table-map abc filter
Last modified date: 07-13-2023