Page 126 / 400 Scroll up to view Page 121 - 125
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-58
Switching Commands
202-10088-01, March 2005
Untagged
- specifies to transmit traffic for this VLAN as
untagged frames.
show vlan brief
This command displays a list of all configured VLANs.
Format
show vlan brief
Mode
Privileged EXEC and User EXEC
VLAN ID
There is a VLAN Identifier (vlanid )associated with each VLAN.
The range of the VLAN ID is 1 to 4094.
VLAN Name
A string associated with this VLAN as a convenience. It can be
up to 32 alphanumeric characters long, including blanks. The
default is blank. VLAN ID 1 always has a name of `Default`. This
field is optional.
VLAN Type
Type of VLAN, which can be Default, (VLAN ID = 1), a static
(one that is configured and permanently defined), or a Dynamic
(one that is created by GVRP registration).
show vlan port
This command displays VLAN port information.
Format
show vlan port {
<
slot/port
> | all}
Mode
Privileged EXEC and User EXEC
Slot/Port
Valid slot and port number separated by forward slashes. It is pos-
sible to set the parameters for all ports by using the selectors on
the top line.
Port VLAN ID
The VLAN ID that this port will assign to untagged frames or pri-
ority tagged frames received on this port. The value must be for
an existing VLAN. The factory default is 1.
Acceptable Frame Types
Specifies the types of frames that may be received on this port.
The options are 'VLAN only' and 'Admit All'. When set to
'VLAN only', untagged frames or priority tagged frames received
on this port are discarded. When set to 'Admit All', untagged
frames or priority tagged frames received on this port are
accepted and assigned the value of the Port VLAN ID for this
Page 127 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-59
202-10088-01, March 2005
port. With either option, VLAN tagged frames are forwarded in
accordance to the 802.1Q VLAN specification.
Ingress Filtering
May be enabled or disabled. When enabled, the frame is dis-
carded if this port is not a member of the VLAN with which this
frame is associated. In a tagged frame, the VLAN is identified by
the VLAN ID in the tag. In an untagged frame, the VLAN is the
Port VLAN ID specified for the port that received this frame.
When disabled, all frames are forwarded in accordance with the
802.1Q VLAN bridge specification. The factory default is dis-
abled.
GVRP
May
be enabled or disabled.
Default Priority
The 802.1p priority assigned to tagged packets arriving on the port.
System Utility Commands
This section describes system utilities. The commands are divided into two functional groups:
Show commands display switch settings, statistics, and other information.
Configuration commands configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
traceroute
This command is used to discover the routes that packets actually take when traveling to their
destination through the network on a hop-by-hop basis. <ipaddr> should be a valid IP address.
[port] should be a valid decimal integer in the range of 0(zero) to 65535. The default value is
33434.
The optional port parameter is the UDP port used as the destination of packets sent as part of the
traceroute. This port should be an unused port on the destination system.
Format
traceroute <ipaddr> [port]
Mode
Privileged EXEC
Page 128 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-60
Switching Commands
202-10088-01, March 2005
clear config
This command resets the configuration to the factory defaults without powering off the switch.
The switch is automatically reset when this command is processed. You are prompted to confirm
that the reset should proceed.
Format
clear config
Mode
Privileged EXEC
clear counters
This command clears the stats for a specified <slot/port>or for all the ports or for the entire switch
based upon the argument.
Format
clear counters {
<
slot/port
> | all}
Mode
Privileged EXEC
clear igmpsnooping
This command clears the tables managed by the IGMP Snooping function and will attempt to
delete these entries from the Multicast Forwarding Database.
Format
clear igmpsnooping
Mode
Privileged EXEC
clear pass
This command resets all user passwords to the factory defaults without powering off the switch.
You are prompted to confirm that the password reset should proceed.
Format
clear pass
Mode
Privileged EXEC
enable passwd
This command changes the Privileged EXEC password. First type the command then hit the enter
or the return key.
Format
enable passwd
Page 129 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-61
202-10088-01, March 2005
Mode
Privileged EXEC
clear port-channel
This command clears all port-channels (LAGs).
Format
clear port-channel
Mode
Privileged EXEC
clear traplog
This command clears the trap log.
Format
clear traplog
Mode
Privileged EXEC
clear vlan
This command resets VLAN configuration parameters to the factory defaults.
Format
clear vlan
Mode
Privileged EXEC
logout
This command closes the current telnet connection or resets the current serial connection.
Note:
Save configuration changes before logging out.
Format
logout
Mode
Privileged EXEC
Page 130 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-62
Switching Commands
202-10088-01, March 2005
ping
This command checks if another computer is on the network and listens for connections. To use
this command, configure the switch for network (in-band) connection. The source and target
devices must have the ping utility enabled and running on top of TCP/IP. The switch can be pinged
from any IP workstation with which the switch is connected through the default VLAN (VLAN 1),
as long as there is a physical path between the switch and the workstation. The terminal interface
sends, three pings to the target station.
Format
ping <
ipaddr>
Mode
Privileged EXEC and User EXEC
reload
This command resets the switch without powering it off. Reset means that all network connections
are terminated and the boot code executes. The switch uses the stored configuration to initialize
the switch. You are prompted to confirm that the reset should proceed. A successful reset is
indicated by the LEDs on the switch.
Format
reload
Mode
Privileged EXEC
copy
This command uploads and downloads to/from the switch. Local URLs can be specified using tftp
or xmodem. The following can be specified as the source file for uploading from the switch:
startup configuration (
nvram:startup-config
), error log (
nvram:errorlog
), message log
(
nvram:msglog
), trap log (
nvram:traplog
) and configuration script(
nvram:configscript
<scriptname>
). A URL is specified for the destination.
The command can also be used to download the startup configuration, code image or configuration
script by specifying the source as a URL and destination as
nvram:startup-config
, .
system:image
or
nvram:configscript
respectively.
The <scriptname> is the name of the script file to be uploaded. During download of a
configuration script the copy command will validate the script being downloaded. In case of any
error, the command will list all the line at the end of validation process and confirm from user for
copying the script file.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top