EasyManua.ls Logo

Cisco WS-C6506 - Clearing the IP Addresses Associated with Access Numbers

Cisco WS-C6506
1488 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
47-15
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 47 Configuring SNMP
SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1)
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 IP-Addresses/IP-Mask
------------- -------------------------
1 172.20.60.100/255.0.0.0
1.1.1.1/-
2 172.20.60.7/-
2.2.2.2/-
3 2.2.2.2/155.0.0.0
4 1.1.1.1/2.1.2.4
2.2.2.2/-
2.2.2.5/-
Console> (enable)
Clearing the IP Addresses Associated with Access Numbers
To clear the IP addresses that are associated with the access numbers from the CLI, perform this task in
privileged mode:
These examples show how to clear the IP addresses that are associated with the 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)
Task Command
Step 1
Clear the IP addresses that are associated with the
access numbers.
clear snmp access-list access_number
IP_address [[IP_address] ...]
Step 2
Verify the SNMP configuration. show snmp access-list

Table of Contents

Related product manuals