peng715 发表于 2020-1-23 09:51:18

关于NXOS的ibgp重发布的命令

我记得ios版本里,在bgp里重发布igp的时候需要用


router bgp 200   
   bgp redistribute-internal


这条命令在NXOS里有相对应的命令吗?

corope 发表于 2020-1-23 09:51:19

peng715 发表于 2020-1-23 10:59
bgp redistribute-internal
这个命令的对应nxos是什么?我问的不是单纯的重发布命令

對於N7K只能個別指定你要引入何種路由

corope 发表于 2020-1-23 10:01:18


To redistribute routes from another routing domain into the Routing Information Protocol , use the redistribute command. To restore the system to its default condition in which the software does not redistribute routes, use the no form of this command.

redistribute { bgp id | direct | eigrp id | isis id | ospf id | ospfv3 id | static } route-map map-name

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).

isis

Redistributes routes from the Intermediate-System to Intermediate-System (IS-IS) routing protocol.

ospf

Redistributes routes from the Open Shortest Path First (OSPF) protocol.

ospfv3

Redistributes routes from the Open Shortest Path First version 3 (OSPFv3) protocol.

static

Redistributes routes from 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 instance name from which routes are to be redistributed. The value takes the form of a string. You can enter decimal number, but Cisco NX-OS stores it internally as a string.

For the isis keyword, an IS-IS instance name from which routes are to be redistributed. The value takes the form of a string. You can enter decimal number, but Cisco NX-OS stores it internally as a string.

For the ospf keyword, an OSPF instance name from which routes are to be redistributed. The value takes the form of a string. A decimal number can be entered, but it is stored internally as a string.

route-map map-name

example:
switch(config)# router bgp 64496
switch(config-router) address-family ipv4 unicast
switch(config-router-af)# redistribute eigrp 100

ywb_qh 发表于 2020-1-23 10:36:23

switch(config)# router bgp 200
switch(config-router) address-family ipv4 unicast
switch(config-router-af)# redistribute eigrp 100

peng715 发表于 2020-1-23 10:59:57

corope 发表于 2020-1-23 11:01
To redistribute routes from another routing domain into the Routing Information Protocol , use the ...

bgp redistribute-internal
这个命令的对应nxos是什么?我问的不是单纯的重发布命令

peng715 发表于 2020-1-23 11:00:07

ywb_qh 发表于 2020-1-23 11:36
switch(config)# router bgp 200
switch(config-router) address-family ipv4 unicast
switch(config-rou ...

bgp redistribute-internal
这个命令的对应nxos是什么?我问的不是单纯的重发布命令

peng715 发表于 2020-1-23 12:36:35

corope 发表于 2020-1-23 12:07
對於N7K只能個別指定你要引入何種路由

好的,谢谢了

hugo_26 发表于 2020-3-14 10:48:37

dddddddddd
页: [1]
查看完整版本: 关于NXOS的ibgp重发布的命令