neighbor interface ifname
This command sets up the ifname of the interface used for the connection. This command is deprecated and may be removed in a future release. Its use should be avoided.
Syntax
neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} interface ifname neighbor peer {<neighbor tag>|a.b.c.d|X:X::X:X} interface ifname
Command |
Description |
---|---|
a.b.c.d|X:X::X:X |
Defines the IP address of the neighbor (IPv4 or IPv6). |
neighbor tag |
Defines the neighbor tag. |
Ifname |
Defines an Interface name |
Default
NA
Command Mode
Privileged User
Example
This example sets up the ifname of the interface used for the connection.
(config-data)# router bgp 1 (conf-router)# neighbor 10.5.20.100 interface vlan 4