MES53xx, MES33xx, MES23xx Ethernet Switch Series
126
no tacacs-server key
Set the default value.
tacacs-server timeout
timeout
timeout: (1..30)/5
seconds
Specify the default server response interval.
no tacacs-server timeout
Set the default value.
tacacs-server host
sourceinterface
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
| loopback
loopback_id
| vlan
vlan id
}
vlan_id: (1..4094);
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
loopback_id (1..64);
group: (1..16)
Specify a device interface whose IP address will be used as
the default source address for message exchange with the
TACACS server.
no tacacs-server host
sourceinterface
Delete a device interface.
EXEC mode commands
Command line prompt in the EXEC mode is as follows:
console#
Table 5.123. EXEC mode commands
Command
Value/Default value
Action
show tacacs [
ip_address
|
hostname
]
host_name: (1..158)
characters
Show server configuration and statistics.
-
ip_address
- IP address of the TACACS server;
-
hostname
- server name.
7.4.5
Simple network management protocol (SNMP)
SNMP provides means for monitoring and management of network devices and applications
through the control information exchange between agents located on the network devices and managers
located on management stations. SNMP defines a network as a collection of network management
stations and network elements (hosts, gateways, routers, terminal servers) that create management
communications between network management stations and network agents.
The switches can use SNMP for remote control and monitoring of the device. The device supports
SNMPv1, SNMPv2, SNMPv3.
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.124. Global configuration mode commands
Command
Value/Default value
Action
snmp-server server
SNMP support is enabled
by default.
Enable SNMP support.
no snmp-server server
Disable SNMP support.
snmp-server community
community
[ro | rw | su]
[
ipv4_address
|
ipv6_address
|
ipv6z_address
] [mask
mask
|
prefix
prefix_length
]] [view
view_name
]
community: (1..20)
characters
ipv4_address format:
A.B.C.D
ipv6_address format:
X:X:X:X::X;
ipv6z_address format:
X:X:X:X::X%<ID>;
mask: -/255.255.255.255;
prefix-length: (1..32)/32;
view_name: (1..30)
characters;
Specify the community string value for SNMP data exchange.
-
community
- community string (password) for access via
SNMP;
-
encrypted
– set the community string in the encrypted
form;-
ro
- read-only access;
-
rw
- read-write access;
-
su
- administrator access;
-
view_name
- specify the name for the SNMP view rule; the
rule should be previously defined by the
snmp-server view
command. Specify the objects available to the community.
-
ipv4
_address,
ipv6_address
,
ipv6z_address –
IP-address of
the device;
snmp-server
communitygroup
community
group_name
[
ipv4_address
|
ipv6_address
|
ipv6z_address
]
[mask
mask
| prefix
prefix_length
]