BGP yang Flashcards

(1 cards)

1
Q
  1. Invalid Type Definitions
    Location: Line 77-80, typedef asn-number Pyang Error: YANG_SYNTAX_ERROR: syntax error: “1,
    4294967295”
    typedef asn-number {
    type uint32 {
    range “1, 4294967295”;
    }
A

Fix: // WRONG: Using comma instead of “..”}

typedef asn-number {
type uint32 {
range “1..4294967295”; // Proper range syntax
}
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly