Cisco HWIC-4ESW User Guide - Page 12

Defining a Range Macro, DETAILED STEPS, SUMMARY STEPS - config example

Page 12 highlights

How to Configure EtherSwitch HWICs Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards DETAILED STEPS Command or Action Step 1 enable Step 2 Example: Router> enable configure terminal Purpose Enables privileged EXEC mode. • Enter your password if prompted. Enters global configuration mode. Step 3 Example: Router# configure terminal interface range {macro macro-name | fastethernet interface-id [ - interface-id] | vlan vlan-id} [, fastethernet interface-id [ interface-id] | vlan vlan-id] Example: Router(config)# interface range FastEthernet 0/1/0 - 0/1/3 Select the range of interfaces to be configured. • The space before the dash is required. For example, the command interface range fastethernet 0//0 0//3 is valid; the command interface range fastethernet 0//0-0//3 is not valid. • You can enter one macro or up to five comma-separated ranges. • Comma-separated ranges can include both VLANs and physical interfaces. • You are not required to enter spaces before or after the comma. • The interface range command only supports VLAN interfaces that are configured with the interface vlan command. Defining a Range Macro Use the following task to define an interface range macro. SUMMARY STEPS 1. enable 2. configure terminal 3. define interface-range macro-name {fastethernet interface-id [ - interface-id] | {vlan vlan-id vlan-id} | [, fastethernet interface-id [ - interface-id] 12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
12
DETAILED STEPS
Defining a Range Macro
Use the following task to define an interface range macro.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
define interface-range
macro-name
{
fastethernet
interface-id
[
-
interface-id
] | {
vlan
vlan-id
-
vlan-id
} | [
,
fastethernet
interface-id
[
-
interface-id
]
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
range
{
macro
macro-name
|
fastethernet
interface-id
[
-
interface-id
] |
vlan
vlan-id
} [
,
fastethernet
interface-id
[ -
interface-id
] |
vlan
vlan-id
]
Example:
Router(config)# interface range FastEthernet
0/1/0 - 0/1/3
Select the range of interfaces to be configured.
The space before the dash is required. For example, the
command
interface range fastethernet
0/<
slot
>
/0 -
0/<
slot
>/
3
is valid; the command
interface range
fastethernet
0/<
slot
>
/0-
0/<
slot
>
/3
is not valid.
You can enter one macro or up to five comma-separated
ranges.
Comma-separated ranges can include both VLANs and
physical interfaces.
You are not required to enter spaces before or after the
comma.
The
interface
range
command only supports VLAN
interfaces that are configured with the
interface vlan
command.