How to check default configurations on an interface

8

In V200R001C00 and later versions, run the display this include-default command in the interface view. All configurations including default configurations on the interface are displayed.

Other related questions:
How to check the configuration of the interface of an AR router
You can run the following commands to check the basic parameter configuration of an interface: - Run the display interface command to check the current running status of the interface, including the running status and basic configuration of the interface and the status of the packets forwarded by the interface. - Run the display interface brief command to check brief information about the status and configuration of the interface, including the physical state and protocol state of the interface, bandwidth utilization rate in transmitting and receiving directions in the recent period, and the number of error packets that are sent and received. - Run the display ip interface command to check the main configuration of the interface. - Run the display default-parameter interface command to check the default configuration of the interface. - Run the display interface description command to check the description of the interface. - Run the display interface counters { inbound | outbound } command to check the statistics of the packets sent or received by the physical interface.

How to restore the default VLAN configuration of an interface
The default VLAN configuration of an interface involves the default VLAN of the interface and the VLAN that the interface joins. By default, the default VLAN configuration of an interface is as follows: Access: The default VLAN is VLAN 1, and an access interface joins VLAN 1 in untagged mode. Trunk: The default VLAN is VLAN 1, and a trunk interface joins VLAN 1 to VLAN 4094 in tagged mode. That is, a trunk interface allows all VLANs. Hybrid: The default VLAN is VLAN 1, and a hybrid interface joins VLAN 1 in untagged mode. Dot1q-tunnel: The default VLAN is VLAN 1, and a dot1q-tunnel interface joins VLAN 1. Negotiation-auto or Negotiation-desirable: If the interface is negotiated as an access interface, the default VLAN configuration of the interface is the same as that of the access interface. If the interface is negotiated as a trunk interface, the default VLAN is VLAN 1 and the interface joins VLANs 1 to 4094 in tagged mode. That is, the interface allows all VLANs. Run the display this include-default | include link-type command in the interface view to check the link type of the interface, and then perform one of the following configurations to restore the default configuration of the interface. Restore the default VLAN configuration of an access or dot1q-tunnel interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port default vlan Restore the default VLAN configuration of a trunk interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port trunk pvid vlan [HUAWEI-GigabitEthernet0/0/1] undo port trunk allow-pass vlan all [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 1 Restore the default VLAN configuration of a hybrid interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port hybrid pvid vlan [HUAWEI-GigabitEthernet0/0/1] undo port hybrid vlan all [HUAWEI-GigabitEthernet0/0/1] port hybrid untagged vlan 1 Restore the default VLAN configuration of the Negotiation-auto or Negotiation-desirable interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port default vlan [HUAWEI-GigabitEthernet0/0/1] undo port trunk pvid vlan [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan all

The default IP address of IAD device
The default IP is 192.168.100.1 or 192.168.1.17.

How can I configure the default VLAN ID of an interface on a CE switch
The default VLAN ID of interfaces is VLAN 1. # Set the default VLAN of an access interface to VLAN 3.
system-view
[~HUAWEI] vlan batch 3
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type access
[*HUAWEI-10GE1/0/1] port default vlan 3
[*HUAWEI-10GE1/0/1] commit
# Set the default VLAN of a trunk interface to VLAN 4.
system-view
[~HUAWEI] vlan batch 4
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type trunk
[*HUAWEI-10GE1/0/1] port trunk pvid vlan 4
[*HUAWEI-10GE1/0/1] commit
# Set the default VLAN of a hybrid interface to VLAN 5.
system-view 
[~HUAWEI] vlan batch 5
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] port hybrid pvid vlan 5
[*HUAWEI-10GE1/0/1] commit

Fixed interfaces of the USG6000
The USG6000 is delivered with diversified interfaces (with fixed interfaces being one type of standard interfaces). The standard configurations on various models are as follows: -USG6310/6320/6510-SJJ: one console interface (RJ45), one USG 2.0 interface, and eight 10/100/1000M autosensing Ethernet electrical interfaces in standard configuration. -USG6306/6308/6330/6350/6360/USG6507/6530: one out-of-band management interface (RH45), one console interface (RJ45), one USB 2.0 interface, two GE combo interfaces, and four 10/100/1000M autosensing Ethernet electrical interfaces in standard configuration. -USG6370/6380/6390/6620/6630: one out-of-band management interface (RH45), one console interface (RJ45), two USB 2.0 interfaces, four GE Ethernet optical interfaces, and eight 10/100/1000M autosensing Ethernet electrical interfaces in standard configuration. -USG6650/6660: one out-of-band management interface (RJ45), one console interface (RJ45), one console interface (Mini USB), two USB 2.0 interfaces, eight GE optical interfaces, eight 10/100/1000M autosensing Ethernet electrical interfaces, and two 10GE optical interfaces in standard configuration. -USG6670/6680: one out-of-band management interface (RJ45), one console interface (RJ45), one console interface (Mini USB), two USB 2.0 interfaces, eight GE optical interfaces, sixteen 10/100/1000M autosensing Ethernet electrical interfaces, and four 10GE optical interfaces in standard configuration.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top