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

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

提供:EdgeOS 日本語Wiki [非公式]
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
5行目: 5行目:


=== index ===
=== index ===
* '''clear'''
*: Clear system information
* '''clear'''
* '''clear'''
*: Clear system information
*: Clear system information
178行目: 175行目:
Clear Border Gateway Protocol (BGP) statistics or status
Clear Border Gateway Protocol (BGP) statistics or status


* clear ip bgp ''' [[パラメーター > IPv4 アドレス|{A.B.C.D}]]'''
* clear ip bgp ''' {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]}'''
*: Clear BGP neighbor IP address
** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} <ENTER>
* clear ip bgp ''' [[パラメーター > IPv6 アドレス|{X:X::X:X}]]'''
**: Clear BGP neighbor IP address
***:  
** clear ip bgp {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} '''in'''
*** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} in <ENTER>
***: Clear via soft reconfig inbound update
*** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} in '''prefix-filter''' <ENTER>
***: Clear out the existing ORF prefix-list
** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} '''out''' <ENTER>
**: Clear via soft reconfig of outbound update
** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} '''rsclient''' <ENTER>
**: Clear via soft reconfig for rsclient RIB
** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} '''soft'''
*** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} soft <ENTER>
***: Clear via soft reconfig
*** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} soft '''in'''
***: Clear via soft reconfig inbound update
*** clear ip bgp  {[[パラメーター > IPv4 アドレス|A.B.C.D]]|[[パラメーター > IPv6 アドレス|X:X::X:X]]} soft '''out'''
***: Clear via soft reconfig outbound update
* clear ip bgp '''all'''
* clear ip bgp '''all'''
** clear ip bgp all <ENTER>
** clear ip bgp all <ENTER>
249行目: 261行目:
**: Flush the kernel route cache for a given route
**: Flush the kernel route cache for a given route
** clear ip route cache '''|'''
** clear ip route cache '''|'''
** clear ip route cache | '''count''' <ENTER>
*** clear ip route cache | '''count''' <ENTER>
**: Count the number of lines in the output
***: Count the number of lines in the output
** clear ip route cache | '''match [[パラメーター > pattern|{pattern}]]''' <ENTER>
*** clear ip route cache | '''match [[パラメーター > pattern|{pattern}]]''' <ENTER>
**: Only output lines that match specified pattern
***: Only output lines that match specified pattern
** clear ip route cache | '''no-match [[パラメーター > pattern|{pattern}]]''' <ENTER>
*** clear ip route cache | '''no-match [[パラメーター > pattern|{pattern}]]''' <ENTER>
**: Only output lines that do not match specified pattern
***: Only output lines that do not match specified pattern
** clear ip route cache | '''more''' <ENTER>
*** clear ip route cache | '''more''' <ENTER>
**: Paginate the output
***: Paginate the output
** clear ip route cache | '''no-more''' <ENTER>
*** clear ip route cache | '''no-more''' <ENTER>
**: Do not paginate the output
***: Do not paginate the output


=== clear ipv6 ===
=== clear ipv6 ===
267行目: 279行目:
*** clear ipv6 neighbors '''address [[パラメーター > IPv6 アドレス|{h:h:h:h:h:h:h:h}]]''' <ENTER>
*** clear ipv6 neighbors '''address [[パラメーター > IPv6 アドレス|{h:h:h:h:h:h:h:h}]]''' <ENTER>
***: Clear ND cache for an IPv6 address
***: Clear ND cache for an IPv6 address
*** clear ipv6 neighbors '''interface {interface}''' <ENTER>
*** clear ipv6 neighbors '''interface [[パラメーター > interface|{interface}]]''' <ENTER>
***: Clear IPv6 ND cache for interface
***: Clear IPv6 ND cache for interface
** clear ipv6 '''prefix-list'''
** clear ipv6 '''prefix-list'''
366行目: 378行目:


[[Category:コマンド]]
[[Category:コマンド]]
[[Category:作成中]]

2015年9月27日 (日) 10:35時点における版

このページの概要

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

clear コマンドの使い方

index


clear arp

  • 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

  • clear connection-tracking <ENTER>
    Clear all currently tracked connections

clear console

  • clear console <ENTER>
    Clear screen

clear dhcp

  • 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 variables
    • clear dns forwarding all <ENTER>
      Clear DNS forwarding cache and counters
    • clear dns forwarding cache <ENTER>
      Clear DNS forwarding cache

clear firewall

clear flow-accounting

  • clear flow-accounting counters <ENTER>
    Clear flow accounting statistics

clear interfaces

  • 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

index (clear ip)

  • clear ip
    Clear Internet Protocol (IP) statistics or status
    • clear ip bgp
      Clear Border Gateway Protocol (BGP) statistics or status
    • clear ip prefix-list
      Clear prefix-list statistics or status
    • clear ip route cache
      Clear IP route

clear ip bgp

Clear Border Gateway Protocol (BGP) statistics or status

  • clear ip bgp {A.B.C.D|X:X::X:X}
  • clear ip bgp all
    • clear ip bgp all <ENTER>
      Clear all BGP peering sessions
    • clear ip bgp all soft
      • clear ip bgp all soft <ENTER>
        Clear via soft reconfig
      • clear ip bgp all soft in <ENTER>
        Clear via soft reconfig of inbound update
      • clear ip bgp all soft out <ENTER>
        Clear via soft reconfig of outbound update
  • clear ip bgp dampening
    • clear ip bgp dampening <ENTER>
      Clear BGP route flap dampening information
    • clear ip bgp dampening {x.x.x.x|x.x.x.x/x} {x.x.x.x} <ENTER>
      Clear BGP route flap dampening information for specified IP address
  • clear ip bgp external
    • clear ip bgp external <ENTER>
      Clear all BGP external peers
    • clear ip bgp external in
      • clear ip bgp external in <ENTER>
        Clear BGP external peers via soft reconfig of inbound update
        • clear ip bgp external in prefix-filter <ENTER>
          Clear out prefix-list ORF and do inbound soft reconfig
    • clear ip bgp external ipv4 unicast
      Clear BGP external peer inforamtion for specified address
      • clear ip bgp external ipv4 unicast in
        • clear ip bgp external ipv4 unicast in <ENTER>
          Clear BGP external peer inforamtion via soft reconfig of inbound update
        • clear ip bgp external ipv4 unicast in prefix-filter <ENTER>
          Clear out prefix-list ORF and do inbound soft reconfig
      • clear ip bgp external ipv4 unicast out <ENTER>
        Clear BGP external peer information via soft reconfig of outbound update
      • clear ip bgp external ipv4 unicast soft
        • clear ip bgp external ipv4 unicast soft <ENTER>
          Clear BGP external peer information via soft reconfig
          • clear ip bgp external ipv4 unicast soft in <ENTER>
            Clear BGP external peer information via soft reconfig of inbound update
          • clear ip bgp external ipv4 unicast soft out <ENTER>
            Clear BGP external peer information via soft reconfig of outbound update
    • clear ip bgp external out <ENTER>
      Clear BGP external peers via soft reconfig of outbound update
    • clear ip bgp external soft
      Clear BGP external peer information via soft reconfig
      • clear ip bgp external soft in <ENTER>
        Clear BGP external peer information via soft reconfig of inbound update
      • clear ip bgp external soft out <ENTER>
        Clear BGP external peer information via soft reconfig of outbound update

clear ip prefix-list

  • clear ip prefix-list
    • clear ip prefix-list <ENTER>
      Clear prefix-list statistics or status
    • clear ip prefix-list {WORD}
      • clear ip prefix-list {WORD} <ENTER>
      • clear ip prefix-list {WORD} {x.x.x.x/x} <ENTER>
        Clear prefix-list statistics or status for given word|network

clear ip route

  • clear ip route cache
    • clear ip route cache <ENTER>
      Clear IP route
    • clear ip route cache {x.x.x.x|x.x.x.x/x} <ENTER>
      Flush the kernel route cache for a given route
    • clear ip route cache |
      • clear ip route cache | count <ENTER>
        Count the number of lines in the output
      • clear ip route cache | match {pattern} <ENTER>
        Only output lines that match specified pattern
      • clear ip route cache | no-match {pattern} <ENTER>
        Only output lines that do not match specified pattern
      • clear ip route cache | more <ENTER>
        Paginate the output
      • clear ip route cache | no-more <ENTER>
        Do not paginate the output

clear ipv6

  • clear ipv6
    Clear Internet Protocol (IPv6) statistics or status
    • clear ipv6 neighbors
      Clear IPv6 Neighbor Discovery (ND) cache
      • clear ipv6 neighbors address {h:h:h:h:h:h:h:h} <ENTER>
        Clear ND cache for an IPv6 address
      • clear ipv6 neighbors interface {interface} <ENTER>
        Clear IPv6 ND cache for interface
    • clear ipv6 prefix-list
      • clear ipv6 prefix-list <ENTER>
        Clear prefix-list statistics or status
      • clear ipv6 prefix-list {WORD}
        • clear ipv6 prefix-list {WORD} <ENTER>
          Clear prefix-list statistics or status for specified word
        • clear ipv6 prefix-list {WORD} {h:h:h:h:h:h:h:h/x} <ENTER>
          Clear prefix-list statistics or status for given word|network
    • clear ipv6 route cache
      Flush the kernel IPv6 route cache
      • clear ipv6 route cache {h:h:h:h:h:h:h:h|h:h:h:h:h:h:h:h/x} <ENTER>
        Flush the kernel IPv6 route cache for a given route
      • clear ipv6 route cache |
        • clear ipv6 route cache | count <ENTER>
          Count the number of lines in the output
        • clear ipv6 route cache | match {pattern} <ENTER>
          Only output lines that match specified pattern
        • clear ipv6 route cache | no-match {pattern} <ENTER>
          Only output lines that do not match specified pattern
        • clear ipv6 route cache | more <ENTER>
          Paginate the output
        • clear ipv6 route cache | no-more <ENTER>
          Do not paginate the output


clear nat

  • 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
    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

  • clear upnp2 rules <ENTER>
    Clear UPnP firewall and NAT port forwards

clear vpn

  • 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

  • clear vrrp master interface {interface} group {group] <ENTER>
    clear VRRP master for specified interface and group


関連項目