display current-configuration 显示当前配置信息
display saved-configuration 显示启动时的配置文件
display interfaces 显示接口状态及配置信息
display local-user 显示路由器当前所有的用户信息
display version 显示系统的软件硬件状态信息,包括当前的IOS版本信息
display clock 显示系统时钟当前时间设置
display sysname 显示系统名称,主机名
display history-command 显示键入过的命令历史列表。
display arp 显示路由器的ARP地址映射对应表
system-view
sysname root
super password level 3 cipher root
local-user root password cipher root service-type exec-administrator
telnet server enbale
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
interface Ethernet0/0
port link-mode route
ip address 202.106.196.10 255.255.255.248
interface Ethernet0/1
port link-mode route
ip address 202.106.196.17 255.255.255.252
ip address 202.106.196.21 255.255.255.252 sub
interface LoopBack0
ip address 192.168.10.1 255.255.255.255
ospf 1
area 0.0.0.10
network 202.106.196.16 0.0.0.3
network 202.106.196.20 0.0.0.3
network 202.106.196.8 0.0.0.7
network 192.168.10.0 0.0.0.255
user-interface vty 0 4
set authentication password cipher baoji
user privilege level 2
authentication-mode scheme
service-type telnet ssh level 3
ip route-static 0.0.0.0 0.0.0.0 202.106.196.26
header login
Input banner text, and quit with the character 'l'.
this is a switch for technology department
switch's ip:*.*.*.*
configure by anson at 21:13 2006-3-29
l
vlan 3
name vlan3
interface Ethernet 0/1
duplex full
speed 100
port link-type trunk
port trunk permit vlan all
interface Ethernet 0/2
duplex full
speed 100
port link-type trunk
port trunk permit vlan all
quit
link-aggregation Ethernet 0/1 to Ethernet 0/2 both
snmp-agent community read ****
snmp-agent sys-info version ***
snmp-agent trap enable
阅读(1330) | 评论(1) | 转发(0) |