Chapter 33 Command Examples
GS-3012/GS-3012F User’s Guide
244
This command displays information about the route to an Ethernet device. The following
example displays route information to an Ethernet device with an IP address of 192.168.1.100.
Figure 134 traceroute Command Example
33.5 Enabling RSTP
To enable RSTP on a port, enter spanning-tree followed by the port number. You also
need to use “
spanning-tree” to enable RSTP on the switch. The following example enables
RSTP on port 3.
Figure 135 Enable RSTP Command Example
33.6 Configuration File Maintenance
This section shows you how to backup or restore the configuration file on the switch using
TFTP.
33.6.1 Backing up Configuration
Syntax:
copy running-config tftp <ip> <remote-file>
[in-band|out-of-
band|vlan <vlan-
id> ]
= Specifies the network interface or the VLAN ID to
which the Ethernet device belongs.
[ttl <1-255>]
= Specifies the Time To Live (TTL) period.
[wait <1-60>]
= Specifies the time period to wait.
[queries <1-10>]
= Specifies how many tries the switch performs the
traceroute function.
sysname> traceroute 192.168.1.100
traceroute to 192.168.1.100, 30 hops max, 40 byte packet
1:192.168.1.100 (10 ms) (10 ms) (0 ms)
traceroute done:
sysname(config)# spanning-tree 3
sysname(config)# spanning-tree
where
<ip>
= The IP address of a TFTP server on which you want to
store the backup configuration file.
<remote-file>
= Specifies the name of the configuration file.