A SERVICE OF

logo

xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
143
DGS-3627:admin# create bgp community_list standard list1
Command: create bgp community_list standard list1
Success.
DGS-3627:admin# config bgp community_list standard list1 add community_set 50000:10
permit
Command: config bgp community_list standard list1 add community_set 50000:10 permit
Success.
DGS-3627:admin# show bgp community_list list1
Command:4# show bgp community_list list1
Community List Name: list1
--------------------------------
Type : standard
permit: 50000:100
DGS-3627:admin#
show bgp route
Purpose This command is used to display route entries in the Border Gateway Protocol (BGP) routing
table
Syntax
show bgp route {[ regexp <desc 80> | inconsistent_as | cidr_only | filter_list <list_name
16> | route_map <map_name 16> | community {community_set <community_set 80> |
local_as | no_advertise | no_export | internet}{exact_match} | community_list
<list_name 16> {exact_match} | ipaddress <ipaddr> | network <network_address>
{longer_prefixes} | prefix_list <list_name 16>]}
Description This command is used to show BGP routes.
Parameters
regexp - Displays routes matching the AS path regular expression
<regexp_str 80> - This is a regular expression to match the BGP AS paths. You must
enclose this in quotes. Blank spaces are permitted. Detail rule please see reference doc.
cidr_only - Displays only routes with non-natural network masks
prefix_list - Displays routes conforming to the prefix list
filter_list - Displays routes conforming to the filter list
route_map - Displays routes matching the route map
<map_name 16> - Specifies the name for the specified route map.
<list_name 16> - Specifies the list name for the specified prefix list, IP access list, or route
map.
<ipaddr> - Displays the host route that matches the specified IP address.
<network_address> - Displays the route that matches the specified network address.
The format of network is (xxx.xxx.xxx/xx). It specifies an IP address and length of network
mask.
longer_prefixes - If specified, more specific routes will also be displayed.
community - Displays routes matching the communities
community_set < community_set 80> - A community is in the form of <as_number> :
<udn_number>. A community string can be formed by multiple communities, separated by a
comma.
An example of a community string is 200:1024, 300:1025, 400:1026.
local_as - Do not send outside local AS (well-known community)