beautypg.com

Configuring the default route, Other routing operations, Specifying route attributes – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 548

background image

516

Network OS NETCONF Operations Guide

53-1003231-02

Other routing operations

33

Configuring the default route

The default route is configured with an all zeros prefix/netmask (that is, 0.0.0.0/0). This default
route gets installed in the ASIC. All traffic that does not have other matching routes is forwarded
using the default route.

The following example configures a default route with a next hop of 207.95.6.157.

30

0.0.0.0/0

207.95.6.157

Other routing operations

This section describes some other commonly used route management operations. Refer to the
Network OS YANG Reference Manual for a list of all IP routing-related parameters.

Specifying route attributes

When specifying a route, include leaf elements under the node that let you:

Specify a tag value of a route to use for route filtering with a route map ( element).

Specify a cost metric of a route ( element).

The following example sets the cost of a route to 10 and specifies a tag value of 5 for route filtering.

rpc message-id="3303" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">