Page 111 / 757 Scroll up to view Page 106 - 110
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
107
DGS-3627:admin# debug bgp show interface_info
Command: debug bgp show interface_info
Interface Information:
Name
Index
Network
Flags
Status
----
-----
-------------
-----
------
System
0001
30.30.30.30/8
0
Up
DGS-3627:admin#
debug bgp show bgp_timer
Purpose
This command is used to display the current BGP timer chain information in the BGP protocol
stack.
Syntax
debug bgp show bgp_timer
Description
This command is used to display the current BGP timer chain information in the BGP protocol
stack.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure BGP to show the current BGP timer chain information:
DGS-3627:admin# debug bgp show bgp_timer
Command: debug bgp show bgp_timer
BGP timer Link:
node
time
func
----
----
------
08B108D0
0001
00675AF4
08B1AC70
0016
0065F4F4
08B1ACA8
0017
0065F5CC
08B37DCC
0029
0065F4F4
08B37E04
0030
0065F5CC
032821BC
0035
00662840
08B1AC54
0135
0065F40C
08B37DB0
0148
0065F40C
DGS-3627:admin#
debug bgp show redist_list
Purpose
This command is used to display the current BGP redistribution information.
Syntax
debug bgp show redist_list
Description
This command is used to display the current BGP redistribution information.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure BGP to show the current BGP redistribution information:
Page 112 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
108
DGS-3627:admin# debug bgp show redist_list
Command: debug bgp show redist_list
Last redistribution count summary:
Type
Route_count_rib
total_count
Time(msec)
------
---------------- --------------- ---------
OSPF
0
0
0
RIP
0
0
0
STATIC
0
0
0
LOCAL
0
0
0
Redistributed routes summary:
Network
Type
Route_map
Metric
Next_hop
-------
----
---------
------
-------------
Total entry: 0
Redist list information:
No redist list exist!
DGS-3627:admin#
debug bgp show as_path_access_list
Purpose
This command is used to display the current BGP path access list configuration in the BGP
protocol stack.
Syntax
debug bgp show as_path_access_list
Description
This command is used to display the current BGP path access list configuration in the BGP
protocol stack.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure BGP to show the current BGP path access list information:
DGS-3627:admin# debug bgp show as_path_access_list
Command: debug bgp show as_path_access_list
BGP AS Path Access List 1
deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_)
permit 33
Total entry: 1
DGS-3627:admin#
debug bgp show community_list
Purpose
This command is used to display the current community list configuration in the BGP protocol
stack.
Syntax
debug bgp show community_list
Description
This command is used to display the current community list configuration in the BGP protocol
stack.
Page 113 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
109
debug bgp show community_list
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure BGP to show the current community list information:
DGS-3627:admin# debug bgp show community_list
Command: debug bgp show community_list
Community list:1
standard
permit
internet
DGS-3627:admin#
debug bgp route_map
Purpose
This command is used to set the route map debugging flags to disabled or enabled. If this
flag is enabled, the route map permit or deny values in the BGP module will be displayed.
Syntax
debug bgp route_map [enable | disable]
Description
This command is used to set the route map debugging flags to be disabled or enabled.
Parameters
enable
- Enable the route_map debug function.
disable
- Disable the route_map debug function.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure the route map debugging flags’ state to be enabled:
DGS-3627:admin#
debug bgp router_map enable
Command: debug bgp router_map enable
Success.
After configuring BGP to enable the route map debug flag, it may print the following information when the route map is
applied:
route_map:<map1>,apply bgp neighbor:<13.0.0.1> MATCH.
route_map:<map1>,apply bgp static route:<32.0.0.0/8> Not MATCH.
debug bgp access_list
Purpose
This command is used to set the access list debugging flags to be disabled or enabled. If this
flag is enabled, the access list will display the values permit or deny in BGP module.
Syntax
debug bgp access_list [enable | disable]
Description
This command is used to set the access list debugging flags to be disabled or enabled.
Parameters
enable
- Enable the access_list debug function
disable
- Disable the access_list debug function
Restrictions
Only Administrator level users can issue this command.
Page 114 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
110
Example usage:
Configure the access list debug flags’ state to be enabled:
DGS-3627:admin#
debug bgp access_list enable
Command: debug bgp access_list enable
Success.
After configuring BGP to enable the access list debug flag, it may print following information when the access list is
applied:
access_list:<ac1>,apply bgp neighbor:<19.0.0.1> MATCH.
debug bgp prefix_list
Purpose
This command is used to set the prefix list debugging flags to be disabled or enabled. If this
flag is enabled, the prefix list will display the values permit or deny in BGP module.
Syntax
debug bgp prefix_list [enable | disable]
Description
This command is used to set the prefix list debugging flags to be disabled or enabled.
Parameters
enable
- Enable the prefix_list debug function
disable
- Disable the prefix_list debug function
Restrictions
Only Administrator level users can issue this command.
Example usage:
Configure the prefix list debug flags’ state to be enabled:
DGS-3627:admin#
debug bgp prefix_list enable
Command: debug bgp prefix_list enable
Success.
After configuring BGP to enable the prefix list debug flag, it may print the following information when the prefix list is
applied:
Prefix_list:<list1>,apply bgp neighbor:<15.0.0.1> MATCH.
Page 115 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
111
14
BORDER GATEWAY PROTOCOL (BGP) COMMANDS
The Border Gateway Protocol (BGP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
enable bgp
disable bgp
create bgp
<as_number 1-65535>
delete bgp
<as_number 1-65535>
config bgp router_id
<ipaddr>
config bgp synchronization
[enable | disable]
config bgp enforce_first_as
[enable | disable]
create bgp aggregate_address
<network_address> {summary_only | as_set}
delete bgp aggregate_address
[<network_address>| all]
show bgp aggregate_address
{<network_address>]
create bgp network
<network_address> {route_map <map_name 16>}
config bgp network
<network_address> [route_map <map_name 16> | clear_routemap]
delete bgp network
[<network_address> | all]
show bgp network
{<network_address>}
config bgp timer
holdtime <sec 0-65535> keepalive <sec 0-65535>
config bgp
{ always_compare_med [enable | disable]| deterministic_med [enable | disable] |
default_local_preference <uint 0-4294967295>| bestpath { as_path_ignore
[enable | disable] | compare_routerid [enable | disable] | med_confed [enable |
disable] | med_missing_as_worst [enable | disable] | compare_confed_aspath
[enable | disable] }(1)}(1)
config bgp dampening
[ route_map <map_name 16> | clear_routemap | { state [enable | disable] |
half_life <min 1-45 > | reuse<value 1-20000> | suppress <value 1-20000> |
max_suppress_time <min 1-255 >| un_reachability_half_life <min 1-45>}(1)]
show bgp dampening
config bgp peer_group
<peer_group_name 16> [add | delete] <ipaddr>
config bgp peer_group
<peer_group_name 16> remote_as <as_number 0-65535>
create bgp neighbor
[<ipaddr> [remote_as <as_number 1-65535>| peer_group <peer_group_name
16>] | peer_group <peer_group_name 16>]
delete bgp neighbor
[<ipaddr> | peer_group <peer_group_name 16> | all]
config bgp neighbor description
[<ipaddr> | peer_group <peer_group_name 16>] [description <desc 80> |
clear_description]
config bgp neighbor session
[<ipaddr> | peer_group <peer_group_name 16>] state [enable | disable]
config bgp neighbor session
[<ipaddr> | peer_group <peer_group_name 16>] activity [enable | disable]

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top