beautypg.com

5 copy port attributes, 6 configuration file maintenance – ZyXEL Communications GS-4024 User Manual

Page 381

background image

Chapter 46 User and Enable Mode Commands

GS-4012F/4024 User’s Guide

381

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

.

46.5 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

copy running-config interface port-channel

-> [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

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

46.6 Configuration File Maintenance

The following sections show how to manage the configuration files.

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>

copy running-config

interface port-channel

=

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

copy running-config

interface port-channel

[active... ]

=

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

sysname# copy running-config interface port-channel 1 2

sysname# copy running-config interface port-channel 1 5-8 active

bandwidth-limit spanning-tree

This manual is related to the following products: