PREV NEXT INDEX

Avici Systems Inc.


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:

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:

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:

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:

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:

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:

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:

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


PREV NEXT INDEX

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

Please email suggestions and comments to: doc@avici.com