Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Verifying That Layer 3 Subinterfaces Are Working

Purpose

After configuring Layer 3 subinterfaces, verify they are set up properly and transmitting data.

Action

  1. Use the show interfaces command to determine whether you successfully created the subinterfaces and the links are up:
    user@switch> show interfaces interface-name terse
    Interface              Admin Link Proto    Local                 Remote
    ge-0/0/0               up    up
    ge-0/0/0.0             up    up   inet     1.1.1.1/24
    ge-0/0/0.1             up    up   inet     2.1.1.1/24
    ge-0/0/0.2             up    up   inet     3.1.1.1/24
    ge-0/0/0.3             up    up   inet     4.1.1.1/24
    ge-0/0/0.4             up    up   inet     5.1.1.1/24
    ge-0/0/0.32767         up    up
    
  2. Use the ping command from a device on one subnet to an address on another subnet to determine whether packets were transmitted correctly on the subinterface VLANs:
    user@switch> ping ip-address
    PING 1.1.1.1 (1.1.1.1): 56 data bytes
    64 bytes from 1.1.1.1: icmp_seq=0 ttl=64 time=0.157 ms
    64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.238 ms
    64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.255 ms
    64 bytes from 1.1.1.1: icmp_seq=3 ttl=64 time=0.128 ms
    --- 1.1.1.1 ping statistics ---
    4 packets transmitted, 4 packets received, 0% packet loss

Meaning

The output confirms that the subinterfaces are created and the links are up.

Published: 2014-04-25