2016/02/23 EdgeMAX シリーズのファームウェア v1.8.0 がリリースされました。
詳細はこちら をご覧下さい。

「コマンド > clear (operational)」の版間の差分

提供:EdgeOS 日本語Wiki [非公式]
ナビゲーションに移動 検索に移動
(ページの作成:「== このページの概要 == 当ページでは、Operational モード clear コマンドの使い方をご紹介します。 == clear コマンドの使い方 == * '...」)
 
編集の要約なし
7行目: 7行目:
** clear '''arp'''
** clear '''arp'''
**: Clear Address Resolution Protocol (ARP) cache
**: Clear Address Resolution Protocol (ARP) cache
*** clear arp '''address <x.x.x.x>''' <ENTER>
*** clear arp '''address [[パラメーター > IPv4 アドレス|{x.x.x.x}]]''' <ENTER>
***: Clear ARP cache for an IPv4 address
***: Clear ARP cache for an IPv4 address
*** clear arp '''interface <interface>''' <ENTER>
*** clear arp '''interface [[パラメーター > interface|{interface}]]''' <ENTER>
***: Clear ARP cache for interface
***: Clear ARP cache for interface
** clear '''connection-tracking''' <ENTER>
** clear '''connection-tracking''' <ENTER>
17行目: 17行目:
** clear '''dhcp'''
** clear '''dhcp'''
**: Clear Dynamic Host Configuration Protocol (DHCP) leases
**: Clear Dynamic Host Configuration Protocol (DHCP) leases
*** clear dhcp '''lease ip <x.x.x.x>''' <ENTER>
*** clear dhcp '''lease ip [[パラメーター > IPv4 アドレス|{x.x.x.x}]]''' <ENTER>
***: Clear the DHCP lease for a specific IP address
***: Clear the DHCP lease for a specific IP address
*** clear dhcp '''leases''' <ENTER>
*** clear dhcp '''leases''' <ENTER>
31行目: 31行目:
** clear '''firewall'''
** clear '''firewall'''
**: Clear firewall statistics
**: Clear firewall statistics
*** clear firewall '''ipv6-modify <firewall-name-ipv6>'''
*** clear firewall '''ipv6-modify [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]]<firewall-name-ipv6>'''
***: Clear firewall statistics for chain
***: Clear firewall statistics for chain
**** clear firewall ipv6-modify <firewall-name-ipv6> '''counters''' <ENTER>
**** clear firewall ipv6-modify [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]] '''counters''' <ENTER>
****: Clear firewall counters
****: Clear firewall counters
**** clear firewall ipv6-modify <firewall-name-ipv6> '''rule''' <ENTER>
**** clear firewall ipv6-modify [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]] '''rule''' <ENTER>
****: Clear firewall statistics for a rule
****: Clear firewall statistics for a rule
*** clear firewall '''ipv6-name <firewall-name-ipv6>'''
*** clear firewall '''ipv6-name [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]]'''
***:
***:
**** clear firewall ipv6-name <firewall-name-ipv6> '''counters''' <ENTER>
**** clear firewall ipv6-name [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]] '''counters''' <ENTER>
****: Clear firewall counters
****: Clear firewall counters
**** clear firewall ipv6-name <firewall-name-ipv6> '''rule''' <ENTER>
**** clear firewall ipv6-name [[パラメーター > IPv6 ファイアウォール名|{firewall-name-ipv6}]] '''rule''' <ENTER>
****: Clear firewall statistics for a rule
****: Clear firewall statistics for a rule
*** clear firewall '''modify <firewall-name>'''
*** clear firewall '''modify [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]]'''
***:  
***:  
**** clear firewall modify <firewall-name> '''counters''' <ENTER>
**** clear firewall modify [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]] '''counters''' <ENTER>
****: Clear firewall counters
****: Clear firewall counters
**** clear firewall modify <firewall-name> '''rule''' <ENTER>
**** clear firewall modify [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]] '''rule''' <ENTER>
****: Clear firewall statistics for a rule
****: Clear firewall statistics for a rule
*** clear firewall '''name <firewall-name>'''  
*** clear firewall '''name [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]]'''  
***:  
***:  
**** clear firewall name <firewall-name> '''counters''' <ENTER>
**** clear firewall name [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]] '''counters''' <ENTER>
****: Clear firewall counters
****: Clear firewall counters
**** clear firewall name <firewall-name> '''rule''' <ENTER>
**** clear firewall name [[パラメーター > IPv4 ファイアウォール名|{firewall-name}]] '''rule''' <ENTER>
****: Clear firewall statistics for a rule
****: Clear firewall statistics for a rule
** clear '''flow-accounting'''
** clear '''flow-accounting'''
65行目: 65行目:
**** clear interfaces bonding '''counters''' <ENTER>
**** clear interfaces bonding '''counters''' <ENTER>
****: Clear all bonding interface counters
****: Clear all bonding interface counters
**** clear interfaces bonding '''<interface-bonding> counters''' <ENTER>
**** clear interfaces bonding '''[[パラメーター > interface|{interface (bonding)}]] counters''' <ENTER>
****: Clear interface counters for a given bonding interface
****: Clear interface counters for a given bonding interface
*** clear interfaces '''bridge'''
*** clear interfaces '''bridge'''
71行目: 71行目:
**** clear interfaces bridge '''counters''' <ENTER>
**** clear interfaces bridge '''counters''' <ENTER>
****: Clear all bridge interface counters
****: Clear all bridge interface counters
**** clear interfaces bridge '''<interface-bridge> counters''' <ENTER>
**** clear interfaces bridge '''[[パラメーター > interface|{interface (bridge)}]] counters''' <ENTER>
****: Clear interface counters for a given bridge interface
****: Clear interface counters for a given bridge interface
*** clear interfaces '''connection <connection>''' <ENTER>
*** clear interfaces '''connection [[パラメーター > connection|{connection}]]''' <ENTER>
***: Reset datalink layer connection to peer
***: Reset datalink layer connection to peer
*** clear interfaces '''counters''' <ENTER>
*** clear interfaces '''counters''' <ENTER>
81行目: 81行目:
**** clear interfaces ethernet '''counters''' <ENTER>
**** clear interfaces ethernet '''counters''' <ENTER>
****: Clear all ethernet interface counters
****: Clear all ethernet interface counters
**** clear interfaces ethernet '''<interface-ethernet> counters''' <ENTER>
**** clear interfaces ethernet '''[[パラメーター > interface|{interface (ethernet)}]] counters''' <ENTER>
****: Clear interface counters for a given ethernet interface
****: Clear interface counters for a given ethernet interface
*** clear interfaces '''loopback'''
*** clear interfaces '''loopback'''
87行目: 87行目:
**** clear interfaces loopback '''counters''' <ENTER>
**** clear interfaces loopback '''counters''' <ENTER>
****: Clear all loopback interface counters
****: Clear all loopback interface counters
**** clear interfaces loopback '''<interface-loopback> counters''' <ENTER>
**** clear interfaces loopback '''[[パラメーター > interface|{interface (loopback)}]] counters''' <ENTER>
****: Clear interface counters for a given loopback interface
****: Clear interface counters for a given loopback interface
*** clear interfaces '''pseudo-ethernet'''
*** clear interfaces '''pseudo-ethernet'''
93行目: 93行目:
**** clear interfaces pseudo-ethernet '''counters''' <ENTER>
**** clear interfaces pseudo-ethernet '''counters''' <ENTER>
****: Clear all pseudo-ethernet interface counters
****: Clear all pseudo-ethernet interface counters
**** clear interfaces pseudo-ethernet '''<interface-pseudo-ethernet> counters''' <ENTER>
**** clear interfaces pseudo-ethernet '''[[パラメーター > interface|{interface (pseudo ethernet)}]] counters''' <ENTER>
****: Clear interface counters for a given pseudo-ethernet interface
****: Clear interface counters for a given pseudo-ethernet interface
*** clear interfaces '''switch'''
*** clear interfaces '''switch'''
99行目: 99行目:
**** clear interfaces switch '''counters''' <ENTER>
**** clear interfaces switch '''counters''' <ENTER>
****: Clear all switch interface counters
****: Clear all switch interface counters
**** clear interfaces switch '''<interface-switch> counters''' <ENTER>
**** clear interfaces switch '''[[パラメーター > interface|{interface (switch)}]] counters''' <ENTER>
****: Clear interface counters for a given switch interface
****: Clear interface counters for a given switch interface
*** clear interfaces '''tunnel'''
*** clear interfaces '''tunnel'''
105行目: 105行目:
**** clear interfaces tunnel '''counters''' <ENTER>
**** clear interfaces tunnel '''counters''' <ENTER>
****: Clear all tunnel interface counters
****: Clear all tunnel interface counters
**** clear interfaces tunnel '''<interface-tunnel> counters''' <ENTER>
**** clear interfaces tunnel '''[[パラメーター > interface|{interface (tunnel)}]] counters''' <ENTER>
****: Clear interface counters for a given tunnel interface
****: Clear interface counters for a given tunnel interface
*** clear interfaces '''vti'''
*** clear interfaces '''vti'''
111行目: 111行目:
**** clear interfaces vti '''counters''' <ENTER>
**** clear interfaces vti '''counters''' <ENTER>
****: Clear all vti interface counters
****: Clear all vti interface counters
**** clear interfaces vti '''<interface-vti> counters''' <ENTER>
**** clear interfaces vti '''[[パラメーター > interface|{interface (vti)}]] counters''' <ENTER>
****: Clear interface counters for a given vti interface
****: Clear interface counters for a given vti interface
** clear '''ip'''
** clear '''ip'''
117行目: 117行目:
*** clear ip '''bgp''' (未)
*** clear ip '''bgp''' (未)
***: Clear Border Gateway Protocol (BGP) statistics or status
***: Clear Border Gateway Protocol (BGP) statistics or status
**** clear ip bgp '''<A.B.C.D>'''
**** clear ip bgp ''' [[パラメーター > IPv4 アドレス|{A.B.C.D}]]'''
****: Clear BGP neighbor IP address
****: Clear BGP neighbor IP address
**** clear ip bgp '''<X:X::X:X>'''
**** clear ip bgp ''' [[パラメーター > IPv6 アドレス|{X:X::X:X}]]'''
****:  
****:  
**** clear ip bgp '''all'''
**** clear ip bgp '''all'''
140行目: 140行目:
*** clear nat counters <ENTER>
*** clear nat counters <ENTER>
***: ( Clear counters for all NAT rules )
***: ( Clear counters for all NAT rules )
*** clear nat counters '''rule <nat-rule>''' <ENTER>
*** clear nat counters '''rule {nat-rule}''' <ENTER>
***: Clear counters for a specific NAT rule
***: Clear counters for a specific NAT rule
** clear '''pppoe-server'''
** clear '''pppoe-server'''
**: Clear PPPoE server information
**: Clear PPPoE server information
*** clear pppoe-server '''interface <interface>''' <ENTER>
*** clear pppoe-server '''interface [[パラメーター > interface|{interface}]]''' <ENTER>
***: Terminate a PPPoE server interface
***: Terminate a PPPoE server interface
*** clear pppoe-server '''user <user>''' <ENTER>
*** clear pppoe-server '''user [[パラメーター > ユーザー名|{user}]]''' <ENTER>
***: Terminate specified user's current PPPoE session(s)
***: Terminate specified user's current PPPoE session(s)
** clear '''upnp2 rules''' <ENTER>
** clear '''upnp2 rules''' <ENTER>
153行目: 153行目:
** clear '''vpn'''
** clear '''vpn'''
**: Clear Virtual Private Network (VPN) information
**: Clear Virtual Private Network (VPN) information
*** clear vpn '''ipsec-peer <ipsec-peer>'''
*** clear vpn '''ipsec-peer [[パラメーター > IPSec peer|{ipsec-peer}]]'''
***: Clear all tunnels for given peer
***: Clear all tunnels for given peer
**** clear vpn ipsec-peer <ipsec-peer> <ENTER>
**** clear vpn ipsec-peer [[パラメーター > IPSec peer|{ipsec-peer}]] <ENTER>
****: Clear all tunnels for given peer
****: Clear all tunnels for given peer
**** clear vpn ipsec-peer <ipsec-peer> '''tunnel <tunnel>''' <ENTER>
**** clear vpn ipsec-peer [[パラメーター > IPSec peer|{ipsec-peer}]] '''tunnel [[パラメーター > IPSec tunnel|{tunnel}]]''' <ENTER>
****: Clear a specific tunnel for given peer
****: Clear a specific tunnel for given peer
*** clear vpn '''remote-access'''
*** clear vpn '''remote-access'''
***: Clear remote access VPN information
***: Clear remote access VPN information
**** clear vpn remote-access '''interface <interface>''' <ENTER>
**** clear vpn remote-access '''interface [[パラメーター > interface|{interface}]]''' <ENTER>
****: Terminate a remote access VPN interface
****: Terminate a remote access VPN interface
**** clear vpn remote-access '''user <user>''' <ENTER>
**** clear vpn remote-access '''user [[パラメーター > ユーザー名|{user}]]''' <ENTER>
****: Terminate specified user's current remote access VPN session(s)
****: Terminate specified user's current remote access VPN session(s)
** clear '''vrrp master interface <interface> group <group>''' <ENTER>
** clear '''vrrp master interface [[パラメーター > interface|{interface}]] group {group]''' <ENTER>
**: clear VRRP master for specified interface and group
**: clear VRRP master for specified interface and group
<!-- **: Clear VRRP -->
<!-- **: Clear VRRP -->
171行目: 171行目:


== 関連項目 ==
== 関連項目 ==
* [[パラメーター > connection]]
* [[パラメーター > interface]]
* [[パラメーター > IPSec peer]]
* [[パラメーター > IPSec tunnel]]
* [[パラメーター > IPv4 アドレス]]
* [[パラメーター > IPv6 アドレス]]
* [[パラメーター > IPv4 ファイアウォール名]]
* [[パラメーター > IPv6 ファイアウォール名]]
* [[パラメーター > ユーザー名]]


<!---
== 外部リンク ==
== 外部リンク ==
--->


<!---
[[Category:コマンド]]
'''
[[Category:作成中]]
--->

2015年9月26日 (土) 17:41時点における版

このページの概要

当ページでは、Operational モード clear コマンドの使い方をご紹介します。

clear コマンドの使い方

  • clear
    Clear system information
    • clear arp
      Clear Address Resolution Protocol (ARP) cache
      • clear arp address {x.x.x.x} <ENTER>
        Clear ARP cache for an IPv4 address
      • clear arp interface {interface} <ENTER>
        Clear ARP cache for interface
    • clear connection-tracking <ENTER>
      Clear all currently tracked connections
    • clear console <ENTER>
      Clear screen
    • clear dhcp
      Clear Dynamic Host Configuration Protocol (DHCP) leases
      • clear dhcp lease ip {x.x.x.x} <ENTER>
        Clear the DHCP lease for a specific IP address
      • clear dhcp leases <ENTER>
        Clear all DHCP leases
    • clear dns
      • clear dns forwarding
        • clear dns forwarding all <ENTER>
          Clear DNS forwarding cache and counters
        • clear dns forwarding cache <ENTER>
          Clear DNS forwarding cache
    • clear firewall
      Clear firewall statistics
    • clear flow-accounting
      • clear flow-accounting counters <ENTER>
        Clear flow accounting statistics
    • clear interfaces
      Clear interface information
      • clear interfaces bonding
        Clear bonding interface information
        • clear interfaces bonding counters <ENTER>
          Clear all bonding interface counters
        • clear interfaces bonding {interface (bonding)} counters <ENTER>
          Clear interface counters for a given bonding interface
      • clear interfaces bridge
        Clear bridge interface information
        • clear interfaces bridge counters <ENTER>
          Clear all bridge interface counters
        • clear interfaces bridge {interface (bridge)} counters <ENTER>
          Clear interface counters for a given bridge interface
      • clear interfaces connection {connection} <ENTER>
        Reset datalink layer connection to peer
      • clear interfaces counters <ENTER>
        Clear interface counters for all interfaces
      • clear interfaces ethernet
        Clear ethernet interface information
        • clear interfaces ethernet counters <ENTER>
          Clear all ethernet interface counters
        • clear interfaces ethernet {interface (ethernet)} counters <ENTER>
          Clear interface counters for a given ethernet interface
      • clear interfaces loopback
        Clear loopback interface information
        • clear interfaces loopback counters <ENTER>
          Clear all loopback interface counters
        • clear interfaces loopback {interface (loopback)} counters <ENTER>
          Clear interface counters for a given loopback interface
      • clear interfaces pseudo-ethernet
        Clear pseudo-ethernet interface information
        • clear interfaces pseudo-ethernet counters <ENTER>
          Clear all pseudo-ethernet interface counters
        • clear interfaces pseudo-ethernet {interface (pseudo ethernet)} counters <ENTER>
          Clear interface counters for a given pseudo-ethernet interface
      • clear interfaces switch
        Clear switch interface information
        • clear interfaces switch counters <ENTER>
          Clear all switch interface counters
        • clear interfaces switch {interface (switch)} counters <ENTER>
          Clear interface counters for a given switch interface
      • clear interfaces tunnel
        Clear tunnel interface information
        • clear interfaces tunnel counters <ENTER>
          Clear all tunnel interface counters
        • clear interfaces tunnel {interface (tunnel)} counters <ENTER>
          Clear interface counters for a given tunnel interface
      • clear interfaces vti
        Clear vti interface information
        • clear interfaces vti counters <ENTER>
          Clear all vti interface counters
        • clear interfaces vti {interface (vti)} counters <ENTER>
          Clear interface counters for a given vti interface
    • clear ip
      Clear Internet Protocol (IP) statistics or status
      • clear ip bgp (未)
        Clear Border Gateway Protocol (BGP) statistics or status
        • clear ip bgp {A.B.C.D}
          Clear BGP neighbor IP address
        • clear ip bgp {X:X::X:X}
        • clear ip bgp all
          Clear all BGP peering sessions
        • clear ip bgp dampening
          Clear BGP route flap dampening information
        • clear ip bgp external
          Clear all BGP external peers
        • clear ip bgp peer-group
          Clear all members of peer-group
      • clear ip prefix-list (未)
        Clear prefix-list statistics or status
      • clear ip route (未)
        Clear IP route
    • clear ipv6 (未)
      Clear Internet Protocol (IPv6) statistics or status
    • clear nat counters
      Clear NAT counters
      • clear nat counters <ENTER>
        ( Clear counters for all NAT rules )
      • clear nat counters rule {nat-rule} <ENTER>
        Clear counters for a specific NAT rule
    • clear pppoe-server
      Clear PPPoE server information
      • clear pppoe-server interface {interface} <ENTER>
        Terminate a PPPoE server interface
      • clear pppoe-server user {user} <ENTER>
        Terminate specified user's current PPPoE session(s)
    • clear upnp2 rules <ENTER>
      Clear UPnP firewall and NAT port forwards
    • clear vpn
      Clear Virtual Private Network (VPN) information
      • clear vpn ipsec-peer {ipsec-peer}
        Clear all tunnels for given peer
        • clear vpn ipsec-peer {ipsec-peer} <ENTER>
          Clear all tunnels for given peer
        • clear vpn ipsec-peer {ipsec-peer} tunnel {tunnel} <ENTER>
          Clear a specific tunnel for given peer
      • clear vpn remote-access
        Clear remote access VPN information
        • clear vpn remote-access interface {interface} <ENTER>
          Terminate a remote access VPN interface
        • clear vpn remote-access user {user} <ENTER>
          Terminate specified user's current remote access VPN session(s)
    • clear vrrp master interface {interface} group {group] <ENTER>
      clear VRRP master for specified interface and group


関連項目