Page 436 / 757 Scroll up to view Page 431 - 435
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
432
56
LOOPBACK INTERFACE COMMANDS
A loopback interface is a logical IP interface which is always active, until you disable or delete it. It is independent of the
state of any physical interfaces.
The Loopback Interface commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
create loopback ipif
<ipif_name 12> {<network_address>} {state [enable | disable]}
config loopback ipif
<ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}]
show loopback ipif
{< ipif_name 12 >}
delete loopback ipif
[< ipif_name 12 > | all]
Each command is listed, in detail, in the following sections.
create loopback ipif
Purpose
Creates a loopback interface on the switch.
Syntax
create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]}
Description
This command creates a loopback interface on the switch.
This interface can be configured with IPv4. Currently, it has a restriction. An interface can
have only one IPv4 address defined. User can only create 8 loopback interfaces at most.
Parameters
<ipif_name 12>
- The name of the loopback interface.
Note:
the loopback ipif has the same name domain space with the regular ipif, so its name
can’t duplicate with the regular ipif.
network_address
- IPv4 network address (xxx.xxx.xxx/xx) of the loopback interface. It
specifies a host address and length of network mask.
state
- The state of loopback interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create one loopback interface named loopback1 with subnet address 20.1.1.1/8 and enable the admin state:
DGS-3627:admin# create loopback ipif loopback1 20.1.1.1/8 state enable
Command: create loopback ipif loopback1 20.1.1.1/8 state enable
Success.
DGS-3627:admin#
config loopback ipif
Purpose
Configure the loopback interface parameters.
Syntax
config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [ enable |
disable]}]
Page 437 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
433
config loopback ipif
Description
Configure the parameters for the loopback interface. For IPv4, only the system interface can
be specified for the way to get the IP address.
Parameters
<ipif_name 12>
- The name of the loopback interface .
Note:
the loopback ipif has the same name domain space with the regular ipif, so its name
can’t duplicate with the regular ipif.
network_address
- IPv4 network address (xxx.xxx.xxx/xx) of the loopback interface. It
specifies a host address and length of network mask.
state
- The state of loopback interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the loopback interface named loopback1 with subnet address 10.0.0.1/8:
DGS-3627:admin# config loopback ipif loopback1 ipaddress 10.0.0.1/8
Command: config loopback ipif loopback1 ipaddress 10.0.0.1/8
Success.
DGS-3627:admin#
show loopback ipif
Purpose
Show the information of the loopback interface.
Syntax
show loopback ipif {< ipif_name 12 >}
Description
To show the information of the loopback interface.
Parameters
<ipif_name 12>
- The name of the loopback interface.
Note:
the loopback ipif has the same name domain space with the regular ipif, so its name
can’t duplicate with the regular ipif.
Restrictions
None.
Example usage:
To show the information of the loopback interface named loopback1:
DGS-3627:admin# show loopback ipif loopback1
Command: show loopback ipif loopback1
Loopback Interface
: loopback1
Interface Admin State
: Enabled
IPv4 Address
: 10.0.0.1/8 (MANUAL)
Total Entries:1
DGS-3627:admin#
delete loopback ipif
Purpose
Delete the loopback interface.
Syntax
delete loopback ipif [< ipif_name 12 > | all]
Page 438 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
434
delete loopback ipif
Description
Delete the specified loopback interface.
Parameters
<ipif_name 12>
- The name of the loopback interface.
Note:
the loopback ipif has the same name domain space with the regular ipif, so its name
can’t duplicate with the regular ipif.
all
- All of the loopback interfaces.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the loopback interface named loopback1:
DGS-3627:admin# delete loopback ipif loopback1
Command: delete loopback ipif loopback1
Success.
DGS-3627:admin#
Page 439 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
435
57
MAC NOTIFICATION COMMANDS
The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their
appropriate parameters.
Command
Parameters
enable mac_notification
disable mac_notification
config mac_notification
{interval <int 1-2147483647> | historysize <int 1-500>}
config mac_notification ports
[<portlist> | all] [enable | disable]
show mac_notification
show mac_notification ports
{<portlist>}
Each command is listed, in detail, in the following sections.
enable mac_notification
Purpose
Used to enable global MAC address table notification on the Switch.
Syntax
enable mac_notification
Description
This command is used to enable MAC address notification without changing configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable MAC notification without changing basic configuration:
DGS-3627:admin# enable mac_notification
Command: enable mac_notification
Success.
DGS-3627:admin#
disable mac_notification
Purpose
Used to disable global MAC address table notification on the Switch.
Syntax
disable mac_notification
Description
This command is used to disable MAC address notification without changing configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 440 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
436
Example usage:
To disable MAC notification without changing basic configuration:
DGS-3627:admin# disable mac_notification
Command: disable mac_notification
Success.
DGS-3627:admin#
config mac_notification
Purpose
Used to configure MAC address notification.
Syntax
config mac_notification {interval <int 1-2147483647> | historysize <int 1-500>}
Description
MAC address notification is used to monitor MAC addresses learned and entered into the FDB.
Parameters
interval <sec 1-2147483647>
– The time in seconds between notifications. The user may
choose an interval between
1
and
2,147,483,647
seconds.
historysize <1-500>
– The maximum number of entries listed in the history log used for
notification.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Switch’s MAC address table notification global settings:
DGS-3627:admin# config mac_notification interval 1 historysize 500
Command: config mac_notification interval 1 historysize 500
Success.
DGS-3627:admin#
config mac_notification ports
Purpose
Used to configure MAC address notification status settings.
Syntax
config mac_notification ports [<portlist> | all] [enable | disable]
Description
MAC address notification is used to monitor MAC addresses learned and entered into the
FDB.
Parameters
<portlist>
– Specify a port or range of ports to be configured. The beginning and end of the
port list range are separated by a dash. Non-contiguous portlist entries are separated by a
comma. (ex: 1-3,7-9)
all
– Entering this command will set all ports on the system.
[enable | disable]
– These commands will enable or disable MAC address table notification on
the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable port 7 for MAC address table notification:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top