advertisement
[MAC] show mac-address-table P
Show all MAC address switch#show mac-address-table table
show mac-address-table static
P
Show static MAC address table switch#show mac-address-table
static show mac-address-table filter no mac-address-table static hwaddr
[MAC] no mac-address-table filter hwaddr
[MAC] no mac-address-table
P
I
Show filter MAC address table.
Remove an entry of
MAC address table of interface (static)
G
Remove an entry of
MAC address table
(filter) switch#show mac-address-table
filter
switch(config)#interface
fastEthernet 2
switch(config-if)#no mac-address-
table static hwaddr
000012345678
switch(config)#no mac-address-
table filter hwaddr 000012348678
G
Remove dynamic entry of MAC address switch(config)#no mac-address-
table
table
SNMP Commands Set
Commands snmp system-name
[System Name] snmp system-location
[System Location] snmp system-contact
[System Contact] snmp agent-mode
[v1v2c|v3|v1v2cv3] snmp communitystrings [Community] right
[RO/RW]
Level Description
G
Set SNMP agent system name
Example
switch(config)#snmp system-
name l2switch
G
Set SNMP agent system location
G
Set SNMP agent system contact switch(config)#snmp system-
location lab
switch(config)#snmp system-
contact where
G
Select the agent mode switch(config)#snmp agent-mode of SNMP
v1v2cv3
G
Add SNMP community switch(config)#snmp community- string.
strings public right rw
35
snmp-server host
[IP address] community
[Community-string] trap-version
[v1|v2c] snmpv3 context-name
[Context Name ] snmpv3 user
[User Name] group
[Group Name] password
[Authentication
Password] [Privacy
Password] snmpv3 access contextname [Context Name ] group
[Group Name ] securitylevel
[NoAuthNoPriv|AuthNoP riv|AuthPriv] match-rule
[Exact|Prifix] views
[Read View Name]
[Write View Name]
[Notify View Name] snmpv3 mibview view
[View Name] type
G
G
Configure the context
G
Configure the userprofile for
G
Configure SNMP server host information and community string name
SNMPV3 agent.
Privacy password could be empty.
Configure the access table of SNMPV3 agent switch(config)#snmp-server host
192.168.1.50 community public trap-version v1
(remove)
Switch(config)#
no snmp-server host
192.168.1.50
switch(config)#snmpv3 context-
name Test
switch(config)#snmpv3 user
test01 group G1 password
AuthPW PrivPW
switch(config)#snmpv3 access
context-name Test group G1 security-level AuthPriv match-rule Exact views V1 V1 V1
G
Configure the mibview switch(config)#snmpv3 mibview table of SNMPV3 agent
view V1 type Excluded sub-oid
1.3.6.1
36
[Excluded|Included] sub-oid
[OID] show snmp no snmp communitystrings [Community] no snmp-server host
[Host-address] no snmpv3 user
[User Name] no snmpv3 access context-name [Context
Name ] group
[Group Name ] securitylevel
[NoAuthNoPriv|AuthNoP riv|AuthPriv] match-rule
[Exact|Prifix] views
[Read View Name]
[Write View Name]
[Notify View Name] no snmpv3 mibview view
[View Name] type
[Excluded|Included] sub-oid
[OID]
P
Show SNMP configuration
G
Remove the SNMP server host.
G
Remove specified user of SNMPv3 agent.
switch#show snmp
G
Remove the specified community.
switch(config)#no snmp
community-strings public
switch(config)#no snmp-server
192.168.1.50
switch(config)#no snmpv3 user
Test
G
Remove specified access table of
SNMPv3 agent.
G
Remove specified mibview table of
SNMPV3 agent.
switch(config)#no snmpv3 access
context-name Test group G1 security-level AuthPr iv match-rule Exact views V1 V1
V1
switch(config)#no snmpv3
mibview view V1 type Excluded sub-oid 1.3.6.1
37
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 35 System Commands Set
- 38 Port Commands Set
- 40 Trunk Commands Set
- 42 VLAN Commands Set
- 43 Spanning Tree Commands Set
- 46 QOS Commands Set
- 47 IGMP Commands Set
- 47 Mac / Filter Table Commands Set
- 48 SNMP Commands Set
- 51 Port Mirroring Commands Set
- 51 802.1x Commands Set
- 53 TFTP Commands Set
- 54 SystemLog, SMTP and Event Commands Set
- 56 SNTP Commands Set
- 57 X-ring Commands Set
- 59 Web-Based Management
- 59 About Web-based Management
- 59 Preparing for Web Management
- 60 System Login
- 61 System Information
- 61 IP Configuration
- 62 DHCP Server – System configuration
- 64 DHCP Server – Client Entries
- 64 DHCP Server - Port and IP Bindings
- 65 TFTP - Update Firmware
- 66 TFTP – Restore Configuration
- 66 TFTP - Backup Configuration
- 67 System Event Log – Syslog Configuration
- 68 System Event Log - SMTP Configuration
- 69 System Event Log - Event Configuration
- 72 Fault Relay Alarm
- 72 SNTP Configuration
- 75 IP Security
- 76 User Authentication
- 77 Port Statistics
- 78 Port Control
- 79 Port Trunk
- 80 Aggregator setting
- 81 Aggregator Information
- 82 State Activity
- 83 Port Mirroring
- 85 Rate Limiting
- 87 VLAN configuration
- 87 VLAN configuration - Port-based VLAN
- 91 802.1Q VLAN
- 95 Rapid Spanning Tree
- 95 RSTP - System Configuration
- 96 RSTP - Port Configuration
- 98 SNMP Configuration
- 98 System Configuration
- 99 Trap Configuration
- 100 SNMPV3 Configuration
- 103 QoS Configuration
- 103 QoS Policy and Priority Type
- 104 Port-based Priority
- 105 COS Configuration
- 105 TOS Configuration
- 106 IGMP Configuration
- 107 X-Ring
- 110 Security
- 110 802.1X/Radius Configuration
- 113 MAC Address Table
- 116 Factory Default
- 116 Save Configuration
- 117 System Reboot
- 118 Troubleshooting
- 119 Technical Specifications