
C
HAPTER
2
| Initial Switch Configuration
Basic Configuration
– 68 –
To assign an IPv4 address to the switch, complete the following steps
1.
From the Global Configuration mode prompt, type “interface vlan 1” to
access the interface-configuration mode. Press <Enter>.
2.
Type “ip address
ip-address netmask
,” where “ip-address” is the switch
IP address and “netmask” is the network mask for the network. Press
<Enter>.
3.
Type “exit” to return to the global configuration mode prompt. Press
<Enter>.
4.
To set the IP address of the default gateway for the network to which
the switch belongs, type “ip default-gateway
gateway
,” where
“gateway” is the IP address of the default gateway. Press <Enter>.
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.5 255.255.255.0
Console(config-if)#exit
Console(config)#ip default-gateway 192.168.1.254
A
SSIGNING
AN
IP
V
6 A
DDRESS
This section describes how to configure a “link local” address for
connectivity within the local subnet only, and also how to configure a
“global unicast” address, including a network prefix for use on a multi-
segment network and the host portion of the address.
An IPv6 prefix or address must be formatted according to RFC 2373 “IPv6
Addressing Architecture,” using 8 colon-separated 16-bit hexadecimal
values. One double colon may be used to indicate the appropriate number
of zeros required to fill the undefined fields. For detailed information on the
other ways to assign IPv6 addresses, see
"Setting the Switch’s IP Address
Link Local Address — All link-local addresses must be configured with a
prefix of FE80. Remember that this address type makes the switch
accessible over IPv6 for all devices attached to the same local subnet only.
Also, if the switch detects that the address you configured conflicts with
that in use by another device on the subnet, it will stop using the address
in question, and automatically generate a link local address that does not
conflict with any other devices on the local subnet.
To configure an IPv6 link local address for the switch, complete the
following steps:
1.
From the Global Configuration mode prompt, type “interface vlan 1” to
access the interface-configuration mode. Press <Enter>.
2.
Type “ipv6 address” followed by up to 8 colon-separated 16-bit
hexadecimal values for the
ipv6-address
similar to that shown in the
example, followed by the “link-local” command parameter. Then press
<Enter>.
Содержание DG-FS4526E
Страница 4: ...ABOUT THIS GUIDE 4...
Страница 34: ...CONTENTS 34...
Страница 50: ...TABLES 50...
Страница 52: ...SECTION I Getting Started 52...
Страница 62: ...CHAPTER 1 Introduction System Defaults 62...
Страница 80: ...CHAPTER 2 Initial Switch Configuration Managing System Files 80...
Страница 82: ...SECTION II Web Configuration 82...
Страница 100: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 100...
Страница 128: ...CHAPTER 4 Basic Management Tasks Resetting the System 128...
Страница 166: ...CHAPTER 5 Interface Configuration VLAN Trunking 166...
Страница 198: ...CHAPTER 6 VLAN Configuration Configuring VLAN Mirroring 198...
Страница 516: ...CHAPTER 17 IP Services Displaying the DNS Cache 516...
Страница 562: ...CHAPTER 19 Using the Command Line Interface CLI Command Groups 562...
Страница 652: ...CHAPTER 22 SNMP Commands 652...
Страница 660: ...CHAPTER 23 Remote Monitoring Commands 660...
Страница 714: ...CHAPTER 24 Authentication Commands Management IP Filter 714...
Страница 802: ...CHAPTER 27 Interface Commands 802...
Страница 824: ...CHAPTER 29 Port Mirroring Commands RSPAN Mirroring Commands 824...
Страница 846: ...CHAPTER 32 Address Table Commands 846...
Страница 874: ...CHAPTER 33 Spanning Tree Commands 874...
Страница 886: ...CHAPTER 34 ERPS Commands 886...
Страница 928: ...CHAPTER 35 VLAN Commands Configuring Voice VLANs 928...
Страница 942: ...CHAPTER 36 Class of Service Commands Priority Commands Layer 3 and 4 942...
Страница 998: ...CHAPTER 38 Multicast Filtering Commands Multicast VLAN Registration 998...
Страница 1022: ...CHAPTER 39 LLDP Commands 1022...
Страница 1064: ...CHAPTER 40 CFM Commands 1064...
Страница 1084: ...CHAPTER 42 Domain Name Service Commands 1084...
Страница 1090: ...CHAPTER 43 DHCP Commands DHCP Client 1090...
Страница 1122: ...CHAPTER 44 IP Interface Commands IPv6 Interface 1122...
Страница 1124: ...SECTION IV Appendices 1124...
Страница 1129: ...APPENDIX A Software Specifications Management Information Bases 1129 Trap RFC 1215 UDP MIB RFC 2013...
Страница 1130: ...APPENDIX A Software Specifications Management Information Bases 1130...
Страница 1152: ...COMMAND LIST 1152...
Страница 1161: ......
Страница 1162: ...DG FS4526E 042012 HW R01...