Users Guide

Table Of Contents
OS10(config-router-bgp-100-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-vrf-af)# bgp redistribute-internal
OS10(config)# router ospf 20 vrf dell
OS10(config-router-ospf-20)# redistribute bgp 100
View BGP routes information
Use the following commands to view all BGP routes that match any of the community filters for a default or nondefault VRF
instance.
View BGP routes that match a standard community number.
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [community community-number |
{internet | local-AS | no-advertise | no-export}]
View BGP routes that match any of the standard community numbers from a standard community list.
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [community-list community-list-
name]
View BGP routes that match any of the extended community attributes from an extended community list.
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [extcommunity-list extcommunity-
list-name]
View BGP routes that match any of the AS-path regular expression attributes from the given AS-path list.
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [filter-list as-path-list-name
Debug BGP
Use the following procedure to debug BGP.
To debug BGP:
debug ip bgp
Configuring BGP template
Configure the BGP templates to support the following attributes in IPv4 and IPv6 address family level: next-hop-self, oft-
reconfiguration inbound, maximum-prefix, and add-path.
To configure BGP template:
1. Configure peer-group under BGP.
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# template abc
2. Configure maximum-prefix in IPV4 AFI, where maximum-prefix is 10, threshold is 50, and warning is enabled.
OS10(config-router-template)# address-family ipv4 unicast
OS10(config-router-bgp-template-af)# maximum-prefix 10 50 warning-only
3. Configure add-path capability in IPv4 AFI, with add-path on both directions with count as 4.
OS10(config-router-template)# address-family ipv4 unicast
OS10(config-router-bgp-template-af)# add-path both 4
Layer 3
819