The port connection-type access command configures the specified interfaces as downlink interfaces.
The undo port connection-type access command configures the specified interfaces as uplink interfaces.
port { interface-type start-interface-number [ to interface-type end-interface-number ] } &<1-10> connection-type access
undo port { interface-type start-interface-number [ to interface-type end-interface-number ] } &<1-10> connection-type access
Parameter |
Description |
Value |
---|---|---|
interface-type start-interface-number [ to interface-type end-interface-number ] |
Specifies interfaces.
|
- |
Usage Scenario
By default, downlink interfaces are access ones and uplink interfaces are non-access ones. You can run the port connection-type access or undo port connection-type access command to modify the interface access type. For example, you can batch configure the downlink interfaces supported by the device, and run the dot1x mac-bypass access-port command to enable MAC address bypass authentication on all the downlink interfaces.
After the default interface access type is modified, the device generates the interface buildrun information in the system view.
Precautions
If stack interface information exists within the interface range, the command does not take effect. Therefore, there should be no interface with stack configuration in the interface range. If the access type of an interface is changed, stack configuration cannot be performed for the interface. That is, if an interface needs to be configured as a stack interface, the default interface access type cannot be modified.