Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
93
Book Title
Verifying Trap Managers
Use the
show running
-
config
command to verify that the information was entered correctly by
displaying the running configuration:
Router#
show running-config
Configuring IP Information
This section describes how to assign IP information on the HWICs. The following topics are included:
•
Assigning IP Information to the Switch, page 93
•
Specifying a Domain Name and Configuring the DNS, page 95
Assigning IP Information to the Switch
You can use a BOOTP server to automatically assign IP information to the switch; however, the BOOTP
server must be set up in advance with a database of physical MAC addresses and corresponding IP
addresses, subnet masks, and default gateway addresses. In addition, the switch must be able to access
the BOOTP server through one of its ports. At startup, a switch without an IP address requests the
information from the BOOTP server; the requested information is saved in the switch running the
configuration file. To ensure that the IP information is saved when the switch is restarted, save the
configuration by entering the
write memory
command in privileged EXEC mode.
You can change the information in these fields. The mask identifies the bits that denote the network
number in the IP address. When you use the mask to subnet a network, the mask is then referred to as a
subnet mask. The broadcast address is reserved for sending messages to all hosts. The CPU sends traffic
to an unknown IP address through the default gateway.
Follow these steps to enter the IP information.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface
vlan_id
4.
ip address
ip-address subnet-mask
5.
exit
Step 3
snmp-server host
ip-address
traps
snmp
vlan-membership
Example:
Router(config)# snmp-server host
172.16.128.263 traps1 snmp vlancommunity1
Enters the trap manager IP address, community string, and the
traps to generate.
Step 4
end
Example:
Router(config)#
end
Returns to privileged EXEC mode.
Command
Purpose