router

Profile Config Commands

Enables dynamic routing (BGP and/or OSPF) and enters the routing protocol configuration mode

Supported in the following platforms:

The NX9500 service platforms do not support OSPF routing.

The access points only support OSPF routing.

Syntax

router [bgp|ospf]

Parameters

router [bgp|ospf]
router Enables dynamic routing and enters the routing protocol configuration mode
bgp Enables BGP dynamic routing and configures relevant settings

BGP is an inter-ISP routing protocol, which establishes routing between ISPs. ISPs use BGP to exchange routing and reachability information between AS (Autonomous Systems) on the Internet. BGP uses TCP as its transport protocol, eliminating the need to implement explicit update fragmentation, retransmission, acknowledgement, and sequencing.

Routing information exchanged through BGP supports destination based forwarding only. It assumes a router forwards packets based on the destination address carried in the IP header of the packet.

An AS is a set of routers under the same administration that use Interior Gateway Protocol (IGP) and common metrics to define how to route packets within the AS.

For more information on dynamic BGP routing configurations, see Border Gateway Protocol .

ospf Enables OSPF dynamic routing and configures relevant settings. Changes configuration mode to router mode

OSPF is a link-state IGP. OSPF routes IP packets within a single routing domain (autonomous system), like an enterprise LAN. OSPF gathers link state information from neighbor routers and constructs a network topology. The topology determines the routing table presented to the Internet Layer which makes routing decisions based solely on the destination IP address found in IP packets.

For more information on dynamic OSPF routing configurations, see Router Mode.

Example

nx9500-6C8809(config-profile-TestNX5500)#router ospf

nx9500-6C8809(config-profile TestNX5500-router-ospf)#?
Router OSPF Mode commands:
  area                 OSPF area
  auto-cost            OSPF auto-cost
  default-information  Distribution of default information
  ip                   Internet Protocol (IP)
  network              OSPF network
  no                   Negate a command or set its defaults
  ospf                 Ospf
  passive              Make OSPF Interface as passive
  redistribute         Route types redistributed by OSPF
  route-limit          Limit for number of routes handled OSPF process
  router-id            Router ID

  clrscr               Clears the display screen
  commit               Commit all changes made in this session
  do                   Run commands from Exec mode
  end                  End current mode and change to EXEC mode
  exit                 End current mode and down to previous mode
  help                 Description of the interactive help system
  revert               Revert changes
  service              Service Commands
  show                 Show running system information
  write                Write running configuration to memory or terminal

nx9500-6C8809(config-profile TestNX5500-router-ospf)#

Related Commands

no Disables OSPF settings