locked
Is the description about "Netsh Commands for BranchCache" correct? RRS feed

  • Question

  • Hi,there.

    We can see the following document.

    >Netsh Commands for BranchCache in Windows Server 2008 R2
    > Updated: July 8, 2009
    > Applies To: Windows Server 2008 R2
    http://technet.microsoft.com/en-us/library/dd979561(WS.10).aspx

    In this document there is the description about "netsh branchcache set latency"
    and "netsh branchcache show latency".

    But I could not use these commands.
    "The following command was not found" is occured.

    >Microsoft Windows [Version 6.1.7600]
    >Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    >C:\Windows\system32>netsh
    >netsh>branchCache
    >netsh branchcache>set latency
    >The following command was not found: set latency.
    >netsh branchcache>set

    >The following commands are available:

    >Commands inherited from the netsh context:
    >set file       - Copy the console output to a file.
    >set machine    - Sets the current machine on which to operate.
    >set mode       - Sets the current mode to online or offline.

    >Commands in this context:
    >set cachesize  - Sets the size of the local cache.
    >set key        - Generates a new content information key.
    >set localcache - Sets the location of the local cache.
    >set publicationcache - Sets the location of the local publication cache.
    >set publicationcachesize - Sets the size of the local publication cache.
    >set service    - Sets the status of the BranchCache service.

    >netsh branchcache>show latency
    >The following command was not found: show latency.
    >netsh branchcache>show

    >Commands inherited from the netsh context:

    >show alias     - Lists all defined aliases.
    >show helper    - Lists all the top-level helpers.
    >show mode      - Shows the current mode.

    >Commands in this context:
    >show hostedcache - Displays the location of the hosted cache.
    >show localcache - Displays the status of the local cache.
    >show publicationcache - Displays the status of the local publication cache.
    >show status    - Displays the current status of the BranchCache service.

    Is this fact or such behavior as being defined in the specification?

    But if these commands are unavailable, we can't verify the value of "Latency".
    How could we confirm whether the value is correct?

    Any help would be much, much appreciated.

    Monday, May 17, 2010 10:54 AM

Answers

  • Hi there --

    It's easy to miss the fact when you look at the netsh command page that these commands are in the smb subcontext of the netsh branchcache context -- so to run them you need to type "netsh branchcache smb" before the command you want to run that lives in that subcontext. Here is that section of the command reference:

    smb

    Changes to the smb subcontext of the branchcache context.

    Syntax

    smb

    SMB Subcontext Commands

    The following commands are run at the smb subcontext of the branchcache context.

    set latency

    Specifies the minimum allowed network link latency, in milliseconds, between the branch office and the content source office.

    Syntax

    set latency [latency= ] Number

     

    latency
    Required. Specifies the minimum network link latency between the branch office and the content source office before Server Message Block (SMB) uses BranchCache caching. The value for Number is expressed in milliseconds.

    show latency

    Displays the configured minimum link latency value in milliseconds.

    Syntax

    show latency  

    Tuesday, May 18, 2010 2:20 AM

All replies

  • Hi there --

    It's easy to miss the fact when you look at the netsh command page that these commands are in the smb subcontext of the netsh branchcache context -- so to run them you need to type "netsh branchcache smb" before the command you want to run that lives in that subcontext. Here is that section of the command reference:

    smb

    Changes to the smb subcontext of the branchcache context.

    Syntax

    smb

    SMB Subcontext Commands

    The following commands are run at the smb subcontext of the branchcache context.

    set latency

    Specifies the minimum allowed network link latency, in milliseconds, between the branch office and the content source office.

    Syntax

    set latency [latency= ] Number

     

    latency
    Required. Specifies the minimum network link latency between the branch office and the content source office before Server Message Block (SMB) uses BranchCache caching. The value for Number is expressed in milliseconds.

    show latency

    Displays the configured minimum link latency value in milliseconds.

    Syntax

    show latency  

    Tuesday, May 18, 2010 2:20 AM
  • Hi there ---

    Oh ! I've mistaken.

    If I could reconsider a hierarchical relation of items on Group Policy ---the item of "latency" is in the setting of "BranchCache for network files",
    I would get that "latency" is on the "smb" subcontext---"smb" represents "network files".

    It has questioned though it was my simple mistake and I am very sorry.

     

     

     

    Tuesday, May 18, 2010 4:45 AM