
Cisco Systems, Inc.
All contents are Copyright © 1992–2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.
Page 19 of 42
The following example defines an interface-range macro named “servers” that corresponds to ports 3/1 through 3/8.
Monitoring IOS Interfaces
The following commands are commonly used and available in both CatOS and Cisco IOS Software.
IOS# configure terminal
IOS(config)#define interface-range servers fastethernet 3/1 – 8
IOS(config)#int range macro servers
IOS(config-if-range)#
To display the macro:
IOS# show running-config | include define
define interface-range servers fastethernet 3/1 – 8
CatOS> (enable) show port
Port Name Status Vlan Duplex Speed Type
----- --------------------- ----------- ---------- ------- ----- ------------
1/1 connected 1 full 1000 1000BaseSX
1/2 notconnect 1 full 1000 No Connector
11/1 notconnect 1 auto auto 10/100/1000
11/2 notconnect 1 auto auto 10/100/1000
11/2 notconnect 1 auto auto 10/100/1000
11/4 notconnect 1 auto auto 10/100/1000
11/5 notconnect 1 auto auto 10/100/1000
11/6 notconnect 1 auto auto 10/100/1000
11/7 notconnect 1 auto auto 10/100/1000
11/8 notconnect 1 auto auto 10/100/1000
OS#show interface status
Port Name Status Vlan Duplex Speed Type
Gi1/1 notconnect routed full 1000 No GBIC
Gi1/2 notconnect routed full 1000 No GBIC
Gi4/1 connected 1 full 1000 1000BaseSX
Gi4/2 disabled routed full 1000 1000BaseSX
Gi4/3 disabled routed full 1000 No GBIC
Gi4/4 disabled routed full 1000 1000BaseSX
Gi4/5 disabled routed full 1000 No GBIC
Gi4/6 disabled routed full 1000 No GBIC
Gi4/7 disabled routed full 1000 1000BaseSX
Gi4/8 disabled routed full 1000 1000BaseSX
Comentarios a estos manuales