- Included the `shutdown` command in the Huawei interface template to manage interface states. - Added a new interface configuration in `config.conf` with the `shutdown` command. - Updated the expected output JSON to reflect the new interface and its shutdown state for accurate testing and validation of configurations.
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# Huawei Versatile Routing Platform Software
|
|
# VRP (R) software, Version 5.170 (S5731 V200R019C00SPC500)
|
|
# Copyright (C) 2000-2019 HUAWEI TECH Co., Ltd.
|
|
#
|
|
# DDR Memory Size : 4096 M bytes
|
|
# FLASH Total Memory Size : 1024 M bytes
|
|
# FLASH Available Memory Size : 739 M bytes
|
|
# Pcb Version : VER.B
|
|
# BootROM Version : 0000.04e4
|
|
# BootLoad Version : 0213.0000
|
|
# CPLD Version : 0104
|
|
# Software Version : VRP (R) Software, Version 5.170 (V200R019C00SPC500)
|
|
# FLASH Version : 0000.0000
|
|
# PWR1 information
|
|
# Pcb Version : PWR VER.D
|
|
# PWR2 information
|
|
# Pcb Version : PWR VER.D
|
|
# FAN1 information
|
|
# Pcb Version : NA
|
|
# FAN2 information
|
|
# Pcb Version : NA
|
|
# ESN of slot 1: 102266666666
|
|
# ESN of slot 2: 102288888888
|
|
interface GigabitEthernet0/0/33
|
|
port link-type access
|
|
port default vlan 101
|
|
loopback-detect enable
|
|
stp disable
|
|
storm-control broadcast min-rate 1500 max-rate 2500
|
|
storm-control multicast min-rate 1000 max-rate 2000
|
|
storm-control action error-down
|
|
#
|
|
interface GigabitEthernet1/0/43
|
|
description FREE
|
|
shutdown
|
|
port link-type access
|
|
port default vlan 102
|
|
loopback-detect enable
|
|
stp disable
|
|
storm-control broadcast min-rate 1500 max-rate 2500
|
|
storm-control multicast min-rate 1000 max-rate 2000
|
|
storm-control action error-down
|
|
#
|
|
interface Vlanif120
|
|
description SSH
|
|
ip address 10.26.196.254 255.255.255.0
|
|
#
|
|
vlan batch 13 26 101 to 103 110 120 130 201 to 204 209 to 212 350 360
|
|
# |