XG700 User's Guide
117/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.9.4 interface port
Function
Switches from the global configuration mode to the interface edit mode, in which ports are set.
When more than one port is specified, the multiple ports can be set collectively.
Prompt
xg(config)#
Command syntax
interface port <1-12> [ <1-12> ]
interface port range <1-12> <1-12>
interface agg-port <1-6>
Parameter
port <1-12> [ <1-12> ]
Specifies the port to change its setting. When specifying multiple ports, list them separated with " " (space).
port range <1-12> <1-12>
Specifies the range of multiple ports to change their setting by separating with " " (space).
agg-port <1-6>
Specifies the aggregation group number to change its setting. For the aggregation group, multiple groups cannot be
specified.
Command type
Configuration command
Message
% Duplicate port number: %1$
Explanation
The specified port number is overlapping.
[[Inserted string]]%1$: specified switch port number
Solution
Specify a switch port number that does not overlap with another port.
Note
When multiple ports are specified and the contents of collective setting are output by "copy running-config
startup-config" or "show running-config," they are output in the definition set for each switch port.
Example
Switched to the collective interface edit mode, whose port numbers are in the range of 1 to 8.
xg(config)# interface port range 1 8
xg(config-if)#
Switched to the collective interface edit mode, whose port numbers are 1, 3, 5, and 7.
xg(config)# interface port 1 3 5 7
xg(config-if)#
Switched to the interface edit mode, whose aggregation group number is 1.
xg(config)# interface agg-port 1
xg(config-agg)#
For an aggregation group, the prompt is displayed as (config-agg).