API Guide

Supported
Releases
10.3.0E or later
neighbor
Creates a remote IP peer and enters Neighbor Configuration mode.
Syntax
neighbor ip-address
Parameters
ip-addressEnter the IPv4 or IPv6 address of the neighbor.
interface interface-typeEnter the interface that connects to an unnumbered neighbor.
unnumbered-autoConfigure one or more BGP auto unnumbered neighbors.
Default Not configured
Command Mode CONFIG-ROUTER-BGP
Usage
Information
Create a remote peer with the BGP neighbor. Always enter the IP address of a BGP peer with this
command.
NOTE: To configure these settings for a nondefault VRF instance, you must first enter the ROUTER-
CONFIG-VRF sub mode using the following commands:
1. Enter the ROUTER BGP mode using the router bgp as-number command.
2. From the ROUTER BGP mode, enter the ROUTER BGP VRF mode using the vrf vrf-name
command.
The no version of this command disables the BGP neighbor configuration.
Example
OS10(conf-router-bgp-2)# neighbor 32.1.0.0
OS10(conf-router-neighbor)#
Supported
Releases
10.3.0E or later
network
Configures a network as local to this AS and adds it to the BGP routing table.
Syntax
network ip-address/prefix [route-map map-name]
Parameters
ip-address/prefixEnter the IPv4 or IPv6 address and the prefix number to the network.
route-map map-name(Optional) Enter the name of an established route-map.
Defaults None
Command Modes ROUTER-AF
Usage
Information
The no version of this command removes the network.
Example
OS10(conf-router-bgpv4-af)#
OS10(config-router-bgp-64601)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# network 192.168.1.0/24
OS10(configure-router-bgpv4-af)# do commit
Supported
Releases
10.3.0E or later
634 Layer 3