CLI ReferenceInterface Configuration Commands Interface Configuration Commands
Ruijie(config-if)# switchport trunk allowed vlan remove 2
Ruijie(config-if)# end
Ruijie# show interfaces fastethernet1/15 switchport
Switchport is enabled
Mode is trunk port
Access vlan is 1,Native vlan is 1
Protected is disabled
Vlan lists is
1,3-4094
Show the interface information.
Use this command to configure an interface as a static
access port and assign it to a VLAN.
Use this command to show the interface information, statistical information and
optical module information.
show interfaces [ interface-id ] [ counters [ module module-id | nonzero | vlan
vlan-id ] | description | mtu | status [ module module-id | vlan vlan-id ] |
switchport | trunk | transceiver [ alarm | diagnosis ] | usage ]
Interface (including Ethernet interface, aggregate port, SVI
interface, loopback interface and VSL interface).
The statistics on the interface.
counters
module
module-id
Display the packet statistics of all ports on the specified
modules.
Display the interface (including Ethernet interface, aggregate
port and VSL interface) statistics information (0 excluded).
Display the packet statistics of all member ports in the
specified vlans.
Describes the interface, including its link status.
Display the MTU statistics of the ports (including Ethernet
interfaces and aggregate ports)
Display the status of all the link of the Layer 2 interface,
including the rate and duplex.
Display the status statistics of all member ports on the