BGP yang Flashcards
(1 cards)
1
Q
- 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
}
}