
interface
Defines/deletes an interface.
Syntax: [no] interface aggregate-link identifier
[no] interface composite-link identifier
[no] interface gbe bay/slot/port
[no] interface ethernet 0
[no] interface loopback identifier
[no] interface pos bay/slot/port
[no] interface vlan bay/slot/port.vlanid
[no]interface vlan aggLinkName.vlanid
aggregate-link identifier
Configures a link aggregation.
The identifier is a unique 20 character alpha-numeric string that identifies this link aggregation.
composite-link identifier
Configures a composite link.
The identifier is a unique 20 character alpha-numeric string that identifies this composite link.
gbe bay/slot/port
Configures a Gigabit Ethernet interface.
bay/slot/port identifies a specific Gigabit Ethernet interface.
ethernet 0
Configures the interface that supports attachment of customer network management to the Avici router server
loopback identifier
Configures up to 10 loopback interfaces. Valid values: 0 - 2147483647.
pos bay/slot/port
Identifies a specific POS interface on an Avici router. Valid values are as follows:
bay: Identifier for this bay. Valid values are 1 through x where x is the number of installed bays.
slot: Slot number where the module is installed. Valid values are 1 - 40.port: Valid values equal number of valid ports for the specified module.
vlan bay/slot/port.vlanid
Identifies a specific VLAN interface on an Avici router. Valid values are as follows:
bay: Identifier for this bay. Valid values are 1 through x where x is the number of installed bays.
slot: Slot number where the module is installed. Valid values are 1 - 40.port: Valid values equal number of valid ports for the specified module.
vlan_id: Numerical identifier of each VLAN sub-interface. Valid values: 1-4094.
vlan aggLinkName.vlanid
Identifies a specific VLAN aggregate-link on an Avici router. Valid values are as follows:
aggLinkName: identifies a pre-configured aggregate-link.
vlan_id: Numerical identifier of each VLAN sub-interface. Valid values: 1-4094.
Description: The interface command defines an interface and enters the interface configuration mode. The interface is not usable as a routing interface until you use the ip address and no shutdown commands. There are seven types of interfaces:
- POS interfaces support Packet Over SONET/SDH (POS) Layer 3 IP traffic.
- Gigabit Ethernet interfaces interconnect to other Gigabit Ethernet compliant devices.
- Composite link interfaces consist of groups of POS interfaces that distribute traffic between the interfaces. Interfaces associated with a composite link are called "member links". POS member links inherit the layer-3 attributes of their composite link. These attributes include ip address, default peer address, and MTU size. You can configure up to 64 composite links per Avici router. Each composite link can include up to 64 POS interfaces.
- Link aggregations consist of groups of Gigabit Ethernet interfaces that form a single Layer 2 link using the IEEE 802.3ad standard. Automatic member link activation is provided via the Link Aggregation Control Protocol (LACP). The Gigabit Ethernet interface inherits a number of the link aggregation attributes including: MAC address, IP address, and MTU. Link aggregations are identified by text names of up to 20 characters.
- The single Ethernet interface supports attachment of customer network management entities to the Avici router server. This interface provides IP host functions. The exchange of routing protocol messages does not take place on Ethernet interface 0.
- The following IP interface configuration mode options and sub-commands are not available:
- IGMP interface commands and its static-group subcommand
- OSPF interface commands and its authentication-key, cost, dead-interval, hello-interval, message-digest-key, network, priority, retransmit-interval, and transmit-delay subcommands
- PIM interface commands and its sparse-mode subcommand
- Router interface commands and its IS-IS subcommands
- A management station located several hops away can reach the interface by configuring a static route from the intermediate routers to Ethernet interface 0.
NOTE There are 4 additional internal Ethernet interfaces that support communications within the Avici router. The configurations for these interfaces cannot be modified, but their status can be viewed using the show interface ethernet internal command. The following error message is displayed if you attempt to modify these interfaces:
Interfaces 1-4 not valid with new addressing.- vlan interfaces are Gigabit Ethernet or Aggregate-link subinterfaces that provide the ability to associate elements of multiple logical LANs onto a single physical network. With VLAN enabled, a port IP address, MTU, and ARP entries associated with the configured VLANs present the Avici router physical port as a group of sub-interfaces, with each sub-interface serving a sub-network or VLAN.
- Multiple virtual loopback interfaces enable you to allow your IP connections to stay up no matter what interface is used to reach a neighbor. This feature eliminates the problems of dealing with normally configured interfaces that are dependent on the performance of hardware interfaces. IPriori supports up to 10 virtual loopback interfaces on an Avici router.
- By default, a null interface is also configured at initialization. Null interfaces are used by routing protocols to discard traffic that is not addressed to their more-specific IP address without the processing overhead of access lists. Null interfaces do not require any configuration.
To configure or delete a composite-link interface:
Use the interface composite-link identifier syntax to configure a composite link and to change the command mode to set link attributes and add individual member-links.
Use the no interface composite-link identifier command syntax to delete a composite-link interface.
NOTE If you delete a composite interface that has member-links, the member links revert to POS interfaces with no layer-3 attributes defined.
To configure a Gigabit Ethernet interface:
Use the interface gbe bay/slot/port syntax to configure a Gigabit Ethernet interface.
To configure an ethernet interface:
Use the interface ethernet 0 syntax to configure an ethernet interface for the attachment of a network management station to the server.
To configure a loopback interface:
Use the interface loopback number syntax to configure a loopback interface.
To configure a POS interface:
Use the interface pos bay/slot/port syntax to configure a POS interface.
POS interfaces may be configured to operate in loopback mode to test connections. Refer to the loopback command in this chapter for information about POS loopbacks.
Factory Default: No interfaces configured.
Command Mode: Configuration.
Example 1: In the following example:
- The interface composite-link command configures a composite-link interface.
- The ip address command assigns an IP address to the composite link.
- The peer default ip address command assigns an IP address locally when connecting to devices that can't negotiate PPP, e.g. composite-link.
- The member-link pos command associates an existing POS interface with the composite link.
- The show interface composite-link command displays the new setting:
router#show interfaces composite-link a
Composite-link a is up
Internet address is 11.5.1.1/24
Remote address is 11.5.1.2
MPLS: administratively down
MTU 4470 bytes
5 min in rate 0.0000 b/s, 0.0000 packets/s, 0.0000% util
5 sec in rate 0.0000 b/s, 0.0000 packets/s, 0.0000% util
5 min out rate 0.0000 b/s, 0.0000 packets/s, 0.0000% util
5 sec out rate 54.4000 b/s, 0.0000 packets/s, 0.0000% util
Payload BW: configured 1202.687988 Mbit/Sec, available 601.343994 Mbit/Sec
Total BW: configured 1244.160034 Mbit/Sec, available 622.080017 Mbit/Sec
Member Links: 2 Configured, 1 Up
Thresholds: Up 0 Mbit/Sec, Down 0 Mbit/Sec
Received:
12456 bytes
732 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors, 0 unknown protocols
2 Bytes/Sec averaged, Bandwidth Utilized < 1%
Transmitted:
12456 bytes
732 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors
3 Bytes/Sec averaged, Bandwidth Utilized < 1%
router#
Refer to show interface composite-link for a description of the fields in the display.
Example 2: In the following example:
- The interface ethernet command specifies the ethernet 0 interface
- The ip address command assigns an IP address to the interface
- The show interface ethernet command displays the new setting:
NOTE The Ethernet interface supports attachment of customer network management entities to the Avici router server and does not support routing.
router(config)#interface ethernet 0
router(config-if)#ip address 10.5.2.27 255.0.0.0
router(config-if)#no shutdown
router(config-if)#end
router#show interface ethernet 0
Ethernet 0 interface status is up, line protocol is up
Internet address is 10.5.2.27/16
Broadcast address is 10.210.255.255
Ethernet address is 00:a0:f7:0f:01:6f
MTU 1500 bytes, Bandwidth 10 Mbit/Sec
Encapsulation ARPA
Received:
1182681 bytes
8208 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors, 0 unknown protocols
Transmitted:
657300 bytes
10955 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors
Example 3: In the following example:
- The interface pos command configures a POS interface.
- The ip address command assigns an IP address to the interface.
- The show interface pos command displays the new setting:
router(config)#interface pos 1/7/1
router(config-if)#ip address 5.10.1.2 255.255.0.0
router(config-if)#no shutdown
router(config-if)#end
router#show interface pos 1/7/1
POS 1/7/1 interface status is up, line protocol is down
MTU 4470 bytes
Payload BW: 150 Mbit/Sec, Total BW: 155 Mbit/Sec
Encapsulation PPP, CRC-32
Loopback: None, Keepalive: Enabled, Scramble: Enabled
LCP: Closed, IPCP: Closed, OSICP: Closed, MPLSCP: Closed
Received:
0 bytes
.
.
.
Example 4: In the following example:
- The module command assigns a Single-Port OC-192c module 1 in bay 1, slot 3.
- The no shutdown command enables the module.
- The exit command returns you to configuration command mode in order to enter the module configuration mode of the second module.
- The module command assigns a Single-Port OC-192c module 2 in bay 1, slot 8.
- The no shutdown command enables the module.
- The show modules command displays the new configuration:
router(config)#module 1/3 1xoc192c-a
router(config-module)#no shutdown
router(config-module)#exit
router(config)#module 1/8 1xoc192c-b
router(config-module)#no shutdown
router(config-module)#end
router#show modules
MODULE 1/3:
Discovered (1xoc192c-a) 1 Port Packet over SONET OC-192c (1 of 2 module set)
MplsCapable
Configured (1xoc192c-a) 1 Port Packet over SONET OC-192c (1 of 2 module set)
Physical port type is multi mode fiber
Hardware is Version 1.1, Revision 1
Fabric version is 2.0
Software version:
.
.
.
Example 5: In the following example:
- The module 1/35 2x1gbe command assigns a 2-port Gigabit Ethernet module to bay 1, slot 35.
- The boot command boots the module using the image stored in the second (2) location in flash memory.
- The no shutdown command enables the module.
- The interface gbe command configures a Gigabit Ethernet interface for bay 1, slot 35, port 1.
- The ip address command assigns the IP address 5.10.1.2 to the interface.
- The show interface gbe command displays the new setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#module 1/35 2x1gbe
router(config-module)#boot 2
router(config-module)#no shutdown
router(config-module)end
router(config)#interface gbe 1/35/1
router(config-if)#ip address 5.10.1.2 255.255.0.0
router(config-if)#no shutdown
router(config-if)#end
router#show interface gbe 1/35/1
GBE 1/35/1 is up
Internet address is 5.10.1.2/16
Broadcast address is 5.10.255.255
Ethernet address is 00:90:b2:fd:00:06
MTU 4470 bytes, Bandwidth 1000 Mbit/Sec
Encapsulation ARPA
Frame type for ARP is ARPA, Frame type for IP is ARPA
Autonegotiation is Disabled, Flow control is symmetric
Received:
474 bytes
0 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors, 0 unknown protocols
Transmitted:
2882 bytes
0 directed packets, 1 multicast packets, 1 broadcast packets
0 discards, 0 errors
Example 6: The following example configures interface 1/1/1 for VLAN 1 and 2:
router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface vlan 1/1/1.1 router(config-vlan)#ip address 50.5.1.1 router(config-vlan)#arp 50.5.1.10 00:01:81:2c:5e:02 router(config-vlan)#arp 50.5.1.11 00:01:81:2c:5e:03 router(config-vlan)#mtu 1500 router(config-vlan)#exit
router(config)#interface gbe 1/1/1
router(config-if)#vlan
router(config-if)#exit
router(config)#interface vlan 1/1/1.2
router(config-vlan)#ip address 50.5.1.2 router(config-vlan)#arp 50.5.1.12 00:01:81:2c:5e:04 router(config-vlan)#arp 50.5.1.13 00:01:81:2c:5e:05 router(config-vlan)#mtu 1500 router(config-vlan)#end
router#Example 7: The following link aggregation configuration example configures a link aggregation called nyc-chicago by:
- Entering the interface aggregate-link command mode and specifying nys-chicago and the aggregate-link name.
- Using the arp command to configure static bindings between an IP address and a MAC address.
- Administratively assign a MAC address that all link members will inherit while members of the link using the mac address command.
- Specify a new MTU.
- Add two members to the link using the member-link command.
- Delete the 1/13/1 member using the no member-link command.
- Enable the LACP protocol using the lacp command.
- Enable the Marker protocol using the marker command.
- Enables the interface using the no shutdown command.
router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface aggregate-link nyc-chicago router(config-if)#ip address 10.100.21.1/16
router(config-if)#arp 10.100.21.2 00:01:81:2c:5e:02
router(config-if)#arp 10.100.21.3 00:01:81:2c:5e:03
router(config-if)#mac address 08:01:33:12:2e:31
router(config-if)#mtu 1500
router(config-if)#member-link gbe 1/27/2
router(config-if)#member-link gbe 1/13/1
router(config-if)#no member-link gbe 1/13/1
router(config-if)#lacp
router(config-if)#marker
router(config-if)#no shutdown
router(config-if)#end
router#show interface aggregate-link nyc-chicago Internet address is 10.100.21.1/16 Broadcast address is 10.100.255.255 Ethernet Address is 08:01:33:12:2e:31 MTU 1500, Bandwidth 1000 Mbit/Sec Encapsulation ARPA . . . router#Related Commands: arp
close-threshold
crc
description
encapsulation
flowcontrol
ip address
ip access-group
keepalive
negotiation auto
open-threshold
peer default ip address
show interface ethernet
show interface gbe
show interface loopback
show interface pos
show running-config
show startup-config
show ip interface
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Interface_Cmd.fm
HTML File Name: Interface_Cmd13.html
Last Updated: 02/25/05 at 14:28:34