Chapter 46 User and Enable Mode Commands

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.

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>

46.5 Copy Port Attributes

Use the copy running-configcommand 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] [bpdu-control] [flow-control] -> [intrusion-lock] [vlan1q] [vlan1q-member] [bandwidth-limit]

-> [vlan-stacking] [port-security] [broadcast-storm-control] [mirroring] -> [port-access-authenticator] [queuing-method] [igmp-filtering]

-> [spanning-tree] [mrstp] [port-based-vlan] [mac-authentication] [trtcm] -> [ethernet-oam] [loopguard] [arp-inspection] [dhcp-snooping]

where

copy running-config interface port-channel <port> <port-list>

copy running-config interface port-channel <port> <port-list> [active... ]

=Copies all of the possible attributes from one port to another port or ports.

=Copies only the specified port attributes from one port to another port or ports.

An example is shown next.

Copy all attributes of port 1 to port 2

Copy selected attributes (active, bandwidth limit and STP settings) to ports 5-8

sysname# copy running-config interface port-channel 1 2 sysname# copy running-config interface port-channel 1 5-8 active bandwidth-limit spanning-tree

46.6 Configuration File Maintenance

The following sections show how to manage the configuration files.

 

381

GS-4012F/4024 User’s Guide