In an Alcatel-Lucent router, an interface is a logical named entity. An interface is created by specifying an interface name under the configure>router context. This is the global router configuration context where objects like static routes are defined. An IP interface name can be up to 32 alphanumeric characters long, must start with a letter, and is case-sensitive; for example, the interface name “1.1.1.1” is not allowed, but “int-1.1.1.1” is allowed.
A:ALA-A> config# info
. . .
#------------------------------------------
# Router Configuration
#------------------------------------------
router
interface "system"
address 10.10.10.103/32
exit
interface "to-104"
address 10.0.0.103/24
port 1/1/1
exit
exit
autonomous-system 100
confederation 1000 members 100 200 300
router-id 10.10.10.103
...
exit
isis
exit
...
#------------------------------------------
A:ALA-A> config#
Use the system command to configure a name for the device. The name is used in the prompt string. Only one system name can be configured. If multiple system names are configured, the last one configured will overwrite the previous entry.
Example:
config# system
config>system# name ALA-A
ALA-A>config>system# exit all
ALA-A#
A:ALA-A>config>system# info
#------------------------------------------
# System Configuration
#------------------------------------------
name "ALA-A"
location "Mt.View, CA, NE corner of FERG 1 Building"
coordinates "37.390, -122.05500 degrees lat."
snmp
exit
. . .
exit
address {[ip-address/
mask]|[
ip-address] [
netmask]} [broadcast {all-ones|host-ones]
secondary {[address/
mask|ip-address][netmask]} [broadcast {
all-ones|host-ones}] [
igp-inhibit]
address ip-addr{/
mask-length | mask} [broadcast {all-ones | host-ones}]
A:ALA-A>config>router# info
#------------------------------------------
# IP Configuration
#------------------------------------------
interface "system"
address 10.10.0.4/32
exit
interface "to-ALA-2"
address 10.10.24.4/24
port 1/1/1
egress
filter ip 10
exit
exit
...
#------------------------------------------
A:ALA-A>config>router#
CPU protection policies are configured in the config>sys>security>cpu-protection context. See the OS System Management Guide.
A:ALA-49>config>router>if>ipv6# info detail
----------------------------------------------
‘ port 1/2/37
ipv6
packet-too-big 100 10
param-problem 100 10
redirects 100 10
time-exceeded 100 10
unreachables 100 10
exit
----------------------------------------------
A:ALA-49>config>router>if>ipv6# exit all
address {ipv6-address/
prefix-length} [eui-64]
A:ALA-49>config>router>if# info
----------------------------------------------
address 10.11.10.1/24
port 1/2/37
ipv6
address 10::1/24
exit
----------------------------------------------
A:ALA-49>config>router>if#
address {ip-address/mask|
ip-address netmask} [broadcast all-ones|host-ones]
A:ALA-49>configure>router# info
----------------------------------------------
...
interface "ip-1.1.1.1"
address 1.1.1.1/30
port 1/1/1
exit
...
----------------------------------------------
A:ALA-49>configure>router#
address {ip-address/mask|
ip-address netmask} [broadcast all-ones|host-ones]
address ipv6-address/prefix-length [eui-64]
A:ALA-49>configure>router# info
----------------------------------------------
...
interface "system"
address 200.200.200.1/32
ipv6
address 3FFE::C8C8:C801/128
exit
exit
...
----------------------------------------------
A:ALA-49>configure>router#
A:ALA-49>configure>router# info
----------------------------------------------
...
ospf
area 0.0.0.0
interface "system"
exit
interface "ip-1.1.1.1"
exit
exit
exit
----------------------------------------------
A:ALA-49>configure>router#
export policy-name [
policy-name...(upto 5 max)]
A:ALA-49>configure>router# info
----------------------------------------------
...
bgp
export "ospf3"
router-id 200.200.200.1
group "main"
family ipv4 ipv6
type internal
neighbor 200.200.200.2
local-as 1
peer-as 1
exit
exit
exit
...
----------------------------------------------
A:ALA-49>configure>router#
export policy-name [
policy-name...(upto 5 max)]
A:ALA-49>configure>router# info
----------------------------------------------
...
policy-options
policy-statement "ospf3"
description "Plcy Stmnt For 'From ospf3 To bgp'"
entry 10
description "Entry From Protocol ospf3 To bgp"
from
protocol ospf3
exit
to
protocol bgp
exit
action accept
exit
exit
exit
exit
...
----------------------------------------------
A:ALA-49>configure>router#
configure router static-route ::C8C8:C801/128 indirect 200.200.200.1
address {ip-address/mask>|
ip-address netmask} [broadcast all-ones|host-ones]
address ipv6-address/prefix-length [eui-64]
A:ALA-49>configure>router# info
----------------------------------------------
...
interface "ip-1.1.1.2"
address 1.1.1.2/30
port 1/1/1
exit
interface "system"
address 200.200.200.2/32
ipv6
address 3FFE::C8C8:C802/128
exit
exit
----------------------------------------------
A:ALA-49>configure>router# info
----------------------------------------------
...
ospf
area 0.0.0.0
interface "system"
exit
interface "ip-1.1.1.2"
exit
exit
exit
----------------------------------------------
A:ALA-49>configure>router#
export policy-name [
policy-name...(upto 5 max)]
A:ALA-49>configure>router# info
----------------------------------------------
...
bgp
export "ospf3"
router-id 200.200.200.2
group "main"
family ipv4 ipv6
type internal
neighbor 200.200.200.1
local-as 1
peer-as 1
exit
exit
exit
...
----------------------------------------------
A:ALA-49>configure>router#
export policy-name [
policy-name...(upto 5 max)]
A:ALA-49>configure>router# info
----------------------------------------------
...
policy-options
policy-statement "ospf3"
description "Plcy Stmnt For 'From ospf3 To bgp'"
entry 10
description "Entry From Protocol ospf3 To bgp"
from
protocol ospf3
exit
to
protocol bgp
exit
action accept
exit
exit
exit
exit
----------------------------------------------
A:ALA-49>configure>router#
prefix ipv6-prefix/prefix-length
*A:sim131>config>router>router-advert# info
----------------------------------------------
interface "n1"
prefix 3::/64
exit
use-virtual-mac
no shutdown
exit
----------------------------------------------
*A:sim131>config>router>router-advert# interface n1
*A:sim131>config>router>router-advert>if# prefix 3::/64
*A:sim131>config>router>router-advert>if>prefix# info detail
----------------------------------------------
autonomous
on-link
preferred-lifetime 604800
valid-lifetime 2592000
----------------------------------------------
*A:tahi>config>router>router-advert>if>prefix#
A:ALA-49>config>router>if>ipv6# info detail
----------------------------------------------
port 1/3/37
ipv6
packet-too-big 100 10
param-problem 100 10
redirects 100 10
time-exceeded 100 10
unreachables 100 10
exit
----------------------------------------------
A:ALA-49>config>router>if>ipv6# exit all
A:ALA-49>config>router>if# info
----------------------------------------------
address 10.11.10.1/24
port 1/3/37
ipv6
address 10::1/24
exit
----------------------------------------------
A:ALA-49>config>router>if#
export policy-name [
policy-name...(upto 5 max)]
A:ALA-49>configure>router# info
----------------------------------------------
...
policy-options
policy-statement "ospf3"
description "Plcy Stmnt For 'From ospf3 To bgp'"
entry 10
description "Entry From Protocol ospf3 To bgp"
from
protocol ospf3
exit
to
protocol bgp
exit
action accept
exit
exit
exit
exit
----------------------------------------------
A:ALA-49>configure>router#
→
|
In the policy statement entry>to context, specify the host source address(es) for which ARP requests can or cannot be forwarded to non-local networks, depending on the specified action.
|
→
|
In the policy statement entry>from context, specify network prefixes that ARP requests will or will not be forwarded to depending on the action if a match is found. For more information about route policies, refer to the OS Routing Protocols Guide.
|
prefix ip-prefix/
mask [exact|longer|through
length|prefix-length-range length1-length2]
A:ALA-49>config>router>policy-options# info
----------------------------------------------
prefix-list "prefixlist1"
prefix 10.20.30.0/24 through 32
exit
prefix-list "prefixlist2"
prefix 10.10.10.0/24 through 32
exit
...
policy-statement "ProxyARPpolicy"
entry 10
from
prefix-list "prefixlist1"
exit
to
prefix-list "prefixlist2"
exit
action reject
exit
default-action accept
exit
exit
...
----------------------------------------------
A:ALA-49>config>router>policy-options#
A:ALA-49>config>router>if# info
----------------------------------------------
address 128.251.10.59/24
local-proxy-arp
proxy-arp
policy-statement "ProxyARPpolicy"
exit
----------------------------------------------
A:ALA-49>config>router>if#
An IP address range can be reserved for exclusive use for services by defining the config>router>service-prefix command. When the service is configured, the IP address must be in the range specified as a service prefix. If no service prefix command is configured, then no limitation exists.
The no service-prefix ip-prefix/mask command removes all address reservations. A service prefix cannot be removed while one or more services use address(es) in the range to be removed.
When an IPv4 packet is received on an ingress network interface, a subscriber IES interface, or a regular IES interface, the lookup of the packet by the ingress IOM will result in the packet being sent labeled with the label stack corresponding to the NHLFE of the LDP LSP when the preferred RTM entry corresponds to an LDP shortcut.
When ECMP is enabled and multiple equal-cost next-hops exit for the IGP route, the ingress IOM will spray the packets for this route based on hashing routine currently supported for IPv4 packets.
You must use the fec-originate command to generate bindings for all non-local routes for which this node acts as an egress LER for the corresponding LDP FEC. Specifically, this feature must support the FEC origination of IGP learned routes and subscriber/host routes statically configured or dynamically learned over subscriber IES interfaces.
address {ip-address/mask | ip-address
netmask} [broadcast
all-ones |
host-ones]
A:ALA-4>config>router# info
#------------------------------------------
# IP Configuration
#------------------------------------------
interface "system"
address 10.10.0.4/32
exit
. . .
router-id 10.10.0.4
#------------------------------------------
A:ALA-4>config>router#
A:ALA-B>config>router# info
#------------------------------------------
# IP Configuration
#------------------------------------------
interface "system"
address 10.10.10.103/32
exit
interface "to-104"
shutdown
address 10.0.0.103/24
port 1/1/1
exit
autonomous-system 100
confederation 2002 members 200 300 400
router-id 10.10.10.103
#------------------------------------------
A:ALA-B>config>router#
A;ALA-A>config>router# info
#------------------------------------------
# IP Configuration
#------------------------------------------
interface "system"
address 10.10.10.103/32
exit
interface "to-104"
address 10.0.0.103/24
port 1/1/1
exit
exit
autonomous-system 100
router-id 10.10.10.103
#------------------------------------------
A:ALA-A>config>router#
The system command sets the name of the device and is used in the prompt string. Only one system name can be configured. If multiple system names are configured, the last one configured will overwrite the previous entry.
Example:
A:ALA-A>config>system# name tgif
A:TGIF>config>system#
A:ALA-A>config>system# name TGIF
A:TGIF>config>system# info
#------------------------------------------
# System Configuration
#------------------------------------------
name "TGIF"
location "Mt.View, CA, NE corner of FERG 1 Building"
coordinates "37.390, -122.05500 degrees lat."
synchronize
snmp
exit
security
snmp
community "private" rwa version both
exit
exit
. . .
----------------------------------------------
A:TGIF>config>system#
Starting at the config>router level, navigate down to the router interface context.
Example: A:ALA-A>config>router# interface “to-sr1”
A:ALA-A>config>router>if# shutdown
Example: A:ALA-A>config>router# interface “to-sr1”
A:ALA-A>config>router# info
#------------------------------------------
# IP Configuration
#------------------------------------------
interface "system"
address 10.0.0.103/32
exit
interface "to-sr1"
address 10.0.0.25/24
port 1/1/2
exit
router-id 10.10.0.3
#------------------------------------------
A:ALA-A>config>router#
The no form of the interface command typically removes the entry, but all entity associations must be shut down and/or deleted before an interface can be deleted.
Example:
config>router# interface test-interface
config>router>if# shutdown
config>router>if# exit
config>router# no interface test-interface
config>router#