22 lines
560 B
YAML
22 lines
560 B
YAML
test:
|
|
description: "MTU of sub-interfaces cannot be higher than their parent"
|
|
errors:
|
|
expected:
|
|
- "sub-interface .* has MTU 9001 higher than parent .* MTU 9000"
|
|
- "sub-interface .* has MTU 9002 higher than parent .* MTU 9001"
|
|
- "sub-interface .* has MTU 9002 higher than parent .* MTU 9000"
|
|
count: 3
|
|
---
|
|
interfaces:
|
|
GigabitEthernet1/0/0:
|
|
mtu: 9000
|
|
sub-interfaces:
|
|
100:
|
|
mtu: 9001
|
|
200:
|
|
encapsulation:
|
|
exact-match: True
|
|
inner-dot1q: 1234
|
|
dot1q: 100
|
|
mtu: 9002
|