D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 Interface Configuration
1-17
The following example shows how to clear the counter of gigabitethernet 1/1.
DES-7200# clear counters gigabitethernet 1/1
1.2.9 Configuring L3
Interfaces
To configure a layer 3 interface, execute the following steps:
Command Function
DES-7200(config-if)# no switchport
Shut down the interface and change it
to L3 mode. This command applies to
switch port and L2 aggregate port only.
DES-7200(config-if)# ip address
ip_address
subnet_mask {[secondary | tertiary |
quartus][broadcast]}
Configure the IP address and subnet
mask of the interface.
To delete the IP address of an L3 interface, use the no ip address command in
the interface configuration mode.
The no switchport operation cannot be performed on one member of an L2
aggregate port.
The following example shows how to set an L2 interface to a routed port and
assign an IP address to it.
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# interface gigabitethernet 2/1
DES-7200(config-if)# no switchport
DES-7200(config-if)# ip address 192.20.135.21 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# end
1.2.9.1 Configuring SVI
This section describes how to create a SVI and some related configuration.
You may create a SVI or modify an existing one by using the interface vlan
vlan-id command.
To configure a SVI, execute the following command:
Command Function
DES-7200(config)# interface vlan vlan-id
Enter the SVI interface
configuration mode.