Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

set protocols bgp [vrf <vrf-name>{ipv4-unicast|ipv6-unicast} redistribute {connected|kernel|ospf|isis|rip|static|table <table-number>} [metric <metric-number>|route-map <route-map>]

delete protocols bgp [vrf <vrf-name>{ipv4-unicast|ipv6-unicast} redistribute {connected|kernel|ospf|isis|rip|static|table <table-number>} [metric <metric-number>|route-map <route-map>]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

{ipv4-unicast|ipv6-unicast}Required. Specifies the IP address family type.
redistribute {connected|kernel|ospf|isis|ospf6rip|static|table|table <table-number>}

Redistributes routes to import into BGP.

  • connected: Redistribute connected route to BGP process.
  • kernel: Redistribute kernel route to BGP process.
  • ospf: Redistribute OSPFv2 route to BGP process.
  • isis: Redistribute IS-IS route to BGP process.
  • ospf6rip: Redistribute OSPFv3 RIP route to BGP process.
  • static: Redistribute static route to BGP process.
  • table <table-number>: Redistribute specific route table to BGP process. The value is an integer that ranges from 1 to 65535.
 metric <metric-number>Optional. Specifies route metric of the imported routes into BGP. The value is an integer that ranges from 0 to 4294967295.

route-map <route-map>

Optional. Specifies the name of the route map.

...