Huawei switchte çalışan servisleri kontrol etmek için veya cihaz konfigürasyonunu görüntülemek için aşağıdaki komutu çalıştırın.
Geçerli cihazda mevcut konfigürasyonu görüntülemek için “display current-configuration” komutunu çalıştırın.
Bu komut varsayılanda her hangi bir parametre gerektirmez, fakat aşağıda ki tabloda yer alan ilgili parametreyi ekleyerek komut çıktısını filtreleyebilirsiniz.
Örneğin ;
<Huawei> display current-configuration | include vlan
bu komutun çıktısı şöyle olacaktır ;
vlan batch 10 77 88 port trunk allow-pass vlan 10
display current-configuration Parametreleri
Parametre | Açıklama | Değer |
---|---|---|
configuration configuration-type | Specifies the configuration type. | The value is determined by the current system configurations. |
configuration-instance | Specifies a configuration instance. | The value is a string of 1 to 80 case-insensitive characters without spaces. |
interface [ interface-name | interface-type [ interface-number ] ] | Specifies an interface name or an interface type. | – |
feature feature-name | Specifies a feature name. | – |
filter filter-expression | Displays the configuration information that matches a regular expression. | The value is a string of 1 to 255 case-insensitive characters without spaces. |
all | Displays all the configuration information. | – |
inactive | Displays the offline configuration information. | – |
simple | Displays the current simple configuration. | – |
section section | Specifies the configurations to be obtained based on types. | The value is a string of 1 to 79 case-insensitive characters without spaces. |