Network - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

network

network
To configure an IP prefix to advertise, use the network command. To remove the IP prefix to advertise,
use the no form of this command.
Syntax Description
ip-addr
ip-prefix/length
mask mask-num
route-map name
Command Default
None
Command Modes
Neighbor address-family configuration mode
Router bgp configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
The IP prefix to advertise is considered as a best path and advertisement to peers only if a route of equal
or more specificity is present in the routing 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
Command
address-family (BGP
router)
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
268
network ip-addr | ip-prefix/length mask mask-num [route-map name]
no network ip-addr | ip-prefix/length mask mask-num [route-map name]
IP network address to advertise; use the following format: A.B.C.D.
IP prefix and the length of the IP prefix. Use the following format:
A.B.C.D/length.
Configures the mask of the IP prefix to advertise in dotted 4-octet format.
(Optional) Specifies the name of the route map to modify attributes.
Modification
This command was introduced.
Description
Enters the address family mode and configures submode commands for the
Border Gateway Protocol (BGP).
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents