Problems arising
The current configuration is shown in the following figure:
[SW1]int g0/0/1 [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]dis this # interface GigabitEthernet0/0/1 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094 # return
When the port link type needs to be modified or deleted, an error is reported Error: please update the default configuration
[SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]port link-type access Error: Please renew the default configurations. [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]undo port link-type Error: Please renew the default configurations.
Causes of occurrence
The reason for the error is that you have added the port to a VLAN, so you will report an error when changing or deleting it.
For example, if you want to delete “parent folder”, you have to delete “child folder” first. It means to delete it layer by layer. The same is true of Huawei’s configuration commands, which are undo level by level.
|--Parent Folder |---- subfolder
Solution
To undo all commands except “port link type trunk”, you can change the link type or undo the command.
[SW1-GigabitEthernet0/0/1]dis this # interface GigabitEthernet0/0/1 port link-type trunk undo port trunk allow-pass vlan 1 # return [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]undo port trunk allow-pass vlan all [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 1 [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]dis this # interface GigabitEthernet0/0/1 port link-type trunk # return [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]undo port link-type [SW1-GigabitEthernet0/0/1] [SW1-GigabitEthernet0/0/1]dis this # interface GigabitEthernet0/0/1 # return
Read More:
- A mistake about implicitly providing default constructors
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- [Solved] bee must have one register DataBase alias named `default`
- [Solved] Error in inherits(x, “theme”): argument “e2” is missing, with no default
- [Solved] k8s error retrieving resource lock default/fuseim.pri-ifs: Unauthorized
- [Solved] Vscode Error: “export ‘default‘ (imported as ‘VueRouter‘) was not found in ‘vue-router‘
- k8s kubernetes ingress error: endpoints “default-http-backend“ not found
- [Solved] webrtc Compile Error: ERROR: The installation of the Chrome OS default fonts failed.
- Attempted import error: ‘mobx-react‘ does not contain a default export (imported as ‘observer‘).
- Postgres Multiple data insertion error: The ‘default‘ dialect with current database version settings does not support
- [Solved] Hbase …ERROR: Unable to read .tableinfo from file:/hbaseData/data/default/table1/xxxx
- How to Fix HTTP Error 500: the default page enter their own routing can’t find a result
- The imported project “c:\Microsoft.Cpp.Default.props” was not found
- [Solved] Verdi Crash Error: ICE default IO error handler doing an exit(), pid = 3475, errno = 32
- [Solved] C + + compile Error: error: default argument given for parameter 3
- Remember an android app startup error Error running: Default Activity not found
- Uncaught (in promise) Error: Delete success at __webpack_exports__.default 405 error
- jupyter notebook Sets Default Browser Error: SyntaxError: (unicode error) ‘utf-8‘ codec can‘t decode byte 0xd4
- Echars 5.0 Import Error: “export ‘default’ (imported as ‘echarts’) was not found in ‘echarts’
- [Solved] swiper Error: The requested module ‘react’ is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export