beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 547

background image

Network OS NETCONF Operations Guide

515

53-1003231-02

Configuring static routes

33

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-rbridge namespace.

2. Under the node, include the leaf node, and specify the ID of the

routing bridge on which you want to configure static routes.

3. Under the node, include the ///static-route-oif>

hierarchy of node elements.

The and subsequent nodes are located in the
urn:brocade.com:mgmt:brocade-rtm namespace.

4. Under the node, include the following leaf nodes.

a. In the element, specify the destination IP address.

b. In the element, specify the interface type of the egress interface.

Possible values are “tengigabitethernet”, “gigabitethernet”, “fortygigabitethernet”,
“port-channel”, and “null”.

c. In the element, specify the name of the interface in

[rbridge-id/]slot/port or port-channel number format.

The following example configures a static IP route for destination network 192.128.2.0/24.
Because an Ethernet port is specified instead of a gateway IP address as the next hop, the Brocade
device forwards traffic for the 192.128.2.0/24 network to the tengigabitethernet port 101/4/1.

30

192.128.2.0/24

tengigabitethernet

101/4/1