Cisco WS-C2950SX-48-SI Configuration Manual page 378

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Configuring SNMPv1 and SNMPv2c from the CLI
Console> (enable) set snmp access-list 2 172.20.60.7
Access number 2 has been updated with new IP Address 172.20.60.7
Console> (enable) set snmp access-list 2 172.20.60.7 mask 255.255.255.0
Access number 2 has been updated with existing IP Address 172.20.60.7 mask 255.255.255.0
Console> (enable)
This example shows how to display the SNMP configuration:
Console> (enable) show snmp access-list
Access-Number
-------------
1
2
3
4
Console> (enable)
Clearing IP Addresses Associated with Access Numbers
To clear IP addresses that are associated with access numbers from the CLI, perform this task in
privileged mode:
Task
Step 1
Clear IP addresses that are associated with access
numbers.
Step 2
Verify the SNMP configuration.
These examples show how to clear IP addresses that are associated with access numbers:
Console> (enable) clear snmp access-list 101
All IP addresses associated with access-number 101 have been cleared.
Console> (enable)
Console> (enable) clear snmp access-list 2 172.20.60.8
Access number 2 no longer associated with 172.20.60.8
Console> (enable)
Specifying and Displaying an Interface Alias
You can specify and display an interface alias. The length of the alias can be up to 64 characters.
To specify and display an interface alias, perform this task in privileged mode:
Task
Step 1
Specify an interface alias.
Step 2
Display the interface alias.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
24-10
IP-Addresses/IP-Mask
-------------------------
172.20.60.100/255.0.0.0
1.1.1.1/-
172.20.60.7/-
2.2.2.2/-
2.2.2.2/155.0.0.0
1.1.1.1/2.1.2.4
2.2.2.2/-
2.2.2.5/-
Chapter 24
Command
clear snmp access-list access_number
IP_address [[IP_address] ...]
show snmp access-list
Command
set snmp ifalias {ifIndex} [ifAlias]
show snmp ifalias [ifIndex]
Release 8.1
Configuring SNMP
78-15486-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents