[Contents] [Prev] [Next] [Index] [Report an Error]

Monitoring VLAN and S-VLAN Subinterfaces

This section explains how to display bit rate and packet rate statistics for VLAN subinterfaces and use the show commands to display the physical characteristics and the configured settings for VLAN and S-VLAN subinterfaces.

Note: The E120 router and E320 router output for monitor and show commands is identical to output from other E-series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).

Displaying Interface Rate Statistics for VLAN Subinterfaces

You can use the monitor vlan interface command to display bit rate and packet rate statistics over a specified time interval for one or more VLAN subinterfaces configured on the router.

To display interface rate statistics for VLAN subinterfaces:

  1. Log in to the router by using a local console session or a virtual terminal (vty) session (such as a Telnet session).

    While you are using the monitor vlan interface command, you must keep the console or terminal session open and you cannot issue any other commands at the session during this time.

    For information about logging in to the router, see Accessing the CLI in JUNOSe System Basics Configuration Guide.

  2. Access User Exec mode or Privileged Exec mode.

    For information, see Accessing Command Modes in JUNOSe System Basics Configuration Guide.

  3. Specify the interface identifier for each VLAN subinterface that you want to monitor.
    host1#monitor vlan interface fastEthernet 0/0.1 fastEthernet 4/0.1 display-time-of-day

    For information about specifying interface identifiers for VLAN subinterfaces configured over Ethernet interfaces, see VLAN Overview. For information about specifying interface identifiers for VLAN subinterfaces configured over LAG bundles, see Configuring a VLAN Subinterface for a LAG Bundle.

    By default, the router uses a 5-second time interval between polls to calculate bit rates and packet rates for each specified VLAN subinterface. Optionally, you can use the load-interval keyword to specify a nondefault time interval in the range 5–30 seconds.

    You can also include the optional display-time-of-day keyword to show the time of day at which the router gathers statistics for each interval. Displaying the time of day enables you to monitor when a particular VLAN subinterface is underutilized or overutilized.

  4. Review the command output.
    host1#monitor vlan interface fastEthernet 0/0.1 fastEthernet 4/0.1 
    display-time-of-day
                            Seconds
                            between                                     Time
           Interface         polls    Input bps/pps   Output bps/pps   (UTC)
    ----------------------- -------- --------------- --------------- --------
    FastEthernet 0/0.1             0           --/--           --/-- 10:50:07
    FastEthernet 4/0.1             0           --/--           --/-- 10:50:07
    FastEthernet 0/0.1             5      120240/100      120240/100 10:50:12
    FastEthernet 4/0.1             5      120000/100      120000/100 10:50:12
    FastEthernet 0/0.1             5      120240/100      120240/100 10:50:17
    FastEthernet 4/0.1             5      120000/100      120000/100 10:50:17
    
    

    The router polls each VLAN subinterface at the specified load interval (the default 5-second interval in this example) to calculate and display bit rate and packet rate statistics. The first line of output for each interface always displays 0 (zero) for the number of seconds between polls, and dashes (--/--) in the Input bps/pps and Output bps/pps columns. These values indicate that the router initially takes a baseline for each interface against which to measure subsequent statistics. The router continues to display subsequent lines of output for each interface at the specified load interval until you press Ctrl+c to stop the command.

    For a description of each field in the monitor vlan interface command output, see monitor vlan interface.

  5. When you are finished, press Ctrl+c to stop the monitor vlan interface command.
    host1#^C

monitor vlan interface

Using Ethernet show Commands

Use the show commands described in this section to display information about your Ethernet configuration and to monitor Ethernet interfaces.

show interfaces fastEthernet

show interfaces gigabitEthernet

show interfaces tenGigabitEthernet

show vlan subinterface


[Contents] [Prev] [Next] [Index] [Report an Error]