configure
Console#
snmp-server community private
Config(config)#
exit
Config(config)#
show snmp
Console(config)#
Community-String
Community-Access
----------------
----------------
private readWrite 11.1.1.2
Traps are enabled.
Authentication-failure trap is enabled.
Trap-Rec-Address
Trap-Rec-Community
----------------
------------------
System Contact:
System Location:
This completes the initial configuration of the device from a local terminal. The configured parameters enable fur-
ther device configuration from any remote location.
Advanced Configuration
This section provides information about dynamic allocation of IP addresses and security management based on
the authentication, authorization, and accounting (AAA) mechanism, and includes the following topics:
•
Configuring IP Addresses through DHCP
•
Configuring IP Addresses through BOOTP
•
Security Management and Password Configuration
When configuring/receiving IP addresses through DHCP and BOOTP, the configuration received from these serv-
ers includes the IP address, and may include subnet mask and default gateway.
Retrieving an IP Address From a DHCP Server
When using the DHCP protocol to retrieve an IP address, the device acts as a DHCP client. To retrieve an IP
address from a DHCP server, perform the following steps:
1.
Select and connect any port to a DHCP server or to a subnet that has a DHCP server on it, in order to retrieve
the IP address.
2.
Enter the following commands to use the selected port for receiving the IP address. In the following example,
the commands are based on the port type used for configuration.
configure
console#
console(config)#
console(config-if)#
console(config-if)#
console(config)#
The interface receives the IP address automatically.
1.
To verify the IP address, enter the show ip interface command at the system prompt as shown in the following
example.
show ip interface
Console#
Gateway IP
Type
Address
IP address
----------
Version
-------
interface ethernet
g1
ip address dhcp hostname
exit
Activity status
Page 36
type
rw 11.1.1.2
router
<string>
Initial Configuration
Advanced Configuration