Use the show interface command to display information about one or more VLAN or loopback interfaces configured on the router.
The following is an example S- and K-Series output:
System(rw-config)->show interface vlan.0.1 vlan.0.1 is Administratively up, Operationally up IP Address 10.21.130.59 Mask 255.255.128.0 MAC-Address is: 0011.880c.9f78 The name of this device is vlan.0.1 MTU is 1500 bytes The bandwidth is 10000 Mb/s Encapsulation ARPA, Loopback not set ARP type: ARPA, ARP Timeout: 3600 seconds Policy Routing disabled
The following is an example 7100-Series output:
System(rw-config)->show interface vlan.0.1 vlan.0.1 is Operationally down, Administratively down MAC-Address is: 00-11-88-fe-79-68 The name of this device is vlan.0.1 ARP/ND cache limit is 12288 MTU is 1500 bytes Encapsulation ARPA, Loopback not set IP Policy Routing not implemented
Use the show ip interface command to display information for interfaces configured for IP.
The following is an example S- and K-Series output:
System(rw-config)->show ip interface vlan.0.1 vlan.0.1 is Operationally up, Administratively up IP Address 10.21.130.59 Mask 255.255.128.0 IP forwarding enabled Frame Type ARPA MAC-Address 00.11.88.0c.9f.78 Incoming IPv4 Access list is Outgoing IPv4 Access list is Directed-broadcast is disabled MTU is 1500 bytes ARP Timeout is 3600 seconds ARP Retransmit Time is 1 seconds ARP Stale-Entry-Timeout is 1200 seconds Proxy ARP is disabled Gratuitous ARP updating is set to update on ARP replies and ARP requests Gratuitous ARP learning is not set ICMP Re-Directs are enabled ICMP Echo Replies are always sent ICMP Mask Replies are always sent NAT INSIDE: Not Set NAT OUTSIDE: Not Set TWCB Redirect Outbound WebCache: Not Set Policy routing disabled System(rw-config)-> System(rw-config)->show ip interface vlan.0.1 vlan.0.1 is Operationally down, Administratively down IP forwarding disabled Frame Type ARPA Incoming IPv4 Access list is not set Outgoing IPv4 Access list is not set MTU is 1500 bytes ARP Timeout is 3600 seconds ARP Retransmit Time is 1 seconds ARP Stale-Entry-Timeout is 1200 seconds Proxy ARP is disabled Gratuitous ARP updating is set to update on ARP replies and ARP requests Gratuitous ARP learning is not set Multicast ARP learning is disabled ICMP Mask Replies are always sent IP Policy Routing is not implemented PIM Sparse-mode is disabled DVMRP is disabled
This example shows how to display IPv6 configuration information for VLAN 51 (ICMP stats are S- and K-Series):
System(rw)->show ipv6 interface vlan.0.51 vlan.0.51 is Operationally down, Administratively down IPv6 is enabled link-local address is fe80::21f:45ff:fe5b:f5cf%vlan.0.51 Global unicast address(es): 2001:11ac:fd34:50::abcd:33, subnet is 2001:11ac:fd34:50::/64 Joined group address(es): (None) IPV6 forwarding disabled IPV6 address auto-configuration is enabled MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds Sending of ICMP Destination Unreachable Messages is enabled Sending of ICMP Redirect Messages is enabled Sending of ICMP Echo-Reply Messages is enabled ND DAD is enabled, number of DAD attempts: 1 System(rw)->
Configuring the Routing Interface describes how to configure the routing interface.
Ste[ | Task | Command(s) |
---|---|---|
1 | Enter router interface configuration command mode for the specified interface, from either global configuration or router configuration command mode. | interface {vlan vlan-id | loopback loopback-id | interface-name} |
2 | Set the primary, and optionally the secondary or management, IPv4 address for this interface, in interface configuration command mode. | ip address {ip-address | ip-address/prefixLength} ip-mask [primary | secondary | management] |
3 | Optionally, configure an IPv6 general prefix in global configuration mode to be assigned to an IPv6 address. | ipv6 general-prefix name prefix/length |
4 | Set the IPv6 address for this interface in interface configuration command mode. | ipv6 address {link-local-address link-local | ipv6-address/length | ipv6-prefix/length eui-64 | autoconfig | general-prefix sub-bits/length} |
5 | Optionally disable IPv4 forwarding on this interface. | no ip forwarding |
6 | Optionally, set the Equal Cost Multipath (ECM) forwarding algorithm for forwarding IP packets on routing interfaces, from global configuration command mode (S-, K-Series). | ip ecm-forwarding-algo [hash-thold | round-robin] |
7 | Optionally, configure a secondary VLAN on the VLAN interface. | secondary-vlan vlan-id |
8 | Enable this interface along with any changes made, in interface configuration command mode. | no shutdown |