ͥåȥϢ
ܼ

ۥ̾

  • >enable
    (config)#configure terminal
    (config)#hostname [HOSTNAME]

ɥ쥹

ɥ쥹

  • >enable
    #configure terminal
    (config)#interface vlan1
    (config-if)#ip address [IP]/[MASK]

ǥեȥȥ

  • >enable
    #configure terminal
    (config)#ip route 0.0.0.0/0 [GATEWAY]

߻ѹ

  • >enable
    #configure terminal
    (config)#clock set HH:MM:SS dd mmm yyyy

  • ܻ֡
    >enable
    #configure terminal
    (config)#clock timezone JST plus 9

NTP

  • >enable
    #configure terminal
    (config)#ntp server [NTP SERVER]

syslog

syslogФؤΥžꡣ

  • (config)# log host [IP]
    (config)# log host [IP] level [LEVEL]
  • (config)# log host 172.16.1.1 
    (config)# log host 172.16.1.1 level informational 

SNMP

SNMPͭ

  • SNMPͭ
    (config)#snmp-server
  • ߥ˥ƥ̾
    (config)#snmp-server community [COMMUNITY] ro 
  • SNMPޥ͡Ͽ
    (config)#snmp-server host [IP] traps version 2c [COMMUNITY]
  • SNMPTrapͭ
    (config)#snmp-server enable trap auth lldp loopprot power-inline 

LLDP

LLDPѤ뤿ˤϡLLDPͭ¾˥ݡñ̤ǤȯоͭɬפȤʤ롣

  • #conf t
    (config)#lldp run
    (config)#interface port1.0.1-1.0.9
    (config-if)#lldp transmit 
    (config-if)#lldp receive 
    (config-if)#lldp tlv-select all

SSH

  • ѥ
    >enable
    #configure terminal
    (config)#username admin privilege 15 password [PASSWORD]
    (config)#username manager password [PASSWORD]
  • SSH
    (config)#crypto key generate hostkey rsa
    Generating host key (1024 bits rsa)
    This may take a while. Please wait ... Done
    
    WARNING: The SSH server must now be enabled with "service ssh"
  • SSHͭ
    (config)#ssh server allow-users admin
    (config)#service ssh ip
    WARNING: SSHv1 host key does not exist. SSH will not be available for version 1.

TELNET

  • telnet̵
    >enable
    #configure terminal
    (config)#no service telnet 

¸

  • >enable
    #copy running-config startup-config

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2024-01-07 () 23:38:21 (54d)