|
发表于 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 |
板凳
2020-1-23 10:01:18
回复(0)
收起回复
|