📚 API Documentation & Navigation
📋 Module Metadata
Namespace: http://cisco.com/ns/yang/Cisco-IOS-XE-segment-routing
Prefix: segment_routing
Related Modules:
CISCO-AAL5-MIB
CISCO-ATM-EXT-MIB
Cisco-IOS-XE-aaa
Cisco-IOS-XE-acl
Cisco-IOS-XE-adsl
💡 Example Usage
# GET module data curl -X GET \ -H "Accept: application/yang-data+json" \ -u admin:password \ --insecure \ https://device-ip/restconf/data/Cisco-IOS-XE-segment-routing
📚 External Documentation
module: Cisco-IOS-XE-segment-routing
augment /ios:native/ios:segment-routing:
+--rw mpls!
| +--rw connected-prefix-sid-map
| | +--rw address-family
| | +--rw ipv4
| | | +--rw prefixes* [ipprefix]
| | | +--rw ipprefix inet:ipv4-prefix
| | | +--rw (label-type)?
| | | +--:(index)
| | | | +--rw index
| | | | +--rw range-start? uint32
| | | | +--rw range? uint32
| | | +--:(absolute)
| | | +--rw absolute
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | +--rw ipv4-strict-spf
| | | +--rw ipv4
| | | +--rw strict-spf
| | | +--rw prefixes* [ipprefix]
| | | +--rw ipprefix inet:ipv4-prefix
| | | +--rw (label-type)?
| | | +--:(index)
| | | | +--rw index
| | | | +--rw range-start? uint32
| | | | +--rw range? uint32
| | | +--:(absolute)
| | | +--rw absolute
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | +--rw ipv4-algorithm
| | +--rw ipv4
| | +--rw algorithm* [flex-algo-number]
| | +--rw flex-algo-number uint32
| | +--rw prefixes* [ipprefix]
| | +--rw ipprefix inet:ipv4-prefix
| | +--rw (label-type)?
| | +--:(index)
| | | +--rw index
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | +--:(absolute)
| | +--rw absolute
| | +--rw range-start? uint32
| | +--rw range? uint32
| +--rw global-block
| | +--rw range-start? uint32
| | +--rw range-end? uint32
| +--rw local-block
| | +--rw range-start? uint32
| | +--rw range-end? uint32
| +--rw mapping-server
| | +--rw prefix-sid-map
| | +--rw address-family
| | +--rw ipv4
| | | +--rw prefixes* [ipprefix]
| | | +--rw ipprefix inet:ipv4-prefix
| | | +--rw (label-type)?
| | | +--:(index)
| | | | +--rw index
| | | | +--rw range-start? uint32
| | | | +--rw range? uint32
| | | | +--rw attach? empty
| | | +--:(absolute)
| | | +--rw absolute
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | | +--rw attach? empty
| | +--rw ipv4-strict-spf
| | | +--rw ipv4
| | | +--rw strict-spf
| | | +--rw prefixes* [ipprefix]
| | | +--rw ipprefix inet:ipv4-prefix
| | | +--rw (label-type)?
| | | +--:(index)
| | | | +--rw index
| | | | +--rw range-start? uint32
| | | | +--rw range? uint32
| | | | +--rw attach? empty
| | | +--:(absolute)
| | | +--rw absolute
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | | +--rw attach? empty
| | +--rw ipv4-algorithm
| | +--rw ipv4
| | +--rw algorithm* [flex-algo-number]
| | +--rw flex-algo-number uint32
| | +--rw prefixes* [ipprefix]
| | +--rw ipprefix inet:ipv4-prefix
| | +--rw (label-type)?
| | +--:(index)
| | | +--rw index
| | | +--rw range-start? uint32
| | | +--rw range? uint32
| | +--:(absolute)
| | +--rw absolute
| | +--rw range-start? uint32
| | +--rw range? uint32
| +--rw set-attributes
| | +--rw address-family
| | +--rw ipv4
| | +--rw explicit-null? empty
| | +--rw sr-label-preferred? empty
| +--rw shutdown? empty
+--rw traffic-eng!
| +--rw affinity-map
| | +--rw name* [color-name]
| | +--rw color-name string
| | +--rw bit-position? uint8
| +--rw interface* [name]
| | +--rw name string
| | +--rw metric? uint32
| | +--rw affinity
| | +--rw name* string
| +--rw path
| | +--rw disable-algo-check
| | +--rw strict-spf? empty
| +--rw logging
| | +--rw policy
| | +--rw status? empty
| +--rw on-demand* [color]
| | +--rw color uint32
| | +--rw authorize!
| | | +--rw restrict!
| | | +--rw ipv4
| | | | +--rw prefix-list? string
| | | +--rw ipv6
| | | +--rw prefix-list? string
| | +--rw candidate-paths!
| | | +--rw preference* [preference]
| | | +--rw preference uint32
| | | +--rw constraints
| | | | +--rw affinity
| | | | | +--rw exclude-any
| | | | | | +--rw name* string
| | | | | +--rw include-all
| | | | | | +--rw name* string
| | | | | +--rw include-any
| | | | | +--rw name* string
| | | | +--rw association-group!
| | | | | +--rw disjointness
| | | | | | +--rw type? enumeration
| | | | | +--rw identifier? uint16
| | | | | +--rw source? inet:ipv4-address
| | | | +--rw bandwidth? uint32
| | | | +--rw segments
| | | | +--rw dataplane? enumeration
| | | | +--rw type? enumeration
| | | | +--rw algorithm? uint32
| | | +--rw description? string
| | | +--rw (path-choice)?
| | | +--:(dynamic)
| | | | +--rw dynamic!
| | | | +--rw metric
| | | | | +--rw type? enumeration
| | | | | +--rw margin
| | | | | | +--rw absolute? uint32
| | | | | | +--rw relative? uint8
| | | | | +--rw sid-limit? uint8
| | | | +--rw pcep? empty
| | | +--:(explicit)
| | | | +--rw explicit
| | | | +--rw segment-list* [name]
| | | | +--rw name string
| | | | +--rw weight? uint32
| | | +--:(per-flow)
| | | +--rw per-flow!
| | | +--rw forward-class
| | | +--rw value* [forward-class-value]
| | | +--rw forward-class-value uint32
| | | +--rw (options)?
| | | | +--:(color-case)
| | | | | +--rw color-option? uint32
| | | | +--:(rib-case)
| | | | +--rw rib? empty
| | | o--rw color? uint32
| | +--rw performance-measurement
| | | +--rw delay-measurement-config!
| | | | +--rw profile? string
| | | | +--rw liveness-detection!
| | | | | +--rw invalidation-action
| | | | | +--rw (mode-choice)?
| | | | | +--:(none)
| | | | | | +--rw none? empty
| | | | | +--:(down)
| | | | | +--rw down? empty
| | | | +--rw reverse-path
| | | | +--rw label? uint32
| | | o--rw delay-measurement? empty
| | +--rw steering
| | | +--rw path-invalidation
| | | +--rw drop? empty
| | +--rw description? string
| +--rw pcc
| | +--rw pce
| | | +--rw (pce-address-choice)?
| | | +--:(pce-ipv4-address)
| | | | +--rw pce-ipv4-list* [address]
| | | | +--rw address inet:ipv4-address
| | | | +--rw source-address? inet:ipv4-address
| | | | +--rw preference? uint8
| | | | +--rw password
| | | | +--rw (password-choice)?
| | | | +--:(clear)
| | | | | +--rw clear? string
| | | | +--:(encrypted)
| | | | +--rw encrypted? string
| | | +--:(pce-ipv6-address)
| | | +--rw pce-ipv6-list* [address]
| | | +--rw address inet:ipv6-address
| | | +--rw source-address? inet:ipv6-address
| | | +--rw preference? uint8
| | | +--rw password
| | | +--rw (password-choice)?
| | | +--:(clear)
| | | | +--rw clear? string
| | | +--:(encrypted)
| | | +--rw encrypted? string
| | +--rw report-all? empty
| | +--rw profile* [id]
| | +--rw id uint32
| | +--rw autoroute
| | | +--rw include
| | | +--rw all? empty
| | +--rw steering
| | | +--rw path-invalidation
| | | +--rw drop? empty
| | +--rw performance-measurement
| | +--rw delay-measurement!
| | +--rw profile? string
| | +--rw liveness-detection!
| | | +--rw invalidation-action
| | | +--rw (mode-choice)?
| | | +--:(none)
| | | | +--rw none? empty
| | | +--:(down)
| | | +--rw down? empty
| | +--rw reverse-path
| | +--rw label? uint32
| +--rw policy* [name]
| | +--rw name string
| | +--rw binding-sid
| | | +--rw mpls? uint32
| | +--rw candidate-paths!
| | | +--rw preference* [preference]
| | | +--rw preference uint32
| | | +--rw constraints
| | | | +--rw affinity
| | | | | +--rw exclude-any
| | | | | | +--rw name* string
| | | | | +--rw include-all
| | | | | | +--rw name* string
| | | | | +--rw include-any
| | | | | +--rw name* string
| | | | +--rw association-group!
| | | | | +--rw disjointness
| | | | | | +--rw type? enumeration
| | | | | +--rw identifier? uint16
| | | | | +--rw source? inet:ipv4-address
| | | | +--rw bandwidth? uint32
| | | | +--rw segments
| | | | +--rw dataplane? enumeration
| | | | +--rw type? enumeration
| | | | +--rw algorithm? uint32
| | | +--rw description? string
| | | +--rw (path-choice)?
| | | +--:(dynamic)
| | | | +--rw dynamic!
| | | | +--rw metric
| | | | | +--rw type? enumeration
| | | | | +--rw sid-limit? uint8
| | | | | +--rw margin
| | | | | +--rw absolute? uint32
| | | | | +--rw relative? uint8
| | | | +--rw pcep? empty
| | | +--:(explicit)
| | | | +--rw explicit
| | | | +--rw segment-list* [name]
| | | | +--rw name string
| | | | +--rw weight? uint32
| | | +--:(per-flow)
| | | +--rw per-flow!
| | | +--rw forward-class
| | | +--rw value* [forward-class-value]
| | | +--rw forward-class-value uint32
| | | +--rw (options)?
| | | | +--:(color-case)
| | | | | +--rw color-option? uint32
| | | | +--:(rib-case)
| | | | +--rw rib? empty
| | | o--rw color? uint32
| | +--rw performance-measurement
| | | +--rw delay-measurement-config!
| | | | +--rw profile? string
| | | | +--rw liveness-detection!
| | | | | +--rw invalidation-action
| | | | | +--rw (mode-choice)?
| | | | | +--:(none)
| | | | | | +--rw none? empty
| | | | | +--:(down)
| | | | | +--rw down? empty
| | | | +--rw reverse-path
| | | | +--rw label? uint32
| | | o--rw delay-measurement? empty
| | +--rw steering
| | | +--rw path-invalidation
| | | +--rw drop? empty
| | +--rw color-endpoint
| | | +--rw color? uint32
| | | +--rw end-point-v2? inet:ip-address
| | | x--rw end-point? inet:ipv4-address
| | +--rw description? string
| | +--rw shutdown? empty
| | +--rw autoroute
| | +--rw include
| | | +--rw all? empty
| | +--rw metric
| | +--rw (metric-type)?
| | +--:(constant)
| | | +--rw constant? uint32
| | +--:(relative)
| | +--rw relative? int32
| +--rw segment-list* [name]
| +--rw name string
| +--rw index* [index]
| +--rw index uint32
| +--rw mpls
| +--rw (sid-type)?
| +--:(adjacency)
| | +--rw adjacency? inet:ipv4-address
| +--:(label)
| | +--rw label? uint32
| +--:(prefix)
| +--rw prefix
| +--rw ipv4-prefix? inet:ipv4-address
| +--rw algorithm? enumeration
+--rw srv6!
+--rw sid
| +--rw holdtime? uint32
+--rw transit-node-ptb-relay? empty
+--rw locators
| +--rw locator* [name]
| +--rw name string
| +--rw prefix? inet:ipv6-prefix
| +--rw format
| | +--rw (locator-format)?
| | +--:(usid-f3216)
| | +--rw usid-f3216? empty
| +--rw algorithm? uint32
+--rw encapsulation
| +--rw hop-limit
| | +--rw count? uint32
| | +--rw propagate? empty
| +--rw source-address? inet:ipv6-address
| +--rw traffic-class
| | +--rw count? string
| | +--rw propagate? empty
| +--rw mtu
| +--rw value? uint32
+--rw explicit-sids
+--rw sid* [address]
+--rw address inet:ipv6-address
+--rw behavior
+--rw behavior-type enumeration
+--rw forwarding
| +--rw path* [path-id]
| +--rw path-id uint32
| +--rw decap-and-lookup
| +--rw vrf-name? string
+--rw identification
+--rw nexthop!
+--rw interface string
+--rw address? inet:ipv6-address
+--rw protected? empty
augment /ios:native/ios:router/ios-isis:isis:
+--rw segment-routing
+--rw mpls? empty
+--rw prefix-sid-map
+--rw advertise-local? empty
+--rw receive!
+--rw disable? empty
augment /ios:native/ios:router/ios-isis:isis/ios-isis:address-family/ios-isis:ipv6:
+--rw segment-routing
+--rw srv6!
+--rw locator* [name]
+--rw name string
+--rw (levels)?
| +--:(level-1)
| | +--rw level-1? empty
| +--:(level-2)
| +--rw level-2? empty
+--rw metric
+--rw metric-list* [levels]
+--rw levels enumeration
+--rw value uint32
augment /ios:native/ios:router/ios-isis:isis-container/ios-isis:isis:
+--rw segment-routing
+--rw mpls? empty
+--rw prefix-sid-map
+--rw advertise-local? empty
+--rw receive!
+--rw disable? empty
augment /ios:native/ios:router/ios-isis:isis-container/ios-isis:isis/ios-isis:address-family/ios-isis:ipv6:
+--rw segment-routing
+--rw srv6!
+--rw locator* [name]
+--rw name string
+--rw (levels)?
| +--:(level-1)
| | +--rw level-1? empty
| +--:(level-2)
| +--rw level-2? empty
+--rw metric
+--rw metric-list* [levels]
+--rw levels enumeration
+--rw value uint32