Page 341 / 757 Scroll up to view Page 336 - 340
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
337
show ipmc
interface table for.
protocol
Allows the user to specify whether or not to use one of the available protocols
to display the IP multicast interface table.
For example, if DVMRP is specified, the table
will display only those entries that are related to the DVMRP protocol.
inactive
– Specifying this parameter will display entries that are currently
inactive.
dvmrp
– Specifying this parameter will display only those entries that are
related to the DVMRP protocol.
pim
– Specifying this parameter will display only those entries that are related
to the PIM protocol.
Restrictions
None.
Usage example
To display the current IP multicast interface table by DVMRP entry:
DGS-3627:admin# show ipmc protocol dvmrp
Command: show ipmc protocol dvmrp
Interface Name
IP Address
Multicast Routing
---------------
--------------
----------------
Triton
11.1.1.1
DVMRP
Total Entries: 1
DGS-3627:admin#
Page 342 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
338
45
IP ROUTE FILTER COMMANDS
The IP Route Filter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
create ip prefix_list
<list_name 16>
config ip prefix_list
<list_name 16> [[add | delete] {sequence <value 1-65535 >} <network_address>
{ge <value 1-32>}{le <value 1-32>}[deny | permit]|[description <desc 80> |
clear_description]]
delete ip prefix_list
[list_name <list_name 16> | all]
show ip prefix_list
{<list_name 16>}
create ip standard access_list
<list_name 16>
config ip standard access_list
<list_name 16> [add | delete] <network_address> [deny | permit]
delete ip standard access_list
[list_name <list_name 16> | all]
show ip standard access_list
{<list_name 16>}
clear ip prefix_list counter
[list_name <list_name 16> {<network_address>} | all]
create route_map
<map_name 16>
delete route_map
[map_name <map_name 16>{all_sequence} | all]
show route_map
{<map_name 16>}
config route_map
<map_name 16> [add | delete] sequence <value 1-65535 > {[deny | permit]}
config route_map
<map_name 16> sequence <value 1-65535> match [add | delete] [as_path
<list_name 16 > | community_list <list_name 16> {exact} | ip address <list_name
16> | ip address prefix_list <list_name 16> | ip next_hop <list_name 16> | ip
next_hop prefix_list <list_name 16> | metric <value 0-4294967294>]
config route_map
<map_name 16> sequence <value 1-65535> set [add | delete] [next_hop
[<ipaddr> | peer_address ] | metric < uint 0-4294967295> | local_preference <
uint 0-4294967295> | weight <value 0-65535> | as_path <aspath_list> |
community {< communit_set 80 > | internet | no_export | no_advertise | local_as}
{additive} | origin[egp | igp | incomplete] | dampening <min 1-45> <value 1-
20000> <value 1-20000><min 1-255> <min 1-45>]
debug routefilter show
[prefix_list | access_list | route_map]
Each command is listed, in detail, in the following sections.
create ip prefix_list
Purpose
This command is used to create a prefix list.
Syntax
create ip prefix_list <list_name 16>
Description
The create ip prefix_list command creates an IP prefix list, which can be further applied to
routes as a filter list.
Parameters
<list_name 16>
- The name to identify the prefix list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 343 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
339
Example usage:
The following example creates one IP prefix list named 1:
DGS-3627:admin# create ip prefix_list 1
Command:
create ip prefix_list 1
Success.
DGS-3627:admin#
config ip prefix_list
Purpose
Used to configure a prefix list by adding/deleting a prefix list entry or adding/deleting the
description of a prefix_list.
Syntax
config ip prefix_list <list_name 16> [[add | delete] {sequence <value 1-65535 >}
<network_address> {ge <value 1-32>}{le <value 1-32>}[deny | permit]|[description
<desc 80> | clear_description]]
Description
The config ip prefix_list command defines the rule entry for an IP route prefix list.
A prefix list can have multiple rule entries; each is represented by a sequence number.
The rule with the lower sequence number will be evaluated first.
If the sequence number is not specified for the defined rule entry, the sequence number will
be automatically given. The automatically given sequence number will be a multiple of 5.
Therefore, if the defined rule is the first rule in the prefix list, the automatically given
sequence number will be 5. If the defined rule is not the first rule in the prefix list, the
sequence number will be the number that is a multiple of 5 and larger than the largest
sequence number of an existing rule in the prefix list.
A prefix list consists of an IP address and a bit mask. The bit mask is entered as a number
from 1 to 32. An implicit deny is applied to traffic that does not match any prefix-list entry.
Parameters
<list_name 16>
- Specifies the name for the prefix list.
sequence
- Specifies the sequence number for the rule entry.
deny
- The specified network will be denied.
permit
- The specified network will be permitted.
add
- Add a rule entry.
delete
- Delete a rule entry.
<network_address>
- Configures the network address
clear
_discription - Specifies the description for the prefix list to null.
discription
- Specifies the description for the prefix list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
The following example configures a prefix list 1 to permit routes from the 10.0.0.0/8 network that have a mask length that
is less than or equal to 24 bits:
DGS-3627:admin# config ip prefix_list 1 add sequence 10 10.0.0.0/8 le 24 permit
Command: config ip prefix_list 1 add sequence 10 10.0.0.0/8 le 24 permit
Success.
DGS-3627:admin#
Page 344 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
340
delete ip prefix_list
Purpose
Used to delete the IP prefix list
Syntax
delete ip prefix_list [list_name <list_name 16> | all]
Description
The command is used to delete an IP prefix list.
Parameters
<list_name 16>
- The name of the prefix list that will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an IP prefix list named “list1”:
DGS-3627:admin# delete ip prefix_list list_name list1
Command: delete ip prefix_list list_name list1
Success.
DGS-3627:admin#
show ip prefix_list
Purpose
This command is used to show an IP prefix list.
Syntax
show ip prefix_list {<list_name 16>}
Description
The command is used to show a prefix list entry.
Parameters
<list_name 16>
- The name of the prefix_list will be show.
Restrictions
None.
Example usage:
This example shows an IP prefix list named ”list1”:
DGS-3627:admin# create ip prefix_list list1
Command: create ip prefix_list list1
Success.
DGS-3627:admin# config ip prefix_list 1 add sequence 10 10.0.0.0/8 le 24 permit
Command: config ip prefix_list 1 add sequence 10 10.0.0.0/8 le 24 permit
Success.
DGS-3627:admin# show ip prefix_list list1
Command:4# show ip prefix_list list1
IP Prefix list:
list1
Description:
Total Rule Number:1
sequence 5 permit 10.0.0.0/8 le 24
DGS-3627:admin#
create ip standard access_list
Purpose
To create an access list used to filter routes.
Page 345 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
341
create ip standard access_list
Syntax
create ip standard access_list <list_name 16>
Description
This command is used to create an access list.
Parameters
<list_name 16>
- The name of the access list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create an access list named “List1”:
DGS-3627:admin# create ip standard access_list List1
Command:
create ip standard access_list List1
Success.
DGS-3627:admin#
config ip standard access_list
Purpose
This command is used to configure an access list to add/delete an entry.
Syntax
config ip standard access_list <list_name 16> [add | delete] <network_address> [deny
| permit]
Description
This command creates an IP Route access list. It is used to filter the routes.
Parameters
<list_name 16>
- The name of the access list.
<network_address>
- The network works as the filter condition of the access_list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This example configures access list “list1” to add one entry:
DGS-3627:admin# config ip standard access_list List1 add 10.10.10.0/24 permit
Command: config ip standard access_list List1 add 10.10.10.0/24 permit
Success.
DGS-3627:admin#
delete ip standard access_list
Purpose
To delete an access list used to route filters.
Syntax
delete ip standard access_list [list_name <list_name 16> | all]
Description
This command deletes an access list identified by the access list name.
Parameters
<list_name>
- The name of the access list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an access list named ”List1”:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top