![Cisco Nexus 3548 series Скачать руководство пользователя страница 386](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162386.webp)
366
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
template (BGP)
switch(config-router-stmp)#
This example shows how to create and configure a peer-policy template named CUSTOMER-A:
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)#
template peer-policy CUSTOMER-A
switch(config-router-ptmp)#
exit
switch(config-router)#
route-map SET-COMMUNITY in
switch(config-router)#
filter-list 20 in
switch(config-router)#
inherit peer-policy PRIMARY-IN 20
switch(config-router)#
inherit peer-policy GLOBAL 10
switch(config-router)#
exit-peer-policy
switch(config-router)#
This example shows that the maximum prefixes that are accepted from the 192.168.1.1 neighbor is set
to 1000:
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)
network 192.168.0.0
switch(config-router)#
maximum-prefix 1000
switch(config-router)#
This example shows that the maximum number of prefixes that are accepted from the 192.168.2.2
neighbor is set to 5000. The router is also configured to display warning messages when 50 percent of
the maximum-prefix limit (2500 prefixes) has been reached.
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)
network 192.168.0.0
switch(config-router)#
maximum-prefix 5000 50
switch(config-router)#
This example shows that the maximum number of prefixes that are accepted from the 192.168.3.3
neighbor is set to 2000. The router is also configured to reestablish a disabled peering session after 30
minutes.
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)
network 192.168.0.0
switch(config-router)#
neighbor 192.168.3.3 maximum-prefix 2000 restart 30
switch(config-router)#
This example shows that the warning messages are displayed when the maximum-prefix limit (500) for
the 192.168.4.4 neighbor is exceeded:
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)#
network 192.168.0.0
switch(config-router)#
maximum-prefix 500 warning-only
switch(config-router)#
This example forces all updates destined for 10.108.1.1 to advertise this router as the next hop:
switch#
configure terminal
switch(config)#
router bgp 64496
switch(config-router)#
next-hop-self
switch(config-router)#
This example shows that the router belongs to autonomous system 109 and is configured to send the
communities attribute to its neighbor at IP address 182.168.0.23:
switch#
configure terminal
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...