show ip os-interface
User EXEC mode
Privileged EXEC mode
Global configuration mode
Interface configuration mode
The command displays the following information:
| Output field | Description |
|---|---|
| IPv4 Mask | Shows the mask that is applied to the ingress packet's IP address to determine if it matches the filter. |
| IPv6 Mask | Shows the mask that is applied to the ingress packet's IP address to determine if it matches the filter. |
| IPv4 Val | Shows the expected value expected after the filter is applied for the ingress IP address to match the filter. |
| IPv6 Val | Shows the expected value expected after the filter is applied for the ingress IP address to match the filter. |
| IP Protocol | Shows the expected value of the IP Protocol Number field in the ingress IP header to match the filter. |
| Port | Shows the expected value of the TCP/UDP Port number in the ingress IP header to match the filter. |
| Match-Count | Shows the number of packets which have matched this filter. |
| Interface | Shows the L3 interface for which the information is displayed. |
| VRF | Shows the VRF configuration for the corresponding L3 interface. |
| OS intf | Shows the name of the corresponding interface representation in the OS. |
| Status | Shows the status of the corresponding OS interface. |
| MTU | Shows the MTU setting for the corresponding OS interface. |
| MAC address | Shows the L2 MAC address for the corresponding OS interface. |
| IPv4/IPv6 Address | Shows the list of assigned IPv4/IPv6 addresses for the corresponding OS interface. |
| Port | Shows the L3 interface for which the information is displayed. |
| OS Intf | Shows the name of the corresponding interface representation in the OS. |
| In Packets | Shows the number of packets received on this OS interface. |
| In Bytes | Shows the number of bytes received on this OS interface. |
| Out Packets | Shows the number of packets transmitted on this OS interface. |
| Out Bytes | Shows the number of bytes transmitted on this OS interface. |
The following example shows sample output from the
show ip os-interface filter-info command.
device# show ip os-interface filter-info
IPv4 Mask IPv4 Val IP Protocol Port Match-Count
0.0.0.0 0.0.0.0 6 8686 0
0.0.0.0 0.0.0.0 17 8686 0
0.0.0.0 0.0.0.0 6 8000 0
IPv6 Mask IPv6 Val IP Protocol Port Match-Count
:: :: 17 8686 0
:: :: 6 8686 0
The following example shows output from the
show ip os-interface port-info
command.
device# show ip os-interface port-info
Interface VRF OS intf Status MTU MAC Address IPv4/IPv6 Address
ve 1023 default-vrf tap14337 Up 1500 748e.f8f9.6c80 80.1.123.1/24
80::1/64
ve 101 default-vrf tap14338 Up 1500 748e.f8f9.6c80 101.1.1.1/24
ethernet mgmt1 default-vrf tap49 Down 1500 748e.f8f9.6c80 10.177.120.31/24
loopback 1 default-vrf tap14592 Up 1500 748e.f8f9.6c80 112.1.1.1/24
The following example shows sample output from the
show ip os-interface port-info statistics command.
device# show ip os-interface port-info statistics Port OS Intf In Packets In Bytes Out Packets Out Bytes ve 1023 tap14337 1 64 2 128 ve 101 tap14338 0 0 0 0 ethernet mgmt1 tap49 0 0 0 0 loopback 1 tap14592 0 0 0 0
The following example shows sample output from the
show ip os-interface debug-info command.
device#show ip os-interface debug-info
lo Status: Up MAC: 0000.0000.0000 MTU: 65536
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap14592 Status: Up MAC: 609c.9f51.d014 MTU: 1500
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap49 Status: Up MAC: 609c.9f51.d014 MTU: 1500
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap14337 Status: Up MAC: 609c.9f51.d014 MTU: 1300
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap14338 Status: Up MAC: 609c.9f51.d014 MTU: 1500
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap14688 Status: Up MAC: 609c.9f51.d014 MTU: 1476
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
tap14689 Status: Up MAC: 609c.9f51.d014 MTU: 1500
tx_packets = 0; rx_packets = 0
tx_bytes = 0; rx_bytes = 0
lo <127.0.0.1>
tap49 <10.177.120.39>
tap14337 <10.1.1.1>
tap14337 <100.1.1.2>
tap14338 <11.1.1.1>
tap14688 <80.1.1.1>
lo <::1>
tap14592 <64::1>
tap14592 <fe80::629c:9fff:fe51:d014%tap14592>
tap49 <2::2>
tap49 <fe80::629c:9fff:fe51:d014%tap49>
tap14337 <10::1>
tap14337 <100::1>
tap14337 <fe80::629c:9fff:fe51:d014%tap14337>
tap14338 <11::1>
tap14338 <fe80::629c:9fff:fe51:d014%tap14338>
tap14688 <fe80::629c:9fff:fe51:d014%tap14688>
tap14689 <110::1>
tap14689 <fe80::629c:9fff:fe51:d014%tap14689>
The following example shows sample output from the
show ip os-interface logs command.
device#show ip os-interface logs Start i/max/iter 0/272/1 Feb 14 00:46:44:Info : creating tunnel task Feb 14 00:46:57:The soft limit is 1024 400 Feb 14 00:46:57:The hard limit is 1024 400 Feb 14 00:46:57:The soft limit is 1500 5dc Feb 14 00:46:57:The hard limit is 1500 5dc Feb 14 00:46:57:os_pkt_intx_tx created successfully Feb 14 00:46:58:/usr/bin/ip netns add fi Feb 14 00:46:58:set_task_namespace> ns_name = fi ns_dir_path = /var/run/netns/fi Feb 14 00:46:58:/usr/bin/ip netns exec fi /usr/bin/ip link set dev lo up Feb 14 00:46:58:fd_set_blocking> fd: 39 flags: 2 2048 Feb 14 00:46:59:os_pkt_intf_assign_ip6_address> vrf_index: 0 port_number: 14591 ip_address: 64::1 prefix_len: 64 Feb 14 00:46:59:os_pkt_intf_task_intf_ipv6_addr_add_callback called vrf 0 port loopback 1 ip_address: 64::1 prefix len: 64 mtu: 1500 Feb 14 00:46:59:Unable to get vrf 0 port 14591 from hash Feb 14 00:46:59:Assigned IP 64::1 mask: 64 to port loopback 1 Feb 14 00:46:59:os_pkt_intf_assign_ip6_address> vrf_index: 0 port_number: 48 ip_address: 2::2 prefix_len: 64
| Release version | Command history |
|---|---|
| 08.0.90 | This command was introduced. |