Example of filtering output information, Configuring user privilege and command levels, Introduction – H3C Technologies H3C S7500E Series Switches User Manual
Page 27
1-16
Example of filtering output information
1) Example of using the begin keyword
# Display the configuration from the line containing “user-interface” to the last line in the current
configuration (the output information depends on the device model and the current configuration).
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode none
user privilege level 3
#
return
2) Example of using the exclude keyword
# Display the non-direct routes in the routing table (the output depends on the device model and the
current configuration).
Routing Tables: Public
Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/24 OSPF 10 2 10.1.1.2 Vlan2
3) Example of using the include keyword
# Display the route entries that contain Vlan in the routing table (the output depends on the device
model and the current configuration).
Routing Tables: Public
Destination/Mask Proto Pre Cost NextHop Interface
192.168.1.0/24 Direct 0 0 192.168.1.42 Vlan999
Configuring User Privilege and Command Levels
Introduction
To avoid unauthorized access, the switch defines user privilege levels and command levels. User
privilege levels correspond to command levels. When a user at a privilege level logs in, the user can
only use commands at that level, and lower levels.
All the commands are categorized into four levels, which are visit, monitor, system, and manage from
low to high, and identified respectively by 0 through 3.
describes the levels of the commands.