Debug: 添加screen-length disable命令输出调试
This commit is contained in:
@@ -32,6 +32,7 @@ func (p *H3CParser) Parse(device *models.Device, outputs []string) error {
|
||||
}
|
||||
|
||||
// outputs[0] 是 screen-length disable 的输出(通常为空)
|
||||
fmt.Printf("[H3C DEBUG] screen-length disable output: %q (length: %d)\n", outputs[0], len(outputs[0]))
|
||||
p.parseVersion(device, outputs[1]) // outputs[1] 是 display version
|
||||
|
||||
// outputs[2] 是 display interface
|
||||
|
||||
Reference in New Issue
Block a user