beautypg.com

Ip route policy, In this chapter, Configuring an ip prefix list – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 537: Chapter 32, Chapter 32, “ip route policy

background image

Network OS NETCONF Operations Guide

505

53-1003231-02

Chapter

32

IP Route Policy

In this chapter

IP route policy configuration with NETCONF overview. . . . . . . . . . . . . . . . . 505

Configuring an IP prefix list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505

Configuring a route map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506

Configuring and activating an IP route policy . . . . . . . . . . . . . . . . . . . . . . . 508

IP route policy configuration with NETCONF overview

IP route policy controls how routes or IP subnets are transported from one subsystem to another
subsystem. The IP route policy may perform “permit” or “deny” actions so that matched routes may
be allowed or denied to the target subsystem accordingly. Additionally, an IP route policy may be
used to modify the characteristics of a matched route and IP subnet pair.

Two types of IP route policies are supported; prefix-list and route-map.

This chapter provides procedures for configuring IP prefix lists and route maps. For conceptual
details about IP route policies, refer to the Network OS Administrator’s Guide.

Through the NETCONF interface, you can perform the following operations on route policies:

Use the RPC to configure and activate route policies.

Use the RPC to view all or part of the route policy configuration.

Route policy parameters are defined in the brocade-ip-policy YANG module. For details, refer to the
Network OS YANG Reference Manual.

Configuring an IP prefix list

An IP prefix list consists of a set of instances, each of which specifies match conditions. Refer to
the Network OS Administrator’s Guide for a conceptual description of IP prefix lists.

To configure an IP prefix list, perform the following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-common-def namespace (for standalone mode) or the
urn:brocade.com:mgmt:brocade-rbridge namespace (for VCS Fabric mode).

2. Under the node, include the node element in the

urn:brocade.com:mgmt:brocade-ip-policy namespace.

3. Under the node, include a node element for each instance of

the prefix list.

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