Cisco WS-X6248-RJ-45 - Catalyst 6000 Expansion Module Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 17
Cisco Systems, Inc.
All contents are Copyright © 1992–2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.
Page 18 of 42
Refer to the Cisco IOS Configuration Guide for details on the different trunk negotiation states.
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/layer2.htm
Note:
The recommended configuration for a dynamic trunk port would be desirable/auto between
neighboring devices.
The switchport trunk native vlan <vlan-id> command sets the native VLAN for an IEEE 802.1q trunk port. The
allowed parameter can be used to control the VLANs that are forwarded out that interface. In addition, the pruning
parameter can be used to control VTP pruning on the link. VLAN1 cannot be pruned, either in CatOS or Cisco IOS
Software. Both the Cisco IOS Software and CatOS allow VLAN1 to be disabled from carrying traffic on trunks.
If a no switchport command is offered, all the commands related to that switchport will no longer show in
configuration and the interface type will revert to a routed interface. However, if the switchport is re-enabled, then
all the previous switchport-related commands will still be reinstated.
Cisco IOS Interface Configuration—Range Command
All interface types—whether routed interfaces, SVIs, or switchports—can be configured in groups. This means you
can apply configuration parameters to a group of ports at once. The Cisco IOS range command allows you to
configure multiple interfaces at the same time by specifying interface range and then the range of ports. Without this
feature,youmight need to individuallyconfigurehundredsof ports in afullypopulatedswitch. The ports intherange
can be discontinuous across the same or different line cards. The following is a sample range configuration:
Note:
The space before the dash is required, up to five comma-separated ranges are supported, and spaces are not
required before or after the comma.
The range command works for Fast Ethernet, Gigabit Ethernet, and 10 Gigabit Ethernet interfaces as seen above. It
also works with VLAN interfaces if the SVIs are already created:
Interface Range Macros can be used to identify frequently grouped ports. A specific range of ports is defined in a
macro and given a name. Once created, the macro name can be used to refer to the port grouping rather than
explicitly typing in each port. This is useful when configuration changes frequently apply to the same group of ports
(for example, all 10/100 server ports). This feature is not available in CatOS.
IOS(config)#int range fa3/1 – 48,gi1/1 – 2
IOS(config-if)#switchport
IOS(config-if)#switchport mode access
IOS(config-if)#switchport access vlan 2
IOS(config-if)#spanning-tree portfast
IOS(config-if)#no shut
IOS(config)#int range vlan2 - 4
IOS(config-if)# description Floor 1 access VLANs
Vista de pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 41 42

Comentarios a estos manuales

Sin comentarios