By default, the CLI displays network masks in classical IP address format
(example: 255.255.255.0). You can change the display to the prefix format. See the
FastIron Configuration Guide
.
Devices running Layer 2 software
Use the following procedure to configure an IP Address on a device running Layer
2 software.
1.
At the opening CLI prompt, enter
enable
.
FCX648SHPOE Switch> enable
2.
Access the configuration level of the CLI by entering the following command:
FCX648SHPOE Switch# configure terminal (Privileged EXEC Level)
FCX648SHPOE Switch(config)# (Global CONFIG Level)
3.
Configure the IP address and mask for the switch.
FCX648SHPOE Switch(config)# ip address 192.22.3.44 255.255.255.0
4.
Set a default gateway address for the switch.
FCX648SHPOE Switch(config)# ip default-gateway 192.22.3.1
Note:
You do not need to assign a default gateway address for single subnet
networks.
Syntax: enable [<password>]
Syntax: configure terminal
Syntax: [no] ip address <ip-addr> <ip-mask>
or
Syntax: [no] ip address <ip-addr>/<mask-bits>
Syntax: ip default-gateway <ip-addr>
Devices running Layer 3 software
Before attaching equipment to a y-series Layer 3 Switch, you must assign an
interface IP address to the subnet on which the router will be located. You must
use the serial connection to assign the first IP address. For subsequent addresses,
you also can use the CLI through Telnet or the Web management interface.
By default, you can configure up to 24 IP interfaces on each port, virtual interface,
and loopback interface. You can increase this amount to up to 64 IP subnet
addresses per port by increasing the size of the subnet-per-interface table.
The following procedure shows how to add an IP address and mask to a router
port.
1.
At the opening CLI prompt, enter
enable
.
FCX624 Router> enable
2.
Access the configuration level of the CLI by entering the following command:
FCX624 Router# configure terminal
Privileged EXEC Level
FCX624 Router(config)#
Global CONFIG Level
3.
Configure the IP addresses and mask addresses for the interfaces on the router.
FCX624 Router(config)# int e 2
FCX624 Router(config-if-e1000-2)# ip address 192.22.3.44 255.255.255.0
Note:
You can use the syntax
ip address
<
ip-addr
>/<
mask-bits
> if you know the
subnet mask length. In the above example, you could enter
ip address
192.22.3.44/24
.
Chapter 3. Checking network devices and testing connectivity
31
Summary of Contents for 4002-Y2A
Page 2: ......
Page 8: ...vi Ethernet y series Installation and User Guide Installation and User Guide...
Page 10: ...viii Ethernet y series Installation and User Guide Installation and User Guide...
Page 26: ...xxiv Ethernet y series Installation and User Guide Installation and User Guide...
Page 54: ...28 Ethernet y series Installation and User Guide Installation and User Guide...
Page 82: ...56 Ethernet y series Installation and User Guide Installation and User Guide...
Page 92: ...66 Ethernet y series Installation and User Guide Installation and User Guide...
Page 95: ......
Page 96: ...Part Number 45W7657 Printed in USA GC27 2269 00 1P P N 45W7657 53 1001545 01...