Which operational-mode command displays the IP address of all routed VLAN interfaces (RVIs)?
A.
show interfaces terse vlan
B.
show interfaces terse rvi
C.
show interfaces terse ge-*
D.
show vlans terse
Explanation:
To do inter-vlan routing using routed VLAN interfaces (RVI) complete the steps below.Step1:
Create a layer 2 vlan:
root# set vlans <vlan-name> vlan-id <vlan-id (1..4095)>Step 2:
Create a logical layer 3 vlan interface:
root# set interfaces vlan unit <unit# (0..16385)> family inet address <ip address/mask>Step 3:
Link the layer 2 vlan to the layer 3 vlan interface:
root# set vlans <vlan-name> l3-interface vlan.<unit# mentioned above>NOTE: Repeat the above steps for all logical vlans on the switch.
Verify that the logical vlan interface is UP:
root> show interfaces tersevlan.10 up up inet 10.0.0.1/24
NOTE: At least one port (access or trunk) with that vlan assigned to it must be “up” for the layer 3 vlan interface to be up.
Verify routes via logical vlan interfaces:
root> show route10.0.0.0/24 *[Direct/0] 1d 01:16:45
> via vlan.10
10.0.0.1/32 *[Local/0] 1d 01:16:45
Local via vlan.10