EasyManua.ls Logo

Cisco Nexus 3548 User Manual

Cisco Nexus 3548
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #345 background imageLoading...
Page #345 background image
325
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
set as-path
set as-path
To modify an autonomous system path (as-path) for BGP routes, use the set as-path command. To not
modify the autonomous system (AS) path, use the no form of this command.
set as-path {tag | {prepend as-num[...as-num] | last-as num}}
no as-path {tag | {prepend as-num[...as-num] | last-as num}}
Syntax Description
Command Default Autonomous system path is not modified.
Command Modes Route-map configuration mode
Command History
Usage Guidelines Once you enter route-map configuration mode, you can enter the set command.
The only global BGP metric available to influence the best path selection is the autonomous system path
length. By varying the length of the autonomous system path, a BGP speaker can influence the best-path
selection by a peer further away.
By allowing you to convert the tag into an autonomous system path, the set as-path tag variation 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 a redistributed route into an autonomous system path:
switch# configure terminal
switch(config)# route-map test1
switch(config-route-map)# set as-path tag
switch(config-route-map)#
This example shows how to prepend 100 to all the routes advertised to 10.108.1.1:
tag Converts the tag of a route into an autonomous system path. Applies
only when redistributing routes into Border Gateway Protocol (BGP).
prepend as-num Appends the specified AS number to the autonomous system path of
the route that is matched by the route map. Applies to both inbound
and outbound BGP route maps. Range: 1 to 65535. You can configure
more than on AS number.
last-as num Prepends the last AS numbers to the as-path. Range: 1 to 10.
Release Modification
5.0(3)A1(1) This command was introduced.

Table of Contents

Other manuals for Cisco Nexus 3548

Question and Answer IconNeed help?

Do you have a question about the Cisco Nexus 3548 and is the answer not in the manual?

Cisco Nexus 3548 Specifications

General IconGeneral
Rack Units1RU
Product TypeSwitch
Form FactorRack-mountable
Jumbo Frame Support9216 bytes
Input Voltage100-240 VAC
Product SeriesNexus 3000
ModelNexus 3548
Operating SystemCisco NX-OS
Ports48 x 10GE SFP+
Latency190 ns
AirflowFront-to-back

Summary

New and Changed Information

Preface

Describes audience, organization, and conventions of the document.

Document Conventions

Explains conventions used in command descriptions and screen examples.

Related Documentation

Lists other Cisco documentation for related products.

Unicast Routing Commands

additional-paths receive

Enables BGP additional paths for a prefix to be received from a capable peer.

address-family (BGP neighbor)

Enters neighbor address family mode for configuring BGP routing protocols.

area authentication (OSPF)

Enables authentication for an Open Shortest Path First (OSPF) area.

aggregate-address (BGP)

Creates a summary address in a Border Gateway Protocol (BGP) routing table.

authentication (HSRP)

Configures authentication for the Hot Standby Router Protocol (HSRP).

distance (EIGRP)

Sets administrative distances for EIGRP internal and external routes.

redistribute (BGP)

Injects routes from one routing domain into the Border Gateway Protocol (BGP).

router bgp

Assigns an autonomous system (AS) number and enters BGP configuration mode.

neighbor

Configures a Border Gateway Protocol (BGP) neighbor and enters configuration mode.

Unicast Routing Show Commands

show bgp

Displays Border Gateway Protocol (BGP) routes.

show ip eigrp neighbors

Displays information about neighbors discovered by EIGRP.

show ip ospf neighbors

Displays Open Shortest Path First (OSPF)-neighbor information on a per-interface basis.

show ip route

Displays routes from the unicast Routing Information Base (RIB).

show running-config

Displays the running configuration.

show vrrp

Shows information about the Virtual Router Redundancy Protocol (VRRP).

Related product manuals