Netgear M5300-28G3 (GSM7328Sv2h2) - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch ソフトウェアガイド
Switching Commands
408
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show vlan association subnet
This command displays the VLAN associated with a specific configured IP-Address and net
mask. If no IP address and net mask are specified, the VLAN associations of all the
configured IP-subnets are displayed.
mask. If no IP address and net mask are specified, the VLAN associations of all the
configured IP-subnets are displayed.
show vlan association mac
This command displays the VLAN associated with a specific configured MAC address. If no
MAC address is specified, the VLAN associations of all the configured MAC addresses are
displayed.
MAC address is specified, the VLAN associations of all the configured MAC addresses are
displayed.
Switch Port Commands
This section describes the commands used for switch port mode.
switchport mode
Use this command to configure the mode of a switch port as access, trunk, or general:
•
Trunk mode. In trunk mode, the port becomes a member of all VLANs on the switch
unless specified in the allowed list in the switchport trunk allowed vlan
command. The PVID of the port is set to the native VLAN as specified in the
switchport trunk native vlan
unless specified in the allowed list in the switchport trunk allowed vlan
command. The PVID of the port is set to the native VLAN as specified in the
switchport trunk native vlan
command. This means that trunk ports accept both
tagged and untagged packets. Untagged packets are processed on the native VLAN and
tagged packets are processed on the VLAN for which the ID is contained in the packet.
MAC learning is performed on both tagged and untagged packets. Tagged packets that
tagged packets are processed on the VLAN for which the ID is contained in the packet.
MAC learning is performed on both tagged and untagged packets. Tagged packets that
Format
show vlan association subnet [ipaddr netmask]
Mode
Privileged EXEC
Term
Definition
IP Address
The IP address assigned to each interface.
Net Mask
The subnet mask.
VLAN ID
There is a VLAN Identifier (VID) associated with each VLAN.
Format
show vlan association mac [macaddr]
Mode
Privileged EXEC
Term
Definition
Mac Address
A MAC address for which the switch has forwarding and or filtering information. The format is 6 or 8
two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an
IVL system the MAC address will be displayed as 8 bytes.
IVL system the MAC address will be displayed as 8 bytes.
VLAN ID
There is a VLAN Identifier (VID) associated with each VLAN.