Cisco Nexus 3548 series Command Reference Manual Download Page 467

447

Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference

OL-27852-01

Chapter       Unicast Routing Show Commands

show ip bgp nexthop-database

show ip bgp nexthop-database

To display Border Gateway Protocol (BGP) next-hop database, use the 

show ip bgp nexthop-database 

command.

show ip bgp nexthop-database

 [

vrf

 

vrf-name

]

Syntax Description

Command Default

None

Command Modes

Any command mode

Command History

Usage Guidelines

This command requires the LAN Enterprise Services license.

Examples

This example shows how to display the BGP next-hop database:

switch(config)# 

show ip bgp nexthop-database

Next Hop table for VRF default, address family IPv4 Unicast:

Nexthop: 0.0.0.0, Refcount: 1, IGP cost: 0

IGP Route type: 0, IGP preference: 0

Nexthop is not-attached local unreachable

Nexthop last resolved: never, using 0.0.0.0/0

Metric next advertise: Never

RNH epoch: 0

Nexthop: 192.0.0.0, Refcount: 0, IGP cost: -1

IGP Route type: 0, IGP preference: 0

Nexthop is not-attached not-local unreachable

Nexthop last resolved: never, using 0.0.0.0/0

Metric next advertise: Never

RNH epoch: 0

switch(config)#

Related Commands

vrf

 vrf-name

(Optional) Specifies the virtual router context (VRF) name. The name can be any 
case-sensitive, alphanumeric string up to 32 characters.

Release

Modification

5.0(3)A1(1)

This command was introduced. 

Command

Description

show ip bgp neighbors

Displays BGP neighbor information.

Summary of Contents for Nexus 3548 series

Page 1: ... has more than 200 offices worldwide Addresses phone numbers and fax numbers are listed on the Cisco website at www cisco com go offices Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference May 2013 Text Part Number OL 27852 01 ...

Page 2: ...ATION THOSE OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL EVEN IF CISCO OR ITS ...

Page 3: ...paths receive 2 additional paths selection 4 additional paths send 6 address VRRP 8 address family BGP neighbor 10 address family BGP router 12 address family EIGRP 14 address family RIP 15 advertise map BGP 16 advertisement interval VRRP 18 aggregate address BGP 20 area authentication OSPF 23 area default cost OSPF 25 area filter list OSPF 26 area filter list OSPFv3 28 area nssa OSPF 30 area rang...

Page 4: ...clear bgp policy statistics dampening 62 clear bgp policy statistics neighbor 63 clear bgp policy statistics redistribute 64 clear forwarding route 66 clear forwarding inconsistency 67 clear ip adjacency statistics 68 clear ip arp 69 clear ip bgp 71 clear ip bgp dampening 73 clear ip bgp flap statistics 75 clear ip eigrp accounting 76 clear ip eigrp neighbors 77 clear ip eigrp redistribution 79 cl...

Page 5: ...t information originate RIP 106 default metric EIGRP 107 default metric OSPF 109 default metric RIP 111 delay minimum 113 delay 114 distance EIGRP 115 distance OSPF 117 distance RIP 118 ebgp multihop 119 eigrp log neighbor changes 120 eigrp log neighbor warnings 121 eigrp router id 122 eigrp stub 123 feature bgp 125 feature eigrp 126 feature hsrp 127 feature ospf 128 feature rip 129 feature vrrp 1...

Page 6: ...ation mode eigrp 154 ip bandwidth eigrp 156 ip bandwidth percent eigrp 157 ip community list 158 ip delay eigrp 161 ip directed broadcast 162 ip distribute list eigrp 164 ip eigrp shutdown 165 ip extcommunity list 166 ip hello interval eigrp 169 ip hold time eigrp 170 ip load sharing address 171 ip local proxy arp 172 ip next hop self eigrp 173 ip offset list eigrp 174 ip ospf authentication 176 i...

Page 7: ... ip rip authentication mode 199 ip rip metric offset 200 ip rip offset list 201 ip rip passive interface 202 ip rip poison reverse 203 ip rip route filter 204 ip rip summary address 205 ip route 206 ip router eigrp 208 ip router ospf area 209 ip router ospf multi area 210 ip router rip 211 ip split horizon eigrp 212 ip summary address eigrp 213 ip tcp path mtu discovery 215 ip unreachables 216 log...

Page 8: ...9 max metric router lsa OSPF 251 maxas limit 253 maximum paths BGP 254 maximum paths EIGRP 255 maximum paths RIP 256 maximum paths OSPF 257 maximum prefix BGP 258 message digest key OSPF virtual link 261 metric maximum hops 262 metric weights 263 neighbor 265 network 268 nexthop route map 269 next hop self 271 nexthop trigger delay 272 no switchport 273 object 274 password BGP 276 platform ip veri...

Page 9: ...05 restart bgp 306 restart eigrp 307 restart ospf 308 restart rip 309 retransmit interval OSPF virtual link 310 rfc1583compatibility 311 route map 312 route reflector client BGP 315 router bgp 316 router eigrp 318 router ospf 319 router rip 320 router id EIGRP 321 router id OSPF 322 routing context vrf 323 send community 324 set as path 325 set comm list delete 327 set community 329 set dampening ...

Page 10: ... summary address OSPF 362 suppress inactive 364 template BGP 365 test forwarding distribution perf 368 test forwarding inconsistency 369 threshold percentage 370 threshold weight 372 timers active time 374 timers basic 375 timers lsa arrival OSPF 377 timers lsa group pacing OSPF 378 timers nsf converge 380 timers nsf route hold 381 timers nsf signal 383 timers throttle lsa OSPF 384 timers throttle...

Page 11: ...show bgp statistics 416 show forwarding 418 show forwarding distribution 420 show forwarding inconsistency 421 show hsrp 422 show hsrp delay 424 show hsrp summary 425 show interface vlan counter 426 show ip adjacency 427 show ip adjacency summary 428 show ip arp 429 show ip arp summary 430 show ip bgp 431 show ip bgp all 433 show ip bgp community 436 show ip bgp community exact match 438 show ip b...

Page 12: ...show ip eigrp 458 show ip eigrp accounting 459 show ip eigrp interfaces 460 show ip eigrp neighbors 462 show ip eigrp route 464 show ip eigrp route map statistics 466 show ip eigrp topology 468 show ip eigrp traffic 470 show ip fib 471 show ip fib distribution 472 show ip interface 473 show ip load sharing 474 show ip ospf 475 show ip ospf border routers 476 show ip ospf database 477 show ip ospf ...

Page 13: ...tatistics 501 show ip rip route 503 show ip rip statistics 504 show ip route 505 show ip static route 506 show ip traffic 507 show mac list 508 show routing 509 show routing hash 511 show routing memory estimate 512 show routing context 513 show routing hash 514 show running config 515 show running config arp 517 show running config bgp 519 show running config eigrp 521 show running config ospf 52...

Page 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...

Page 15: ...ease see the Cisco Nexus 3548 Switch Release Notes available at the following Cisco website http www cisco com en US products ps11541 prod_release_notes_list html Table 1 summarizes the new and changed features for Cisco NX OS Release 6 x and tells you where they are documented Table 1 New and Changed Information Feature Description Changed in Release Where Documented BGP Additional Path commands ...

Page 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...

Page 17: ...entation and Submitting a Service Request page xix Audience This publication is for experienced network administrators who configure and maintain Cisco Nexus Series switches Document Conventions Command descriptions use these conventions Convention Description boldface font Commands and keywords are in boldface italic font Arguments for which you supply values are in italics Elements in square bra...

Page 18: ...e_notes_list html Installation and Upgrade Guides The installation and upgrade guides are available at the following URL http www cisco com en US products ps11541 prod_installation_guides_list html Command References The command references are available at the following URL http www cisco com en US products ps11541 prod_command_reference_list html Technical References The technical references are ...

Page 19: ...cument or to report an error or omission please send your comments to nexus3k docfeedback cisco com We appreciate your feedback Obtaining Documentation and Submitting a Service Request For information on obtaining documentation submitting a service request and gathering additional information see the monthly What s New in Cisco Product Documentation which also lists all new and revised Cisco techn...

Page 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...

Page 21: ...isco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Unicast Routing Commands This chapter describes the Cisco NX OS unicast routing commands available on the Cisco Nexus 3548 switch ...

Page 22: ...cessful negotiation with a neighbor The ability to send and receive additional paths is negotiated between two BGP neighbors during session establishment This command controls whether the local device can receive additional paths from all neighbors within an address family This capability applies to all neighbors under the specified address family unless the capability is explicitly disabled with ...

Page 23: ...h4 switch config router af neighbor 2001 db8 1037 switch config router neighbor address family ipv6 unicast switch config router neighbor af capability additional paths send switch config router neighbor af capability additional paths receive Related Commands Command Description additional paths send Enables BGP additional paths for a prefix to be sent to a capable peer capability additional paths...

Page 24: ...ration IPv6 labeled unicast address family configuration Command History Usage Guidelines Use the additional paths selection command to enable additional paths selection mode for some or all prefixes Specify an appropriate route map to calculate backup paths and to enable Prefix Independent Convergence PIC functionality You can optionally configure the set path selection all advertise command in t...

Page 25: ...elated Commands Command Description set path selection all advertise Advertises all BGP paths as additional paths to peers if the receive capability is enabled show ip bgp Displays information about BGP networks including path selections and path IDs show ip bgp neighbors Displays information about the TCP and BGP connections to neighbors ...

Page 26: ...sful negotiation with a neighbor The ability to send and receive additional paths is negotiated between two BGP neighbors during session establishment This command controls whether the local device can send additional paths to all neighbors within an address family This capability applies to all neighbors under the specified address family unless the capability is explicitly disabled with the capa...

Page 27: ...add_path4 switch config router af neighbor 2001 db8 1037 switch config router neighbor address family ipv6 unicast switch config router neighbor af capability additional paths send switch config router neighbor af capability additional paths receive Related Commands Command Description additional paths receive Enables BGP additional paths for a prefix to be received from a capable peer capability ...

Page 28: ... next hop router to forward packets In NX OS devices some applications require that packets addressed to the virtual router s IP address be accepted and delivered By using the secondary option to the virtual router IPv4 address the VRRP router will accept these packets when it is the master This command requires the LAN Base Services license Examples This example shows how to configure a virtual r...

Page 29: ...nds address VRRP switch config if vrrp no address switch config if vrrp show running config interface ethernet 9 10 Related Commands Command Description clear vrrp Clears all the software counters for the specified virtual router show vrrp Displays VRRP configuration information vrrp Configures a VRRP group ...

Page 30: ...configuration mode you enable the neighbor address family and enter the neighbor address family configuration mode The prompt changes to switch config router neighbor af You must configure the address families if you are using route redistribution load balancing and other advanced features IPv4 neighbor sessions support IPv4 unicast and multicast address families This command requires the LAN Ente...

Page 31: ...tisement default originate BGP Configures a BGP routing process to distribute a default route feature bgp Enables BGP configuration maximum prefix Controls how many prefixes can be received from a neighbor route reflector client Configures the router as a BGP route reflector soft reconfiguration inbound Configures the switch software to start storing BGP peer updates suppress inactive Advertises o...

Page 32: ...modes while configuring BGP routing When you enter the address family command from router configuration mode you enable the address family and enter global address family configuration mode The prompt changes to switch config router af You must configure the address families if you are using route redistribution address aggregation load balancing and other advanced features IPv4 neighbor sessions ...

Page 33: ...the default metric for routes redistributed into BGP distance BGP Configures the administrative distance feature bgp Enables BGP configuration maximum paths BGP Configures the maximum number of equal cost paths network Configures an IP prefix to advertise nexthop route map Configures route policy filtering for next hops nexthop trigger delay Configures the BGP delay for triggering next hop calcula...

Page 34: ...example shows how to set the IPv4 unicast address family for an EIGRP instance switch configure terminal switch config router eigrp 201 switch config router address family ipv4 unicast switch config router Related Commands ipv4 Specifies the IPv4 address family unicast Specifies unicast address support Release Modification 5 0 3 A1 1 This command was introduced Command Description default informat...

Page 35: ...dress family for a RIP instance switch configure terminal switch config router rip Enterprise switch config router address family ipv4 unicast switch config router Related Commands ipv4 Specifies the IPv4 address family unicast Specifies unicast address support Release Modification 5 0 3 A1 1 This command was introduced Command Description default information Controls the distribution of a default...

Page 36: ...ter bgp 65536 switch config router neighbor 192 0 2 2 remote as 65537 switch config router neighbor address family ipv4 unicast switch config router neighbor af advertise map advertise exist map exist switch config router neighbor af exit switch config router neighbor exit switch config router exit switch config route map advertise switch config route map match as path pathList switch config route...

Page 37: ... Unicast Routing Commands advertise map BGP switch config route map exit switch config ip prefix list plist permit 209 165 201 0 27 switch config Related Commands Command Description feature bgp Enables BGP neighbor Configures a BGP peer show ip bgp Displays BGP configuration information ...

Page 38: ...st address that is assigned to the VRRP group VRRP uses a dedicated Internet Assigned Numbers Authority IANA standard multicast address 224 0 0 18 for VRRP advertisements This addressing scheme minimizes the number of routers that must service the multicasts and allows test equipment to accurately identify VRRP packets on a segment The IANA assigned VRRP IP protocol number is 112 This command does...

Page 39: ...8 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands advertisement interval VRRP show vrrp Displays VRRP configuration information vrrp Configures a VRRP group Command Description ...

Page 40: ... entry in the BGP routing table if any more specific BGP routes are available that fall within the specified range A longer prefix which matches the aggregate must exist in the RIB The aggregate route will be advertised as coming from your autonomous system and will have the atomic aggregate attribute set to show that information might be missing By default the atomic aggregate attribute is set un...

Page 41: ...s useful when the components of an aggregate are in separate autonomous systems and you want to create an aggregate with AS_SET and advertise it back to some of the same autonomous systems You must remember to omit the specific autonomous system numbers from the AS_SET to prevent the aggregate from being dropped by the BGP loop detection mechanism at the receiving router IP access lists and autono...

Page 42: ...ths that are matched in the route map switch configure terminal switch config ip as path access list 1 deny 1234_ switch config ip as path access list 1 permit switch config route map MAP ONE switch config route map match ip as path 1 switch config route map exit switch config router bgp 64496 switch config router address family ipv4 switch config router af aggregate address 10 0 0 0 255 0 0 0 as ...

Page 43: ...tion key command in interface configuration mode to specify this password If you enable MD5 authentication with the message digest keyword you must configure a password with the ip ospf message digest key command in interface configuration mode This command requires the LAN Base Services license Examples This example shows how to configure authentication for area 0 of OSPF routing process 201 swit...

Page 44: ...s Command Description copy running config startup config Saves the configuration changes to the startup configuration file ip ospf authentication key Assigns a password for simple password authentication for OSPF ip ospf message digest key Assigns a password for OSPF MD5 authentication show ip ospf interface Displays OSPF interface related information ...

Page 45: ...a stub or NSSA to configure the metric for the summary default route generated by the ABR into the stub area This command requires the LAN Base Services license Examples This example shows how to set a default cost of 20 to stub network 192 0 2 0 switch configure terminal switch config router ospf 201 switch config router area 192 0 2 0 stub switch config router area 192 0 2 0 default cost 20 swit...

Page 46: ...in another area If you apply the route map with the out keyword the route map filters all Type 3 LSAs that are advertised by the ABR to all other areas including Type 3 LSAs that originate locally as a result of the area range command configured in this area Cisco NX OS implicitly denies any prefix that does not match an entry in the route map This command requires the LAN Base Services license Ex...

Page 47: ...d Description area range Consolidates and summarizes routes at an area boundary copy running config startup config Saves the configuration changes to the startup configuration file route map Defines the conditions for redistributing routes from one routing protocol into another show ip ospf policy statistics area Displays OSPF policy statistics for an area ...

Page 48: ...ther area If you apply the route map with the out keyword the route map filters all Type 3 LSAs that are advertised by the ABR to all other areas including Type 3 LSAs that originate locally as a result of the area range command configured in this area The Cisco NX OS software implicitly denies any prefix that does not match an entry in the route map This command requires the LAN Base Services lic...

Page 49: ...48 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands area filter list OSPFv3 switch config router af no area 0 0 0 10 filter list route map LSA Filter in switch config router af ...

Page 50: ... This command requires the LAN Base Services license area id Identifier for the OSPF NSSA area The area ID can be from 0 to 4294967295 or an IP address default information originate Optional Generates a Type 7 default into the NSSA area This keyword takes effect only on NSSA area border router ABR or NSSA autonomous system border router ASBR route map map name Optional Filters the Type 7 default g...

Page 51: ...e 7 LSAs from area 1 to Type 5 LSAs but not place the Type 7 forwarding address into the Type 5 LSAs OSPF places 0 0 0 0 as the forwarding address in the Type 5 LSAs switch configure terminal switch config router ospf 2 switch config router area 1 nssa translate type7 suppress fa switch config router Related Commands Command Description copy running config startup config Saves the configuration ch...

Page 52: ...es by configuring multiple area range commands This command requires the LAN Base Services license Examples This example shows how to configure one summary route to be advertised by the ABR to other areas for all hosts on network 192 0 2 0 switch configure terminal switch config if interface ethernet 1 2 switch config if ip address 192 0 2 201 255 255 255 0 switch config if ip ospf area 201 switch...

Page 53: ...mmand Reference OL 27852 01 Chapter Unicast Routing Commands area range OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays OSPF information ...

Page 54: ...default route generated by the ABR into the stub area To further reduce the number of link state advertisements LSAs sent into a stub area you can configure the no summary keyword on the ABR to prevent it from sending Summary LSAs Type 3 LSAs3 into the stub area This command requires the LAN Base Services license Examples This example shows how to create stub area 33 in OSPF 209 switch configure t...

Page 55: ...outing Command Reference OL 27852 01 Chapter Unicast Routing Commands area stub OSPF copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays OSPF information Command Description ...

Page 56: ... link command to enter the virtual link configuration mode where you can use the following commands authentication key chain message digest null authentication key 0 3 key dead interval seconds hello interval seconds message digest key key id md5 key retransmit interval seconds transmit delay seconds See each command for syntax and usage details You must configure both sides of a virtual link with...

Page 57: ...d Description authentication OSPF virtual link Enables authentication for an OSPF virtual link authentication key OSPF virtual link Assigns a password to be used by neighboring routers that are using the simple password authentication of OSPF copy running config startup config Saves the configuration changes to the startup configuration file dead interval OSPF virtual link Configures the dead inte...

Page 58: ...ed in all HSRP messages The same authentication string must be configured on all routers in the same group to ensure interoperation HSRP protocol packets that do not authenticate are ignored Caution If you configure two routers with identical HSRP IP addresses but with different authentication strings then neither router is aware of the duplication This command does not require a license md5 Speci...

Page 59: ...g interface ethernet 0 1 switch config if no switchport switch config if ip address 10 0 0 1 255 255 255 0 switch config if hsrp 2 switch config if hsrp priority 110 switch config if hsrp preempt switch config if hsrp authentication text sanjose switch config if hsrp ip 10 0 0 3 switch config if hsrp end switch config if hsrp Related Commands Command Description feature hsrp Enables HSRP and enter...

Page 60: ...est key command to complete this authentication configuration Use the key chain keyword to configure password authentication using key chains and use the key chain command to complete this authentication configuration Use the authentication command with no keywords to configure a password for the virtual link and use the authentication key command to complete this authentication configuration This...

Page 61: ...mands Command Description area authentication Enables authentication for an OSPF area authentication key OSPF virtual link Assigns a password to be used by neighboring routers that are using the password authentication of OSPF key chain Creates a key chain for managing authentication keys message digest key OSPF virtual link Enables OSPF MD5 authentication ...

Page 62: ...d History Usage Guidelines This command does not require a license Examples This example shows how to configure md5 authentication for VRRP switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config if vrrp 250 switch config if vrrp authentication text mypwasswd switch config if vrrp Related Commands text password Specifies to use a simple text pass...

Page 63: ...Guidelines Set the authentication mode using the authentication mode command in VRF configuration mode You must separately configure a key chain using the key chain command to complete the authentication configuration for an interface This command requires the LAN Base Services license Examples This example shows how to configure the interface to accept and send any key that belongs to the key cha...

Page 64: ...t Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands authentication key chain EIGRP key chain Creates a set of keys that can be used by an authentication method show ip eigrp Displays EIGRP information Command Description ...

Page 65: ...nes This command requires the LAN Base Services license Examples This example shows how to configure the interface to use MD5 authentication switch configure terminal switch config router eigrp 209 switch config router vrf red switch config router vrf authentication mode md5 switch config router vrf Related Commands md5 Specifies Message Digest 5 MD5 authentication Release Modification 5 0 3 A1 1 ...

Page 66: ... virtual link All devices on the same virtual link must have the same password to be able to exchange OSPF information This command requires the LAN Base Services license Examples This example shows how to enable the authentication key with the string yourpass switch configure terminal switch config router ospf 22 switch config router area 99 virtual link 192 0 2 12 switch config router vlink auth...

Page 67: ... by the ip ospf cost command overrides the cost that results from the auto cost command This command requires the LAN Base Services license Examples This example shows how to set the reference bandwidth for all local interfaces in an OSPF instance switch configure terminal switch config router ospf 201 switch config router auto cost reference bandwidth 10 switch config router Related Commands refe...

Page 68: ...on mode Command History Usage Guidelines Use the autonomous system command to set a common AS number for all EIGRP instances in an address family This command requires the LAN Base Services license Examples This example shows how to set an AS number for EIGRP for IPv4 unicast switch configure terminal switch config router eigrp 201 switch config router address family ipv4 unicast switch config rou...

Page 69: ...comparison of the MED for paths from neighbors in different autonomous systems use the bgp always compare med command This command requires the LAN Enterprise Services license Examples This example shows how to change the default best path selection algorithm to compare the MED on paths from different autonomous systems switch configure terminal switch config router bgp 64496 switch config router ...

Page 70: ...2 01 Chapter Unicast Routing Commands bestpath BGP switch config router Related Commands Command Description feature bgp Enables BGP globally show ip bgp Displays information about BGP routes show running config bgp Displays the running configuration for BGP for IPv4 networks ...

Page 71: ...ents or keywords Command Default None Command Modes Router BGP configuration mode VRF configuration mode Command History Usage Guidelines Before you use this command ensure that BGP is enabled on the switch by using the feature bgp command This command requires the LAN Enterprise Services license Examples This example shows how to configure multipath load sharing on paths from different autonomous...

Page 72: ...l paths receive command to selectively enable or disable the additional paths receive capability negotiation for a particular neighbor The ability to send and receive additional paths is negotiated between two BGP neighbors during session establishment To advertise additional paths you also need to Configure the additional paths receive command in global address family configuration mode Advertise...

Page 73: ...itional paths receive disable In the following example the send and receive capability of the neighbor overrides the receive only capability of the address family switch configure terminal switch config router bgp 65000 switch config router address family ipv6 unicast switch config router af additional paths receive switch config router af additional paths selection route map add_path4 switch conf...

Page 74: ...hs send command to selectively enable or disable the additional paths send capability negotiation for a particular neighbor The ability to send and receive additional paths is negotiated between two BGP neighbors during session establishment To advertise additional paths you also need to Configure the additional path send command in global address family configuration mode Advertise the paths othe...

Page 75: ...y additional paths receive disable In the following example the send and receive capability of the neighbor overrides the send only capability of the address family switch configure terminal switch config router bgp 65000 switch config router address family ipv6 unicast switch config router af additional paths send switch config router af additional paths selection route map add_path4 switch confi...

Page 76: ...multicast Clears BGP information for the multicast address family unicast Clears BGP information for the unicast address family all Clears the BGP information for all address families neighbor Network address The format is A B C D for IPv4 Clears all neighbors as number Autonomous system number The range is from 1 to 65535 peer template name Specifies a BGP peer template The name can be any case s...

Page 77: ...g ipv4 Clears BGP information for the IPv4 address family unicast Clears BGP information for the unicast address family multicast Clears BGP information for the multicast address family all Clears BGP information for all address families neighbor Optional Neighbor from the selected address family The format is A B C D for IPv4 prefix Optional Prefix from the selected address family The format is A...

Page 78: ...us 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear bgp dampening Related Commands Command Description show ip bgp dampening Displays BGP dampening information ...

Page 79: ...statistics ipv4 Clears BGP information for the IPv4 address family unicast Clears BGP information for the unicast address family multicast Clears BGP information for the multicast address family all Clears BGP information for all address families neighbor Optional Neighbor from the selected address family The format is A B C D for IPv4 prefix Optional Prefix from the selected address family The fo...

Page 80: ...3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear bgp flap statistics Related Commands Command Description show ip bgp flap statistics Displays BGP flap statistics ...

Page 81: ...Default None Command Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to clear policy statistics for an aggregate address switch clear bgp policy statistics aggregate address 192 0 2 0 8 Related Commands prefix Summary address The format is x x x x or x x x x length The range is from 1 to 32 advertise ...

Page 82: ... clear bgp policy statistics dampening Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to clear policy statistics for dampening switch clear bgp policy statistics dampening Related Commands Release Modification 5...

Page 83: ...nterprise Services license Examples This example shows how to clear policy statistics for an aggregate address switch clear bgp policy statistics neighbor 192 0 2 1 filter list in Related Commands prefix Neighbor address The format is x x x x default originate Optional Clears policy statistics for the default originate policy filter list Clears policy statistics for the neighbor filter list prefix...

Page 84: ...icy statistics for Enhanced Interior Gateway Routing Protocol EIGRP ospf Clears policy statistics for the Open Shortest Path First OSPF protocol rip Clears policy statistics for the Routing Information Protocol RIP static Clears policy statistics for IP static routes id For the eigrp keyword an EIGRP instance name from which routes are to be redistributed The value takes the form of a string You c...

Page 85: ...tch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear bgp policy statistics redistribute Related Commands Command Description show bgp policy statistics Displays BGP policy statistics ...

Page 86: ...and after using the clear forwarding route command Examples This example shows how to clears a route from the FIB switch clear forwarding ip route 10 0 0 1 8 Related Commands ip Clears an IPv4 route ipv4 Clears an IPv4 route Optional Clears all routes prefix Optional IPv4 prefix The IPv4 format is x x x x length vrf vrf name Optional Specifies a particular virtual routing and forwarding VRF instan...

Page 87: ...is command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear the Layer 3 inconsistency checker for all modules switch clear forwarding inconsistency module all Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Descriptio...

Page 88: ...p adjacency statistics Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear the adjacency statistics switch clear ip adjacency statistics Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Des...

Page 89: ...is from 1 to 255 and the port number is from 1 to 128 sub_if Optional Specifies the Ethernet subinterface port number The range is from 1 to 48 loopback if_number Optional Specifies the loopback interface The loopback interface number is from 0 to 1023 port channel number Optional Specifies the EtherChannel interface and EtherChannel number The range is from 1 to 4096 sub_if number Optional Subint...

Page 90: ...0 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear ip arp Related Commands Command Description show ip arp Displays information about ARP ...

Page 91: ...e unicast address family multicast Clears BGP information for the multicast address family all Clears the BGP information for all address families neighbor Network address The format is A B C D for IPv4 Clears all BGP routes as number Autonomous system AS number The range is from 1 to 65535 peer template name Specifies a BGP peer template The name can be any case sensitive alphanumeric string up t...

Page 92: ...Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear ip bgp Related Commands Command Description show ip bgp Displays entries in the BGP table ...

Page 93: ...GP information for the IPv4 address family unicast Optional Clears BGP information for the unicast address family multicast Optional Clears BGP information for the multicast address family all Optional Clears the BGP information for all address families neighbor Optional Neighbor from the selected address family The format is A B C D for IPv4 prefix Optional Prefix from the selected address family...

Page 94: ...s 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear ip bgp dampening Related Commands Command Description show ip bgp dampening Displays BGP dampening information ...

Page 95: ... route flap statistics switch clear ip bgp flap statistics Related Commands neighbor Optional Neighbor from the selected address family The format is A B C D for IPv4 prefix Optional Prefix from the selected address family The format is A B C D length for IPv4 vrf vrf name Optional Specifies a particular virtual routing and forwarding VRF instance The VRF name can be any case sensitive alphanumeri...

Page 96: ...le shows how to clear the EIGRP accounting information switch clear ip eigrp accounting Related Commands vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings default and all are reserved VRF names all Optional Clears the EIGRP accounting informatio...

Page 97: ... 2 1 switch clear ip eigrp neighbors ethernet 2 1 vrf Optional Clears all neighbors ip address Optional Address of the neighbor ethernet slot port Optional Clears the Ethernet interface from the neighbor table The slot number is from 1 to 255 and the port number is from 1 to 128 loopback if_number Optional Clears the loopback interface from the neighbor table The loopback interface number is from ...

Page 98: ...rence OL 27852 01 Chapter Unicast Routing Commands clear ip eigrp neighbors Related Commands Command Description show ip eigrp interfaces Displays information about interfaces configured for EIGRP show ip eigrp neighbors Displays the neighbors discovered by EIGRP ...

Page 99: ... command requires the LAN Base Services license Examples This example shows how to clear redistribution information switch clear ip eigrp redistribution Related Commands vrf vrf name Optional Specifies a particular virtual routing and forwarding VRF instance The VRF name is a case sensitive alphanumeric string of up to 32 characters all Optional Clears the redistribution information from all VRF i...

Page 100: ...mmand requires the LAN Base Services license Examples This example shows how to clear the EIGRP traffic statistics switch clear ip eigrp traffic Related Commands vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters all Optional Clears the traffic statistics fr...

Page 101: ...interface statistics Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear the IP interface statistics switch clear ip interface statistics Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command De...

Page 102: ...is command requires the LAN Base Services license Examples This example shows how to clear all OSPF neighbor details for neighbor 192 0 2 1 for instance tag 201 switch clear ip ospf 201 neighbor 192 0 2 1 This example shows how to clear all OSPF neighbor details for all OSPF instances switch clear ip ospf neighbor This example shows how to clear all OSPF neighbor details for all neighbors on Ether...

Page 103: ...ommand Reference OL 27852 01 Chapter Unicast Routing Commands clear ip ospf neighbor switch clear ip ospf 202 neighbor ethernet 1 2 Related Commands Command Description show ip ospf neighbor Displays details for OSPF neighbors including the neighbor ID ...

Page 104: ... from this OSPF area redistribution Clears OSPF route redistribution statistics bgp autonomous system Specifies the autonomous system number for the Border Gateway Protocol Specify the autonomous system number as x y where the range is from 1 to 65535 for both x and y or as a single integer where the range is from 1 to 65535 direct Specifies directly connected routes eigrp id Specifies the autonom...

Page 105: ...icy statistics from all OSPF instances Use the show ip ospf policy statistics command to to view the statistics that you are clearing This command requires the LAN Base Services license Examples This example shows how to clear all OSPF policy statistics for area 99 inbound filtered routes for OSPF 201 switch clear ip ospf 201 policy statistics area 99 filter list in This example shows how to clear...

Page 106: ...ommand History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to clear redistribution information switch clear ip ospf redistribution Related Commands vrf vrf name Optional Specifies a particular virtual routing and forwarding VRF instance The VRF name is a case sensitive alphanumeric string of up to 32 characters all Optional Specifies the all...

Page 107: ...e tag argument Cisco NX OS clears statistics from all OSPF instances Use the show ip ospf statistics command to to view the statistics that you are clearing This command requires the LAN Base Services license Examples This example shows how to clear all OSPF event statistics switch clear ip ospf statistics Related Commands instance tag Optional Instance tag Specify as an alphanumeric string of up ...

Page 108: ...tances Use the show ip ospf traffic statistics command to to view the statistics that you are clearing This command requires the LAN Base Services license Examples This example shows how to clear OSPF traffic statistics for OSPF 100 switch clear ip ospf 100 traffic Related Commands instance tag Optional Instance tag Specify as an alphanumeric string of up to 20 characters interface Optional Interf...

Page 109: ...policy statistics for directly connected routes only eigrp Clears policy statistics for the Enhanced Interior Gateway Routing Protocol EIGRP ospf Clears policy statistics for the Open Shortest Path First OSPF protocol static Clears policy statistics for IP static routes id For the bgp keyword an autonomous system number The range for 2 byte numbers is from 1 to 65535 The range for 4 byte numbers i...

Page 110: ...X OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands clear ip rip policy statistics redistribute Related Commands Command Description show ip rip policy statistics Displays policy statistics for RIP ...

Page 111: ...ommand Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear all RIP statistics switch clear ip rip statistics Related Commands interface type instance Optional Specifies the interface to clear topology entries vrf vrf name Optional Specifies a particular virtual routing and forwarding VRF instance The VRF name can ...

Page 112: ...e route table Caution The keyword is severely disruptive to routing This command does not require a license Examples This example shows how to clear the individual route switch config clear ip route 192 0 2 1 Related Commands Optional Clears all routes addr Optional Clears this route The format is x x x x addr Optional Clears this prefix The format is x x x x length vrf vrf name Optional Specifies...

Page 113: ...fic Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear the IP traffic information switch clear ip traffic Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description show ip traffic Displ...

Page 114: ...s how to clear the TCP socket statistics switch clear sockets statistics tcp Related Commands all Optional Clears all the socket statistics raw Optional Clears the socket statistic for the raw IPv4 protocols tcp Optional Clears the socket statistic for the TCP IPv4 protocols udp Optional Clears the socket statistic for the UDP IPv4 protocols Release Modification 5 0 3 A1 1 This command was introdu...

Page 115: ...s from a specific Ethernet interface switch clear vrrp vr 1 interface ethernet 1 5 switch Related Commands vr id Clears VRRP statistics in a VRRP group on an interface The range is from 1 to 255 interface Specifies the interface whose statistics need to be cleared ethernet slot port Clears VRRP statistics on the Ethernet interface The slot number is from 1 to 255 and the port number is from 1 to 1...

Page 116: ...ory Usage Guidelines By default the clients of a route reflector are not required to be fully meshed and the routes from a client are reflected to other clients However if the clients are fully meshed route reflection is not required In this case use the no client to client reflection command to disable client to client reflection This command requires the LAN Enterprise Services license Examples ...

Page 117: ...Services license Examples This example shows how to configure the confederation identifier switch configure terminal switch config router bgp 65536 33 switch config router confederation identifier 65536 33 switch config router Related Commands identifier Sets the routing domain confederation autonomous system AS number peers Sets the peer AS numbers for a BGP confederation as number Autonomous sys...

Page 118: ... BGP route dampening This command requires the LAN Enterprise Services license Examples This example shows how to set the half life to 30 minutes switch configure terminal switch config router bgp 64496 switch config router dampening 30 switch config router half life Optional Time in minutes after which a penalty is decreased Once the route has been assigned a penalty the penalty is decreased by h...

Page 119: ... Routing Commands dampening BGP Related Commands Command Description address family BGP router Configures BGP clear ip bgp dampening Clears BGP route flap dampening information clear ip bgp flap statistics Clears BGP route flap statistics show ip bgp dampening Displays BGP dampening information ...

Page 120: ...e interval set by the hello interval command You can configure a shorter dead interval seconds to detect a down neighbor faster and improve convergence A shorter dead interval may lead to virtual link instability by incorrectly declaring a slow neighbor as down Use the show ip ospf virtual links command to verify the dead interval This command requires the LAN Base Services license Examples This e...

Page 121: ...rtual link Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file hello interval OSPF virtual link Configures the interval between hello packets that Cisco NX OS sends on the virtual link show ip ospf virtual link Displays OSPF virtual link information ...

Page 122: ...s This example shows how to originate a default route 0 0 0 0 0 to all routes that pass the Condition route map switch configure terminal switch config router eigrp 201 switch config router address family ipv4 unicast switch config router af default information originate route map Condition switch config router af Related Commands always Optional Generates the default route if the route is not in ...

Page 123: ... Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands default information originate EIGRP redistribute Redistributes routes from other routing protocols into EIGRP show ip eigrp Displays EIGRP information Command Description ...

Page 124: ...s the route map Use the always keyword to generate the default route regardless of whether the default route is in the route table Note The default information originate command ignores match statements in the optional route map This command requires the LAN Base Services license Examples This example shows how to configure the default route redistributed into the OSPF routing domain for the Enhan...

Page 125: ... information originate OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file redistribute OSPF Redistributes routes from one routing domain into OSPF route map Defines a filter policy for routes show ip ospf Displays OSPF information ...

Page 126: ...e 0 0 0 0 0 to all routes that pass the Condition route map switch configure terminal switch config router rip Enterprise switch config router address family ipv4 unicast switch config router af default information originate route map Condition switch config router af Related Commands always Optional Generates the default route if the route is not in the RIP routing information base route map map ...

Page 127: ...metrics you can use a default metric to provide a reasonable substitute to the external metric and enable the redistribution to proceed This command requires the LAN Base Services license Examples This example shows how to take redistributed Routing Information Protocol RIP metrics and translate them into EIGRP metrics with the following values bandwidth 1000 delay 100 reliability 250 loading 100 ...

Page 128: ...er af redistribute rip 100 route map FilterRIP switch config router af default metric 1000 100 250 100 1500 switch config router af Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file redistribute Redistributes routes from one routing domain into another routing domain show ip eigrp route map statistics redistrib...

Page 129: ...lt metric helps to redistribute routes with incompatible metrics Whenever external route metrics do not convert to an OSPF metric use a default metric to enable the redistribution to proceed Note The default metric command does not apply to the redistribution of directly connected routes into OSPF Use a route map to change the default metric for directly connected routes This command requires the ...

Page 130: ...ast Routing Commands default metric OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file redistribute OSPF Redistributes routes from another routing domain into OSPF show ip ospf Displays OSPF information ...

Page 131: ... not convert to RIP metrics you can use a default metric to provide a reasonable substitute to the external metric and enable the redistribution to proceed This command does not require a license Examples This example shows how to advertise Open Shortest Path First OSPF routes using RIP and assign the OSPF derived routes with a RIP metric of 10 switch configure terminal switch config router rip En...

Page 132: ...outing Command Reference OL 27852 01 Chapter Unicast Routing Commands default metric RIP redistribute Redistributes routes from one routing domain into another routing domain show ip rip route Displays the routes in RIP table Command Description ...

Page 133: ...license Examples This example shows how to configure a minimum delay of 3 seconds and a group initialization delay of 10 seconds switch configure terminal switch config configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if ip address 192 168 9 5 255 255 255 0 switch config if hsrp 1 switch config if delay minimum 3 reload 10 switch config if ip 192...

Page 134: ...bject or track list This delay helps to prevent state flapping This command does not require a license Examples This example shows how to configure the delay timer for a tracked object switch configure terminal switch config configure terminal switch config track 1 interface ethernet 1 2 line protocol switch config track delay up 30 down 30 switch config track Related Commands up up time Delays th...

Page 135: ...ting An administrative distance of 255 means that the routing information source cannot be trusted and should be ignored Use the distance command if another protocol is known to provide a better route to a node than was actually learned through the external EIGRP or some internal routes should be preferred by EIGRP This command requires the LAN Base Services license Examples This example shows how...

Page 136: ...xus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands distance EIGRP switch config router Related Commands Command Description show ip eigrp Displays EIGRP information ...

Page 137: ...utes or when you configure multiple routing protocols and you want to choose one set of routes over the other This command requires the LAN Base Services license Examples This example shows how to set the distance to 200 making the route less reliable switch configure terminal switch config router ospf 1 switch config router distance 200 switch config router Related Commands distance Administrativ...

Page 138: ...tance is an integer from 1 to 255 In general a higher value indicates a lower trust rating An administrative distance of 255 means that the routing information source cannot be trusted at all and should be ignored This command does not require a license Examples This example shows how to set the administrative distance for RIP switch configure terminal switch config router rip Enterprise switch co...

Page 139: ...y connected to another eBGP peer and requires multiple hops to reach the remote eBGP peer You can configure the eBGP TTL value for a neighbor session to allow these multihop sessions This command requires the LAN Enterprise Services license Examples This example shows how to configure the eBGP multihop value switch configure terminal switch config router bgp 1 1 switch config router neighbor 192 0...

Page 140: ...Default Adjacency changes are logged Command Modes Address family configuration mode Router configuration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to enable logging of neighbor changes for EIGRP process 209 switch configure terminal switch config router eigrp 209 switch config router eigr...

Page 141: ...ion mode Router configuration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to log neighbor warning messages for EIGRP process 209 and to repeat the warning messages in 5 minute 300 seconds intervals switch configure terminal switch config router eigrp 209 switch config router eigrp log neighb...

Page 142: ...ected and loopback interfaces are preferred The router ID is not changed unless the EIGRP process is removed with the no router eigrp command or if the router ID is manually configured with the eigrp router id command The router ID is used to identify the originating router for external routes If an external route is received with the local router ID the route is discarded The router ID can be con...

Page 143: ...events any type of route from being sent The redistributed keyword permits the EIGRP Stub Routing feature to send other routing protocols and autonomous systems Without the configuration of this option EIGRP does not advertise redistributed routes If you use any of these four keywords direct leak map receive only redistributed with the eigrp stub command only the route types specified by the parti...

Page 144: ...co Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands eigrp stub Related Commands Command Description show ip eigrp Displays a summary of the EIGRP processes ...

Page 145: ...tory Usage Guidelines You must enable the BGP feature before you can configure BGP This command requires the LAN Enterprise Services license Examples This example shows how to enable a BGP configuration switch configure terminal switch config feature bgp switch config This example shows how to disable the BGP feature switch configure terminal switch config no feature bgp switch config Related Comm...

Page 146: ...nd History Usage Guidelines You must enable the EIGRP feature before you can configure EIGRP This command requires the LAN Base Services license Examples This example shows how to enable the EIGRP feature switch configure terminal switch config feature eigrp switch config This example shows how to disable the EIGRP feature switch configure terminal switch config no feature eigrp switch config Rela...

Page 147: ... configuration mode Command History Usage Guidelines You must enable the HSRP feature before you can configure HSRP This command does not require a license Examples This example shows how to enable HSRP on the switch switch configure terminal switch config feature hsrp switch config This example shows how to disable HSRP switch configure terminal switch config no feature hsrp switch config Related...

Page 148: ...mand History Usage Guidelines You must enable the OSPF feature before you can configure OSPF This command requires the LAN Base Services license Examples This example shows how to enable the OSPF feature switch configure terminal switch config feature ospf switch config This example shows how to disable the OSPF feature switch configure terminal switch config no feature ospf switch config Related ...

Page 149: ...nable the RIP feature before you can configure RIP This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to enable the RIP feature switch configure terminal switch config feature rip switch config This example shows how to disable the RIP feature switch configure terminal switch config no ...

Page 150: ...igure VRRP This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to enable the VRRP feature switch configure terminal switch config feature vrrp switch config This example shows how to disable the VRRP feature switch configure terminal switch config no feature vrrp switch config Related Co...

Page 151: ...ption This command has no arguments or keywords Command Default Disabled Command Modes Router configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to flush routes when an EIGRP instance restarts switch configure terminal switch config router eigrp Test1 switch config router flush routes switch config router Related ...

Page 152: ...ommand causes OSPF to unregister from the unicast RIB when OSPF shuts down The unicast RIB removes all the routes associated with this OSPF instance If you do not configure the flush routes command OSPF does not unregister and the OSPF routes will be stale The OSPF routes are eventually removed from the unicast RIB after a timeout period This command requires the LAN Base Services license Examples...

Page 153: ...ory Usage Guidelines Note We recommend that you configure the IP glean throttle feature by using the hardware ip glean throttle command to filter the unnecessary glean packets that are sent to the supervisor for ARP resolution for the next hops that are not reachable or do not exist IP glean throttling boosts software performance and helps to manage traffic more efficiently This command does not r...

Page 154: ...e this command make sure that you enable the IP glean throttle feature by using the hardware ip glean throttle command If the maximum number of entries are exceeded the packets for which ARP is not resolved continue to be processed in the software instead of getting dropped in the hardware This command does not require a license Examples This example shows how to limit the maximum number of drop a...

Page 155: ... ip glean throttle command After the timeout period is exceeded the drop adjacencies are removed from the FIB Note The Adjmgr generates a syslog for the configured packet count that will not be accurate to the dropped glean packets that are forwarded to the FIB The drop statistics collected from the FIB in the software Adjmgr occurs every 2 minutes The Adjmgr generates a syslog only after it recei...

Page 156: ...ference OL 27852 01 Chapter Unicast Routing Commands hardware ip glean throttle syslog Related Commands Command Description hardware ip glean throttle Enables the IP glean throttle feature show running config Displays information about the running configuration ...

Page 157: ...Before you use this command make sure that you enable the IP glean throttle feature by using the hardware ip glean throttle command The timeout value seconds must be in multiples of 30 After the timeout period is exceeded the drop adjacencies are removed from the FIB This command does not require a license Examples This example shows how to limit the maximum number of drop adjacencies that are ins...

Page 158: ... the same for all devices on a virtual link This command requires the LAN Base Services license Examples This example shows how to configure the hello interval to 15 seconds switch configure terminal switch config router ospf 202 switch config router ip ospf area 99 virtual link 192 0 2 4 switch config router vlink hello interval 15 switch config router vlink Related Commands seconds Hello interva...

Page 159: ...ples This example shows how to create and activate an HSRP group switch configure terminal switch config interface ethernet 0 switch config if no switchport switch config if ip address 192 168 0 5 255 255 255 0 switch config if hsrp 1 switch config if hsrp Related Commands group number Number of HSRP groups that can be configured on a Gigabit Ethernet port including the main interfaces and subinte...

Page 160: ...cense Examples This example shows how to configure a minimum delay of 3 seconds and a group initialization delay of 10 seconds switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if ip address 192 168 0 5 255 255 255 0 switch config if hsrp 1 switch config if hsrp delay minimum 3 reload 10 switch config if Related Commands minimum min delay M...

Page 161: ... Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands hsrp delay hsrp Creates HSRP groups show hsrp delay Displays the HSRP delay information Command Description ...

Page 162: ...ess The HSRP gateway intercepts the ARP requests and replies to the ARP requests on behalf of the connected nodes If a forwarder in the HSRP group is active proxy ARP requests are answered using the MAC address of the first active forwarder in the group If no forwarder is active proxy ARP responses are suppressed Note You must configure all HSRP options before you use the ip command to assign a vi...

Page 163: ... address used by the HSRP group will be learned from another gateway configured to be in the same HSRP group switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config if hsrp 10 switch config if hsrp This example shows how to activate HSRP for group 2 on Ethernet interface 1 1 and creates a secondary IP address on the interface switch configure ter...

Page 164: ...p address command The optional secondary keyword allows you to specify a secondary IP address Secondary addresses are treated like primary addresses except the system never generates datagrams other than routing updates with secondary source addresses IP broadcasts and Address Resolution Protocol ARP requests are handled as are interface routes in the IP routing table Note When you are routing usi...

Page 165: ...5 switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if ip address 192 168 0 27 255 255 255 0 switch config if ip address 192 168 0 5 255 255 255 0 secondary switch config if Related Commands Command Description copy running config startup config Saves the configuration change to the startup configuration file no switchport Enables an interf...

Page 166: ...r 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure a static ARP entry on interface Ethernet 1 2 switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip arp 192 0 2 1 0150 5a03 efab switch config if This example shows how to configure a static ARP entry on a subinterface switch configur...

Page 167: ...147 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands ip arp Related Commands Command Description show ip arp Displays ARP entries ...

Page 168: ... command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to disable gratuitous ARP request on interface Ethernet 2 1 switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip arp gratuitous switch config if Related Commands request Enables s...

Page 169: ...ription Defaults The IP ARP table threshold is 90 percent Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to set the syslog threshold to 20 percent for the IP ARP table switch configure terminal switch config ip arp syslog threshold 20 switch config Related Commands percentage Percentage of table capac...

Page 170: ...ess aging time to 1800 higher than the default ARP aging time of 1500 seconds on all VLANs Cisco Nexus 3548 switch does not support per VLAN cam aging timers Examples This example shows how to configure the ARP timeout value to 120 seconds switch configure terminal switch config ip arp timeout 120 switch config This example shows how to revert to the default ARP timeout value of 1500 seconds switc...

Page 171: ... then the permit or deny condition applies The autonomous system path should not contain the local autonomous system number This command requires the LAN Enterprise Services license Examples This example shows how to configure an AS path filter for BGP to permit AS numbers 55 33 and 20 01 and apply it to a BGP peer for inbound filtering switch configure terminal switch config ip as path access lis...

Page 172: ...ommand Reference OL 27852 01 Chapter Unicast Routing Commands ip as path access list Related Commands Command Description filter list Assigns an AS path filter to a BGP peer show ip as path access list Displays information about IP AS path access lists ...

Page 173: ...onfiguration mode You must separately configure a key chain using the key chain command to complete the authentication configuration for an interface This command requires the LAN Base Services license Examples This example shows how to configure the interface to accept and send any key that belongs to the key chain trees switch configure terminal switch config router eigrp 209 switch config route...

Page 174: ...s example shows how to configure the interface to use MD5 authentication switch configure terminal switch config router eigrp 209 switch config router interface ethernet 1 2 switch config if no switchport switch config if ip authentication mode eigrp 209 md5 switch config if Related Commands instance tag Name of the EIGRP instance The instance tag can be any case sensitive alphanumeric string up t...

Page 175: ...mand Reference OL 27852 01 Chapter Unicast Routing Commands ip authentication mode eigrp key chain Creates a set of keys that can be used by an authentication method show ip eigrp interfaces Displays information about EIGRP interfaces Command Description ...

Page 176: ... Base Services license Examples This example shows how to configure EIGRP to use a bandwidth metric of 10000 in autonomous system 209 switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip bandwidth eigrp 209 10000 switch config if Related Commands instance tag Name of the EIGRP instance The instance t...

Page 177: ... the ip bandwidth interface configuration command Use the ip bandwidth percent command to change this default percent This command requires the LAN Base Services license Examples This example shows how to configure EIGRP to use up to 75 percent of an interface in autonomous system 209 switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config...

Page 178: ...rom 1 to 65535 can be entered each 2 byte number A single community can be entered or multiple communities can be entered each separated by a space You can pick more than one of these optional community keywords internet Optional Specifies the Internet community Routes with this community are advertised to all peers internal and external You can pick more than one of these optional community keywo...

Page 179: ...re than one of the optional community keywords A maximum of 16 communities can be configured in a standard community list If you attempt to configure more than 16 communities the communities that exceed the limit are not processed or saved to the running configuration file You can configure up to 32 communities Expanded Community Lists Expanded community lists are used to filter communities using ...

Page 180: ... in order for the list to be processed switch configure terminal switch config ip community list standard test2 deny 65534 40 65412 60 switch config This example shows how to configure a named standard community list that permits routes from network 20 in autonomous system 40000 switch configure terminal switch config ip community list standard RED permit 40000 20 switch config This example shows ...

Page 181: ... to 100 the throughput delay is 1000 microseconds This command requires the LAN Base Services license Examples This example shows how to set the delay to 400 microseconds for the interface switch configure terminal switch config router eigrp 1 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip delay eigrp 1 40 switch config if Related Commands instance t...

Page 182: ...nnected to its destination subnet that packet is broadcast on the destination subnet The destination address in the IP header of the packet is rewritten to the configured IP broadcast address for the subnet and the packet is sent as a link layer broadcast If directed broadcast is enabled for an interface incoming IP packets whose addresses identify them as directed broadcasts intended for the subn...

Page 183: ... 01 Chapter Unicast Routing Commands ip directed broadcast switch config interface ethernet 2 1 switch config if no switchport switch config if ip directed broadcast switch config if Related Commands Command Description show ip interface Displays IP information for an interface ...

Page 184: ...nd requires the LAN Base Services license Examples This example shows how to configure a route map for all EIGRP routes coming into the interface switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip distribute list eigrp 209 route map InputFilter in switch config if Related Commands instance tag Name...

Page 185: ...ork address for the interface does not show up in the EIGRP topology table Use the ip passive interface eigrp command to prevent EIGRP adjacency but keep the network address in the topology table This command requires the LAN Base Services license Examples This example shows how to disable EIGRP on an interface switch configure terminal switch config router eigrp 201 switch config router interface...

Page 186: ... Permits access for a matching condition 4byteas generic Specifies the generic specific extended community type transitive Configures BGP to propagate the extended community attributes to other autonomous systems nontransitive Configures BGP to propagate the extended community attributes to other autonomous systems aa4 nn Optional Autonomous system number and network number This value is configure...

Page 187: ...gest construct is first Nested constructs are matched from the outside in Concatenated constructs are matched beginning at the left side If a regular expression can match two different parts of an input string it matches the earliest part first Community List Processing When you configure multiple values in the same extended community list statement a logical AND condition is created All extended ...

Page 188: ...uting Command Reference OL 27852 01 Chapter Unicast Routing Commands ip extcommunity list send community Configures BGP to propagate community attributes to BGP peers set extcommunity Sets an extended community in a route map Command Description ...

Page 189: ... This command requires the LAN Base Services license Examples This example shows how to set the hello interval to 10 seconds for the interface switch configure terminal switch config router eigrp 1 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip hello interval eigrp 1 10 switch config if Related Commands instance tag Name of the EIGRP instance The ins...

Page 190: ...reasing the hold time delays route convergence across the network This command requires the LAN Base Services license Examples This example shows how to set the hold time to 40 seconds for the interface switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip hold time eigrp 209 40 switch config if Relat...

Page 191: ... command does not require a license Examples This example shows how to set the load sharing algorithm to use the source and destination address switch configure terminal switch config ip load sharing address source destination switch config Related Commands destination port destination Sets the load sharing algorithm based on the destination address and port source destination Sets the load sharin...

Page 192: ... ARP feature can be used you must enable the IP proxy ARP feature by using the ip proxy arp command The IP proxy ARP feature is disabled by default Note This command is not applicable to Layer 3 loopback interfaces This command requires the LAN Base Services license Examples This example shows how to enable the local proxy ARP switch configure terminal switch config interface ethernet 1 5 switch c...

Page 193: ...ng those routes on the same interface from which the router learned them To change this default you must use the no ip next hop self eigrp command to instruct EIGRP to use the received next hop value when advertising these routes This command requires the LAN Enterprise Services license Examples This example shows how to change the default IP next hop value and instruct EIGRP to use the received n...

Page 194: ...refix list to complete this configuration This command requires the LAN Base Services license Examples This example shows how to configure an offset list filter to add 20 to the metric for EIGRP routes coming into the interface that match the route map OffsetFilter switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport sw...

Page 195: ...t Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands ip offset list eigrp Related Commands Command Description prefix list Configures a prefix list route map Configures a route map show ip eigrp Displays EIGRP information ...

Page 196: ...gest key command to configure the message digest key for the interface The authentication that you configure on an interface overrides the authentication that you configure for the area This command requires the LAN Base Services license Examples This example shows how to configure message digest authentication switch configure terminal switch config interface ethernet 2 1 switch config if no swit...

Page 197: ...cation Enables authentication for an OSPF area copy running config startup config Saves the configuration changes to the startup configuration file ip ospf authentication key Assigns a password to be used by neighboring routers that are using the password authentication of OSPF ip ospf message digest key Configures the OSPF MD5 message digest key show ip ospf Displays OSPF information ...

Page 198: ... interface basis All neighboring routers on the same network must have the same password to be able to exchange OSPF information Note Cisco NX OS uses this key when you enable authentication for an interface with the ip ospf authentication interface configuration command or if you configure the area for authentication with the area authentication command in router configuration mode This command r...

Page 199: ... key Related Commands Command Description area authentication Specifies the authentication type for an OSPF area copy running config startup config Saves the configuration changes to the startup configuration file ip ospf authentication Specifies the authentication type for an interface show ip ospf interface Displays OSPF information ...

Page 200: ...ommand overrides any settings for the reference bandwidth that you set using the reference bandwidth command in router configuration mode If this command is not used the link cost is calculated using the following formula link cost reference bandwidth interface bandwidth This command requires the LAN Base Services license Examples This example shows how to configure the interface cost value to 65 ...

Page 201: ...ove convergence Very short dead intervals could cause routing instability Use the show ip ospf interface command to verify the dead interval and hello interval This command requires the LAN Base Services license Examples This example shows how to set the OSPF dead interval to 20 seconds switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if i...

Page 202: ...or all routers and access servers on a specific network This command requires the LAN Base Services license Examples This example shows how to set the interval between hello packets to 15 seconds switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip ospf hello interval 15 switch config if Related Commands seconds Interval in seconds The v...

Page 203: ...outers must have the same key value on the network This command requires the LAN Base Services license Examples This example shows how to set key 19 with the password 8ry4222 switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip ospf message digest key 19 md5 8ry4222 switch config if key id Identifier in the range from 1 to 255 md5 Specif...

Page 204: ...sage digest key Related Commands Command Description area authentication Enables authentication for an OSPF area copy running config startup config Saves the configuration changes to the startup configuration file ip ospf authentication Specifies the authentication type for an interface show ip ospf Displays OSPF information ...

Page 205: ...whether neighbors are using the same MTU on a common interface If the receiving MTU is higher than the IP MTU configured on the incoming interface OSPF does not establish adjacencies Use the ip ospf mtu ignore command to disable this check and allow adjacencies when the MTU value differs between OSPF neighbors This command requires the LAN Base Services license Examples This example shows how to d...

Page 206: ...ed router are elected For point to point networks there are only two neighbors and multicast is not required For routers on an interface to become neighbors the network type for all should match This command overrides the medium broadcast p2p command in interface configuration mode This command requires the LAN Base Services license Examples This example shows how to set an OSPF network as a broad...

Page 207: ...tory Usage Guidelines If an interface is configured as a passive interface it does not participate in OSPF and does not establish adjacencies or send routing updates However the interface is announced as part of the routing network This command requires the LAN Base Services license Examples This example shows how to set an interface as passive switch configure terminal switch config interface eth...

Page 208: ...her router priority takes precedence If there is a tie the router with the higher router ID takes precedence A router with a router priority set to zero cannot become the designated router or backup designated router Cisco NX OS uses this priority value when you configure OSPF for broadcast networks using the neighbor command in router configuration mode This command requires the LAN Base Services...

Page 209: ...If the router receives no acknowledgment within the retransmit interval the local router resends the LSA This command requires the LAN Base Services license Examples This example shows how to set the retransmit interval value to 8 seconds switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip ospf retransmit interval 8 switch config if Rel...

Page 210: ...mmand Default None Command Modes Interface configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to shut down OSPF on an interface switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip ospf shutdown switch config if Related Commands Release Modification 5 0 ...

Page 211: ...te You should take into account the transmission and propagation delays for the interface when you set this value This command requires the LAN Base Services license Examples This example shows how to set the transmit delay value to 8 seconds switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip ospf transmit delay 8 switch config if Rela...

Page 212: ... and suppress the formation of EIGRP adjacencies the network address for the interface remains in the EIGRP topology table This command requires the LAN Base Services license Examples This example shows how to stop EIGRP routing updates on ethernet 2 1 switch configure terminal switch config router eigrp 201 switch config router interface ethernet 2 1 switch config if no switchport switch config i...

Page 213: ...has no arguments or keywords Command Default Enabled Command Modes Interface configuration mode Subinterface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable the generation of ICMP port unreachable messages as appropriate on an interface switch configure terminal switch config interface ethernet 2 1 switch config ...

Page 214: ...o the prefix list and subsequent prefix list entries are incremented by 5 for example 5 10 15 and so on If you configure a sequence number for the first prefix list entry but not subsequent entries then Cisco NX OS increments the subsequent entries by 5 for example if the first configured sequence number is 3 then subsequent entries will be 8 13 18 and so on You can suppress default sequence numbe...

Page 215: ...e reset by entering the clear ip prefix list command This command does not require a license Examples This example shows how to configure a prefix list and apply it to a Border Gateway Protocol BGP peer switch configure terminal switch config ip prefix list allowprefix 10 permit 192 0 2 0 eq 24 switch config ip prefix list allowprefix 20 permit 209 165 201 0 eq 27 switch config router bgp 65536 20...

Page 216: ...des Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure a description for an IP prefix list switch configure terminal switch config ip prefix list test1 description this is a test switch config Related Commands name Name of the prefix list The name can be any alphanumeric string up to 63 characters string D...

Page 217: ...d Default Disabled Command Modes Interface configuration mode Subinterface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable proxy ARP switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config if ip proxy arp switch config if Related Commands Release Modification 5 ...

Page 218: ...uration mode Command History Usage Guidelines This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure the interface to accept and send any key that belongs to the key chain trees switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch...

Page 219: ... you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure the interface to use MD5 authentication switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip rip authentication mode md5 switch config if Related Commands text Specifies the clear text authentication md5 Spec...

Page 220: ...e For example if you set the metric offset to 5 on an interface and the incoming route metric is 5 then Cisco NX OS adds the route to the route table with a metric of 10 This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure a metric offset of 10 for all incoming RIP routes on ...

Page 221: ...d History Usage Guidelines This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure an offset of 10 for all incoming RIP routes on Ethernet interface 2 1 switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config if ip rip offset l...

Page 222: ...ps sending routing updates to the multicast or broadcast address on a passive interface RIP continues to receive and process routing updates from its neighbors on that interface This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to configure Ethernet 1 2 as a passive interface switch co...

Page 223: ...e RIP routes out the interface over which they were learned split horizon If you configure both poison reverse and split horizon then Cisco NX OS advertises the learned routes as unreachable over the interface on which the route was learned This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows...

Page 224: ...Command History Usage Guidelines This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to use a route map to filter routes for a RIP interface switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip rip route filter route map InRipF...

Page 225: ...des Interface configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to configure the summary address 192 0 2 0 that is advertised out Ethernet interface 1 2 switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip rip summary address 192 0 2 0 24 switch config ...

Page 226: ...y an EIGRP dynamic route you should specify an administrative distance greater than 100 This command does not require a license Examples This example shows how to create a static route for destinations with the IP address prefix 192 168 1 1 32 reachable through the next hop address 10 0 0 2 switch configure terminal switch config ip route 192 168 1 1 32 10 0 0 2 switch config ip prefix length IP p...

Page 227: ...rminal switch config ip route 192 168 1 1 32 10 0 0 2 tag 5 switch config This example shows how to choose a preference of 110 In this case packets for prefix 10 0 0 0 are routed to a router at 192 168 0 4 if dynamic route information with an administrative distance less than 110 is not available switch configure terminal switch config ip route 10 0 0 0 8 192 168 0 4 110 switch config Related Comm...

Page 228: ...hat you enable EIGRP on the switch This command requires the LAN Base Services license Examples This example shows how to set the EIGRP instance for an interface switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip router eigrp Base switch config if Related Commands instance tag Name of the EIGRP instance The instance tag can be any case...

Page 229: ...s license Examples This example shows how to configure an interface for OSPF switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip router ospf Base area 33 switch config if Related Commands instance tag Instance tag The instance tag can be an alphanumeric string of 20 characters area id Identifier for the OSPF area where you want to enabl...

Page 230: ...ces license Examples This example shows how to configure a multi area adjacency switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip router ospf Base area 33 switch config if ip router ospf Base multi area 99 switch config if Related Commands instance tag Instance tag Specify as an case sensative alphanumeric string up to 20 characters a...

Page 231: ...enable RIP on the switch This command requires the LAN Base Services license Examples This example shows how to set the RIP instance for an interface switch configure terminal switch config interface ethernet 1 2 switch config if no switchport switch config if ip router rip Enterprise switch config if Related Commands instance tag Name of the RIP instance The instance tag can be any case sensitive...

Page 232: ... History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to disable split horizon an an Ethernet link switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport switch config if no ip split horizon eigrp 209 switch config if Related Commands instance tag Name of the EIGRP i...

Page 233: ...license Examples This example shows how to configure an administrative distance of 95 on an EIGRP interface for the 192 168 0 0 16 summary address switch configure terminal switch config router eigrp 209 switch config router interface ethernet 2 1 switch config if no switchport switch config if ip summary address eigrp 209 192 168 0 0 16 95 switch config if instance tag Name of the EIGRP instance ...

Page 234: ...7852 01 Chapter Unicast Routing Commands ip summary address eigrp Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip eigrp interfaces Displays EIGRP interface related information ...

Page 235: ...ery Syntax Description This command has no arguments or keywords Command Default Disabled Command Modes Interface configuration mode Command History Usage Guidelines This command requires the LAN Base Services license Examples This example shows how to enable path MTU discovery for both IPv4 switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config...

Page 236: ...es Interface configuration mode Subinterface configuration mode Command History Usage Guidelines The ip unreachables command is not supported in Warp mode ICMP unreachables are not generated in Warp mode This command requires the LAN Base Services license Examples This example shows how to enable the generation of ICMP unreachable messages on an interface switch configure terminal switch config in...

Page 237: ...ed Command Modes Address family configuration mode Router configuration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to enable logging of adjacency state changes for EIGRP 1 switch configure terminal switch config router eigrp 1 switch config router address family ipv4 switch config rou...

Page 238: ...mode Command History Usage Guidelines This command is on by default but only reports the up down full down events if you do not use the detail keyword This command requires the LAN Enterprise Services license Examples This example shows how to configure the router to send a system message when an OSPF neighbor state changes switch configure terminal switch config router ospf 209 switch config rout...

Page 239: ...nfiguration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to log neighbor warning messages for EIGRP process 209 and to repeat the warning messages in 5 minute 300 seconds intervals switch configure terminal switch config router eigrp 209 switch config router log neighbor warnings 30 swi...

Page 240: ...command has no arguments or keywords Command Default Some eBGP peers shut down for severe memory alerts Command Modes Neighbor configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to exempt a neighbor from low memory shutdown switch configure terminal switch config router bgp 1 0 switch config router neighbor ...

Page 241: ...map This command requires the LAN Enterprise Services license Examples This example shows how to create the Red MAC list switch configure terminal switch config mac list Red seq 1 permit 0022 5579 a4c1 ffff ffff 0000 switch config name MAC list name The name can be any case sensitive alphanumeric string up to 32 characters seq number Optional Creates an entry in the MAC list The seq range is from ...

Page 242: ... OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands mac list Related Commands Command Description match mac list Matches a MAC address in a MAC list show mac list Displays information about a MAC list ...

Page 243: ...sed to create a BGP session Use the route map to specify a range of AS numbers whose peers can establish a session with the local BGP through prefix peering Cisco NX OS ignores any other match commands if the match as number command is present in the route map This command requires the LAN Enterprise Services license Examples This example shows how to configure a list of AS numbers switch configur...

Page 244: ...L 27852 01 Chapter Unicast Routing Commands match as number Related Commands Command Description ip as path access list Creates an AS path list neighbor Configures BGP peers route map Defines the conditions for redistributing routes from one routing protocol into another ...

Page 245: ...tbound route maps and is not accepted for inbound route maps If you want to modify some particular data you must configure a second route map section with an explicit match specified This command requires the LAN Enterprise Services license Examples This example sets the autonomous system path to match BGP autonomous system path access list 20 switch configure terminal switch config route map IGP2...

Page 246: ...uting protocol into another set as path Modifies an autonomous system path for BGP routes set comm list Automatically computes the tag value in a route map configuration set community Sets BGP community list for deletion set level Indicates where to import routes set local preference Specifies a preference value for the autonomous system path set metric BGP OSPF RIP Sets the metric value for a rou...

Page 247: ...cond route map section with an explicit match specified Matching that is based on the community list number is one of the types of match commands applicable to BGP This command requires the LAN Enterprise Services license Examples This example shows how to match two BGP communities switch configure terminal switch config route map test2 switch config route map match community bgpLow bgpHigh switch...

Page 248: ... set to 150 switch configure terminal switch config ip community list expanded 500 permit 0 9 switch config route map MAP_NAME permit 10 switch config route map match community 500 switch config route map set weight 150 switch config route map Related Commands Command Description ip community list Creates a community list for BGP and controls access to it route map Defines the conditions for redis...

Page 249: ...ch specified Matching that is based on the extended community list number is one of the types of match commands applicable to BGP This command requires the LAN Enterprise Services license Examples This example shows how to match two BGP extended community lists switch configure terminal switch config route map test2 switch config route map match extcommunity bgpLocal bgpRemote switch config route ...

Page 250: ...nsitive 1 9 switch config route map Related Commands Command Description ip extcommunity list Creates a community list for BGP and controls access to it route map Defines the conditions for redistributing routes from one routing protocol into another send community Configures BGP to propagate community attributes to BGP peers set extcommunity Sets an extended community in a route map ...

Page 251: ... least one match clause that relates to a route map command is ignored that is the route is not advertised for outbound route maps and is not accepted for inbound route maps If you want to modify some particular data you must configure a second route map section with an explicit match specified This command requires the LAN Enterprise Services license Examples This example shows how to configure a...

Page 252: ...OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands match interface Related Commands Command Description route map Defines the conditions for redistributing routes from one routing protocol into another ...

Page 253: ... the second match clause is filtered This process continues until a match occurs or there are no more match clauses Use route maps to redistribute routes Use the route map global configuration command and the match and set route map configuration commands to define the conditions for redistributing routes from one routing protocol into another Each route map command has a list of match and set com...

Page 254: ...P community match interface Distributes any routes that have their next hop out one of the interfaces specified match ip next hop Redistributes any routes that have a next hop router address passed by one of the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistri...

Page 255: ...ap Once you enter route map configuration mode you can enter the match ip multicast command group address length Specifies the group address and the length of the network mask in bits in this format A B C D length The network number can be any valid IP address or prefix The bit mask can be a number from 0 to 32 You can configure group source and rp options source address length Specifies the sourc...

Page 256: ...p out one of the interfaces specified match ip next hop Redistributes any routes that have a next hop router address passed by one of the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match route type Redistributes rout...

Page 257: ...ands specify the match criteria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be ...

Page 258: ...ve been advertised by routers and access servers at the address specified by the access lists match route type Redistributes routes of the specified type match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set ...

Page 259: ...eria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be given in any order and all ...

Page 260: ...d or expanded access list match ip next hop Redistributes any routes that have a next hop router address passed by one of the access lists specified match route type Redistributes routes of the specified type route map Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set automatic tag Automatically...

Page 261: ...on command and the match and set route map configuration commands to define the conditions for redistributing routes from one routing protocol into another Each route map command has a list of match and set commands associated with it The match commands specify the match criteria the conditions under which redistribution is allowed for the current route map command The set commands specify the set...

Page 262: ... community Matches a BGP community match ip next hop Redistributes any routes that have a next hop router address passed by one of the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the ...

Page 263: ...forced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be given in any order and all match commands must pass to cause the route to be redistributed according to the set actions given with the set commands The no forms of the match commands remove the specified match criteria A route ...

Page 264: ...ributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set community Sets the BGP communities attribute set level Indicates where to import routes set local preference Spec...

Page 265: ...actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be given in any order and all match commands must pass to cause the route to be redistributed according to the set actions given with the set commands The ...

Page 266: ...ig route map Related Commands Command Description match as path Matches a BGP autonomous system path access list match community Matches a BGP community match ip next hop Redistributes any routes that have a next hop router address passed by one of the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified ...

Page 267: ...pecify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be given in any order and all match commands must pass to cause the route to be redistributed according to the set actions given with the se...

Page 268: ...ss lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set community Sets the BGP communities attribute set level Indicates where to import rout...

Page 269: ...eria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The match route map configuration command has multiple formats The match commands can be given in any order and all ...

Page 270: ...ecified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set community Sets the BGP communities attribute set level Indicates w...

Page 271: ...gured or default timers expire or after BGP sends a notification that routing tables have converged Note Directly connected links in a stub network are not affected by the configuration of a maximum or infinite metric because the cost of a stub link is always set to the output interface cost You can use the max metric router lsa command in the following situations Reloading a router After a router...

Page 272: ...hows how to configure a router that is running OSPF to advertise a maximum metric for 100 seconds switch configure terminal switch config router ospf 100 switch config router max metric router lsa on startup 100 switch config router This example shows how to configure a router to advertise a maximum metric until BGP routing tables converge or until the default timer expires 600 seconds switch conf...

Page 273: ...d Default No limit Command Modes Router configuration mode VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to set the maximum number of AS numbers to 50 switch configure terminal switch config router bgp 64496 switch config router maxas limit 50 switch config router Related Commands number Optional Ma...

Page 274: ...de Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to allow a maximum of 16 paths to a destination for a BGP routing process switch configure terminal switch config router bgp 64496 switch config router address family ipv4 unicast switch config router af maximum paths 16 switch config router af Related Commands ibgp Configu...

Page 275: ...History Usage Guidelines Multiple paths are installed for both internal and external routes that are learned in the same autonomous system and that have an equal cost according to the EIGRP best path algorithm This command requires the LAN Enterprise Services license Examples This example shows how to allow a maximum of 10 paths to a destination switch configure terminal switch config router eigrp...

Page 276: ...ode Command History Usage Guidelines This command does not require a license Examples This example shows how to allow a maximum of 16 equal cost paths to a destination switch configure terminal switch config router rip Enterprise switch config router address family ipv4 unicast switch config router af maximum paths 16 switch config router af Related Commands maximum Maximum number of parallel rout...

Page 277: ...Multiple paths are installed for both internal and external routes that are learned in the same autonomous system and that have an equal cost according to the OSPF shortest path first algorithm This command requires the LAN Enterprise Services license Examples This example shows how to allow a maximum of 10 paths to a destination switch configure terminal switch config router ospf 1 switch config ...

Page 278: ...col BGP routing process accepts from the specified peer This feature provides a mechanism in addition to distribute lists filter lists and route maps to control prefixes received from a peer When the number of received prefixes exceeds the maximum number configured BGP disables the peering session by default If you configure the restart interval BGP automatically reestablishes the peering session ...

Page 279: ...ges 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 how to set the maximum number of prefixes that are accepted from the 192 168 3 3 neighbor to 2000 The router is also configured to reestabl...

Page 280: ...nicast Routing Commands maximum prefix BGP Related Commands Command Description address famil BGP neighbor Enters BGP neighbor address family configuration mode neighbor Configures a BGP neighbor network Configures an IP prefix to advertise show ip bgp Displays BGP configuration information ...

Page 281: ...re that both interfaces on the virtual link have the same key value This command requires the LAN Base Services license Examples This example shows how to set key 19 with the password 8ry4222 switch configure terminal switch config router area 22 virtual link 192 0 2 2 switch config router vlink message digest key 19 md5 8ry4222 switch config router vlink Related Commands key id Identifier in the ...

Page 282: ...guration mode Router VRF configuration mode Command History Usage Guidelines Use this command to provide a safety mechanism that causes EIGRP to advertise routes with a hop count greater than the value assigned to the hops number argument as unreachable This command requires the LAN Enterprise Services license Examples This example shows how to configure a hop count to 200 switch configure termina...

Page 283: ...e Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to set the metric weights to change the default values switch configure terminal switch config router eigrp 1 switch config router address family ipv4 unicast switch config router af metric weights 0 2 0 2 0 0 tos Type of service ToS The range is from 0 to 8 k1 k2 k3 k4 k5 Constants that convert ...

Page 284: ... config router af Related Commands Command Description bandwidth Sets the EIGRP bandwidth metric in interface configuration mode copy running config startup config Saves the configuration changes to the startup configuration file delay Sets the EIGRP delay metric in interface configuration mode show ip eigrp Displays EIGRP information ...

Page 285: ...command for information description description Describes the neighbor You can enter up to 80 characters including spaces disable connected check Disables the connection verification for the directly connected peer Use the disable connected check command is to disable a check for an eBGP peer that is directly connected to the local router BGP triggers a connection check automatically for all eBGP ...

Page 286: ...imers keepalive time Configures keepalive and hold timers in seconds The range is from 0 to 3600 The default is 60 update source ethernet mod port loopback virtual interface port channel number sub interface Specifies the source of the BGP session and updates The range for virtual interface is from 0 to 1023 The range for number is from 0 to 4096 The range for sub interface is from 1 to 4093 The C...

Page 287: ...eighbor update source loopback 1 switch config router neighbor disable connected check switch config router neighbor This example shows how to source BGP TCP connections for the specified neighbor with the IP address of the loopback interface rather than the best local address switch configure terminal switch config router bgp 64496 switch config router neighbor 192 168 0 0 remote as 64496 switch ...

Page 288: ...ing table This command requires the LAN Enterprise Services license Examples This example shows how to configure an IP prefix to advertise switch configure terminal switch config router bgp 64496 switch config router address family ipv4 unicast switch config router af network 2 2 2 2 mask 3 3 3 3 route map test switch config router af Related Commands ip addr IP network address to advertise use th...

Page 289: ...route map rejects the route the next hop address is treated as unreachable BGP marks all next hops that are rejected by the route policy as invalid and does not calculate the best path for the routes that use the invalid next hop address This command requires the LAN Enterprise Services license Examples This example shows how to configure a route map to filter the next hop address switch configure...

Page 290: ... map Related Commands Command Description feature bgp Enables BGP nexthop trigger delay Configures the delay timers for BGP next hop address tracking route map Defines the conditions for redistributing routes from one routing protocol into another show routing memory estimate Displays an estimate of routing memory requirements ...

Page 291: ...History Usage Guidelines This command requires a LAN Enterprise Services license Examples This example shows how to configure the IP address of a router as the next hop address switch configure terminal switch config router bgp 102 switch config router neighbor 192 168 1 3 remote as 64497 switch config router neighbor address family ipv4 unicast switch config router neighbor af next hop self switc...

Page 292: ...alue The delay should be slightly higher than the time it takes for the Interior Gateway Protocol IGP to settle into a steady state after some event IGP convergence time This command requires a LAN Enterprise Services license Examples This example shows how to modify the next hop address tracking delay switch configure terminal switch config router bgp 1 0 switch config router address family ipv4 ...

Page 293: ...chport command Then if you change a Layer 2 interface to a routed interface enter the no switchport command This command requires the LAN Base Services license Examples This example shows how to enable an interface as a Layer 3 routed interface switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if This example shows how to configure a Layer ...

Page 294: ...of 60 percent two of the objects must be in the up state 66 percent of all objects for the track list to be in the up state You can also configure an object track list that contains a weight threshold A tracked list contains one or more objects The combined weight of up objects must exceed the configured track list up weight threshold before the track list is in an up state For example if the trac...

Page 295: ...ct switch config track 1 list threshold weight switch config track threshold weight up 30 down 10 switch config track object 10 weight 15 switch config track object 20 weight 15 switch config track object 30 switch config track Related Commands Command Description track list Configures a track list for object tracking ...

Page 296: ...al switch config router bgp 101 switch config router neighbor 192 0 2 1 remote as 1 2 switch config route neighbor password 0 myauthkey switch config route neighbor This example shows how to disable an unencrypted authentication key for a BGP neighbor switch configure terminal switch config router bgp 101 switch config router neighbor 192 0 2 1 remote as 1 2 switch config route neighbor no passwor...

Page 297: ...isco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands password BGP Related Commands Command Description show ip bgp Displays information about BGP routes ...

Page 298: ...es This example shows how to drop fragmented IPv4 packets switch configure terminal switch config platform ip verify fragment switch config Related Commands checksum Drops IPv4 packets if the checksum is invalid fragment Drops IPv4 packets if the packet fragment has a nonzero offset and the Don t Fragment DF bit is active tcp tiny frag Drops IPv4 packets if the IP fragment offset is 1 or if the IP...

Page 299: ...This command does not require a license Examples This example shows how to drop broadcast IPv4 packets switch configure terminal switch config platform ip verify address source broadcast switch config Related Commands destination zero Drops IP packets if the destination IPv4 address is 0 0 0 0 identical Drops IP packets if the source IPv4 address is identical to the destination IPv4 address reserv...

Page 300: ... OL 27852 01 Chapter Unicast Routing Commands platform ip verify address platform ip verify length Configures IPv4 packet verification checks based on length show hardware forwarding ip verify Displays information about IP packet verification checks Command Description ...

Page 301: ...hows how to drop minimum length IPv4 packets switch configure terminal switch config platform ip verify length minimum switch config Related Commands consistent Drops IPv4 packets where the Ethernet frame size is greater than or equal to the IP packet length plus the Ethernet header maximum Specifies maximum IP packets max frag Specifies the IP packets if the maximum fragment offset is greater tha...

Page 302: ...L 27852 01 Chapter Unicast Routing Commands platform ip verify length platform ip verify address Configures IPv4 packet verification checks based on addresses show hardware forwarding ip verify Displays information about IP packet verification checks Command Description ...

Page 303: ...e Syntax Description This command has no arguments or keywords Command Default Policy statistics are disabled Command Modes Router configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to enable policy statistics gathering on OSPF 2 switch configure terminal switch config ospf 2 switch config router policy stat...

Page 304: ...o active router for the group and becomes active as soon as possible This command requires the LAN Base Services license Examples This example shows how to configure a delay when a router becomes active when its priority is 110 switch configure terminal switch config interface ethernet 0 1 switch config if no switchport switch config if ip address 10 0 0 1 255 255 255 0 switch config if hsrp 4 swi...

Page 305: ...erence OL 27852 01 Chapter Unicast Routing Commands preempt HSRP switch config if hsrp ip 10 0 0 3 switch config if hsrp end switch config if hsrp Related Commands Command Description feature hsrp Enables the HSRP configuration show hsrp Displays HSRP information ...

Page 306: ... a preemptive scheme is enabled A backup high priority virtual router that becomes available takes over for the backup virtual router that was elected to become the virtual router master If you disable preemption the backup virtual router that is elected to become the virtual router master remains the master until the original virtual router master recovers and becomes the master again Note This p...

Page 307: ...Reference OL 27852 01 Chapter Unicast Routing Commands preempt VRRP Related Commands Command Description clear vrrp Clears all the software counters for the specified virtual router show vrrp Displays VRRP configuration information vrrp Configures a VRRP group ...

Page 308: ...s have equal priority HSRP selects the router with the highest IP address This command requires the LAN Base Services license Examples This example shows how to configure a virtual router with a priority of 254 switch configure terminal switch config interface ethernet 0 1 switch config if no switchport switch config if ip address 10 0 0 1 255 255 255 0 switch config if hsrp 3 switch config if hsr...

Page 309: ...Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands priority HSRP Related Commands Command Description feature hsrp Enables the HSRP configuration show hsrp Displays HSRP information ...

Page 310: ...P address of the physical interface then this router functions as a virtual router master By default a preemptive scheme is enabled A backup high priority virtual router that becomes available takes over for the backup virtual router that was elected to become the virtual router master If you disable preemption then the backup virtual router that is elected to become the virtual router master rema...

Page 311: ... VRRP switch config if vrrp 250 switch config if vrrp priority 2 switch config if vrrp Related Commands Command Description feature vrrp Enables VRRP preempt Enables preemption on the virtual router show vrrp Displays VRRP configuration information shutdown VRRP Disables the VRRP configuration vrrp Configures a VRRP group ...

Page 312: ...and has no arguments or keywords Command Default The OSPF instance is enabled by default when configured Command Modes Router configuration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to disable OSPF 209 switch configure terminal switch config router ospf 209 switch config router proto...

Page 313: ...te You must configure a default metric to redistribute routes from another protocol into BGP You can configure the default metric with the default metric command or with the route map configured with the redistribute command This command requires the LAN Enterprise Services license Examples This example shows how to redistribute BGP routes into an EIGRP autonomous system direct Distributes routes ...

Page 314: ...ds redistribute BGP switch configure terminal switch config router bgp 64496 switch config router address family ipv4 unicast switch config router af redistribute eigrp 100 switch config router af Related Commands Command Description default metric BGP Sets the default metrics for routes redistributed into BGP ...

Page 315: ...ute map to filter these routes to ensure that EIGRP redistributes only the routes that you intend to redistribute bgp as number Distributes routes from Border Gateway Protocol BGP The as number is a 2 byte or 4 byte autonomous system number The range for 2 byte numbers is from 1 to 65535 The range for 4 byte numbers is from 1 0 to 65535 65535 direct Distributes routes that are directly connected o...

Page 316: ...ed with the redistribute command This command requires the LAN Enterprise Services license Examples This example shows how to redistribute cause BGP routes into an EIGRP autonomous system switch configure terminal switch config router eigrp 209 switch config router address family ipv4 unicast switch config router af redistribute bgp 64496 switch config router af Related Commands Command Descriptio...

Page 317: ...SPF You can configure the default metric with the default metric command or with the route map configured with the redistribute command bgp as number Optional Distributes routes from Border Gateway Protocol BGP The as number is a 2 byte or 4 byte autonomous system number The range for 2 byte numbers is from 1 to 65535 The range for 4 byte numbers is from 1 to 4294967295 direct Distributes routes t...

Page 318: ...s license Examples This example shows how to redistribute BGP routes into an OSPF autonomous system switch configure terminal switch config router ospf 209 switch config router redistribute bgp 64496 witch config router Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file default metric OSPF Sets the default metri...

Page 319: ... redistribute the routes This command does not require a license Examples This example shows how to redistribute BGP routes into a RIP process switch configure terminal bgp Redistributes routes from the Border Gateway Protocol BGP direct Redistributes routes from directly connected routes only eigrp Redistributes routes from the Enhanced Interior Gateway Routing Protocol EIGRP ospf Redistributes r...

Page 320: ...tch config router af redistribute bgp 64496 switch config router af Related Commands Command Description address family Enters address family configuration mode default information originate Generates a default route for routes redistributed into RIP default metric Sets default metric values for routes redistributed from other protocols into RIP show ip rip Displays a summary of RIP information fo...

Page 321: ...vices license Examples This example shows how to limit the number of redistributed routes into EIGRP switch configure terminal switch config router eigrp 201 switch config router address family ipv4 unicast switch config router af redistribute bgp route map FilterExternalBGP switch config router af redistribute maximum prefix 1000 75 switch config router af max Maximum number of prefixes that EIGR...

Page 322: ... maximum prefix EIGRP Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file feature eigrp Enables the EIGRP feature redistribute EIGRP Configures route redistribution for EIGRP show running config eigrp Displays the EIGRP running configuration ...

Page 323: ...e LAN Enterprise Services license Examples This example shows how to limit the number of redistributed routes into OSPF switch configure terminal switch config router ospf 201 switch config router redistribute bgp route map FilterExternalBGP switch config router redistribute maximum prefix 1000 75 switch config router max Maximum number of prefixes that OSPF will distribute The range is from 0 to ...

Page 324: ...st Routing Commands redistribute maximum prefix OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays OSPF information show running config ospf Displays the OSPF running configuration ...

Page 325: ...History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to configure the neighbor AS number switch configure terminal switch config router bgp 64496 switch config router neighbor 10 0 0 100 switch config router neighbor remote as 64497 switch config router neighbor Related Commands number AS number The format is x for a two byte value or x...

Page 326: ...he LAN Enterprise Services license Examples This example shows how to restart the BGP autonomous system switch restart bgp 64496 switch Related Commands as num Number of an autonomous system that identifies the router to other BGP routers and tags the routing information passed along valid values are from 1 to 65535 as num Optional Number of an autonomous system that identifies the router to other...

Page 327: ...y Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to restart the OSPFv2 instance and remove all neighbors switch configure terminal switch config restart eigrp Test1 switch config Related Commands instance tag Name for an EIGRP routing instance The name can be a maximum of 20 alphanumeric characters Release Modification 5 0 3 A1 1 This com...

Page 328: ...ry Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to restart the OSPFv2 instance and remove all neighbors switch configure terminal switch config restart ospf 12 switch config Related Commands instance tag Internally used identification parameter for an OSPF routing instance It is locally assigned and can be any word or positive integer T...

Page 329: ...Usage Guidelines This command does not require a license Examples This example shows how to restart the RIP instance and remove all neighbors switch configure terminal switch config restart rip Enterprise switch config Related Commands instance tag Name for an RIP routing instance The name can be a maximum of 20 alphanumeric characters Release Modification 5 0 3 A1 1 This command was introduced Co...

Page 330: ...es no acknowledgment that an LSA was received the router resends the LSA at the retransmission interval You should set this value larger for virtual links This command requires the LAN Enterprise Services license Examples This example shows how to set the retransmit interval value to 8 seconds switch configure terminal switch config router ospf 109 switch config router area 33 virtual link 192 0 2...

Page 331: ...ry Usage Guidelines To minimize the chance of routing loops all Open Shortest Path First OSPF routers in an OSPF routing domain should have RFC compatibility set identically Because of the introduction of RFC 2328 OSPF Version 2 the method used to calculate summary route costs has changed Use the no rfc1583compatibility command to enable the calculation method used per RFC 2328 This command requir...

Page 332: ...ap tag name to reference the route map Multiple route maps may share the same map tag name Use the route map global configuration command and the match and set route map configuration commands to define the conditions for redistributing routes from one routing protocol into another Each route map command has a list of match and set commands associated with it The match commands specify the match c...

Page 333: ...ting Information Protocol RIP routes with a hop count equal to 1 into Open Shortest Path First OSPF These routes are redistributed into OSPF as external link state advertisements LSAs with a metric type of Type 1 and a tag equal to 1 switch configure terminal switch config router ospf 109 switch config route map redistribute rip route map rip to ospf switch config route map route map rip to ospf p...

Page 334: ...of the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing proto...

Page 335: ...ured with this command will be members of the client group and the remaining BGP peers will be members of the nonclient group for the local route reflector This command requires the LAN Enterprise Services license Examples This example shows how to configure the local router as a route reflector to the neighbor at 192 168 0 1 switch configure terminal switch config router bgp 102 switch config rou...

Page 336: ...Enterprise Services license Examples This example shows how to configure a BGP process for autonomous system 120 switch configure terminal switch config router bgp 120 switch config router This example shows how to log neighbor changes for BGP in router configuration mode switch configure terminal switch config bgp router 40000 switch config router log neighbor changes switch config router This ex...

Page 337: ...us system number in the AS_PATH is the local AS number of the transmitting peer The updates from the 10 100 0 1 peer are discarded if the first AS number is not 65001 switch configure terminal switch config router bgp 64496 switch config router bgp enforce first as switch config router address family ipv4 switch config router af neighbor 10 100 0 1 remote as 64496 switch config router af Related C...

Page 338: ... Services license Examples This example shows how to configure a routing process for EIGRP switch configure terminal switch config router eigrp 1 switch config router Related Commands instance tag Name of an EIGRP instance The instance tag can be any case sensitive alphanumeric string up to 20 characters Release Modification 5 0 3 A1 1 This command was introduced Command Description default inform...

Page 339: ...Services license Examples This example shows how to configure a basic OSPF instance switch configure terminal switch config router ospf 12 switch config router This example shows how to delete an OSPF instance switch configure terminal switch config no router ospf 12 switch config Related Commands instance tag Internally used identification parameter for an OSPF routing instance It is locally assi...

Page 340: ...ter rip instance tag no router rip Syntax Description Command Default No RIP routing process is defined Command Modes Global configuration mode Command History Examples This example shows how to begin the RIP routing process switch configure terminal switch config router rip Enterprise switch config router Related Commands instance tag Name for this RIP instance Release Modification 5 0 3 A1 1 Thi...

Page 341: ...guration mode Router configuration mode Router VRF configuration mode Command History Usage Guidelines Configuring a router ID ensures that EIGRP can function regardless of the interface address configuration This command requires the LAN Enterprise Services license Examples This example shows how to assign the IP address of 192 0 2 1 to the EIGRP process 1 switch configure terminal switch config ...

Page 342: ...es Router configuration mode Command History Usage Guidelines Configuring a router ID ensures that EIGRP can function regardless of the interface address configuration If this command is used on an OSPF instance that has neighbors OSPF uses the new router ID at the next reload or at a restart of OSPF This command requires the LAN Enterprise Services license Examples This example shows how to confi...

Page 343: ...ally restricts the scope of the output of EXEC commands to the configured VRF You can override this scope by using the VRF keywords available for some EXEC commands This command does not require a license Examples This example shows how to limit EXEC commands to the management VRF switch routing context vrf management switch management Related Commands vrf name Name of the VRF instance The name ca...

Page 344: ...d you must configure BGP communities using the set community command This command requires the LAN Enterprise Services license Examples This example shows how to configure the router to send the community attribute to the neighbor 192 168 1 3 switch configure terminal switch config router bgp 102 switch config router neighbor 192 168 1 3 remote as 64497 switch config router neighbor address family...

Page 345: ...ation of this command modifies the autonomous system length The set as path prepend variation allows you to prepend an arbitrary autonomous system path string to BGP routes Usually the local autonomous system number is prepended multiple times increasing the autonomous system path length This command requires the LAN Enterprise Services license Examples This example shows how to convert the tag of...

Page 346: ... the access lists specified match ip route source Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing protoco...

Page 347: ... sent to the Border Gateway Protocol BGP neighbor Each entry of a standard community list should list only one community when used with the set comm list delete command For example in order to be able to delete communities 10 10 and 10 20 you must use the following format to create the entries switch config ip community list 500 permit 10 10 switch config ip community list 500 permit 10 20 The fol...

Page 348: ...ers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set community Sets the BGP ...

Page 349: ...d network number entered in the 4 byte new community format This value is configured with two 2 byte numbers separated by a colon A number from 1 to 65535 can be entered as each 2 byte number A single community can be entered or multiple communities can be entered each separated by a space You can configure one or more AS numbers You can configure one or more keywords additive Optional Adds to exi...

Page 350: ...is command requires the LAN Enterprise Services license Examples This example shows how to configure the routes that pass the autonomous system path access list 1 to have the community set to 109 02 and 33 40 Routes that pass the autonomous system path access list 2 have the community set to no export these routes are not advertised to any external BGP eBGP peers switch configure terminal switch c...

Page 351: ...s are met The no route map command deletes the route map When a BGP peer is reset the route is withdrawn and the flap statistics cleared In this instance the withdrawal does not incur a penalty even though route flap dampening is enabled This command requires the LAN Enterprise Services license half life Time in minutes after which a penalty is decreased Once the route has been assigned a penalty ...

Page 352: ...ource Redistributes routes that have been advertised by routers and access servers at the address specified by the access lists match metric Redistributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an auton...

Page 353: ...is command requires the LAN Enterprise Services license Examples This example shows how to configure a route map that sets the extended community to 1 5 switch configure terminal switch config route map test1 10 permit switch config route map match as path 1 switch config route map set extcommunity generic transitive 1 5 none Optional Specifies the no community attribute generic Specifies the gene...

Page 354: ...Description ip extcommunity list Creates a community list for BGP and controls access to it route map Defines the conditions for redistributing routes from one routing protocol into another send community Configures BGP to propagate community attributes to BGP peers match extcommunity Matches an extended community in a route map ip extcommunity list Creates a community list for BGP and controls ac...

Page 355: ... the set actions to be performed when all of the match criteria of a route map are met When all match criteria are met all set actions are performed When you configure both the set extcommunity community number and set ext comm list delete commands in the same sequence of a route map attribute the deletion operation set extcomm list delete is performed before the set operation set extcommunity com...

Page 356: ...52 01 Chapter Unicast Routing Commands set extcomm list delete Related Commands Command Description match as path Matches a BGP autonomous system path access list match extcommunity Matches a BGP extended community set extcommunity Sets the BGP extended communities attribute ...

Page 357: ...s system boundary router ASBR can be either 0 0 0 0 or nonzero The 0 0 0 0 address indicates that the originating router the ASBR is the next hop If the ASBR redistributes routes and OSPF is not enabled on the next hop interface for those routes the forwarding address is set to 0 0 0 0 All of the following conditions must be met to set the forwarding address field to a nonzero address OSPF is enab...

Page 358: ...istributes routes with the metric specified match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing protocol into another set as path Modifies an autonomous system path for BGP routes set community Sets the BGP communities attribute set level Indicates where to import routes set local preferenc...

Page 359: ... change for route reflector clients to the self IP address This command does not require a license Examples This example shows how to configure a route map to set the next hop as peer address and apply on outbound BGP advertisements switch configure terminal switch config router bgp 65536 switch config router neighbor 192 0 2 10 remote as 65536 switch config router neighbor address family ipv6 uni...

Page 360: ... the match criteria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The set route map configuration commands specify the redistribution set actions to be performed when ...

Page 361: ...L 27852 01 Chapter Unicast Routing Commands set level Related Commands Command Description neighbor next hop self Disables next hop processing of BGP updates on the router route map IP Defines the conditions for redistributing routes from one routing protocol to another ...

Page 362: ...ands associated with it The match commands specify the match criteria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The set route map configuration commands specify th...

Page 363: ...pecified by the access lists match metric IP Redistributes routes with the metric specified match route type IP Redistributes routes of the specified type match tag Redistributes routes in the routing table that match the specified tags route map IP Defines the conditions for redistributing routes from one routing protocol into another set automatic tag Automatically computes the tag value set com...

Page 364: ... keywords Use the route map global configuration command and the match and set route map configuration command to define the conditions for redistributing routes from one routing protocol into another Each route map command has a list of match and set commands associated with it The match commands specify the match criteria the conditions under which redistribution is allowed for the current Optio...

Page 365: ...all match criteria are met all set actions are performed This command requires the LAN Enterprise Services license Examples This example shows how to set the bandwith metric value for the routing protocol to 100 switch configure terminal switch config route map set metric switch config route map set metric 100 switch config route map This example shows how to increase the bandwith metric value for...

Page 366: ...rrent route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The set route map configuration commands specify the redistribution set actions to be performed when all the match criteria of a route map are met When all match criteria are met all s...

Page 367: ...ric Redistributes routes with the metric specified match route type Redistributes routes of the specified type match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Sets a BGP autonomous system path access list set community Sets the BGP communities attribute se...

Page 368: ...ion is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The set route map configuration commands specify the redistribution set actions to be performed when all of the match criteria of a route map are met When all ...

Page 369: ...c Redistributes routes with the metric specified match route type Redistributes routes of the specified type match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Sets a BGP autonomous system path access list set community Sets the BGP communities attribute set ...

Page 370: ... if the receive capability is enabled with the capability additional paths receive command This command selects all BGP paths with a unique next hop as candidates to advertise to BGP peers paths with a duplicate next hop are not considered Examples The following example shows how to set the advertising of additional paths in a route map switch configure terminal switch config router bgp 65000 swit...

Page 371: ...h and set commands associated with it The match commands specify the match criteria the conditions under which redistribution is allowed for the current route map command The set commands specify the set actions the particular redistribution actions to perform if the criteria enforced by the match commands are met The no route map command deletes the route map The set route map configuration comma...

Page 372: ...ccess servers at the address specified by the access lists match metric Redistributes routes with the metric specified match route type Redistributes routes of the specified type match tag Redistributes routes in the routing table that match the specified tags route map Defines the conditions for redistributing routes from one routing protocol into another set as path Sets a BGP autonomous system ...

Page 373: ...ples This example shows how to set the BGP weight for the routes that match the autonomous system path access list to 200 switch configure terminal switch config route map set weight switch config route map match as path 10 switch config route map set weight 200 switch config route map Related Commands number Weight value The range is from 0 to 65535 Release Modification 5 0 3 A1 1 This command wa...

Page 374: ...onditions for redistributing routes from one routing protocol into another set as path Sets a BGP autonomous system path access list set community Sets the BGP communities attribute set level Indicates where to import routes set local preference Specifies a preference value for the autonomous system path set metric Sets the metric value for a routing protocol set metric type Sets the metric type f...

Page 375: ... command has no arguments or keywords Command Default Enabled Command Modes Router configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to disable BGP 64496 switch configure terminal switch config router bgp 64496 switch config router shutdown switch config router Related Commands Release Modification 5 0 3 A1...

Page 376: ...efault Enabled Command Modes Address family configuration mode Router configuration mode Router VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to disable eigrp 209 switch configure terminal switch config router eigrp 209 switch config router shutdown switch config router Related Commands Release Modi...

Page 377: ... No process is stopped Command Modes Router configuration mode VRF configuration mode Command History Usage Guidelines The shutdown command is displayed in the running configuration file when enabled This command requires the LAN Enterprise Services license Examples This example shows how to stop an active OSPF instance switch configure terminal switch config router ospf firstcompany switch config...

Page 378: ...ure the virtual router after it is in the administrative shut down state Enter the no shutdown command to update the virtual router state after completing configuration This command requires the LAN Base Services license Examples This example shows how to shut down a VRRP group switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if vrrp 45 sw...

Page 379: ...d to do inbound soft reconfiguration To use soft reconfiguration or soft reset without preconfiguration both BGP peers must support the soft route refresh capability This command requires the LAN Enterprise Services license Examples This example shows how to configure the soft reconfiguration on the neighbor at 192 168 0 1 switch configure terminal switch config router bgp 102 switch config router...

Page 380: ...any type of route from being sent The redistributed keyword permits EIGRP stub routing to send other routing protocols and autonomous systems Without the configuration of this option EIGRP does not advertise redistributed routes If you use any of these four keywords direct leak map receive only redistributed with the stub command only the route types specified by the particular keyword s are adver...

Page 381: ...01 Chapter Unicast Routing Commands stub Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip eigrp Displays EIGRP information show ip eigrp neighbors Displays EIGRP neighbor information ...

Page 382: ...dvertise one external route as an aggregate for all redistributed routes that are covered by the address This command requires the LAN Enterprise Services license Examples This example shows how to configure the summary address 192 0 0 0 to include address 192 0 1 0 192 0 2 0 192 0 3 0 and so on Only the address 192 0 0 0 is advertised in an external link state advertisement switch configure termi...

Page 383: ...mmary address OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file redistribute OSPF Redistributes external routing protocol routes into OSPF show ip ospf summary address Displays OSPF summary address redistribution information ...

Page 384: ...table even if the routes are not the active routes in the table Command Modes Neighbor address family configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to create a summary address The path advertised for this route is an autonomous system set consisting of all elements contained in all paths that are being ...

Page 385: ...l policy commands BGP policy configuration commands that are configured only for specific address families or NLRI configuration modes are configured with peer templates General session commands can be configured once in a peer session template and then applied to many neighbors through the direct application of a peer session template or through indirect inheritance from a peer session template T...

Page 386: ...refix 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 afte...

Page 387: ...config router This example enables inbound soft reconfiguration for the neighbor 192 168 0 1 All the updates received from this neighbor are stored unmodified regardless of the inbound policy When inbound soft reconfiguration is done later the stored information is used to generate a new set of inbound updates switch configure terminal switch config router bgp 64496 switch config router soft recon...

Page 388: ...mmand test forwarding distribution perf Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to test the forwarding distribution performance switch test forwarding distribution perf switch Related Commands Release Modification 5 0 3 A1...

Page 389: ...onsistency checker for all modules switch test forwarding inconsistency module all stop Related Commands ip Optional Specifies the inconsistency check for IPv4 routes ipv4 Optional Specifies the inconsistency check for IPv4 routes unicast Optional Specifies the inconsistency check for unicast routes module Optional Specifies the inconsistency check for one or more modules slot Module number The ra...

Page 390: ...rds If you specify the percentage keyword the weight keyword is unavailable If you specify the weight keyword the percentage keyword is unavailable You should configure the up percentage first The valid range is from 1 to 100 The down percentage depends on what you have configured for up For example if you configure 50 percent for up you see a range from 0 to 49 percent for down This command does ...

Page 391: ...2 01 Chapter Unicast Routing Commands threshold percentage Related Commands Command Description threshold weight Sets a threshold weight for a tracked object in a list of objects track list Specifies a list of objects to be tracked and the thresholds to be used for comparison ...

Page 392: ... keywords If you specify the percentage keyword the weight keyword is unavailable If you specify the weight keyword the percentage keyword is unavailable You should configure the up weight first The valid range is from 1 to 255 The available down weight depends on what you have configured for the up weight For example if you configure 25 for up you will see a range from 0 to 24 for down This comma...

Page 393: ...01 Chapter Unicast Routing Commands threshold weight Related Commands Command Description threshold percentage Sets a threshold percentage for a tracked object in a list of objects track list Specifies a list of objects to be tracked and the thresholds to be used for comparison ...

Page 394: ... before declaring the route to be in the stuck in active SIA state This command requires the LAN Enterprise Services license Examples This example shows how to configure an indefinite routing wait time on the specified EIGRP route switch configure terminal switch config router eigrp 1 switch config router address family ipv4 unicast switch config router af timers active time disabled switch config...

Page 395: ... where it is marked as inaccessible and advertised as unreachable However the route is still used to forward packets The range is from 1 to 4 294 967 295 The default is 180 seconds holddown Interval in seconds during which routing information regarding better paths is suppressed it should be at least three times the value of the update argument A route enters into a holddown state when an update p...

Page 396: ... as unusable Cisco NX OS suppresses further information for an additional 15 seconds the holddown time At the end of the suppression period Cisco NX OS flushes the route from the routing table switch configure terminal switch config router rip Enterprise switch config router address family ipv4 unicast switch config router af timers basic 5 15 15 30 switch config router af Related Commands Command...

Page 397: ...uter ID If an instance of the same LSA arrives sooner than the interval that is set the software drops the LSA We recommend that you keep the milliseconds value of the timers lsa arrival command less than or equal to the neighbors hold interval value of the timers throttle lsa command This command requires the LAN Enterprise Services license Examples This example shows how to set the minimum inter...

Page 398: ...stub area usage queue tuning and buffer tuning before changing the default flooding timers There are no guidelines for changing timer values each OSPF deployment is unique and should be considered on a case by case basis Cisco NX OS groups the periodic refresh of LSAs to improve the LSA packing density for the refreshes in large topologies The group timer controls the interval used for group refre...

Page 399: ...nds timers lsa group pacing OSPF switch config router timers lsa group pacing 60 switch config router Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays general information about OSPF routing processes ...

Page 400: ...ter VRF configuration mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to configure the NSF convergence time for EIGRP switch configure terminal switch config router eigrp 1 switch config router address family ipv4 unicast switch config router af timers nsf converge 100 switch config router af Related Commands seconds T...

Page 401: ...ghbor during a switchover operation or a well known failure condition The route hold timer is configurable so that you can tune network performance and avoid undesired effects such as black holing routes advertising invalid routes if the switchover operation takes too much time When this timer expires the NSF aware router scans the topology table and discards any stale routes allowing EIGRP peers ...

Page 402: ...d Reference OL 27852 01 Chapter Unicast Routing Commands timers nsf route hold Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip eigrp Displays EIGRP information ...

Page 403: ...ines Use this command to set the maximum period of time that the NSF aware router waits for an NSF capable neighbor to signal a restart This command requires the LAN Enterprise Services license Examples This example shows how to set the signal timer value for an NSF aware router to the maximum 30 seconds switch configure terminal switch config router eigrp 1 switch config router address family ipv...

Page 404: ... Enterprise Services license Examples This example shows how to customize OSPF LSA throttling switch configure terminal switch config router ospf 1 switch config router timers throttle lsa 50 5000 6000 switch config router start time Start time in milliseconds that is used to calculate the subsequent rate limiting times for LSA generation The range is from 0 to 5000 milliseconds The default value ...

Page 405: ...rottle lsa OSPF Related Commands Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays information about OSPF routing processes timers lsa arrival Sets the minimum interval at which the software accepts the same LSA from OSPF neighbors ...

Page 406: ...val is two times the current hold level in milliseconds until the wait time reaches the maximum time in milliseconds as specified by the spf maximum argument Subsequent wait times remain at the maximum until the values are reset or an LSA is received between SPF calculations This command requires the LAN Enterprise Services license Examples This example shows how to configure a router configured w...

Page 407: ...ds Command Description copy running config startup config Saves the configuration changes to the startup configuration file show ip ospf Displays information about OSPF routing processes timers lsa arrival Sets the minimum interval at which the software accepts the same LSA from OSPF neighbors timers throttle lsa Sets the rate limit for generating LSAs ...

Page 408: ...alue This command requires the LAN Base Services license Examples This example shows how to enable object tracking for a virtual router switch configure terminal switch config track 33 ip route 192 0 2 0 24 reachability switch config interface ethernet 2 1 switch config if no switchport switch config if vrrp 250 switch config if vrrp track 33 priority 2 switch config if vrrp Related Commands objec...

Page 409: ...figuration mode to track objects in a nondefault VRF This command does not require a license Examples This example shows how to track the IP routing state on interface Ethernet 1 2 switch configure terminal switch config track 1 interface ethernet 1 2 ip routing switch config track object id Tracking ID The range can be from 1 to 500 ethernet slot port Specifies the Ethernet interface and the slot...

Page 410: ... 27852 01 Chapter Unicast Routing Commands track interface Related Commands Command Description show track Displays information about object tracking track ip route reachability Tracks the state of an IPv4 route reachability vrf member Tracks an object in a nondefault VRF ...

Page 411: ...ual router is restored to the interface state tracking value Note Interface state tracking will not be operational unless you enable preemption on the interface This command requires the LAN Base Services license Examples This example shows how to enable interface state tracking for a virtual router switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switc...

Page 412: ...ce OL 27852 01 Chapter Unicast Routing Commands track interface VRRP Related Commands Command Description feature vrrp Enables VRRP show vrrp Displays VRRP configuration information track VRRP Tracks an object to modify the VRRP priority vrrp Configures a VRRP group ...

Page 413: ...ack objects in a nondefault VRF This command does not require a license Examples This example shows how to track an IP route switch configure terminal switch config track 1 ip route 10 10 10 0 8 reachability switch config track Related Commands object id Tracking ID The range can be from 1 to 500 ip prefix length Prefix of route to track The IP prefix is in dotted decimal format X X X X The length...

Page 414: ...cts as an OR that is if any object is up the tracked state is up The track list command enters the track command mode This command does not require a license Examples This example shows how to create a track list of two objects and AND their state switch configure terminal switch config track 1 boolean and switch config track object 33 switch config track object 30 object id Tracking ID The range ...

Page 415: ... track object 30 switch config track This example shows how to configure a track list with an up weight threshold of 30 and a down threshold of 10 switch configure terminal switch config track 1 list threshold weight switch config track threshold weight up 30 down 10 switch config track object 10 weight 15 switch config track object 20 weight 15 switch config track object 30 switch config track In...

Page 416: ...nd History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example sets the retransmit delay value to 3 seconds switch configure terminal switch config router ospf 201 switch config router area 22 virtual link 192 0 2 1 switch config router vlink transmit delay 3 switch config router vlink Related Commands seconds Time in seconds required to send a link sta...

Page 417: ... IP features Additional commands available in IP configuration mode domain list Adds additional domain names domain lookup Enables or disables DNS lookup domain name Specifies the default domain name host Adds an entry to the IP hostname table name server Specifies the IP address of a DNS name server route Adds route information by specifying IP addresses of the next hop servers no Negates a comma...

Page 418: ...98 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrf context Layer 2 Related Commands Command Description show vrf Displays VRF information ...

Page 419: ...ot become active until you create an identically named VRF in global configuration mode This command requires the LAN Enterprise Services license Examples This example shows how to enter VRF configuration mode in a BGP environment switch configure terminal switch config router bgp 100 switch config router vrf management switch config router vrf This example shows how to enter VRF configuration mod...

Page 420: ...400 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrf Related Commands Command Description vrf context Creates a VRF ...

Page 421: ...agement Syntax Description Command Default None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to create a VRF context switch configure terminal switch config vrf context RemoteOfficeVRF switch config vrf Related Commands name Name of the VRF The name can be any case sensitive alphanumeric string up t...

Page 422: ... Examples This example shows how to track an IP route in VRF Red switch configure terminal switch config track 1 ip route 10 10 10 0 8 reachability switch config track vrf member Red switch config track This example shows how to add the Ethernet interface 1 5 to VRF RemoteOfficeVRF switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if vrf me...

Page 423: ...ommand Reference OL 27852 01 Chapter Unicast Routing Commands vrf member show ip rip Displays a summary of RIP information for all RIP instances show track Displays information about object tracking track ip route Tracks an interface Command Description ...

Page 424: ...ress before you attempt to enable a virtual router This command requires the LAN Base Services license Examples This example shows how to create a VRRP group switch configure terminal switch config interface ethernet 2 1 switch config if no switchport switch config if vrrp 7 switch config if vrrp This example shows how to create a VRRP group and configure an IPv4 address for the group switch confi...

Page 425: ...nicast Routing Commands vrrp Related Commands Command Description clear vrrp Clears all the software counters for the specified virtual router feature vrrp Enables VRRP address VRRP Adds a primary or secondary IP address to a virtual router show vrrp Displays VRRP configuration information ...

Page 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...

Page 427: ... Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Unicast Routing Show Commands This chapter describes the Cisco NX OS unicast routing show commands available on the Cisco Nexus 3548 switch ...

Page 428: ...Related Commands all Displays BGP information for all address families ipv4 Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family addr Optional Network from the selected address family The format is A B C D for IPv4 prefix Optional Prefix from the selected address fami...

Page 429: ...nformation for the IPv4 address family ipv4 Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family as number Optional AS number The AS number can be a 16 bit integer or a 32 bit integer in the form of higher 16 bit decimal number lower 16 bit decimal number no advertise...

Page 430: ...atch a community list switch config show bgp ip unicast community list test1 Related Commands ip Displays BGP information for the IPv4 address family ipv4 Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family commlist name Name of a community list The commlist name can...

Page 431: ...e IPv4 address family ipv4 Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family 4byteas generic Displays the routes that match the generic specifice extended communities non transitive Displays the routes that match the nontransitive extended communities transitive Di...

Page 432: ... a community list switch show bgp ipv4 unicast extcommunity list test1 Related Commands ip Displays BGP information for the IPv4 address family ipv4 Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family commlist name Name of an extended community list The commlist name...

Page 433: ... ipv4 Displays the IPv4 neighbor information unicast Displays the unicast neighbor information multicast Displays the multicast neighbor information addr Optional IPv4 address The format is x x x x advertised routes Optional Displays all the routes advertised to this neighbor flap statistics Optional Displays flap statistics for the routes received from this neighbor paths Optional Displays AS pat...

Page 434: ...0 seconds Last written never keepalive timer not running Received 0 messages 0 notifications 0 bytes in queue Sent 0 messages 0 notifications 0 bytes in queue Connections established 0 dropped 0 Connection attempts 4 Last reset by us never due to No error Last reset by peer never due to No error Message statistics Sent Rcvd Output truncated switch Related Commands Command Description show ip bgp n...

Page 435: ...le shows how to display the BGP sessions switch show bgp sessions Total peers 1 established peers 0 ASN 201 VRF default local ASN 201 peers 1 established peers 0 local router id 192 168 0 14 State I Idle A Active O Open E Established C Closing S Shutdown Neighbor ASN Flaps LastUpDn LastRead LastWrit St Port L R Notif S R 192 168 0 201 201 0 00 07 25 never never I 0 0 0 0 switch Related Commands vr...

Page 436: ...e Services license Examples This example shows how to display the BGP traffic statistics switch show bgp statistics Neighbor aggregated statistics sent received Msgs Bytes Opens Updates 0 0 0 0 0 0 0 0 Keepalives Notifications Route refresh Capabilities 0 0 0 0 0 0 0 0 BGP I O Information Active Open attempts 9 Passive Open attempts 0 BGP I O Open loops 1144 BGP I O Open calls 0 BGP I O Open recv ...

Page 437: ...17 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show bgp statistics Related Commands Command Description clear bgp Clears BGP sessions ...

Page 438: ...ng information switch show forwarding route IPv4 routes for table default base Prefix Next hop Interface ipv4 Optional Displays the IPv4 forwarding information adjacency Displays the adjacency information interfaces Displays the forwarding information for interfaces on a module pss Displays route information from persistent storage route Displays the route information from the IP routing table tab...

Page 439: ...t Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show forwarding 0 0 0 0 32 Drop Null0 255 255 255 255 32 Receive sup eth1 switch Related Commands Command Description show ip fib Displays information about the FIB ...

Page 440: ...This example shows how to display the forwarding information for unicast clients switch show forwarding distribution clients id pid shmem start shmem end shmem name 1 4359 0x52330130 0x52380000 u6rib ufdm 2 4360 0x59900130 0x59b00000 urib ufdm switch Related Commands clients Optional Displays the forwarding distribution information for unicast clients fib state Optional Displays the forwarding dis...

Page 441: ...quire a license Examples This example shows how to display the forwarding inconsistency information for module 2 switch show forwarding inconsistency module 2 Related Commands module slot Optional Displays inconsistency information for the module The slot range depends on the hardware platform vrf vrf name Optional Displays inconsistency information for the virtual routing and forwarding VRF insta...

Page 442: ...6F 0x00 0x00 0x00 interface Optional Specifies the interface for which to display HSRP information ethernet slot port Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to 255 and the port number is from 1 to 128 port channel number Specifies the EtherChannel interface and EtherChannel number The range is from 1 to 4096 vlan vlan id Specifies the VLAN in...

Page 443: ...license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to display the default information about HSRP switch show hsrp This example shows how to display a brief summary of HSRP information switch show hsrp brief Related Commands Command Description feature hsrp Enables the HSRP feature ...

Page 444: ... install the LAN Base Services license Examples This example shows how to display HSRP delay information switch show hsrp delay Related Commands interface type number Optional Specifies the interface type and number for which to display HSRP information group group number Optional Specifies the HSRP group number of the interface to display information about The range is from 0 to 4095 all Optional...

Page 445: ... command has no arguments or keywords Command Default None Command Modes Any command mode Command History Usage Guidelines This command does not require a license but if you want to enable Layer 3 interfaces you must install the LAN Base Services license Examples This example shows how to display a summary of HSRP information switch show hsrp summary Related Commands Release Modification 5 0 3 A1 ...

Page 446: ...idelines This command does not require a license Examples This example shows how to display the counters for an interface VLAN switch show interface vlan 1 counters detailed all snmp 0 total_bytes_in 43946 1 total_pkts_in 317 2 total_bytes_out 50676 3 total_pkts_out 618 switch Related Commands detailed Optional Displays only non zero counters all Optional Displays all information that is available...

Page 447: ... summary Related Commands ip addr Optional IPv4 source address The format for IPv4 is x x x x interface Optional Interface Use to determine the supported interface types detail Optional Displays detailed adjacency information non best Optional Displays both the best and nonbest adjacency information statistics Optional Displays adjacency statistics summary Optional Displays a summary of the adjace...

Page 448: ... command show ip adjacency summary Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the IP adjacency summary switch show ip adjacency summary Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command ...

Page 449: ...tional Specifies the Ethernet interface The slot number is from 1 to 255 and the port number is from 1 to 128 loopback if_number Optional Specifies the loopback interface The loopback interface number is from 0 to 1023 mgmt mif_number Optional Specifies the management interface The management interface number is from 0 to 1023 port channel number Optional Specifies the EtherChannel interface and E...

Page 450: ...ow ip arp summary command show ip arp summary Syntax Description This command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Examples This example shows how to display ARP adjacency summary switch show ip arp summary Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description ip arp timeout Configures A...

Page 451: ...ype i internal e external c confed l local a aggregate r redist Origin codes i IGP e EGP incomplete multipath Network Next Hop Metric LocPrf Weight Path l192 0 0 0 2 0 0 0 0 100 32768 i switch ip addr Optional Network from the BGP route table The format is x x x x or A B C D ip prefix Optional Prefix from the BGP route table The format is x x x x length longer prefixes Optional Displays the prefix...

Page 452: ...o Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show ip bgp Related Commands Command Description clear ip bgp Clears entries in the BGP route table ...

Page 453: ...efix and any more specific routes filter list Optional Displays BGP routes that match a filter list list name Name of a filter list The name can be any case sensitive alphanumeric string up to 63 characters community list commlist name Optional Displays routes matching the community list The commlist name can be any case sensitive alphanumeric string up to 63 characters exact match Optional Displa...

Page 454: ...ng Displays all dampening information dampened paths Optional Displays all dampened paths regexp expression Optional Display information that matches the regular expression history paths Optional Displays all history paths parameters Optional Displays all dampening parameters neighbors Displays all BGP neigbors advertised routes Optional Displays all the routes advertised to this neighbor flap sta...

Page 455: ...th Network Next Hop Metric LocPrf Weight Path l192 0 0 0 2 0 0 0 0 100 32768 i BGP routing table information for VRF default address family IPv4 Multicast switch This example shows how to display a summary of the state of the BGP route table switch show ip bgp all summary BGP summary information for VRF default address family IPv4 Unicast BGP router identifier 192 168 0 14 local AS number 201 BGP ...

Page 456: ...o advertise BGP community and all VRF switch show ip bgp community no advertise community number Community number Valid value is a community number in the range from 1 to 4294967200 or AA NN autonomous system community number 2 byte number internet Displays routes that are part of the well known community internet community no advertise Displays routes that are not advertise to any peer internal o...

Page 457: ...nds show ip bgp community Related Commands Command Description set community Sets the attributes for BGP communities show ip bgp community list Displays BGP routes that are permitted by the BGP community list show ip bgp community exact match Displays the routes that have exactly the same specified BGP communities ...

Page 458: ...play the routes that have exactly the same specified BGP communities switch show ip bgp community 201 exact match Related Commands community number Community number Valid value is a community number in the range from 1 to 4294967200 or AA NN autonomous system community number 2 byte number vrf vrf name Optional Specifies the virtual routing and forwarding VRF instance The name can be any case sens...

Page 459: ...o display routes that match a community list switch config show ip bgp community list test1 Related Commands ipv4 Optional Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family all Displays BGP information for all address families commlist name Community list name that...

Page 460: ...pened paths Related Commands ipv4 Optional Displays BGP information for the IPv4 address family unicast Displays BGP information for the unicast address family multicast Displays BGP information for the multicast address family all Displays BGP information for all address families dampened paths Displays all dampened paths regexp expression Optional Displays information that matches the regular ex...

Page 461: ...ch config show ip bgp extcommunity generic transitive 1 3 30 Related Commands generic Displays the routes that match the generic specifice extended communities non transitive Displays the routes that match the non transitive extended communities transitive Displays the routes that match the transitive extended communities as4 number Optional AS number The as4 number is a 32 bit integer in the form...

Page 462: ...is command requires the LAN Enterprise Services license Examples This example shows how to display routes that match a community list switch config show ip bgp extcommunity list test1 Related Commands commlist name Name of an extended community list The commlist name can be any case sensitive alphanumeric string up to 63 characters exact match Optional Displays an exact match of the extended commu...

Page 463: ...uidelines This command requires the LAN Enterprise Services license Examples This example shows how to display routes that match a filter list switch config show ip bgp filter list test1 Related Commands list name Name of a filter list The name can be any case sensitive alphanumeric string up to 63 characters exact match Optional Displays an exact match of the filter vrf vrf name Optional Specifie...

Page 464: ...d Default None Command Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the flap statistics switch config show ip bgp flap statistics Related Commands vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up to 32 character...

Page 465: ...x advertised routes Optional Displays all the routes advertised to this neighbor flap statistics Optional Displays flap statistics for the routes received from this neighbor paths Optional Displays AS paths learned from this neighbor received routes Optional Displays all the routes received from this neighbor routes Optional Displays the routes received or advertised to or from this neighbor adver...

Page 466: ...mmand mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP next hop information switch config show ip bgp nexthop 192 0 2 1 Related Commands addr IPv4 address The format is x x x x vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up...

Page 467: ...hop database Next Hop table for VRF default address family IPv4 Unicast Nexthop 0 0 0 0 Refcount 1 IGP cost 0 IGP Route type 0 IGP preference 0 Nexthop is not attached local unreachable Nexthop last resolved never using 0 0 0 0 0 Metric next advertise Never RNH epoch 0 Nexthop 192 0 0 0 Refcount 0 IGP cost 1 IGP Route type 0 IGP preference 0 Nexthop is not attached not local unreachable Nexthop la...

Page 468: ...d mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP paths in the database switch config show ip bgp paths Address Hash Refcount Metric Path 0x5a7f46bc 2001 1 0 i switch config Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description maximum paths Controls the max...

Page 469: ...ommand Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP peer policy switch config show ip bgp peer policy test1 Related Commands name Name of a BGP template The name can be any case sensitive alphanumeric string up to 80 characters Release Modification 5 0 3 A1 1 This command was int...

Page 470: ...ommand Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP peer session switch config show ip bgp peer session test1 Related Commands name Name of a BGP template The name can be any case sensitive alphanumeric string up to 80 characters Release Modification 5 0 3 A1 1 This command was i...

Page 471: ...t None Command Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP peer template switch config show ip bgp peer template peer1 Related Commands name Name of a BGP template The name can be any case sensitive alphanumeric string up to 80 characters Release Modification 5 0 3 A1 1 This com...

Page 472: ...es the LAN Enterprise Services license Examples This example shows how to display routes that match a prefix list switch config show ip bgp prefix list test1 Related Commands list name Name of a prefix list The commlist name can be any case sensitive alphanumeric string up to 63 characters exact match Optional Displays an exact match of the filter vrf vrf name Optional Specifies the virtual router...

Page 473: ...mand Modes Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the received routes from a BGP peer switch config show ip bgp received paths Related Commands vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up to 32 characters a...

Page 474: ...e Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the BGP route maps from the BGP table switch config show ip bgp route map Related Commands route map name Route map name vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up to 32 characters ...

Page 475: ...ines This command requires the LAN Enterprise Services license Examples This example shows how to display the status of BGP connections switch config show ip bgp summary Related Commands vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up to 32 characters all Optional Specifies all VRF instances Release Modification 5 0 3 A1...

Page 476: ...how ip client name Syntax Description Command Default None Command Modes Any command mode Command History Examples This example shows how to display the IP client information for the Address Resolution Protocol ARP switch config show ip client arp Related Commands name Optional Name of the client Release Modification 5 0 3 A1 1 This command was introduced Command Description show ip process Displa...

Page 477: ...ip community list name Syntax Description Command Default None Command Modes Any command mode Command History Examples This example shows how to display the community lists switch config show ip community list Related Commands name Optional Name of the community list The name can be any case sensitive alphanumeric string up to 63 characters Release Modification 5 0 3 A1 1 This command was introduc...

Page 478: ...s Any command mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display all the EIGRP instances switch show ip eigrp Related Commands instance tag Optional Name of the EIGRP instance The instance tag can be any case sensitive alphanumeric string up to 20 characters Release Modification 5 0 3 A1 1 This command was intr...

Page 479: ...ting information switch show ip eigrp accounting Related Commands instance tag Optional Name of the EIGRP instance This option is available when a virtual routing and forwarding VRF instance is not specified The instance tag can be any case sensitive alphanumeric string up to 20 characters vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argu...

Page 480: ...ly the routing process for the specified autonomous system is displayed Otherwise all EIGRP processes are displayed This command requires the LAN Enterprise Services license instance tag EIGRP instance The instance tag can be any case sensitive alphanumeric string up to 20 characters ethernet slot port Specifies the Ethernet interface and the slot number and port number The slot number is from 1 t...

Page 481: ...play information about EIGRP interfaces switch show ip eigrp interfaces brief This example shows how to display information about a particular EIGRP interface switch show ip eigrp interfaces ethernet 2 5 Related Commands Command Description show ip eigrp neighbors Displays the neighbors discovered by EIGRP show running config eigrp Displays EIGRP running configuration information ...

Page 482: ... how to display information about EIGRP neighbors switch show ip eigrp neighbors instance tag Optional Name of the EIGRP instance The instance tag can be any case sensitive alphanumeric string up to 20 characters detail Optional Displays detailed EIGRP neighbor information ethernet slot port Optional Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to ...

Page 483: ...Commands show ip eigrp neighbors This example shows how to display detailed information about EIGRP neighbors switch show ip eigrp neighbors detail Related Commands Command Description clear ip eigrp neighbors Clears neighbors for EIGRP show running config eigrp Displays EIGRP running configuration information ...

Page 484: ...etwork mask indicated as a slash and number For example 8 indicates that the first 8 bits of the mask are 1s and the corresponding bits of the address are the network address active Optional Displays only active entries in the EIGRP topology table all links Optional Displays all entries in the EIGRP topology table detail links Optional Displays detailed information for all entries in the EIGRP top...

Page 485: ...nicast Routing Show Commands show ip eigrp route Related Commands Command Description clear ip eigrp route map statistics Clears route map statistics for EIGRP show ip eigrp traffic Displays EIGRP traffic statistics show running config eigrp Displays EIGRP running configuration information ...

Page 486: ...RP ospf Displays policy statistics for the Open Shortest Path First OSPF protocol rip Displays policy statistics for the Routing Information Protocol RIP static Displays policy statistics for IP static routes id For the bgp keyword an autonomous system number The range for 2 byte numbers is from 1 to 65535 The range for 4 byte numbers is from 1 0 to 65535 65535 For the eigrp keyword an EIGRP insta...

Page 487: ...terprise Services license Examples This example shows how to display route map statistics for EIGRP switch show ip eigrp route map statistics redistribute direct Related Commands Command Description clear ip eigrp route map statistics Clears route map statistics for EIGRP show ip eigrp traffic Displays EIGRP traffic statistics show running config eigrp Displays EIGRP running configuration informat...

Page 488: ... 20 characters ip address length Optional IPv4 or IPv6 address in four part dotted decimal notation with a network mask indicated as a slash and number For example 8 indicates that the first 8 bits of the mask are 1s and the corresponding bits of the address are the network address active Optional Displays only active entries in the EIGRP topology table all links Optional Displays all entries in t...

Page 489: ...s example shows how to display the detailed information for all entries in the EIGRP topology table switch config show ip eigrp topology detail links This example shows how to display a summary of the topology table switch config show ip eigrp topology summary This example shows how to display the active entries in the topology table switch config if show ip eigrp topology active This example show...

Page 490: ...ng whether packets from one node are not reaching the neighboring node due to connectivity or configuration problems This command requires the LAN Enterprise Services license Examples This example shows how to display the EIGRP traffic statistics switch show ip eigrp traffic Related Commands instance tag Optional Name of the EIGRP instance The instance tag can be any case sensitive alphanumeric st...

Page 491: ... attach module command to attach to a module and use the show ip fib command on the module This command does not require a license Examples This example shows how to display the forwarding information for module 1 switch show ip fib route module 1 Related Commands adjacency Displays the adjacency information interfaces Displays the forwarding information for interfaces on a module route Displays t...

Page 492: ...Default None Command Modes Any command mode Command History Examples This example shows how to display the forwarding information for unicast clients switch show ip fib distribution clients Related Commands clients Optional Displays the forwarding distribution information for unicast clients state Optional Displays the forwarding distribution state for unicast FIB Release Modification 5 0 3 A1 1 T...

Page 493: ...mation for Ethernet 1 5 switch show ip interface ethernet 1 5 Related Commands type Optional Interface type Use to see the options number Optional Interface number Use to see the range brief Optional Displays a summary of IP information vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumer...

Page 494: ...load sharing command show ip load sharing Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Examples This example shows how to display the IP load sharing information switch show ip load sharing Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description show ip load sharing Displays...

Page 495: ...how to display information all about OSPF instances switch show ip ospf This example shows how to display information about one specific OSPF instance switch show ip ospf 201 Related Commands instance tag Optional Name of the OSPF instance Use this tag to display OSPF information about a specific OSPF instance The instance tag argument can be any alphanumeric string of 20 characters vrf vrf name O...

Page 496: ...n ABRs and ASBRs This command requires the LAN Enterprise Services license Examples This example shows how to display information about border routers switch show ip ospf border routers Related Commands instance tag Optional Name of the OSPF instance Use this tag to display OSPF information about a specific OSPF instance The instance tag argument can be a maximum of 20 alphanumeric characters vrf ...

Page 497: ... tag database opaque as link state id adv router ip address self originated detail vrf vrf name show ip ospf instance tag database opaque link area id link state id adv router ip address self originated detail vrf vrf name show ip ospf instance tag database router area id link state id adv router ip address self originated detail vrf vrf name show ip ospf instance tag database summary area id link...

Page 498: ...0 This command requires the LAN Enterprise Services license Examples This example shows how to display the OSPF database switch show ip ospf database This example shows how to display a summary of autonomous system border routers external Optional Displays information about the external LSAs ext_tag value Optional Displays information based on an external tag The range is from 1 to 4294967295 netw...

Page 499: ...ow ip ospf database asbr summary This example shows how to display information about external links switch show ip ospf database external This example shows how to display a summary of the OSPF database switch show ip ospf database database summary Related Commands Command Description show running config ospf Displays the OSPF running configuration ...

Page 500: ... switch show ip ospf interface vrf all This example shows how to display OSPF information in a brief format switch show ip ospf interface brief instance tag Optional Name of the OSPF instance The name can be a maximum of 20 alphanumeric characetrs ethernet slot port Optional Specifies the Ethernet interface The slot number is from 1 to 255 and the port number is from 1 to 128 loopback if_number Op...

Page 501: ... Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show ip ospf interface Related Commands Command Description show running config ospf Displays the OSPF running configuration ...

Page 502: ...se Services license Examples This example shows how to display a list of LSAs that changed for Ethernet 2 1 switch show ip ospf lsa content changed list 192 0 2 2 ethernet 2 1 Related Commands neighbor id Router ID for the neighbor in the format A B C D or A B C D ethernet slot port Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to 255 and the port n...

Page 503: ...ce Specify as an alphanumeric string of 20 characters ethernet slot port Optional Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to 255 and the port number is from 1 to 128 loopback if_number Optional Specifies the loopback interface The loopback interface number is from 0 to 1023 port channel number Optional Specifies the EtherChannel interface and ...

Page 504: ... matches the neighbor ID switch show ip ospf neighbors 10 199 199 137 This example shows how to display the neighbors that match the neighbor ID on an interface switch show ip ospf neighbors ethernet 2 1 10 199 199 137 This example shows how to display detailed information about OSPF neighbors switch show ip ospf neighbors detail Related Commands Command Description show running config ospf Displa...

Page 505: ...tistics for OSPF switch show ip ospf policy statistics area 201 filter list in Related Commands instance tag Optional Name of the OSPF instance Specify as an alphanumeric string area area id Specifies the area number used to define the particular area The area ID can be an IP address or a number from 0 to 4294967295 filter list Filters prefixes between OSPF areas in Displays policy statistics for ...

Page 506: ...L 27852 01 Chapter Unicast Routing Show Commands show ip ospf policy statistics area copy running config startup config Saves the configuration changes to the startup configuration file show running config ospf Displays the OSPF running configuration Command Description ...

Page 507: ... policy statistics for the Border Gateway Protocol BGP direct Displays policy statistics for directly connected routes only eigrp Displays policy statistics for the Enhanced Interior Gateway Routing Protocol EIGRP ospf Displays policy statistics for OSPF rip Displays policy statistics for the Routing Information Protocol RIP static Displays policy statistics for IP static routes id For the bgp key...

Page 508: ...d Reference OL 27852 01 Chapter Unicast Routing Show Commands show ip ospf policy statistics redistribute switch show ip ospf policy statistics redistribute Related Commands Command Description show running config ospf Displays the OSPF running configuration ...

Page 509: ...mand requires the LAN Enterprise Services license Examples This example shows how to display a list of all LSAs requested by a router switch show ip ospf request list 40 40 40 ethernet 2 1 Related Commands neighbor id Router ID of the neighbor Specify as an IP address ethernet slot port Optional Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to 255 a...

Page 510: ...perations This command requires the LAN Enterprise Services license Examples This example shows how to display all LSAs waiting to be resent to neighbors switch show ip ospf retransmission list 192 0 2 11 ethernet 2 1 Related Commands neighbor id Router ID of the neighbor Specify as an IP address ethernet slot port Optional Specifies the Ethernet interface and the slot number and port number The s...

Page 511: ...problem exists between OSPF and the RIB This command requires the LAN Enterprise Services license Examples This example shows how to display OSPF routes switch show ip ospf route Related Commands instance tag Optional Name of the OSPF instance Specify as an alphanumeric string of 20 characters prefix length Optional IP prefix which limits output to a specific route Indicate the length as a slash a...

Page 512: ...work maintenance and troubleshooting For example we recommend that you use the show ip ospf statistics command as the first troubleshooting step for LSA flapping This command requires the LAN Enterprise Services license Examples This example shows how to display information about the SPF calculations switch show ip ospf statistics Related Commands instance tag Optional Name of the OSPF instance Sp...

Page 513: ...lines This command requires the LAN Enterprise Services license Examples This example shows how to display information about summary addresses switch show ip ospf summary address Related Commands instance tag Optional Name of the OSPF instance The name can be a maximum of 20 alphanumeric characters vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf ...

Page 514: ...s instance tag Optional Name of the OSPF instance The name can be a maximum of 20 alphanumeric characters ethernet slot port Optional Specifies the Ethernet interface and the slot number and port number The slot number is from 1 to 255 and the port number is from 1 to 128 loopback if_number Optional Specifies the loopback interface The loopback interface number is from 0 to 1023 port channel numbe...

Page 515: ...res the LAN Enterprise Services license Examples This example shows how to display information about virtual links switch show ip ospf virtual links This example shows how to display information about virtual links in brief format switch show ip ospf virtual links brief Related Commands instance tag Optional Instance tag The name can be a maximum of 20 alphanumeric characters brief Optional Displa...

Page 516: ...w ip prefix list name Syntax Description Command Default None Command Modes Any command mode Command History Examples This example shows how to display the prefix lists switch config show ip prefix list Related Commands name Optional Name of the community list The name can be any case sensitive alphanumeric string up to 63 characters Release Modification 5 0 3 A1 1 This command was introduced Comm...

Page 517: ...nd mode Command History Examples This example shows details about the IP process switch config show ip process Related Commands vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings default and all are reserved VRF names Release Modification 5 0 3 A...

Page 518: ...p Related Commands instance tag Optional RIP instance The instance tag can be a maximum of 20 alphanumeric characters vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings default and all are reserved VRF names Release Modification 5 0 3 A1 1 This c...

Page 519: ... a specified interface from the RIP topology table switch config if show ip rip interface ethernet 1 2 Related Commands interface type slot port Optional Specifies the interface vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings default and all a...

Page 520: ...itch config if no switchport switch config if show ip rip neighbor switch config if Related Commands interface type Optional Interface type For more information use the question mark online help function instance Optional Physical interface instance vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensiti...

Page 521: ...isplays policy statistics for Enhanced Interior Gateway Routing Protocol EIGRP ospf Displays policy statistics for Open Shortest Path First OSPF protocol static Displays policy statistics for IP static routes id For the bgp keyword an autonomous system number The range for 2 byte numbers is from 1 to 65535 The range for 4 byte numbers is from 1 0 to 65535 65535 For the eigrp keyword an EIGRP insta...

Page 522: ...ted Commands Command Description clear ip rip policy statistics Clears policy statistics for RIP show ip rip Displays RIP information show ip rip interface Displays RIP information for an interface show ip rip neighbor Displays RIP information for a neighbor show ip rip route Displays RIP route information show ip rip statistics Displays RIP statistics ...

Page 523: ...ute Related Commands prefix length Optional IP prefix about which routing information should be displayed summary Optional Displays information about summary routes vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings default and all are reserved V...

Page 524: ...ds interface type Optional Interface type For more information use the question mark online help function instance Optional Either a physical interface instance or a virtual interface instance vrf vrf name Optional Specifies the name of the virtual routing and forwarding VRF instance The vrf name argument can be specified as any case sensitive alphanumeric string up to 32 characters The strings de...

Page 525: ...utes addr Optional IPv4 address The format is x x x x hostname Hostname The name can be any case sensitive alphanumeric string up to 80 characters prefix Optional IPv4 prefix The format is x x x x length The length range is from 1 to 32 route type Optional Type of route Use to see the list of types interface type number Optional Displays the routes for an interface Use to see the supported interfa...

Page 526: ...x Description Command Default None Command Modes Any command mode Command History Examples This example shows how to display the static routes switch config show ip static route Related Commands vrf vrf name Optional Specifies the virtual router context VRF name The name can be any case sensitive alphanumeric string up to 32 characters all Optional Specifies all virtual router contexts VRF name Re...

Page 527: ... command show ip traffic Syntax Description This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Examples This example shows how to display the IP traffic information switch config show ip traffic Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description show ip process Displays information about the IP...

Page 528: ...des Global configuration mode Command History Usage Guidelines This command requires the LAN Services Services license Examples This example shows how to display information about the Red MAC list switch config show mac list Red Related Commands name Optional MAC list name The name can be any case sensitive alphanumeric string up to 32 characters Release Modification 5 0 3 A1 1 This command was in...

Page 529: ...x x length route type Optional Type of route Use to see the list of types clients Optional Displays the routing clients hidden nh Optional Displays hidden next hop information interface type number Optional Displays the routes for an interface The interface can be one of the following mgmt Management interface The default management interface is 0 vlan VLAN interface The VLAN interface number is f...

Page 530: ...witch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show routing switch config show routing ip Related Commands Command Description clear ip route Clears entries in the route table ...

Page 531: ...sh information switch config show routing hash 4 1 1 2 130 0 0 1 Load share parameters used for software forwarding load share mode address source destination Universal id seed 0x6fe75e69 No IPv4 protocol specified defaulting to UDP Invoking pc_ip_ecmp_resolution Hash for VRF default Hashing to path Eth1 4 For route 130 0 0 0 8 ubest mbest 4 0 via 2 1 1 2 Eth1 2 1 0 5d18h static via 3 1 1 2 Eth1 3...

Page 532: ...esses per route This command requires the LAN Enterprise Services license Examples This example shows how to display the route table switch show routing memory estimate routes 1000 next hops 1 Related Commands routes Optional Specifies the unicast Routing Information Base RIB memory estimate for the number of routes num routes Number of routes The range is from 1000 to 1 000 000 next hops Optional...

Page 533: ...ow routing context command show routing context Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how display the current routing context switch show routing context Current Route Context default switch Related Commands Release Modification 5 0 3 A1 1 This command was introduced Command Description ...

Page 534: ...to display the route selected to reach 192 168 0 2 from 192 168 0 5 switch show routing hash 192 168 0 5 192 168 0 2 Related Commands source addr Source IPv4 address IPv4 address format is x x x x dest addr Destination IPv4 address IPv4 address format is x x x x source port Optional Source port The range is from 1 to 65535 dest port Optional Destination port The range is from 1 to 65535 vrf vrf na...

Page 535: ...feature hsrp username admin password 5 1 qlbQ8MOw WpKb1OE1R6BwZU9yfFL51 role network admin ip domain lookup hostname QS5 hardware profile multicast max limit 2000 policy map type network qos jumbo class type network qos class default mtu 9216 system qos service policy type network qos jumbo slot 2 slot 22 slot 39 Output truncated switch This example shows how to display the ternary content address...

Page 536: ...rtmode 48x10G 4x40G hardware ip glean throttle hardware ip glean throttle maximum 3000 hardware ip glean throttle timeout 500 hardware ip glean throttle syslog 30 switch Related Commands Command Description copy running config startup config Copies the running configuration to the startup configuration show startup config Displays the startup configuration ...

Page 537: ... OS Release 5 0 3 A1 1 switch show running config arp all Command show running config arp all Time Thu Sep 1 05 45 10 2011 version 5 0 3 A1 1 ip arp timeout 1500 ip arp event history cli size small ip arp event history snmp size small ip arp event history client errors size small ip arp event history client event size small ip arp event history lcache errors size small ip arp event history lcache ...

Page 538: ...S Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show running config arp ip arp timeout Configures an ARP timeout show startup config arp Displays the ARP startup configuration Command Description ...

Page 539: ...mple shows how to display the running configuration for BGP switch show running config bgp Command show running config bgp Time Sat May 29 05 07 52 2010 version 5 0 3 A1 1 feature bgp router bgp 201 router id 192 168 0 14 address family ipv4 unicast network 192 0 0 0 2 neighbor 192 168 0 201 remote as 201 description Peer Router B timers 30 90 address family ipv4 unicast switch This example shows ...

Page 540: ...tart time 120 graceful restart stalepath time 300 fast external fallover enforce first as event history periodic event history events event history cli address family ipv4 unicast network 192 0 0 0 2 nexthop trigger delay critical 3000 non critical 10000 client to client reflection distance 20 200 220 neighbor 192 168 0 201 remote as 201 description Peer Router B dynamic capability timers 30 90 ad...

Page 541: ...running config eigrp command show running config eigrp Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the running configuration for EIGRP switch show running config eigrp Related Commands Release Modificatio...

Page 542: ...ng config ospf command show running config ospf Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Usage Guidelines This command requires the LAN Enterprise Services license Examples This example shows how to display the running configuration for OSPF switch show running config ospf Related Commands Release Modification 5 0 3 A...

Page 543: ...tch show sockets client udp Related Commands pid id Optional Displays the socket client information for a specific process The id range is from 1 to 65535 raw Optional Displays information about the raw client tcp Optional Displays information about the TCP client udp Optional Displays information about the UDP client detail Optional Displays information about the detailed client Release Modificat...

Page 544: ... specific process the id range is from 1 to 65535 local address Optional Displays information about all the TCP connections with the specified local address The address can be an IPv4 address foreign address Optional Displays information about all the TCP connections with the specified foreign address The address can be an IPv4 address raw Optional Displays information about the raw client tcp Opt...

Page 545: ...onal Displays the socket statistics for the raw IPv4 protocol socket statistics rawsum Optional Displays a summary of the socket statistics for the raw IPv4 protocol socket statistics tcp Optional Displays the socket statistics for the TCP IPv4 protocol tcpsum Optional Displays a summary of the socket statistics for the TCP IPv4 protocols udp Optional Displays the socket statistics for the UDP IPv...

Page 546: ...iption Command Default None Command Modes Any command mode Command History Examples This example shows how to display the ARP startup configuration switch show startup config arp Related Commands all Optional Displays configured and default information Release Modification 5 0 3 A1 1 This command was introduced Command Description copy running config startup config Copies the running configuration...

Page 547: ...tch show track interface This example shows how to display information about tracked IP routes switch show track ip route This example shows how to display brief information about tracked objects switch show track brief Related Commands object id Optional Tracking ID The range can be from 1 to 500 interface Optional Displays information about tracked interfaces ip route Optional Displays informati...

Page 548: ...10 L2 Unicast Octets L2 Unicast Packets L2 Multicast Octets L2 Multicast Packets L2 Broadcast Octets L2 Broadcast Packets L2 Unknown Octets L2 Unknown Packets L3 Routed Octets In L3 Routed Packets In L3 Routed Octets Out L3 Routed Packets Out L3 Multicast Octets In L3 Multicast Packets In L3 Multicast Octets Out L3 Multicast Packets Out L3 Unicast Octets In L3 Unicast Packets In L3 Unicast Octets ...

Page 549: ...itch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Show Commands show vlan id counter Related Commands Command Description show interface vlan counter Displays the counters for an interface VLAN ...

Page 550: ... This example shows how to displayinformation about a specific virtual router switch show vrrp vr 1 Related Commands detail Optional Displays detailed information about VRRP statistics Optional Displays VRRP statistics summary Optional Displays the VRRP summary interface if number Optional Displays information about VRRP on an interface Use to see a list of supported interfaces vr id Optional Disp...

Page 551: ...m command 48 B bestpath BGP command 49 bestpath as path multipath relax BGP command 51 C capability additional paths send command 54 clear bgp command 56 clear bgp dampening command 57 clear bgp flap statistics command 59 clear bgp policy statistics redistribute command 64 clear forwarding inconsistency command 67 clear forwarding route command 66 clear ip adjacency command 68 clear ip arp command...

Page 552: ...mmand 131 flush routes OSPF command 132 G graceful restart OSPF command 218 H hardware ip glean throttle command 133 hardware ip glean throttle maximum command 134 hardware ip glean throttle syslog command 135 hardware ip glean throttle timeout command 137 hardware ip verify command 133 hardware profile ucast6 max limit command 138 hello interval OSPF virtual link command 138 hsrp command 139 hsrp...

Page 553: ...d 209 ip router ospf multi area command 210 ip router rip command 211 ip split horizon eigrp command 212 ip summary address eigrp command 213 ip tcp path mtu discovery command 215 ip unreachables command 216 L log adjacency changes EIGRP command 217 log adjacency changes OSPF command 218 log neighbor warnings command 219 low memory exempt command 220 M match as number command 223 match as path com...

Page 554: ...nd 312 router bgp command 316 router eigrp command 318 router id EIGRP command 321 router id OSPF command 322 router id OSPFv3 command 323 router ospf command 319 router rip command 320 routing context vrf command 323 S send community command 324 set 329 set as path command 325 set comm list delete command 327 set community command 329 set dampening command 331 set extcomm list delete command 335 ...

Page 555: ...rp traffic command 470 show ip fib command 471 show ip fib distribution command 472 show ip interface command 473 show ip load sharing command 474 show ip mbgp command 431 show ip ospf border routers command 476 show ip ospf database command 477 show ip ospf interface command 480 show ip ospf lsa content changed list command 482 show ip ospf neighbor command 483 show ip ospf policy statistics area...

Page 556: ...d percentage command 370 threshold weight command 372 timers active time command 374 timers basic command 375 timers lsa arrival OSPF command 377 timers lsa group pacing OSPF command 378 timers nsf converge command 380 timers nsf route hold command 381 timers nsf signal command 383 timers throttle lsa all OSPF command 384 timers throttle spf OSPF command 386 track VRRP command 388 track interface ...

Reviews: