ES-2024 Series User’s Guide
217 Chapter 31 Command Examples
where
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.
31.5 Enabling RSTP
To enable RSTP on a port. Enter spanning-tree followed by the port number and press
[ENTER].
The following example enables RSTP on port 10.
31.6 Copy Port Attributes
Use the copy running-config command to copy attributes of one port to another port or
ports.
Syntax:
copy running-config interface port-channel <port> <port-list>
copy running-config interface port-channel <port> <port-list> [active]
[name] [speed-duplex] [flow-control] [intrusion-lock] [vlan1q] [vlan1q-
member] [bandwidth-limit] [port-security] [broadcast-storm-control]
[mirroring] [port-access-authenticator] [queuing-method] [igmp-filtering]
[spanning-tree] [port-based-vlan]
<ip|host-name> =
The IP address or host name of an Ethernet device.
[vlan <vlan-id> ] =
Specifies 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.
[quesries <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 10
sysname#